--- /dev/null
+- name: Setup /usr/local
+ become: true
+ file:
+ path: /usr/local
+ state: directory
+ owner: root
+ group: wheel
+ recurse: yes
+
+- name: Setup directories under /usr/local
+ become: true
+ command: find /usr/local -type d -exec chown root.wheel {} + -exec chmod ug+rwx,o+rx,g+s {} +
+
+- name: Setup files under /usr/local
+ become: true
+ command: find /usr/local -type f -exec chmod ug+rwX,o+rX {} +
+
+- name: Setup /usr/local/src
+ become: true
+ file:
+ path: /usr/local/src
+ state: directory
+ owner: phd
+ group: wheel
+ recurse: yes