mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-24 04:54:00 -07:00
Cleanup integration test inventory. (#50753)
* Move var_blending test inventory into test. * Remove Amazon specific inventory entry for tests. * Remove Azure specific inventory entry for tests. * Move var_precedence test inventory into test. * Move unicode test inventory into test. * Remove unused inventory entry. * Move gathering_facts test inventory into test. * Move delegate_to test inventory into test. * Clean up inventory for binary_modules test. * Clean up integration test inventory.
This commit is contained in:
parent
476a7fc27d
commit
e5094e8071
17 changed files with 72 additions and 84 deletions
|
|
@ -1,52 +1,8 @@
|
|||
[local]
|
||||
testhost ansible_ssh_host=127.0.0.1 ansible_connection=local host_var_role_name=role3
|
||||
testhost2 ansible_ssh_host=127.0.0.1 ansible_connection=local host_var_role_name=role2
|
||||
# For testing delegate_to
|
||||
testhost3 ansible_ssh_host=127.0.0.3
|
||||
testhost4 ansible_ssh_host=127.0.0.4
|
||||
# For testing fact gathering
|
||||
facthost[0:25] ansible_host=127.0.0.1 ansible_connection=local
|
||||
# Do not put test specific entries in this inventory file.
|
||||
# For script based test targets (using runme.sh) put the inventory file in the test's directory instead.
|
||||
|
||||
[binary_modules]
|
||||
testhost_binary_modules ansible_host=127.0.0.1 ansible_connection=local
|
||||
|
||||
[local_group]
|
||||
kube-pippin.knf.local
|
||||
|
||||
# the following inline declarations are accompanied
|
||||
# by (preferred) group_vars/ and host_vars/ variables
|
||||
# and are used in testing of variable precedence
|
||||
|
||||
[inven_overridehosts]
|
||||
invenoverride ansible_ssh_host=127.0.0.1 ansible_connection=local
|
||||
|
||||
[all:vars]
|
||||
extra_var_override=FROM_INVENTORY
|
||||
inven_var=inventory_var
|
||||
unicode_host_var=CaféEñyei
|
||||
|
||||
[inven_overridehosts:vars]
|
||||
foo=foo
|
||||
var_dir=vars
|
||||
|
||||
[arbitrary_parent:children]
|
||||
local
|
||||
|
||||
[local:vars]
|
||||
parent_var=6000
|
||||
groups_tree_var=5000
|
||||
|
||||
[arbitrary_parent:vars]
|
||||
groups_tree_var=4000
|
||||
overridden_in_parent=1000
|
||||
|
||||
[arbitrary_grandparent:children]
|
||||
arbitrary_parent
|
||||
|
||||
[arbitrary_grandparent:vars]
|
||||
groups_tree_var=3000
|
||||
grandparent_var=2000
|
||||
overridden_in_parent=2000
|
||||
[testgroup]
|
||||
testhost ansible_connection=local
|
||||
|
||||
[aci:vars]
|
||||
aci_hostname=your-apic-1
|
||||
|
|
@ -69,9 +25,3 @@ msc_use_proxy=no
|
|||
|
||||
[msc]
|
||||
localhost ansible_ssh_host=127.0.0.1 ansible_connection=local
|
||||
|
||||
[amazon]
|
||||
localhost ansible_ssh_host=127.0.0.1 ansible_connection=local
|
||||
|
||||
[azure]
|
||||
localhost ansible_ssh_host=127.0.0.1 ansible_connection=local
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue