X-Git-Url: http://git.squeep.com/?p=awsible;a=blobdiff_plain;f=roles%2Fcommon%2Ftasks%2Fmain.yml;h=bbed536372c73a654f15142cb613ac3b91248faa;hp=12c6ff1637fda0e0082a4a2d514c512c70923675;hb=1d6f18c7206a8a3e409ea50e89113015f4660200;hpb=37253e1b3651d2e3f1c714c55fb05894abacf398 diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 12c6ff1..bbed536 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -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 @@ -103,9 +87,9 @@ 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