Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Task should fail on any failure
Browse files Browse the repository at this point in the history
Ansible should fail on any command in this task not only on last one.

Change-Id: I257c0f4f73e616f159860916ec1db704bd195b86
Closes-Bug: #1885924
  • Loading branch information
holser committed Jul 6, 2020
1 parent 1f9942f commit 1192ea1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deployment/haproxy/haproxy-public-tls-inject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ outputs:
block:
- name: copy certificate, chgrp, restart haproxy
shell: |
set -e
{{ container_cli }} cp {{ cert_path }} {{ item }}:{{ cert_path }}
{{ container_cli }} exec --user root {{ item }} chgrp haproxy {{ cert_path }}
{{ container_cli }} kill --signal=HUP {{ item }}
Expand Down

0 comments on commit 1192ea1

Please sign in to comment.