Build on docker compose up as well
This commit is contained in:
parent
18990b3b5f
commit
2f7e3ae893
|
@ -72,9 +72,9 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: docker_compose__ps_json_before_up
|
register: docker_compose__ps_json_before_up
|
||||||
|
|
||||||
- name: docker compose up --detach --pull always
|
- name: docker compose up --detach --pull always --build
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: /usr/bin/docker compose up --detach --pull always
|
cmd: /usr/bin/docker compose up --detach --pull always --build
|
||||||
chdir: /ansible_docker_compose
|
chdir: /ansible_docker_compose
|
||||||
become: true
|
become: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
Loading…
Reference in a new issue