]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Use "become: true" for users role 286/head
authorDavid Galloway <dgallowa@redhat.com>
Fri, 28 Oct 2016 19:49:31 +0000 (15:49 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 28 Oct 2016 19:53:09 +0000 (15:53 -0400)
This is needed if the users role is called manually.  Typically it's
called via the common role and "become: true" is inherited.

But in the case of just needing to update update the teuthology_user's pubkeys with @all.pub, just calling the users role manually is quicker.  sudo access is obviously required to modify users and groups.

Signed-off-by: David Galloway <dgallowa@redhat.com>
users.yml

index 550500122800f823886e29116e637ce7780da5c2..7c80112260b669afdb14846556c4771c5e4c51d7 100644 (file)
--- a/users.yml
+++ b/users.yml
@@ -2,3 +2,4 @@
 - hosts: all
   roles:
     - users
+  become: true