diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-01-17 04:40:35 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:51:41 +0200 |
commit | 5bf048570001b6a364b1ae33d4d436b14f44c974 (patch) | |
tree | a76f6925d1b62167361baa606da4912acd441cb6 /roles/lists | |
parent | c836fecd1b0ae3c6348ade420cd8e0222cdb66eb (diff) |
Use Debian's usual location for static web content.
Hence put the CSS and fonts under /usr/share/.
Diffstat (limited to 'roles/lists')
-rw-r--r-- | roles/lists/files/usr/share/mlmmj/static/css/fripost.css (renamed from roles/lists/files/var/lib/mlmmj/static/css/fripost.css) | 0 | ||||
-rw-r--r-- | roles/lists/tasks/mlmmj.yml | 12 |
2 files changed, 6 insertions, 6 deletions
diff --git a/roles/lists/files/var/lib/mlmmj/static/css/fripost.css b/roles/lists/files/usr/share/mlmmj/static/css/fripost.css index 197eee6..197eee6 100644 --- a/roles/lists/files/var/lib/mlmmj/static/css/fripost.css +++ b/roles/lists/files/usr/share/mlmmj/static/css/fripost.css diff --git a/roles/lists/tasks/mlmmj.yml b/roles/lists/tasks/mlmmj.yml index 0b88d75..934433e 100644 --- a/roles/lists/tasks/mlmmj.yml +++ b/roles/lists/tasks/mlmmj.yml @@ -47,8 +47,8 @@ owner=root group=root mode=0644 -- name: Create /var/lib/mlmmj/... - file: path=/var/lib/mlmmj/{{ item }} +- name: Create /usr/share/mlmmj/... + file: path=/usr/share/mlmmj/{{ item }} state=directory owner=root group=root mode=0755 @@ -58,8 +58,8 @@ - static/fonts - name: Copy CSS files - copy: src=var/lib/mlmmj/static/css/{{ item }} - dest=/var/lib/mlmmj/static/css/{{ item }} + copy: src=usr/share/mlmmj/static/css/{{ item }} + dest=/usr/share/mlmmj/static/css/{{ item }} owner=root group=root mode=0644 with_items: @@ -67,8 +67,8 @@ - fripost.css - name: Copy Glyphicon Halflings - copy: src=var/lib/mlmmj/static/fonts/{{ item }} - dest=/var/lib/mlmmj/static/fonts/{{ item }} + copy: src=usr/share/mlmmj/static/fonts/{{ item }} + dest=/usr/share/mlmmj/static/fonts/{{ item }} owner=root group=root mode=0644 with_items: |