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
|
- pagure
|
||||||
|
|
||||||
- name: Adjust owner of /srv/git
|
- 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:
|
tags:
|
||||||
- gitolite
|
- gitolite
|
||||||
- pagure
|
- pagure
|
||||||
|
|
||||||
- name: Adjust permissions of /srv/git/.gitolite
|
- 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:
|
tags:
|
||||||
- gitolite
|
- gitolite
|
||||||
- pagure
|
- pagure
|
||||||
|
@ -217,12 +217,18 @@
|
||||||
tags:
|
tags:
|
||||||
- pagure
|
- 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
|
when: acl_updates.changed
|
||||||
command: /usr/bin/setfacl -Rdm user:apache:rx /srv/git
|
command: /usr/bin/setfacl -Rdm user:apache:rx /srv/git
|
||||||
tags:
|
tags:
|
||||||
- pagure
|
- 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
|
- name: set sebooleans so pagure can talk to the db
|
||||||
action: seboolean name=httpd_can_network_connect_db
|
action: seboolean name=httpd_can_network_connect_db
|
||||||
state=true
|
state=true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue