Browse Source

add monitoring role to playbooks

python3
Andrea Cimbalo 7 years ago
parent
commit
ad6e140f11
17 changed files with 51 additions and 0 deletions
  1. +3
    -0
      blogs.yaml
  2. +3
    -0
      ca.yaml
  3. +3
    -0
      firewall.yaml
  4. +3
    -0
      ldap.yaml
  5. +3
    -0
      lists.yaml
  6. +3
    -0
      logger.yaml
  7. +3
    -0
      login.yaml
  8. +3
    -0
      mail.yaml
  9. +3
    -0
      matrix.yaml
  10. +3
    -0
      media.yaml
  11. +3
    -0
      prepare_host.yaml
  12. +3
    -0
      projects.yaml
  13. +3
    -0
      status.yaml
  14. +3
    -0
      team_server.yaml
  15. +3
    -0
      users.yaml
  16. +3
    -0
      webmail.yaml
  17. +3
    -0
      wiki.yaml

+ 3
- 0
blogs.yaml View File

@ -12,3 +12,6 @@
- role: wordpress - role: wordpress
site_names: site_names:
- kaos - kaos
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
ca.yaml View File

@ -4,3 +4,6 @@
- role: ssh_server - role: ssh_server
- role: dns_record - role: dns_record
- role: ca - role: ca
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
firewall.yaml View File

@ -4,3 +4,6 @@
- role: openvpn - role: openvpn
- role: ssh_server - role: ssh_server
ansible_distribution: "openwrt" ansible_distribution: "openwrt"
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
ldap.yaml View File

@ -12,3 +12,6 @@
- role: ldap - role: ldap
ldap_domain: 'lilik.it' ldap_domain: 'lilik.it'
ldap_organization: 'LILiK' ldap_organization: 'LILiK'
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
lists.yaml View File

@ -10,3 +10,6 @@
roles: roles:
- role: dns_record - role: dns_record
- role: sympa - role: sympa
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
logger.yaml View File

@ -50,3 +50,6 @@
name: rsyslog name: rsyslog
enabled: yes enabled: yes
state: started state: started
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
login.yaml View File

@ -13,3 +13,6 @@
- role: login - role: login
- role: reverse_proxy - role: reverse_proxy
hostname: login3 hostname: login3
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
mail.yaml View File

@ -17,3 +17,6 @@
domain: "lilik.it" domain: "lilik.it"
fqdn_domain: "mail.lilik.it" fqdn_domain: "mail.lilik.it"
ldap_server: "{{ hostvars['ldap'].ansible_host }}" ldap_server: "{{ hostvars['ldap'].ansible_host }}"
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
matrix.yaml View File

@ -17,3 +17,6 @@
name: "{{ item }}" name: "{{ item }}"
with_items: with_items:
- matrix-synapse - matrix-synapse
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
media.yaml View File

@ -13,3 +13,6 @@
webdav_folders: webdav_folders:
- Movies - Movies
- Series - Series
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
prepare_host.yaml View File

@ -59,3 +59,6 @@
state: restarted state: restarted
- name: restart lvm - name: restart lvm
shell: /etc/init.d/lvm2 reload shell: /etc/init.d/lvm2 reload
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
projects.yaml View File

@ -12,3 +12,6 @@
- role: reverse_proxy - role: reverse_proxy
hostname: projects2 hostname: projects2
- role: gitlab - role: gitlab
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
status.yaml View File

@ -11,3 +11,6 @@
- role: dns_record - role: dns_record
- role: icinga2 - role: icinga2
- role: reverse_proxy - role: reverse_proxy
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
team_server.yaml View File

@ -13,3 +13,6 @@
server_name: "team.lilik.it" server_name: "team.lilik.it"
config_name: "mattermost" config_name: "mattermost"
remote_host: "http://127.0.0.1:8065" remote_host: "http://127.0.0.1:8065"
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
users.yaml View File

@ -14,3 +14,6 @@
ldap_server: "{{ hostvars['ldap'].ansible_host }}" ldap_server: "{{ hostvars['ldap'].ansible_host }}"
- role: apache2 - role: apache2
user_dir: true user_dir: true
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
webmail.yaml View File

@ -11,3 +11,6 @@
- role: dns_record - role: dns_record
- role: roundcube - role: roundcube
mail_server: "mail.lilik.it" mail_server: "mail.lilik.it"
- hosts: status
roles:
- role: icinga2-monitoring

+ 3
- 0
wiki.yaml View File

@ -10,3 +10,6 @@
roles: roles:
- role: dns_record - role: dns_record
- role: dokuwiki - role: dokuwiki
- hosts: status
roles:
- role: icinga2-monitoring

Loading…
Cancel
Save