From 448f791a388f66371b61a2b5b134c374f50e09a7 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Mon, 24 Aug 2015 14:42:14 -0500 Subject: [PATCH] testnode: create the libvirt group and add teuthology_user to it Fixes: http://tracker.ceph.com/issues/12624 Signed-off-by: Andrew Schoen --- roles/testnode/tasks/user.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.47.3