ansible/test/integration
Pilou 47d8d8c36e Fix yum integration tests (#35177)
* use tests instead of filters

* Don't check 'rc', use success/failed tests

- yum module use 'fail_json' which set 'failed'
- 'rc' is for backward compatibility:
  bbd6b8bb42/lib/ansible/executor/task_executor.py (L571)
- besides yum module doesn't document any return values

* Allow to run tests twice in a row

ansible-test is executed with '--retry-on-error' switch, then tests must
be able to executed twice in a row.

Error was:
TASK [yum : install group] ***
ok: [testhost] => {
    "attempts": 1,
    "changed": false,
    "failed": false,
    "invocation": { [...] },
    "msg": "",
    "rc": 0,
    "results": []
}

TASK [yum : verify installation of the group] ***
fatal: [testhost]: FAILED! => {
    "assertion": "yum_result.changed",
    "attempts": 1,
    "changed": false,
    "evaluated_to": false,
    "failed": true
}
2018-01-27 12:35:18 +01:00
..
group_vars Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915) 2018-01-25 12:37:27 +00:00
host_vars Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00
roles Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915) 2018-01-25 12:37:27 +00:00
targets Fix yum integration tests (#35177) 2018-01-27 12:35:18 +01:00
asa.yaml
cloud-config-aws.yml.template
cloud-config-azure.yml.template
cloud-config-cs.ini.template
dellos6.yaml
dellos9.yaml
dellos10.yaml Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915) 2018-01-25 12:37:27 +00:00
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
windows-integration.cfg