]> git.phdru.name Git - ansible.git/commitdiff
Feat(setup-usrlocal): Setup /usr/local/darkstat
authorOleg Broytman <phd@phdru.name>
Mon, 30 Sep 2019 20:41:57 +0000 (23:41 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 30 Sep 2019 20:41:57 +0000 (23:41 +0300)
playbooks/roles/setup-usrlocal/tasks/main.yml

index c2e4a87188c77399a0629359e1c27bba4d1af320..f20475f2f6b139c5b606dc692a01a95cc2bc8682 100644 (file)
   become: true
   command: find /usr/local -type f -exec chmod ug+rwX,o+rX {} +
 
+- name: Setup /usr/local/darkstat
+  become: true
+  file:
+    path: /usr/local/darkstat
+    state: directory
+    owner: phd
+    group: "{{ system_group }}"
+    recurse: yes
+  when: inventory_hostname == 'iskra-aviel.phdru.name'
+
 - name: Setup /usr/local/src
   become: true
   file: