Skip to content

Commit

Permalink
Added become statements and setting galaxy dir ownership & permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
eslerm committed Sep 18, 2018
1 parent e011554 commit 0745f52
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tasks/clone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@
notify:
- restart galaxy
- email administrator with commit id
become: yes

- name: Set Galaxy server directory ownership and permissions
file:
path: "{{ galaxy_server_dir }}"
owner: "{{ galaxy_user }}"
group: "{{ galaxy_group }}"
mode: "{{ galaxy_mode }}"
recurse: yes
become: yes

- name: Include virtualenv setup tasks
include_tasks: virtualenv.yml
Expand All @@ -38,3 +48,4 @@
script: makepyc.py {{ galaxy_server_dir }}/lib
environment:
PATH: "{{ galaxy_venv_dir }}/bin"
become: yes

0 comments on commit 0745f52

Please sign in to comment.