Merge "Removing unneeded with_items usage for clarity"
This commit is contained in:
commit
9d2eb54a7a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user