first part of config

This commit is contained in:
Jef Roosens 2021-12-11 16:28:17 +01:00
commit 8ee7c76f64
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30
30 changed files with 729 additions and 0 deletions

View file

@ -0,0 +1,13 @@
---
- name: Create public network.
shell:
docker network create -d overlay public
register: create_network
failed_when: create_network.rc not in [ 0, 1 ]
changed_when: create_network.rc == 0
- name: Copy over the Portainer stack file.
template:
src: portainer-stack.yml.j2
dest: /srv/portainer-stack.yml
notify: deploy portainer