community.general/lib/ansible/module_utils
Adrian Likins 6e585bdf24
Fact collector ordering deps (#31362)
Add deps/requires for fact collectors

Fact collectors can now set a required_facts
class attribute that will be a set of the names
of fact collectors they require to be run first.

ie, if a collector needs to know the ansible_distribution,
it should set it's required_facts to include 'distribution'

        required_facts = set(['distribution'])

If a collector requires another collector, it gets added
to the selected collector names.

We then topological sort the ordering of the collectors
so that deps work out (ie, 'distribution' will run before
'service_mgr')

required_facts were added to the collectors for:

        - network (requires 'distribution', 'platform')
        - hardware (requires 'platform')
        - service_mgr (requires 'distribution', 'platform')

Fix name references for facts (need 'ansible_' prefix)
is service_mgr

Fixes #30753
2018-01-22 18:23:40 -05:00
..
aws [cloud] New module cloudfront_distribution (#31284) 2018-01-17 11:03:23 -05:00
facts Fact collector ordering deps (#31362) 2018-01-22 18:23:40 -05:00
k8s Add K8s inventory plugin (#34920) 2018-01-20 08:50:01 -05:00
net_tools Add support for Infoblox NIOS (#35097) 2018-01-22 14:25:13 +00:00
network ACI: Move to 'host' parameter instead of 'hostname' (#35161) 2018-01-22 22:06:56 +01:00
parsing Relicense convert_bool to 2-clause BSD 2017-10-18 14:33:28 -07:00
powershell standardise the powershell FileUtils (#34969) 2018-01-17 14:16:34 +10:00
remote_management Connection and MAC pool module for Cisco UCS (#31151) 2017-12-14 19:38:35 +01:00
six Update the bundled six library to 1.11.0 2017-09-17 22:00:02 -07:00
__init__.py Enhance empty __init__ code-smell to check module_utils (#33438) 2017-11-30 15:47:38 -08:00
_text.py Fix for to_text and to_bytes error handlers 2017-07-24 09:19:04 -07:00
ansible_tower.py ansible_tower: fix broken import, reuse tower_argument_spec and documentation fragment (#29115) 2017-10-02 16:21:24 -04:00
api.py Remove comments about import order 2017-08-07 19:46:06 -07:00
azure_rm_common.py restore format arg to azure_rm_common errmsg 2018-01-17 16:10:17 -08:00
basic.py Temporary (#31677) 2018-01-15 21:15:04 -08:00
cloud.py AWSRetry: allow retrying on additional ClientError exceptions (#28483) 2017-08-22 15:31:20 -04:00
cloudscale.py cloudscale_floating_ip module (#33181) 2017-12-11 14:48:35 +00:00
cloudstack.py cloudstack: cs_network: implement subdomain_access (#34741) 2018-01-22 12:15:39 +01:00
connection.py Refactor junos modules to Use netconf and cliconf plugins (#32621) 2017-11-24 12:04:47 +05:30
crypto.py Allow multiple values per key in name fields in openssl_certificate/csr (#30338) 2017-12-12 12:35:22 +00:00
database.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
digital_ocean.py Fix digital_ocean module_util api_token bug (#28924) 2017-09-06 07:14:10 -07:00
dimensiondata.py Python 2.6 `str.format()` compatibility fixes. 2018-01-10 14:08:11 -08:00
docker_common.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
ec2.py Route table boto3 (#32059) 2018-01-09 20:09:25 -05:00
exoscale.py exoscale: similar env vars as in cloudstack 2017-08-22 14:43:48 +02:00
f5_utils.py Refactor common network shared and platform utils code into package (#33452) 2017-12-03 21:42:30 +05:30
gcdns.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
gce.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
gcp.py Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
infinibox.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
influxdb.py influxdb: add login aliases (#34599) 2018-01-19 14:54:42 +01:00
ipa.py New module for managing IPA Sub CA (#25640) 2017-11-16 02:21:59 +00:00
ismount.py
json_utils.py jsonify inventory (#32990) 2017-11-21 13:41:27 -08:00
keycloak.py Add keycloak_client module for administration of Keycloak clients (#31716) 2017-11-29 16:44:35 -05:00
known_hosts.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
lxd.py Use to_text helper function to handle bytes and unicode 2017-06-05 11:58:19 -07:00
manageiq.py module_utils/manageiq: add find_collection_resource_or_fail 2017-11-06 11:41:57 -05:00
mysql.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
netapp.py Refactor E-Series VolumeCopy to use module_utils (#20902) 2017-08-07 09:18:26 -06:00
oneandone.py New module: manage 1&1 cloud compute (cloud/oneandone/oneandone_server) (#24878) 2017-12-19 11:31:39 +00:00
oneview.py DatacenterFactsModule for HPE OneView (#32701) 2017-11-28 13:49:51 +00:00
openstack.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
ovirt.py Python 2.6 `str.format()` compatibility fixes. 2018-01-10 14:08:11 -08:00
postgres.py Remove wildcard imports and get_exception calls 2017-08-12 00:48:53 -07:00
pure.py Initial commit for Pure Storage Ansible module (#25386) 2017-06-16 11:28:50 +01:00
pycompat24.py Fix undefined variables, basestring usage, and some associated python3 issues 2017-07-25 15:58:23 -07:00
rax.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
redhat.py Miscellaneous pylint fixes. 2017-09-13 01:53:08 -07:00
service.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
splitter.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
univention_umc.py Python 2.6 `str.format()` compatibility fixes. 2018-01-10 14:08:11 -08:00
urls.py Temporary (#31677) 2018-01-15 21:15:04 -08:00
vca.py Use response.content instead of response object (#25772) 2017-08-14 12:40:06 -04:00
vmware.py VMware: Get virtual machine object using property (#33525) 2018-01-19 09:50:20 +05:30
vultr.py vultr: add api_endpoint param (#34850) 2018-01-14 16:31:28 +01:00