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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux