Commit 2046637e by Fred Smith

set permissions correctly

parent 5379c181
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
template: template:
src=notifier_env.j2 dest={{ NOTIFIER_HOME }}/notifier_env src=notifier_env.j2 dest={{ NOTIFIER_HOME }}/notifier_env
owner="{{ NOTIFIER_USER }}" group="{{ NOTIFIER_USER }}" owner="{{ NOTIFIER_USER }}" group="{{ NOTIFIER_USER }}"
mode=655
- name: drop a bash_profile - name: drop a bash_profile
copy: > copy: >
...@@ -89,13 +90,15 @@ ...@@ -89,13 +90,15 @@
template: > template: >
src=notifier-celery-workers-supervisor.sh.j2 src=notifier-celery-workers-supervisor.sh.j2
dest="{{ NOTIFIER_HOME }}/notifier-celery-workers-supervisor.sh" dest="{{ NOTIFIER_HOME }}/notifier-celery-workers-supervisor.sh"
sudo_user: "{{ supervisor_user }}" mode=0775
sudo_user: "{{ NOTIFIER_USER }}"
- name: write supervisord wrapper for scheduler - name: write supervisord wrapper for scheduler
template: > template: >
src=notifier-scheduler-supervisor.sh.j2 src=notifier-scheduler-supervisor.sh.j2
dest="{{ supervisor_available_dir }}/notifier-scheduler-supervisor.sh" dest="{{ NOTIFIER_HOME }}/notifier-scheduler-supervisor.sh"
sudo_user: "{{ supervisor_user }}" mode=0775
sudo_user: "{{ NOTIFIER_USER }}"
- name: write supervisord config for celery workers - name: write supervisord config for celery workers
template: > template: >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment