Modularize the heck out of our inventories
This commit is contained in:
parent
a176666660
commit
5adcf4536c
@ -2,7 +2,7 @@
|
||||
forks = 16
|
||||
host_key_checking = false
|
||||
interpreter_python = python3
|
||||
inventory = inventory
|
||||
inventory = inventories/production
|
||||
private_key_file = ~/.ssh/desu
|
||||
remote_tmp = /tmp
|
||||
roles_path = .roles:roles
|
||||
|
1
inventories/hardcoded/group_vars
Symbolic link
1
inventories/hardcoded/group_vars
Symbolic link
@ -0,0 +1 @@
|
||||
../production/group_vars
|
1
inventories/hardcoded/host_vars
Symbolic link
1
inventories/hardcoded/host_vars
Symbolic link
@ -0,0 +1 @@
|
||||
../production/host_vars
|
1
inventories/production-no-auto/group_vars
Symbolic link
1
inventories/production-no-auto/group_vars
Symbolic link
@ -0,0 +1 @@
|
||||
../production/group_vars
|
1
inventories/production-no-auto/host_vars
Symbolic link
1
inventories/production-no-auto/host_vars
Symbolic link
@ -0,0 +1 @@
|
||||
../production/host_vars
|
21
inventories/production-no-auto/hosts.yml
Normal file
21
inventories/production-no-auto/hosts.yml
Normal file
@ -0,0 +1,21 @@
|
||||
plugin: netbox.netbox.nb_inventory
|
||||
token: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
31656630386363323836663537383930346336393061363461653532323561386632343063353161
|
||||
6630636535373331633762363738613232636366663430330a356333623466623230616433373036
|
||||
35386162633961616438383332346165323930333662376665616531613837316333653361313332
|
||||
3065343761343338340a336266316339616134336332376336326332663435323937343531636238
|
||||
37323530333463383062396363616263386430356438306133393130626365333932323734383165
|
||||
3064663435626339393836353837643730333266366436373033
|
||||
api_endpoint: "https://netbox.desu.ltd"
|
||||
interfaces: yes
|
||||
group_by:
|
||||
- device_roles
|
||||
- device_types
|
||||
- manufacturers
|
||||
- platforms
|
||||
- tags
|
||||
query_filters:
|
||||
- has_primary_ip: "true"
|
||||
- status: "active"
|
||||
- tag__n: "no-ansible"
|
@ -1 +0,0 @@
|
||||
../inventory/group_vars
|
@ -1 +0,0 @@
|
||||
../inventory/host_vars
|
Loading…
Reference in New Issue
Block a user