Merge "Use task state instead of output to create haproxy log directory"

This commit is contained in:
Jenkins
2016-05-12 10:09:18 +00:00
committed by Gerrit Code Review

View File

@@ -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