Re: [DNG] Ansible and Devuan (bug or feature?)

2017-07-20 Thread Jaromil

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

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Ansible and Devuan (bug or feature?)

2017-07-20 Thread golinux

On 2017-07-20 17:51, Didier Kryn wrote:

Le 25/04/2017 à 16:08, Emilien Mantel a écrit :

Hi,


Emilien, the date of your mail appears in my browser to be the 25
of April. I cannot believe it has taken 3 months to reach the server
at dng :-) Could you please find the reason and improve on that?

Thanks in advance.

Didier




I can.  No one had moderated the list since late last year.  The recent 
dust up reminded us of that.   ;)


golinux
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Ansible and Devuan (bug or feature?)

2017-07-20 Thread Adam Borowski
On Fri, Jul 21, 2017 at 12:51:39AM +0200, Didier Kryn wrote:
> Emilien, the date of your mail appears in my browser to be the 25 of
> April. I cannot believe it has taken 3 months to reach the server at dng :-)
> Could you please find the reason and improve on that?

There's been over ten other mails from January and later received today,
from various authors.

-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ A dumb species has no way to open a tuna can.
⢿⡄⠘⠷⠚⠋⠀ A smart species invents a can opener.
⠈⠳⣄ A master species delegates.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Ansible and Devuan (bug or feature?)

2017-07-20 Thread Didier Kryn

Le 25/04/2017 à 16:08, Emilien Mantel a écrit :

Hi,

Emilien, the date of your mail appears in my browser to be the 25 
of April. I cannot believe it has taken 3 months to reach the server at 
dng :-) Could you please find the reason and improve on that?


Thanks in advance.

Didier


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Ansible and Devuan (bug or feature?)

2017-07-20 Thread Emilien Mantel

Hi,

I'm working to adapt my (debian) ansible roles with devuan.

However, i have some problems with facts (setup module).


In Debian Jessie:

"ansible_distribution": "Debian",
"ansible_distribution_major_version": "8",
"ansible_distribution_release": "jessie",
"ansible_distribution_version": "8.7"
"ansible_os_family": "Debian"

In Ubuntu:

"ansible_distribution": "Ubuntu",
"ansible_distribution_major_version": "16",
"ansible_distribution_release": "xenial",
"ansible_distribution_version": "16.04"
"ansible_os_family": "Debian"

In Devuan Jessie (1.0 RC) with vagrant:

"ansible_distribution": "Devuan GNU/Linux",
"ansible_distribution_major_version": "NA",
"ansible_distribution_release": "NA",
"ansible_distribution_version": "1 (jessie)",
"ansible_os_family": "Devuan GNU/Linux"

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)


I think, we should update this file?

Are you OK with that?

Cheers,

Emilien

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng