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
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
|
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