Merge "Ensure we aren't running some dry-run also for Pacemaker case"

This commit is contained in:
Zuul 2019-05-16 10:42:41 +00:00 committed by Gerrit Code Review
commit 7a5103ef93
1 changed files with 3 additions and 1 deletions

View File

@ -288,7 +288,9 @@ outputs:
- name: Check if rsyslog exists
shell: systemctl is-active rsyslog
register: rsyslog_config
- when: rsyslog_config.rc == 0
- when:
- rsyslog_config is changed
- rsyslog_config.rc == 0
block:
- name: Forward logging to haproxy.log file
blockinfile: