forked from justereseau/ansible-oxidized
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoxidized.yml
65 lines (64 loc) · 1.92 KB
/
oxidized.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
---
OXIDIZED_GIT_USER: Oxidized
OXIDIZED_GIT_EMAIL: [email protected]
OXIDIZED_GIT_LOCAL_REPO: "{{ OXIDIZED_CONFIG_PATH }}/repo"
OXIDIZED_GIT_REMOTE_REPO: [email protected]:example/oxidized.git
OXIDIZED_GIT_PRIVATE_KEY_TEMPLATE: oxidized_rsa_key
OXIDIZED_GIT_PUBLIC_KEY_TEMPLATE: oxidized_rsa_key.pub
OXIDIZED_SSH_USERNAME: "user"
OXIDIZED_SSH_PASSWORD: "password, I recommend either using ansible vault or doing a lookup to a vault of some kind"
OXIDIZED_HIDE_SECRETS_IOS_RBAC: true
# first line is indented in the template so " " will be added before "push_to_remote"
OXIDIZED_HOOKS:
- |
push_to_remote:
remote_repo:
first: [email protected]:example/oxidized.git
second: [email protected]:example/oxidized.git
third: [email protected]:example/oxidized.git
type: githubrepo
events: [post_store]
publickey: id_git.pub
privatekey: id_git
# first line is indented in the template so " " will be added before "default: ssh"
OXIDIZED_INPUT:
- |
default: ssh
ssh:
secure: false
utf8_encoded: true
# first line is indented in the template so " " will be added before "default: csv"
OXIDIZED_SOURCE:
- |
default: csv
csv:
file: /home/oxidized/.config/oxidized/equipments.csv
delimiter: !ruby/regexp /,/
map:
name: 0
ip: 1
model: 2
group: 3
gpg: false
# first line is indented in the template so " " will be added before "default: git"
OXIDIZED_OUTPUT:
- |
default: git
git:
user: Oxidized
email: [email protected]
repo: /home/oxidized/.config/oxidized/repo
single_repo: true
OXIDIZED_EQUIPMENTS:
- NAME: com.example.switch001
IP: 10.0.0.2
MODEL: ios
GROUP: first
- NAME: com.example.switch002
IP: 10.0.0.3
MODEL: ios
GROUP: second
- NAME: com.example.switch001
IP: 10.0.0.4
MODEL: ios
GROUP: third