]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
Use "group=0" instead of "group=root", which is more portable
authorAlexander Barton <alex@barton.de>
Tue, 20 Oct 2015 12:59:44 +0000 (14:59 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 20 Oct 2015 12:59:44 +0000 (14:59 +0200)
For example on OpenBSD and OS X, the primary group of the "root" user
is named "wheel".

roles/ansible-base/tasks/main.yml

index 2b503e222e93f5f189bad69ae63f742603491482..a7ca2a45909987e3f85b905c358adca407b3687e 100644 (file)
@@ -19,7 +19,7 @@
   lineinfile: >
     create=yes
     dest=/etc/logcheck/ignore.d.paranoid/local-ansible
-    group=root
+    group=0
     line='^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ansible-[[:alnum:]_]+:'
     mode=644
     owner=root
@@ -32,7 +32,7 @@
   lineinfile: >
     create=yes
     dest=/etc/logcheck/ignore.d.paranoid/local-ansible
-    group=root
+    group=0
     line='^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: subsystem request for sftp by user root'
     mode=644
     owner=root