split msca data volume into role
[awsible] / roles / common / tasks / main.yml
index 12c6ff1637fda0e0082a4a2d514c512c70923675..bbed536372c73a654f15142cb613ac3b91248faa 100644 (file)
@@ -1,20 +1,4 @@
 ---
-- name: bootstrap /data
-  stat:
-    path: /data
-  register: datadir
-- include: volumes.yml
-  when: not datadir.stat.exists
-
-- name: Create local asset directory
-  when: ASSET_PATH is defined
-  file:
-    state: directory
-    path: "{{ ASSET_PATH }}"
-    mode: "0755"
-    owner: root
-    group: root
-
 - name: Uninstall outdated python packages
   with_items:
   - aws-cli
   command: /usr/sbin/update-motd
 
 - name: profile stuff
-  copy:
+  template:
     dest: /etc/profile.d/awsible.sh
-    src: awsible.sh
+    src: awsible.sh.j2
     mode: "0644"
     owner: root
     group: root