From: Oleg Broytman Date: Sun, 27 Aug 2023 09:50:25 +0000 (+0300) Subject: Fix(setup-usrlocal): Fix `chown user:group` syntax X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=63553be81ea2a3799f9d872c8967facaeafea8c1;p=ansible.git Fix(setup-usrlocal): Fix `chown user:group` syntax `chown` started to issue warning for `user.group` syntax. --- diff --git a/playbooks/roles/setup-usrlocal/tasks/main.yaml b/playbooks/roles/setup-usrlocal/tasks/main.yaml index f20475f..2da9650 100644 --- a/playbooks/roles/setup-usrlocal/tasks/main.yaml +++ b/playbooks/roles/setup-usrlocal/tasks/main.yaml @@ -12,7 +12,7 @@ - name: Setup directories under /usr/local become: true - command: "find /usr/local -type d -exec chown root.{{ system_group }} {} + -exec chmod ug+rwx,o+rx,g+s {} +" + command: "find /usr/local -type d -exec chown root:{{ system_group }} {} + -exec chmod ug+rwx,o+rx,g+s {} +" - name: Setup files under /usr/local become: true