Fix haproxy restart while genconfig

At this moment haproxy  config.yml notifies
handlers that are not skipped when running
genconfig

Change-Id: I2eab18e3ba709075f21f8dce323fcb2acef43de5
Closes-Bug: #1664674
This commit is contained in:
Eduardo Gonzalez 2017-05-05 19:56:27 +01:00
parent b6d370ca43
commit dbab46ee8b
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@
register: status
changed_when: status.stdout.find('changed') != -1
when:
- action != "config"
- haproxy_config_jsons.changed | bool
or haproxy_cfg.changed | bool
or haproxy_pem.changed | bool