]> git.phdru.name Git - ansible.git/blob - playbooks/redhat/roles/init-system2/tasks/main.yml
Feat(firewall): Use handler instead of condition
[ansible.git] / playbooks / redhat / roles / init-system2 / tasks / main.yml
1 - name: Setup /usr/local
2   become: true
3   file:
4     path: /usr/local
5     state: directory
6     owner: root
7     group: wheel
8     recurse: yes
9
10 - name: Setup directories under /usr/local
11   become: true
12   command: find /usr/local -type d -exec chown root.wheel {} + -exec chmod ug+rwx,o+rx,g+s {} +
13
14 - name: Setup files under /usr/local
15   become: true
16   command: find /usr/local -type f -exec chmod ug+rwX,o+rX {} +
17
18 - name: Setup /usr/local/src
19   become: true
20   file:
21     path: /usr/local/src
22     state: directory
23     owner: phd
24     group: wheel
25     recurse: yes