Replace chown with file and set current acl
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
20348df7b5
commit
2d8c1e06e8
1 changed files with 9 additions and 3 deletions
|
@ -70,13 +70,13 @@
|
|||
- pagure
|
||||
|
||||
- name: Adjust owner of /srv/git
|
||||
command: chown git:git -R /srv/git/
|
||||
file: name=/srv/git state=directory recurse=yes owner=git group=git
|
||||
tags:
|
||||
- gitolite
|
||||
- pagure
|
||||
|
||||
- name: Adjust permissions of /srv/git/.gitolite
|
||||
command: chown git:git -R /srv/git/.gitolite
|
||||
file: name=/srv/git/.gitolite state=directory recurse=yes owner=git group=git
|
||||
tags:
|
||||
- gitolite
|
||||
- pagure
|
||||
|
@ -217,12 +217,18 @@
|
|||
tags:
|
||||
- pagure
|
||||
|
||||
- name: Manually fix current ACLs since Ansible doesnt know recursive acls
|
||||
- name: Manually fix current default ACLs since Ansible doesnt know recursive acls
|
||||
when: acl_updates.changed
|
||||
command: /usr/bin/setfacl -Rdm user:apache:rx /srv/git
|
||||
tags:
|
||||
- pagure
|
||||
|
||||
- name: Manually fix current ACLs since Ansible doesnt know recursive acls
|
||||
when: acl_updates.changed
|
||||
command: /usr/bin/setfacl -Rm user:apache:rx /srv/git
|
||||
tags:
|
||||
- pagure
|
||||
|
||||
- name: set sebooleans so pagure can talk to the db
|
||||
action: seboolean name=httpd_can_network_connect_db
|
||||
state=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue