ansible/test/integration/targets/pull/pull-integration-test/local.yml
Brian Coca 8940732b58
Configurable and parallel gather facts (#49399)
* Configurable list of facts modules (#31783)

 - allow for args dict for specific modules
 - add way to pass parameters
 - avoid facts poluting test
 - move to 'facts gathered' flag
 - add 'gathering' setting tests
 - allow parallel option in case serialization is too slow
 - added support to automatically map network facts
   uses "smart" connection mapping
2019-03-08 13:08:37 -05:00

20 lines
696 B
YAML

- name: test playbook for ansible-pull
hosts: all
gather_facts: False
tasks:
- name: debug output
debug: msg="test task"
- name: check for correct inventory
debug: msg="testing for inventory content"
failed_when: "'testhost1.example.com' not in groups['all']"
- name: check for correct limit
debug: msg="testing for limit"
failed_when: "'testhost1.example.com' == inventory_hostname"
- name: final task, has to be reached for the test to succeed
debug: msg="MAGICKEYWORD"
- name: check that extra vars are correclty passed
assert:
that:
- docker_registries_login is defined
tags: ['never', 'test_ev']