Merge "Use task state instead of output to create haproxy log directory"
This commit is contained in:
commit
e80b87f195
@ -35,7 +35,7 @@
|
|||||||
mode: "{{ item.mode|default('0755') }}"
|
mode: "{{ item.mode|default('0755') }}"
|
||||||
with_items:
|
with_items:
|
||||||
- { path: "/var/log/haproxy" }
|
- { path: "/var/log/haproxy" }
|
||||||
when: log_dir.rc != 0
|
when: log_dir | changed
|
||||||
tags:
|
tags:
|
||||||
- haproxy-dirs
|
- haproxy-dirs
|
||||||
- haproxy-logs
|
- haproxy-logs
|
||||||
|
Loading…
Reference in New Issue
Block a user