
3 Dec
2019
3 Dec
'19
1:54 p.m.
'lci update ... libvirt' fails in task "Configure hostname":
fatal: [libvirt-opensuse-tumbleweed]: FAILED! => {"changed": false, "msg": "hostname module cannot be used on platform Linux (Opensuse-tumbleweed)"}
It seems to be an Ansible bug: https://github.com/ansible/ansible/issues/42726
Is it possible that this failed simply because the hostname command is not available? You mention this below.
No. When testing this patch I was already installing "hostname" in the box.
I've opened a PR for ansible with a fix for this issue: https://github.com/ansible/ansible/pull/65457 With this one fixed and backported to the host OS libvirt-jenkins-ci uses we will be able to also add tumbleweed.