[libvirt] [jenkins-ci PATCH] guests: Allow ssh access as user regardless of flavor

Andrea Bolognani abologna at redhat.com
Fri Oct 5 14:34:17 UTC 2018


We already allow the host user to ssh into guests as root
using key-based authentication, so it makes no sense to
prevent them to ssh in as the regular user.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 guests/playbooks/update/tasks/users.yml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/guests/playbooks/update/tasks/users.yml b/guests/playbooks/update/tasks/users.yml
index abaeaa4..0470686 100644
--- a/guests/playbooks/update/tasks/users.yml
+++ b/guests/playbooks/update/tasks/users.yml
@@ -37,8 +37,6 @@
     user: '{{ flavor }}'
     key: '{{ lookup("file", lookup("env", "HOME") + "/.ssh/id_rsa.pub") }}'
     state: present
-  when:
-    - flavor == 'test'
 
 - name: '{{ flavor }}: Grant passwordless sudo access'
   lineinfile:
-- 
2.17.1




More information about the libvir-list mailing list