Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Commit

Permalink
#6 permission fixes for condor user
Browse files Browse the repository at this point in the history
  • Loading branch information
donsizemore committed Mar 14, 2016
1 parent 29e6cc8 commit 16ef5ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ansible/roles/condor/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
sudo: yes
file: path="{{condor.cred_dir}}" state=directory owner=condor group=condor mode=0755

- name: ensure condor user can write to condor.cred_dir
sudo: yes
file: path="{{condor.cred_dir}}" state=directory owner=condor group=condor recurse=yes

- name: ensure condor user can write its logs
sudo: yes
file: path=/var/log/condor state=directory owner=condor group=condor recurse=yes

- name: place condor systemd.file so condor doesn't run as root
sudo: yes
copy: src=condor.service dest=/usr/lib/systemd/system/ owner=root group=root mode=0644
Expand Down

0 comments on commit 16ef5ed

Please sign in to comment.