You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
524 B
YAML
24 lines
524 B
YAML
|
|
- name: integration/runner/missing_module.yml
|
|
hosts: test-targets[0]
|
|
connection: local
|
|
tasks:
|
|
- connection: local
|
|
command: |
|
|
ansible -vvv
|
|
-i "{{MITOGEN_INVENTORY_FILE}}"
|
|
test-targets
|
|
-m missing_module
|
|
args:
|
|
chdir: ../..
|
|
register: out
|
|
ignore_errors: true
|
|
|
|
- assert:
|
|
that: |
|
|
'The module missing_module was not found in configured module paths' in out.stdout
|
|
fail_msg: out={{out}}
|
|
tags:
|
|
- local
|
|
- missing_module
|