-
Notifications
You must be signed in to change notification settings - Fork 12
/
all
46 lines (39 loc) · 1.65 KB
/
all
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
# devices to use for lvm group
# please note that the same volume group will be used for docker and serviced
# i.e. it's not supposed that docker and serviced will be located on different volume groups
# however you can define different devices using host variable with the same name
lvm_dev: "/dev/sdb"
# volume group name
lvg_name: "zenoss"
# destroy data ?
destroy_data: false
# the playbook can also be used to setup just the docker environment
# this variable has the same effect as delegate_use_nfs ( see below )
# both of variables impacts to the size of docker thin pool allocation:
# if only_docker set to true :
# - all thinpool space will be dedicated to docker
# - serviced ( zenoss control center ) will not be installed
# if only_docker set to false and delegate_use_nfs true
# - all thinpool space will be dedicated to docker
# if only_docker set to false and delegate_use_nfs false
# - thinpool space will be distributed equally
only_docker: "{% if 'serviced' in groups and groups['serviced'] | count > 0 %}false{% else %}true{% endif %}"
# setup snmpd server and configure snmp v2 or v3
setup_snmp: "v2"
# setup dnsmasq server to improve docker name resolving
setup_dnsmasq: false
# repository configuration
repo_config:
file_name: /etc/yum.repos.d/serviced.repo
content: |
[zenoss-stable]
name = Zenoss Stable Repository
baseurl = http://get.zenoss.io/yum/zenoss/stable/centos/el7/os/x86_64
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZENOSS
[docker-ce]
name = docker ce
baseurl = https://download.docker.com/linux/centos/7/x86_64/stable
gpgcheck=0
exclude=docker-ce-17.12* docker-ce-18.03*