Create config directory if absent
diff --git a/xos/observers/onos/steps/sync_onosapp.yaml b/xos/observers/onos/steps/sync_onosapp.yaml
index 2c5eb0f..455d8c1 100644
--- a/xos/observers/onos/steps/sync_onosapp.yaml
+++ b/xos/observers/onos/steps/sync_onosapp.yaml
@@ -11,39 +11,42 @@
   tasks:
 
   - name: Config file directory
-    file:

-      path=/home/ubuntu/{{ appname }}/

-      state=directory

-

-  - name: Copy over configuration files

-    copy:

-      src={{ files_dir }}/{{ '{{' }} item {{ '}}' }}

-      dest=/home/ubuntu/{{ appname }}/{{ '{{' }} item {{ '}}' }}

-    with_items:

-        {% for config_fn in config_fns %}

+    file:
+      path=/home/ubuntu/{{ appname }}/
+      state=directory
+
+  - name: Copy over configuration files
+    copy:
+      src={{ files_dir }}/{{ '{{' }} item {{ '}}' }}
+      dest=/home/ubuntu/{{ appname }}/{{ '{{' }} item {{ '}}' }}
+    with_items:
+        {% for config_fn in config_fns %}
         - {{ config_fn }}
-        {% endfor %}

-

-  - name: Copy config files into container

-    shell: docker cp {{ appname }}/{{ '{{' }} item {{ '}}' }} {{ ONOS_container }}:/root/onos/config/

-    sudo: yes

-    with_items:

-        {% for config_fn in config_fns %}

+        {% endfor %}
+
+  - name: Make sure config directory exists
+    shell: docker exec {{ ONOS_container }} mkdir -p /root/onos/config/
+    sudo: yes
+
+  - name: Copy config files into container
+    shell: docker cp {{ appname }}/{{ '{{' }} item {{ '}}' }} {{ ONOS_container }}:/root/onos/config/
+    sudo: yes
+    with_items:
+        {% for config_fn in config_fns %}
         - {{ config_fn }}
-        {% endfor %}

-

-  # Don't know how to check for this condition, just wait

-  - name: Wait for ONOS to install the apps

-    wait_for: timeout=15

-

-  - name: Add dependencies to ONOS

-    uri:

-      url: http://localhost:8181/onos/v1/applications/{{ '{{' }} item {{ '}}' }}/active

-      method: POST

-      user: karaf

-      password: karaf

-    with_items:

-        {% for dependency in dependencies %}

+        {% endfor %}
+
+  # Don't know how to check for this condition, just wait
+  - name: Wait for ONOS to install the apps
+    wait_for: timeout=15
+
+  - name: Add dependencies to ONOS
+    uri:
+      url: http://localhost:8181/onos/v1/applications/{{ '{{' }} item {{ '}}' }}/active
+      method: POST
+      user: karaf
+      password: karaf
+    with_items:
+        {% for dependency in dependencies %}
         - {{ dependency }}
-        {% endfor %}

-

+        {% endfor %}