]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnodes: Add teuthology_user to 'disk' group 158/head
authorZack Cerza <zack@redhat.com>
Mon, 26 Oct 2015 22:39:15 +0000 (16:39 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 26 Oct 2015 22:39:15 +0000 (16:39 -0600)
We were already doing this for apt systems; do it for yum systems as
well

Signed-off-by: Zack Cerza <zack@redhat.com>
roles/testnode/tasks/yum_systems.yml

index 2c64d318b7680ecc996ad3424790527048ec436b..c3caf336fe985192f177b01fe6ad56caeb1f4199 100644 (file)
     name: kvm
     state: present
 
-- name: Add the teuthology user to group kvm
+- name: Add the teuthology user to groups kvm,disk
   user:
     name: "{{ teuthology_user }}"
-    group: kvm
+    groups: kvm,disk
+    append: yes
 
 - name: Configure /etc/sudoers.
   template: