Skip to content

Commit 3ea9808

Browse files
committed
Bump NetBox release to 2.1.1
1 parent 4001903 commit 3ea9808

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

defaults/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# defaults file for lae.netbox
33
netbox_stable: false
4-
netbox_stable_version: 2.1.0
4+
netbox_stable_version: 2.1.1
55
netbox_stable_uri: "https://github.com/digitalocean/netbox/archive/v{{ netbox_stable_version }}.tar.gz"
66

77
netbox_git: false
@@ -26,8 +26,8 @@ netbox_config:
2626
ALLOWED_HOSTS:
2727
- localhost
2828
- 127.0.0.1
29-
#NETBOX_USERNAME:
30-
#NETBOX_PASSWORD:
29+
#NAPALM_USERNAME:
30+
#NAPALM_PASSWORD:
3131

3232
netbox_user: netbox
3333
netbox_group: netbox

examples/netbox_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ netbox_config:
3131
MAX_PAGE_SIZE: 500
3232
PAGINATE_COUNT: 100
3333
PREFER_IPV4: False
34-
NETBOX_USERNAME: netbox
35-
NETBOX_PASSWORD: NetBox42
34+
NAPALM_USERNAME: netbox
35+
NAPALM_PASSWORD: NetBox42
3636
TIME_ZONE: UTC
3737
DATE_FORMAT: N j, Y
3838
# quotes aren't necessary as you can see - but in my opinion quotes make this more readable

tasks/validate_variables.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
when:
3232
- netbox_python not in [2, 3]
3333

34-
- name: Ensure NETBOX_USERNAME/PASSWORD is defined for NAPALM integration
34+
- name: Ensure NAPALM_USERNAME/PASSWORD is defined for NAPALM integration
3535
fail:
36-
msg: "Please define NETBOX_USERNAME and NETBOX_PASSWORD in netbox_config to use NAPALM."
36+
msg: "Please define NAPALM_USERNAME and NAPALM_PASSWORD in netbox_config to use NAPALM."
3737
when:
38-
- netbox_napalm_enabled and ("NETBOX_USERNAME" not in netbox_config or "NETBOX_PASSWORD" not in netbox_config)
38+
- netbox_napalm_enabled and ("NAPALM_USERNAME" not in netbox_config or "NAPALM_PASSWORD" not in netbox_config)

0 commit comments

Comments
 (0)