Centralize restrictions to fhs_retrictions.yml

This commit is contained in:
Gregory Colpart 2017-09-06 19:30:21 +02:00
parent af5427e077
commit 4f3b04e97d
2 changed files with 5 additions and 4 deletions

View file

@ -40,6 +40,11 @@
- /etc/phpmyadmin
- /var/log/installer
- name: Change group to www-data for /etc/phpmyadmin/
file:
dest: /etc/phpmyadmin/
group: www-data
- name: Set u-s permission on some binaries (/bin/ping, /usr/bin/mtr, ...)
shell: "test -f {{ item }} && chmod --verbose u-s {{ item }}"
register: command_result

View file

@ -20,7 +20,3 @@
changed_when: "'Disabling' in command_result.stderr"
when: pma_default_config.stat.exists
- name: Change group to www-data for /etc/phpmyadmin/
file:
dest: /etc/phpmyadmin/
group: www-data