-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
44 lines (41 loc) · 1.18 KB
/
main.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
---
oxidized_version: "0.28.0"
oxidized_user: oxidized
oxidized_group: oxidized
oxidized_passwd: "strongpasswrd"
oxidized_config_dir: /home/oxidized
oxidized_storage_dir: /data/oxidized
oxidized_log_dir: /var/log/oxidized
oxidized_log_debug: false
oxidized_web_listen: 0.0.0.0
oxidized_web_port: 8888
oxidized_config_files: []
oxidized_model_files: []
oxidized_pid: "/var/run/oxidized/oxidized.pid"
oxidized_auth_method:
- publickey
- password
- keyboard-interactive
oxidized_config_groups:
- name: arubarouter
username: oxidized
password: 'xxxxxxxxx'
- name: huaweidslam
username: oxidized
password: 'xxxxxxxxxx'
vars: |
ssh_no_keepalive: true
ssh_encryption: 3des-cbc
ssh_hmac: hmac-md5
ssh_kex: diffie-hellman-group1-sha1
#oxidized_config_hooks: |
# slack:
# type: slackdiff
# events: [post_store]
# token: xxxxxxxxxxxxxxxxxxxxxxxxxx
# channel: "#network_changes"
# failed_logfile:
# type: exec
# events: [node_fail]
# async: true
# cmd: 'echo "oxidized backup failure : node $OX_NODE_NAME group $OX_NODE_GROUP timestamp $(date +%Y%m%d-%H%M%S) job_status $OX_JOB_STATUS" >> {{ oxidized_log_dir }}/oxidized_node_failure.log'