mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 09:57:35 -02:30
Follow same pattern as project update module, add task to integration test
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
inv_name: "AWX-Collection-tests-tower_inventory_source_update-inv-{{ test_id }}"
|
||||
inv_source1: "AWX-Collection-tests-tower_inventory_source_update-source1-{{ test_id }}"
|
||||
inv_source2: "AWX-Collection-tests-tower_inventory_source_update-source2-{{ test_id }}"
|
||||
inv_source3: "AWX-Collection-tests-tower_inventory_source_update-source3-{{ test_id }}"
|
||||
org_name: "AWX-Collection-tests-tower_inventory_source_update-org-{{ test_id }}"
|
||||
|
||||
|
||||
@@ -60,6 +61,16 @@
|
||||
organization: Default
|
||||
inventory: "{{ inv_name }}"
|
||||
|
||||
- name: Create Yet Another Inventory Source (one more to make lookup plugin find multiple inventory sources)
|
||||
tower_inventory_source:
|
||||
name: "{{ inv_source3 }}"
|
||||
source: scm
|
||||
source_project: "{{ project_name }}"
|
||||
source_path: inventories/create_100_hosts.ini
|
||||
description: Source for Test inventory
|
||||
organization: Default
|
||||
inventory: "{{ inv_name }}"
|
||||
|
||||
- name: Test Inventory Source Update
|
||||
tower_inventory_source_update:
|
||||
inventory: "{{ inv_name }}"
|
||||
|
||||
Reference in New Issue
Block a user