ansible/lib/ansible
Michael Scherer 6885797b03 Add support for getting network facts on GNU Hurd
Since ifconfig/ip are not present on the system, and there is no /proc
to be parsed, the only way to get information is by looking at the
argument of the pfinet translator, the process in charge of network.

In turn, this is done with fsysopts on the appropriate path, who return
something like this:

    # fsysopts -L /servers/socket/inet
    /hurd/pfinet --interface=/dev/eth0 --address=192.168.122.130
    --netmask=255.255.255.0 --gateway=192.168.122.1 --address6=fe80::5254:12:ced/10
    --address6=fe80::5054:ff:fe12:ced/10 --gateway6=::

So to get the IP addresses, one has to parse that string and fill the appropriate
structure.

More information on the system and on limitation can be found on
- https://www.gnu.org/software/hurd/hurd/translator/pfinet.html
- https://www.gnu.org/software/hurd/hurd/translator/pfinet/implementation.html
- https://www.debian.org/ports/hurd/hurd-install
2016-10-24 09:45:22 -04:00
..
cli Fix call of wrong super class 2016-10-17 14:53:03 -04:00
compat Move py34 mock_open compat to compat/test/mock (#17157) 2016-08-19 18:11:24 -04:00
config
errors Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
executor fix for check_mode/async interaction 2016-10-20 14:38:36 -04:00
galaxy Add warnings when installing container type roles 2016-10-09 14:38:40 -04:00
inventory Allow unicode inventory filename 2016-10-15 16:54:51 -07:00
module_utils Add support for getting network facts on GNU Hurd 2016-10-24 09:45:22 -04:00
modules bump core submodule ref for async fix 2016-10-24 00:00:24 -07:00
parsing Fix search path for relative paths in roles (fixes #17877) 2016-10-17 11:21:46 -04:00
playbook Fix uninitialized variable in deserialize method (#18037) 2016-10-20 22:54:16 -04:00
plugins Remove callback.CallbackBase._copy_result_exclude 2016-10-23 13:36:20 +02:00
template Remove unnecessary warnings (#18121) 2016-10-20 22:49:49 -04:00
utils Now that we convert salt inside of do_encryptas needed, keep salt as text type until then. 2016-10-20 22:49:30 -07:00
vars Correct delegated_host_name check 2016-10-11 11:15:53 -07:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Make the default Ansible_managed string static so it doesn't interfere with idempotency 2016-10-18 16:19:17 -04:00
release.py Bumping devel version to 2.3.0 2016-10-03 11:46:31 -05:00
test-requirements.txt