ansible/test/integration
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
..
host_vars Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00
targets Fact collector ordering deps (#31362) 2018-01-22 18:23:40 -05:00
asa.yaml
cloud-config-aws.yml.template
cloud-config-azure.yml.template
cloud-config-cs.ini.template
dellos6.yaml
dellos9.yaml
dellos10.yaml
eos.yaml Add eos_lldp module (#34302) 2018-01-02 18:54:06 +05:30
integration.cfg
integration_config.yml
inventory ACI: Support validate_certs, use_ssl and use_proxy (#35146) 2018-01-21 00:38:20 +01:00
inventory.network
inventory.networking.template
inventory.remote.template
inventory.winrm.template
ios.yaml Add ios_linkagg DI module (#33215) 2018-01-11 12:33:15 +05:30
iosxr.yaml
junos.yaml Add junos_l2_interface module (#35123) 2018-01-22 20:38:07 +05:30
network-all.yaml
network-integration.cfg
nxos.yaml Fix for nxos_pim issues (#35103) 2018-01-22 11:30:52 +05:30
ops.yaml
target-prefixes.network ACI: Make network testing work out-of-the-box (#35116) 2018-01-20 02:47:28 +01:00
vyos.yaml Add vyos_vlan DI module (#32072) 2017-10-27 15:21:37 +05:30
windows-integration.cfg