Merge "Do not fail if haproxy container UUID changes"

This commit is contained in:
Zuul 2021-07-27 12:00:31 +00:00 committed by Gerrit Code Review
commit 0bf7fff9bf
1 changed files with 4 additions and 0 deletions

View File

@ -182,4 +182,8 @@ outputs:
fi
{{ container_cli }} exec --user root {{ item }} chgrp haproxy {{ cert_path }}
{{ container_cli }} kill --signal=HUP {{ item }}
register: container_kill_result
failed_when:
- ("no such container" not in container_kill_result.stderr)
- ("container state improper" not in container_kill_result.stderr)
with_items: "{{ container_id.stdout.split('\n') }}"