Merge "Removing unneeded with_items usage for clarity"

This commit is contained in:
Jenkins 2016-03-07 09:35:41 +00:00 committed by Gerrit Code Review
commit 9d2eb54a7a

View File

@ -81,13 +81,11 @@
- name: Create glance log dir
file:
path: "{{ item.path }}"
path: "/var/log/glance"
state: directory
owner: "{{ item.owner|default(glance_system_user_name) }}"
group: "{{ item.group|default(glance_system_group_name) }}"
mode: "{{ item.mode|default('0755') }}"
with_items:
- { path: "/var/log/glance" }
owner: "{{ glance_system_user_name }}"
group: "{{ glance_system_group_name }}"
mode: "0755"
when: log_dir.rc != 0
tags:
- glance-dirs