Merge "Task should fail on any failure" into stable/ussuri
This commit is contained in:
commit
8ce4477b3a
|
@ -177,6 +177,7 @@ outputs:
|
||||||
block:
|
block:
|
||||||
- name: copy certificate, chgrp, restart haproxy
|
- name: copy certificate, chgrp, restart haproxy
|
||||||
shell: |
|
shell: |
|
||||||
|
set -e
|
||||||
{{ container_cli }} cp {{ cert_path }} {{ item }}:{{ cert_path }}
|
{{ container_cli }} cp {{ cert_path }} {{ item }}:{{ cert_path }}
|
||||||
{{ container_cli }} exec --user root {{ item }} chgrp haproxy {{ cert_path }}
|
{{ container_cli }} exec --user root {{ item }} chgrp haproxy {{ cert_path }}
|
||||||
{{ container_cli }} kill --signal=HUP {{ item }}
|
{{ container_cli }} kill --signal=HUP {{ item }}
|
||||||
|
|
Loading…
Reference in New Issue