Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45059 - [ansible] Backport support for ansible to properly detect the archlinux distribution

Attached to Project: Community Packages
Opened by Christian Kampka (chris-) - Saturday, 23 May 2015, 12:31 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 24 May 2015, 17:29 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The current release of ansible has problems detecting the distribution of archlinux.
Therefore, some modules that rely on this detection fail on arch since they cannot recognize the distribution.
An example for this is the hostname module.

Upstream ansible has a bug fix for this at https://github.com/ansible/ansible/commit/bb81f025b00a8b22f5002315b4e48543b07d14b1
I think we should backport this fix until it is release with the next (?) upstream version.
Otherwise, ansible will not fully work on archlinux sysmtems.

Additional info:
* package version(s): 1.9.1

Steps to reproduce:
echo "localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python2" >> /etc/ansible/hosts
ansible all -i /etc/ansible/hosts -m hostname -a "name=someHostName"

localhost | FAILED >> {
"failed": true,
"msg": "hostname module cannot be used on platform Linux ()"
}
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 24 May 2015, 17:29 GMT
Reason for closing:  Fixed

Loading...