Make Ansible pull up-to-date containers when starting docker compose
This commit is contained in:
parent
11049a04d8
commit
9a46b316df
@ -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)
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user