:: Re: [DNG] Ansible and Devuan (bug o…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Jaromil
Päiväys:  
Vastaanottaja: Emilien Mantel
Kopio: dng
Vanhat otsikot: [DNG] Ansible and Devuan (bug or feature?)
Aihe: Re: [DNG] Ansible and Devuan (bug or feature?)

dear Emilien,

sorry for late reply. If you like to continue the conversation I
recommend inscribing to this list, your mail was stuck for quite a
while. Also thanks for raising the issue.


On Tue, 25 Apr 2017, Emilien Mantel wrote:

> In Devuan, IMHO should be:
>
> "ansible_distribution": "Devuan",
> "ansible_distribution_major_version": "1",
> "ansible_distribution_release": jessie",
> "ansible_distribution_version": "1.0",
> "ansible_os_family": "Debian"
>
>
> Ansible parses /etc/os-release (see:

https://github.com/ansible/ansible/blob/5bbf0d9cb679d803072535b9c1d9e0db680633ac/lib/ansible/module_utils/facts.py)


just like /etc/debian_version (whose issue was raised recently) also
/etc/os-release is provided by the base-files package. An intervention
on that package should then address also this problem IMHO.

Investigating the issue I also found out a discrepancy in Debian: the
os-release manpage is not contained in the package providing it but,
for some obscure reason, it is contained in the infamous systemd
package, which somehow has fagocitated also the base-files manual.

systemd: /usr/share/man/man5/os-release.5.gz

I believe this should also be corrected and we should bring
os-release.5 back home.


ciao