fix some common tasks
[awsible] / roles / common / tasks / main.yml
index 02f3b0ad88681c70a0b3d853fa046b060d636a65..1cbf04470d9807b6e5eec5be32c12b3018455672 100644 (file)
@@ -5,7 +5,7 @@
   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