From: Andrew Schoen Date: Mon, 24 Aug 2015 19:42:14 +0000 (-0500) Subject: testnode: create the libvirt group and add teuthology_user to it X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F119%2Fhead;p=ceph-cm-ansible.git testnode: create the libvirt group and add teuthology_user to it Fixes: http://tracker.ceph.com/issues/12624 Signed-off-by: Andrew Schoen --- diff --git a/roles/testnode/tasks/user.yml b/roles/testnode/tasks/user.yml index 401e154c..608945df 100644 --- a/roles/testnode/tasks/user.yml +++ b/roles/testnode/tasks/user.yml @@ -4,6 +4,11 @@ name: sudo state: present +- name: Ensure the libvirt group exists. + group: + name: libvirt + state: present + - name: Ensure the teuthology_user group exists. group: name: "{{ teuthology_user }}" @@ -16,7 +21,7 @@ # https://github.com/ceph/ceph-qa-chef/commit/5678cc3893fd1cc291254e4d1abe6705e6a9bbb0 uid: 1000 group: sudo - groups: "{{ teuthology_user }}" + groups: "{{ teuthology_user }},libvirt" shell: /bin/bash state: present # If we're currently running as teuthology_user, we won't be able to modify