Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
711db787
Commit
711db787
authored
Dec 29, 2018
by
Jelle van der Waa
🚧
Browse files
Add postgresql servers group for zabbix-agent role
parent
c9eb2209
Changes
2
Show whitespace changes
Inline
Side-by-side
hosts
View file @
711db787
...
...
@@ -30,6 +30,11 @@ luna.archlinux.org
apollo.archlinux.org
luna.archlinux.org
[postgresql-servers]
apollo.archlinux.org
soyuz.archlinux.org
nymeria.archlinux.org
[nginx]
apollo.archlinux.org
luna.archlinux.org
...
...
roles/zabbix-agent/tasks/main.yml
View file @
711db787
...
...
@@ -12,9 +12,13 @@
when
:
"
'nginx'
in
group_names"
-
name
:
install mysql userstats monitoring packages
pacman
:
name=perl-dbi,perl-dbd-mysql,perl-
dbd-pg,perl-
json
pacman
:
name=perl-dbi,perl-dbd-mysql,perl-json
when
:
"
'mysql-servers'
in
group_names"
-
name
:
install postgresql userstats monitoring packages
pacman
:
name=perl-dbi,perl-dbd-pg,perl-json
when
:
"
'postgresql-servers'
in
group_names"
-
file
:
path=/etc/zabbix state=directory owner=root group=root mode=755
-
name
:
create host PSK
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment