Compare commits
1 Commits
3ca60f7e91
...
17ee6ae363
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17ee6ae363 |
@ -83,16 +83,10 @@
|
||||
src: assets/{{ inventory_hostname }}/compose.yml.j2
|
||||
dest: /root/docker/compose.yml
|
||||
backup: true
|
||||
- name: Pull images
|
||||
ansible.builtin.shell: docker compose pull
|
||||
args:
|
||||
chdir: /root/docker
|
||||
- name: Run Docker
|
||||
ansible.builtin.shell: docker compose up -d --remove-orphans
|
||||
args:
|
||||
chdir: /root/docker
|
||||
- name: Prune images
|
||||
ansible.builtin.shell: docker image prune -f
|
||||
|
||||
- name: Local server Wireguard
|
||||
hosts:
|
||||
|
||||
@ -11,6 +11,8 @@ docker:
|
||||
ansible_ssh_user: root
|
||||
docker-int:
|
||||
ansible_ssh_user: root
|
||||
git:
|
||||
ansible_ssh_user: root
|
||||
basementpi:
|
||||
ansible_host: 10.11.1.10
|
||||
ansible_ssh_user: root
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user