mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-07-27 00:51:39 +08:00
Replace chown with file and set current acl
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user