From 2ef9c08bfee2c6de26ecfb83277f1a356f8e185b Mon Sep 17 00:00:00 2001 From: Pablo Estigarribia Date: Tue, 19 Mar 2019 12:09:33 -0300 Subject: [PATCH] fixes on permissions --- tasks/plugins.yml | 12 ++++++++++-- tasks/scrum-plugin.yml | 3 ++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/tasks/plugins.yml b/tasks/plugins.yml index 3a1e613..343b41f 100644 --- a/tasks/plugins.yml +++ b/tasks/plugins.yml @@ -1,8 +1,16 @@ # Plugins management playbook # file tasks/plugins.yml -- name: ensure plugins directory - file: path="{{ redmine_plugins_dir }}" owner="{{ redmine_system_user }}" group="{{ redmine_system_user }}" mode=0755 state=directory +# This task is copied from redmine role now. +- name: set permissions on redmine dirs + file: dest={{ item }} + owner=www-data + group=www-data + state=directory + mode=u+rwxs,g+rwxs,o+rx + recurse=yes + with_items: + - "{{ redmine_plugins_dir }}" tags: - plugins diff --git a/tasks/scrum-plugin.yml b/tasks/scrum-plugin.yml index f967224..e6a2803 100644 --- a/tasks/scrum-plugin.yml +++ b/tasks/scrum-plugin.yml @@ -31,4 +31,5 @@ # More instructions: # https://redmine.ociotec.com/boards/11/topics/64?r=69 # https://redmine.ociotec.com/projects/redmine-plugin-scrum/wiki/Wiki" -- pause: prompt="Please configure SCRUM and roles permissions as required in these instructions https://redmine.ociotec.com/boards/11/topics/64?r=69" +- name: pause with promt notification about the manual instructions to followup + pause: prompt="Please configure SCRUM and roles permissions as required in these instructions https://redmine.ociotec.com/boards/11/topics/64?r=69"