Removing unneeded with_items usage for clarity

Change-Id: I03846809dd3dd600a2ee2ae8c5fde46e83f1da00
This commit is contained in:
Travis Truman 2016-03-06 16:39:42 -05:00
parent 347e751ddc
commit 1135935db9

View File

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