Make Ansible pull up-to-date containers when starting docker compose

This commit is contained in:
Paul Brinkmeier 2024-07-02 17:29:36 +02:00
parent 11049a04d8
commit 9a46b316df
2 changed files with 6 additions and 0 deletions

View File

@ -17,3 +17,7 @@ ansible-lint --offline
``` ```
to avoid checking for a new version every single run. to avoid checking for a new version every single run.
## TODO
- [ ] Migrate to `community.docker.docker_compose_v2` (`v1` is deprecated)

View File

@ -136,6 +136,7 @@
project_src: "/etc/pbri/docker/{{ item.name }}" project_src: "/etc/pbri/docker/{{ item.name }}"
state: "{{ item.state }}" state: "{{ item.state }}"
build: true build: true
pull: true
debug: true debug: true
loop: loop:
- name: drone - name: drone
@ -149,6 +150,7 @@
- name: score - name: score
state: present state: present
# Keep these to ensure they're down
- name: factorio - name: factorio
state: absent state: absent
- name: glebby - name: glebby