On Sat, Dec 7, 2019 at 1:13 AM Jim Fehlig <[email protected]> wrote:
>
> On 12/6/19 4:44 PM, Jim Fehlig wrote:
> > Jim Fehlig (2):
> >    guests: Add support for openSUSE
> >    guests: Add lci build support for openSUSE
>
> 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 same goes with the patch I've submitted adding Opensuse-tumbleweed.

Best Regards,
-- 
Fabiano Fidêncio


--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to