]> git.phdru.name Git - ansible.git/commitdiff
Fix(setup-usrlocal): Fix `chown user:group` syntax
authorOleg Broytman <phd@phdru.name>
Sun, 27 Aug 2023 09:50:25 +0000 (12:50 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 27 Aug 2023 09:50:25 +0000 (12:50 +0300)
`chown` started to issue warning for `user.group` syntax.

playbooks/roles/setup-usrlocal/tasks/main.yaml

index f20475f2f6b139c5b606dc692a01a95cc2bc8682..2da9650447f19bd0f0d9fef3b6ab920eeaf41fc7 100644 (file)
@@ -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