Debian Codegraph @

test/lib/ansible_test/config/inventory.networking.template

raw
1 # This is the configuration template for ansible-test network-integration tests.
2 #
3 # You do not need this template if you are:
4 #
5 # 1) Running integration tests without using ansible-test.
6 # 2) Using the `--platform` option to provision temporary network instances on EC2.
7 #
8 # If you do not want to use the automatically provisioned temporary network instances,
9 # fill in the @VAR placeholders below and save this file without the .template extension,
10 # into the tests/integration directory of the collection you're testing.
11 #
12 # NOTE: Automatic provisioning of network instances on EC2 requires an ansible-core-ci API key.
13
14 [@OS]
15 @NAME ansible_connection="local" ansible_host=@HOST ansible_network_os="@OS" ansible_user="@USER" ansible_ssh_private_key_file="@KEY_FILE"
16
17 [aci:vars]
18 aci_hostname=your-apic-1
19 aci_username=admin
20 aci_password=your-apic-password
21 aci_validate_certs=no
22 aci_use_ssl=yes
23 aci_use_proxy=no
24
25 [aci]
26 localhost ansible_ssh_host=127.0.0.1 ansible_connection=local
27
28 [mso:vars]
29 mso_hostname=your-mso-1
30 mso_username=admin
31 mso_password=your-mso-password
32 mso_validate_certs=no
33 mso_use_ssl=yes
34 mso_use_proxy=no
35
36 [mso]
37 localhost ansible_ssh_host=127.0.0.1 ansible_connection=local
38
39 ###
40 # Example
41 #
42 # [vyos]
43 # vyos01.example.net ansible_connection=local ansible_network_os="vyos" ansible_user=admin ansible_ssh_pass=mypassword