X-Git-Url: http://git.squeep.com/?p=awsible;a=blobdiff_plain;f=roles%2Fcommon%2Ftasks%2Fmain.yml;h=c65548d7bc1118671d3576bf0659235ab94c6f37;hp=12c6ff1637fda0e0082a4a2d514c512c70923675;hb=933c48ff1e134168de3aaa2d20e4d43c13d04928;hpb=3e9071903ac30cc306ccd34372087c6492106e57 diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 12c6ff1..c65548d 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 @@ -31,7 +15,7 @@ - boto3 pip: name: "{{ item }}" - state: present + state: latest - name: Common packages with_items: @@ -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