Skip to content

Commit 4787113

Browse files
updates new config settings
1 parent 67dcbca commit 4787113

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

conf.d/netbox_setup_objects.yml-sample

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
proxmox_api_config:
2-
node: pve # or your Proxmox node name
2+
node: pve # or *a* Proxmox node name (even if clustered)
33
api_host: proxmox-ip-or-hostname
44
api_port: 8006
55
api_user: proxmox_api_user
@@ -13,11 +13,20 @@ netbox_api_config:
1313
api_token: netbox_api_secret_token
1414
verify_ssl: false # or true, up to you
1515
proxmox:
16-
cluster_name: proxmox-ve
16+
cluster_name: name-of-proxmox-cluster #(no longer required as it will be discovered)
17+
node_commands:
18+
dmidecode_command: /usr/sbin/dmidecode # required: where dmidecode lives on your system
19+
lshw_command: /usr/bin/lshw # required: where lshw lives on your system
20+
ethtool_command: /usr/sbin/ethtool # required: where ethtool lives on your system
21+
ipaddr_command: /usr/sbin/ip -br a # required: where ip command lives on your system
1722
netbox:
18-
cluster_role: Proxmox
19-
vm_role: "Proxmox VM"
20-
lxc_role: "Proxmox LXC"
23+
branch: name-of-branch-where-you-want-to-import-data # optional
24+
branch_timeout: integer-to-represent-seconds-for-branch-operation # optional
25+
site: Home Lab # optional
26+
cluster_role: Proxmox # required
27+
device_role: "Proxmox node" # required
28+
vm_role: "Proxmox VM" # required
29+
lxc_role: "Proxmox LXC" # required
2130
automation_type: choices are ansible_automation or flask_application
2231
ansible_automation:
2332
host: name or ip of AWX/Tower/AAP host

0 commit comments

Comments
 (0)