File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 1515 ansible.builtin.command :
1616 chdir : /tmp/src
1717 cmd : " /usr/bin/make docker/build V={{ app_version }}"
18+ register : output
19+ changed_when : output.rc != 0
20+ failed_when : output.rc != 0
1821
1922 - name : Create a server Makefile to manage app tasks
2023 ansible.builtin.template :
5457 ansible.builtin.command :
5558 chdir : " {{ ansible_user_dir }}"
5659 cmd : " docker compose up -d"
60+ register : output
61+ changed_when : output.rc != 0
62+ failed_when : output.rc != 0
5763
5864 - name : Migrate on prod
5965 ansible.builtin.command :
6066 chdir : " {{ ansible_user_dir }}"
6167 cmd : " /usr/bin/make prod/migrate"
68+ register : output
69+ changed_when : output.rc != 0
70+ failed_when : output.rc != 0
6271
6372 - name : Restart everything and finish
6473 ansible.builtin.command :
6574 chdir : " {{ ansible_user_dir }}"
6675 cmd : " docker compose up -d"
76+ register : output
77+ changed_when : output.rc != 0
78+ failed_when : output.rc != 0
You can’t perform that action at this time.
0 commit comments