Build on docker compose up as well

This commit is contained in:
June 2023-07-28 23:16:27 +02:00 committed by julian
parent 18990b3b5f
commit 2f7e3ae893

View file

@ -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