Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
trying as root instead of aurbs
Browse files Browse the repository at this point in the history
  • Loading branch information
unixfox committed Jan 7, 2017
1 parent 1ccbf6e commit 4fabc49
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,28 +159,12 @@
url: https://github.com/unixfox/aur/raw/master/aurbs.sh
dest: /var/cache/aurbs/start.sh
mode: 0764
- name: Giving rights to AurBS to edit his configuration
file:
path: /etc/aurbs.yml
owner: aurbs
group: daemon
mode: 0664
- name: Giving rights to AurBS for his cache and lib directories
file:
path: "{{item}}"
state: directory
owner: aurbs
group: daemon
recurse: yes
with_items:
- /var/cache/aurbs/
- /var/lib/aurbs/
- name: Cron AurBS execute each 10 minutes
cron:
name: "aurbs"
minute: "*/10"
job: "bash /var/cache/aurbs/start.sh"
user: aurbs
user: root
- name: Creating the log directory for AurBS
file: path=/var/log/aurbs owner=aurbs group=daemon state=directory
- pause:
Expand Down

0 comments on commit 4fabc49

Please sign in to comment.