Re: [ansible-project] AIX O/S version detection problems in Ansible 2.8

2019-10-01 Thread Daniel Delin
On Monday, September 30, 2019 at 7:05:57 PM UTC+2, Kai Stian Olstad wrote: > > This look like a bug, but when I check the code distribution_major_version > for AIX is not changed between 2.7.10 and 2.8.4, only distribution_version > and distribution_release has some changes. > > The fact is

Re: [ansible-project] AIX O/S version detection problems in Ansible 2.8

2019-09-30 Thread Kai Stian Olstad
On 30.09.2019 13:35, Daniel Delin wrote: > *If I check the fact cache file it looks like this on both 2.7.10 and > 2.8.4, which seems correct:* > > "ansible_distribution": "AIX", > * "ansible_distribution_major_version": "5", * > "ansible_distribution_release": "3", >

[ansible-project] AIX O/S version detection problems in Ansible 2.8

2019-09-30 Thread Daniel Delin
Hi, Noticed that a few of our playbooks failed to run on AIX after trying to move from 2.7.10 to 2.8.4 I´ve tracked it down to handling of the ansible_distribution_major_version fact. *We include variables in the playbooks like this:* - name: Include OP5 varibles. include_vars: "{{ item