Add wait ability to the module

This commit is contained in:
beeankha
2020-09-01 16:56:29 -04:00
parent 1ce5d7d539
commit b78dea3e4b
3 changed files with 32 additions and 5 deletions

View File

@@ -77,6 +77,7 @@
inventory: "{{ inv_name }}"
inventory_source: "{{ item }}"
organization: "{{ created_org.id }}"
wait: true
loop: "{{ query('awx.awx.tower_api', 'inventory_sources', query_params={ 'inventory': created_inventory.id }, return_ids=True ) }}"
register: result