Fixing issue with lookup plugin not able to load host, user, etc

This commit is contained in:
John Westcott IV
2020-09-16 14:41:04 -04:00
parent aceb8229ba
commit 24bdbd8c58
2 changed files with 12 additions and 2 deletions

View File

@@ -32,6 +32,16 @@
register: user_creation_results
- block:
- name: Specify the connection params
debug:
msg: "{{ query(plugin_name, 'ping', host='DNE://junk.com', username='john', password='not_legit', verify_ssl=True) }}"
register: results
ignore_errors: True
- assert:
that:
- "'DNE' in results.msg"
- name: Create our hosts
tower_host:
name: "{{ item }}"