when: ASSET_PATH is defined
file:
state: directory
- path: {{ ASSET_PATH }}
+ path: "{{ ASSET_PATH }}"
mode: "0755"
owner: root
group: root
group: root
- name: Install any facts.
- with_items: "{{ fact_scripts|default(None) }}"
+ with_items: "{{ fact_scripts|default([]) }}"
copy:
dest: /etc/ansible/facts.d/{{ item }}.fact
- src: {{ item }}.fact
+ src: "{{ item }}.fact"
mode: "0755"
owner: root
group: root