]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Add sudoers tag to the sudoers.d tasks in the ansible-managed role.
authorAndrew Schoen <aschoen@redhat.com>
Wed, 22 Apr 2015 16:15:48 +0000 (11:15 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 22 Apr 2015 16:15:48 +0000 (11:15 -0500)
This gives us another, maybe better, way to configure sudoers for
pipelining if we want to enable that by default in ansible.cfg.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ansible-managed/tasks/main.yml

index 3ebd889d79c78a5184f963c12d40e720d2552ced..db43b523cee383081acb79c227c775453c2d08e9 100644 (file)
@@ -21,6 +21,8 @@
     line: "#includedir /etc/sudoers.d"
     state: present
     validate: visudo -cf %s
+  tags:
+    - sudoers
 
 - name: Create the cephlab_sudo sudoers.d file.
   template:
@@ -30,6 +32,8 @@
     group: root
     mode: 0440
     validate: visudo -cf %s
+  tags:
+    - sudoers
 
 - name: Add authorized keys for the ansible user.
   authorized_key: