[libvirt] [jenkins-ci PATCH] guests: Set remote_user at the playbook level

Pavel Hrdina phrdina at redhat.com
Mon Apr 16 08:22:34 UTC 2018


On Wed, Apr 11, 2018 at 02:36:15PM +0200, Andrea Bolognani wrote:
> This is very convenient for developers using the 'test' flavor,
> because it ensures
> 
>   $ ./lcitool update all
> 
> still works by logging in as root, but at the same time ad-hoc
> invocations such as
> 
>   $ ansible all -m shell -a 'cd libvirt && $MAKE -j check'
> 
> and custom playbooks log in as the 'test' user instead, and as
> such have all the usual environment variables ($MAKE, $PYTHON,
> $PATH, $VIRT_PREFIX and friends) available to them, which makes
> testing changes locally a breeze.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  guests/group_vars/all/main.yml | 2 --
>  guests/site.yml                | 2 ++
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180416/942add6b/attachment-0001.sig>


More information about the libvir-list mailing list