From 71eedeedd0782786efbfb78767939a20963462fd Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 30 Sep 2019 23:41:57 +0300 Subject: [PATCH] Feat(setup-usrlocal): Setup /usr/local/darkstat --- playbooks/roles/setup-usrlocal/tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/playbooks/roles/setup-usrlocal/tasks/main.yml b/playbooks/roles/setup-usrlocal/tasks/main.yml index c2e4a87..f20475f 100644 --- a/playbooks/roles/setup-usrlocal/tasks/main.yml +++ b/playbooks/roles/setup-usrlocal/tasks/main.yml @@ -18,6 +18,16 @@ 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: -- 2.39.5