Commit 711db787 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Add postgresql servers group for zabbix-agent role

parent c9eb2209
...@@ -30,6 +30,11 @@ luna.archlinux.org ...@@ -30,6 +30,11 @@ luna.archlinux.org
apollo.archlinux.org apollo.archlinux.org
luna.archlinux.org luna.archlinux.org
[postgresql-servers]
apollo.archlinux.org
soyuz.archlinux.org
nymeria.archlinux.org
[nginx] [nginx]
apollo.archlinux.org apollo.archlinux.org
luna.archlinux.org luna.archlinux.org
......
...@@ -12,9 +12,13 @@ ...@@ -12,9 +12,13 @@
when: "'nginx' in group_names" when: "'nginx' in group_names"
- name: install mysql userstats monitoring packages - 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" 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 - file: path=/etc/zabbix state=directory owner=root group=root mode=755
- name: create host PSK - name: create host PSK
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment