summaryrefslogtreecommitdiffstats
path: root/tests/data/ansible_inventory_with_vault.yml
blob: bf66ce0469ee6c52985b8ea442c4d2cc021b7a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
all:
  children:
    cv_servers:
      hosts:
        cv_atd1:
          ansible_host: 10.73.1.238
          ansible_user: tom
          ansible_password: !vault |
              $ANSIBLE_VAULT;1.1;AES256
              OOOOOOOK!YOURAWESOMEVAULTEDPASSWOR!OOOOOOK!EEEEEEEK!
          cv_collection: v3
    ATD_LAB:
      vars:
        ansible_user: arista
        ansible_ssh_pass: arista
      children:
        ATD_FABRIC:
          children:
            ATD_SPINES:
              vars:
                type: spine
              hosts:
                spine1:
                  ansible_host: 192.168.0.10
                spine2:
                  ansible_host: 192.168.0.11
            ATD_LEAFS:
              vars:
                type: l3leaf
              children:
                pod1:
                  hosts:
                    leaf1:
                      ansible_host: 192.168.0.12
                    leaf2:
                      ansible_host: 192.168.0.13
                pod2:
                  hosts:
                    leaf3:
                      ansible_host: 192.168.0.14
                    leaf4:
                      ansible_host: 192.168.0.15
            ATD_TENANTS_NETWORKS:
              children:
                ATD_LEAFS:
            ATD_SERVERS:
              children:
                ATD_LEAFS: