-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
77 lines (75 loc) · 2.51 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
---
aspects_monit_htpasswd_enabled: False
aspects_packages_prerequisite_packages:
epel-release:
state: "{% if aspects_monit_enabled %}present{% else %}default{% endif %}"
OracleLinux:
7: "oracle-epel-release-el7"
8: "oracle-epel-release-el8"
9: "oracle-epel-release-el9"
aspects_packages_packages:
monit:
state: "{% if aspects_monit_enabled %}present{% else %}default{% endif %}"
Ubuntu:
1804: "monit"
2004: "monit"
2204: "monit"
Debian:
10: "monit"
CentOS:
7: "monit"
OracleLinux:
7: "monit"
8: "monit"
9: "monit"
# for use with htpasswd module when creating htpasswd users
python-passlib:
state: "{% if aspects_monit_htpasswd_users is defined and aspects_monit_enabled %}present{% else %}default{% endif %}"
Ubuntu:
1804: "python3-passlib"
2004: "python3-passlib"
2204: "python3-passlib"
Debian:
10: "python3-passlib"
CentOS:
7: "python-passlib"
OracleLinux:
7: "python-passlib"
8: "python3-passlib"
9: "python3-passlib"
libnsl:
state: "{% if aspects_monit_enabled %}present{% else %}default{% endif %}"
OracleLinux:
8: "libnsl"
9: "libnsl"
libxcrypt-compat:
state: "{% if aspects_monit_enabled %}present{% else %}default{% endif %}"
OracleLinux:
9: "libxcrypt-compat"
aspects_packages_add_repo_apt_repos:
buster-backports:
enabled: True
repo:
Debian:
# Use template to add comment if aspects_monit isn't being used.
# Otherwise add repo.
10: "{% if aspects_monit_enabled %}deb http://deb.debian.org/debian buster-backports main{% else %}#aspects_monit_enabled not true{% endif %}"
aspects_monit_enabled: False
aspects_monit_executable_name: monit
aspects_monit_run_manual_install: False
aspects_monit_use_manual_tasks: False
aspects_monit_run_install: True
aspects_monit_use_ldap_test: False
aspects_monit_ldap_test_config: { }
aspects_monit_run_update: False
aspects_monit_update_excutable_relative_path: files/monit/bin/monit
aspects_monit_update_excutable_destination: /usr/bin/monit
#aspects_monit_ldap_test_host: ldaps://ldap.domain.tld
#aspects_monit_ldap_test_binddn: cn=blah,ou=users,dc=domain,dc=tld
#aspects_monit_ldap_test_password: password
#aspects_monit_ldap_test_port: 636
#aspects_monit_ldap_test_base: ou=users,dc=domain,dc=tld
#aspects_monit_ldap_test_filter: (cn=blah)
#aspects_monit_ldap_test_version: 3
#aspects_monit_ldap_test_attributes: "cn, sn"
aspects_monit_htpasswd_path: /etc/monit/htpasswd