On Sat, 2019-12-07 at 16:51 +0100, Fabiano FidĂȘncio wrote:
On Sat, Dec 7, 2019 at 1:13 AM Jim Fehlig <jfehlig(a)suse.com>
wrote:
> I forgot to mention, 'lcitool update libvirt-opensuse-151 libvirt' still
fails
> in the Configure hostname task
>
> TASK [Configure hostname]
> **********************************************************************
> fatal: [libvirt-opensuse-151]: FAILED! => {"changed": false,
"msg": "hostname
> module cannot be used on platform Linux (Opensuse-leap)"}
This is related to the ansible version you have in your machine.
I'm using ansible 2.9.1 and I can see, as part of
/usr/lib/python3.7/site-packages/ansible/modules/system/hostname.py:
```
class OpenSUSELeapHostname(Hostname):
platform = 'Linux'
distribution = 'Opensuse-leap'
strategy_class = SystemdStrategy
```
Maybe it's worth a bug report in order to have it backported to the
ansible package you have in your distro.
The production environment has Ansible 2.8.4, which knows about Leap.
So we're good on that front, and Jim's issue is not a blocker for
inclusion as far as I'm concerned. He'll probably want to get it
fixed somehow, though :)
--
Andrea Bolognani / Red Hat / Virtualization