diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-01-17 04:46:06 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:51:41 +0200 |
commit | 0088f50a9bfe297760f9641dce4e770926d0f2fe (patch) | |
tree | ba735a60c41310228dc3bbeaa0563f94ddf045fb /roles/lists/tasks | |
parent | 5bf048570001b6a364b1ae33d4d436b14f44c974 (diff) |
Ansible automatically creates parent directories.
Diffstat (limited to 'roles/lists/tasks')
-rw-r--r-- | roles/lists/tasks/mlmmj.yml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/roles/lists/tasks/mlmmj.yml b/roles/lists/tasks/mlmmj.yml index 934433e..5944e57 100644 --- a/roles/lists/tasks/mlmmj.yml +++ b/roles/lists/tasks/mlmmj.yml @@ -47,15 +47,14 @@ owner=root group=root mode=0644 -- name: Create /usr/share/mlmmj/... - file: path=/usr/share/mlmmj/{{ item }} +- name: Create /usr/share/mlmmj/static/{css,fonts} + file: path=/usr/share/mlmmj/static/{{ item }} state=directory owner=root group=root mode=0755 with_items: - - static - - static/css - - static/fonts + - css + - fonts - name: Copy CSS files copy: src=usr/share/mlmmj/static/css/{{ item }} @@ -76,3 +75,9 @@ - glyphicons-halflings-regular.svg - glyphicons-halflings-regular.ttf - glyphicons-halflings-regular.woff + +- name: Create /usr/lib/cgi-bin/mlmmj + file: path=/usr/lib/cgi-bin/mlmmj + state=directory + owner=root group=root + mode=0755 |