Moved ansible stuff to own folder

This commit is contained in:
Jef Roosens 2021-12-18 10:30:44 +01:00
parent 868acbc08f
commit fb5bb177ca
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
33 changed files with 1 additions and 22 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