Skip to content

Instantly share code, notes, and snippets.

@omgjlk
Created October 20, 2015 16:02
Show Gist options
  • Select an option

  • Save omgjlk/38a3bccc09f189eae4d1 to your computer and use it in GitHub Desktop.

Select an option

Save omgjlk/38a3bccc09f189eae4d1 to your computer and use it in GitHub Desktop.
- name: create nova directories
file:
dest: "{{ item.value.path }}"
owner: nova
group: "{{ item.value.group | default('nova') }}"
mode: "{{ item.value.mode | default('omit') }}"
state: directory
with_dict:
config:
path: /etc/nova
lib:
path: /var/lib/nova
cache:
path: /var/cache/nova
mode: 0700
log:
path: /var/log/nova
mode: 6750
group: adm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment