-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall_nautobot_with_plugins.yml
82 lines (82 loc) · 2.81 KB
/
install_nautobot_with_plugins.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
- name: Install Nautobot
hosts: [nautobot]
gather_facts: true
become: yes
vars:
nautobot__remove_existing_container: false
nautobot__superuser_name: admin
nautobot__superuser_password: admin
nautobot__superuser_api_token: "1234567890abcdefghijklmnopqrstuvwxyz0987"
nautobot__napalm_username: cisco
nautobot__napalm_password: cisco
nautobot__ldap_auth_server_ip: 192.168.71.10
nautobot__ldap_auth_server_port: 3890
nautobot__ldap_search_users: "ou=people,dc=example,dc=com"
nautobot__ldap_search_groups: "ou=groups,dc=example,dc=com"
nautobot__ldap_auth_bind_dn: "CN=readonly,OU=people,DC=example,DC=com"
nautobot__ldap_auth_bind_pass: "readonly"
nautobot__plugins:
- plugin_name: nautobot_device_onboarding
plugin_config: {
"nautobot_device_onboarding": {
"default_ip_status": "Active",
"default_device_role": "onboarding",
"skip_device_type_on_update": true,
}
}
- plugin_name: nautobot-ssot
plugin_config: {}
- plugin_name: nautobot-plugin-nornir
plugin_config: {
"nautobot_plugin_nornir": {
"use_config_context": {"secrets": false, "connection_options": true},
# Optionally set global connection options.
"connection_options": {
"napalm": {
"extras": {
"optional_args": {"global_delay_factor": 1},
},
},
"netmiko": {
"extras": {
"global_delay_factor": 1,
},
},
},
"nornir_settings": {
"credentials": "nautobot_plugin_nornir.plugins.credentials.env_vars.CredentialsEnvVars",
"runner": {
"plugin": "threaded",
"options": {
"num_workers": 20,
},
},
},
}
}
- plugin_name: nautobot-golden-config
plugin_config: {
"nautobot_golden_config": {
"per_feature_bar_width": 0.15,
"per_feature_width": 13,
"per_feature_height": 4,
"enable_backup": false,
"enable_compliance": false,
"enable_intended": true,
"enable_sotagg": true,
"sot_agg_transposer": None,
"enable_postprocessing": false,
"postprocessing_callables": [],
"postprocessing_subscribed": [],
"platform_slug_map": None,
# "get_custom_compliance": "my.custom_compliance.func"
}
}
tasks:
# - name: Check if nautobot is installed
# include_role:
# name: bsmeding.docker
- name: Check if nautobot is installed
include_role:
name: bsmeding.nautobot_docker