This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
main.yml
111 lines (105 loc) · 3.61 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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
sensu_go_manage_repo: true
sensu_go_repo_dependencies:
apt:
- curl
- gnupg
- debian-archive-keyring
- apt-transport-https
yum:
- pygpgme
- yum-utils
dnf: []
sensu_go_repos:
apt:
key_url: https://packagecloud.io/sensu/stable/gpgkey
key_id: 44DC87DBAC6CD012
deb: deb https://packagecloud.io/sensu/stable/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release | lower }} main
deb-src: deb-src https://packagecloud.io/sensu/stable/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release | lower }} main
yum:
gpgcheck: false
repo_gpgcheck: true
sslverify: true
metadata_expire: 300
gpgkey: https://packagecloud.io/sensu/stable/gpgkey
rpm: https://packagecloud.io/sensu/stable/el/{{ ansible_distribution_major_version }}/$basearch
rpm-src: https://packagecloud.io/sensu/stable/el/{{ ansible_distribution_major_version }}/SRPMS
dnf:
gpgcheck: false
repo_gpgcheck: true
sslverify: true
metadata_expire: 300
gpgkey: https://packagecloud.io/sensu/stable/gpgkey
rpm: https://packagecloud.io/sensu/stable/el/7/$basearch
rpm-src: https://packagecloud.io/sensu/stable/el/7/SRPMS
sensu_go_repos_overrides: {}
sensu_go_manage_community_repo: true
sensu_go_community_repos:
apt:
key_url: https://packagecloud.io/sensu/community/gpgkey
key_id: 6A8D4DDAE50F9E23
deb: deb https://packagecloud.io/sensu/community/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release | lower }} main
deb-src: deb-src https://packagecloud.io/sensu/community/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release | lower }} main
yum:
gpgcheck: false
repo_gpgcheck: true
sslverify: true
metadata_expire: 300
gpgkey: https://packagecloud.io/sensu/community/gpgkey
rpm: https://packagecloud.io/sensu/community/el/{{ ansible_distribution_major_version }}/$basearch
rpm-src: https://packagecloud.io/sensu/community/el/{{ ansible_distribution_major_version }}/SRPMS
dnf:
gpgcheck: false
repo_gpgcheck: true
sslverify: true
metadata_expire: 300
gpgkey: https://packagecloud.io/sensu/community/gpgkey
rpm: https://packagecloud.io/sensu/community/el/7/$basearch
rpm-src: https://packagecloud.io/sensu/community/el/7/SRPMS
sensu_go_community_repos_overrides: {}
sensu_go_install_components: true
# List of specific Sensu Go components to install and manage
sensu_go_components:
- backend
- agent
- cli
# Simple opt-out boolean flag for installing Sensu Go Community packages
sensu_go_install_community_packages: true
# List of specific Sensu Go Community packages to install and manage
sensu_go_community_packages: []
sensu_go_config_dir:
path: /etc/sensu
owner: sensu
group: sensu
mode: '0750' # Quoted to work around: https://github.com/ansible/ansible/pull/32738
sensu_go_configs_override: {}
sensu_go_configs:
DEFAULT:
owner: sensu
group: sensu
file_mode: '0640' # Quoted to work around: https://github.com/ansible/ansible/pull/32738
dir_mode: '0750' # Quoted to work around: https://github.com/ansible/ansible/pull/32738
backend:
file:
name: backend.yml
cleanup_example: true
config:
state-dir: /var/lib/sensu/sensu-backend
agent:
file:
name: agent.yml
cleanup_example: true
config:
backend-url:
- ws://127.0.0.1:8081
cache-dir: /var/cache/sensu/sensu-agent
sensu_go_backend_init_admin_username: admin
sensu_go_backend_init_admin_password: P@ssw0rd!
sensu_go_services_override: {}
sensu_go_services:
backend:
enabled: true
state: started
agent:
enabled: true
state: started