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

I5851dc7820fdcc4f5790980d94b81622ce3b0c8d corrected the dry-run case
only for non-HA setup.

The HA case was overlooked since it doesn't inherits from the non-HA.

Change-Id: Id678bbc2127bc3742d3c254ff4f62fc1b0e27daa
Related-Bug: #1823841
This commit is contained in:
Cédric Jeanneret 2019-05-13 09:50:03 +02:00
parent 08ead26e66
commit cc95b17edb
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: