summaryrefslogtreecommitdiffstats
path: root/tasks/main.yml
diff options
context:
space:
mode:
authorRomain Porte <microjoe@microjoe.org>2017-11-03 23:05:42 +0100
committerRomain Porte <microjoe@microjoe.org>2017-11-03 23:05:42 +0100
commitcce731907c1dfd81a0ef6c2a80eabb20a481caeb (patch)
treec5647ca66b523c601794067b5dc2bc61f3bac07a /tasks/main.yml
parentf7b1945008ae46b647da093d6f7c25f0849a75e5 (diff)
downloadMicroJoe.ttrss-cce731907c1dfd81a0ef6c2a80eabb20a481caeb.tar.gz
MicroJoe.ttrss-cce731907c1dfd81a0ef6c2a80eabb20a481caeb.zip
New home directory, removed now useless permissions stuff
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml17
1 files changed, 2 insertions, 15 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index d197923..9a97014 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -5,6 +5,8 @@
- name: Ensure user exists
user:
name: "{{ ttrss_user }}"
+ group: "{{ ttrss_group }}"
+ home: "{{ ttrss_home }}"
- name: Install dependencies
apt:
@@ -59,21 +61,6 @@
owner: ttrss
group: www-data
-- name: Set access for writeable directories
- file:
- path: "{{ ttrss_base }}/{{ item }}"
- state: directory
- mode: 0775
- owner: "{{ ttrss_user }}"
- group: "{{ ttrss_group }}"
- with_items:
- - cache/images
- - cache/upload
- - cache/export
- - cache/js
- - feed-icons
- - lock
-
- name: Install nginx configuration file {{ nginx_filename }}
template:
src: templates/nginx.j2