Browse Source

icinga: do not hardcode Manhack

Fixes: main/infrastructure#278
keep-around/b49a0733c85a17ad055d37d6f3562ccaa5e926e7
Loïc Dachary 10 months ago
parent
commit
b49a0733c8
Signed by: dachary GPG Key ID: 992D23B392F9E4F2
  1. 2
      enough-before-playbook.yml
  2. 11
      playbooks/icinga/monitor-external-ressources-playbook.yml
  3. 1
      playbooks/icinga/playbook.yml

2
enough-before-playbook.yml

@ -13,8 +13,6 @@
- import_playbook: "{{ '$SHARE_DIR/playbooks/backup/backup-playbook.yml' | expandvars }}"
- import_playbook: "{{ '$SHARE_DIR/playbooks/icinga/icinga-playbook.yml' | expandvars }}"
when: (groups['icinga-service-group'] | length) > 0
- import_playbook: "{{ '$SHARE_DIR/playbooks/icinga/monitor-external-ressources-playbook.yml' | expandvars }}"
when: (groups['icinga-service-group'] | length) > 0
- import_playbook: "{{ '$SHARE_DIR/playbooks/bind/bind-monitoring-playbook.yml' | expandvars }}"
- import_playbook: "{{ '$SHARE_DIR/playbooks/postfix/postfix-playbook.yml' | expandvars }}"
when: (groups['postfix-service-group'] | length) > 0

11
playbooks/icinga/monitor-external-ressources-playbook.yml

@ -1,11 +0,0 @@
---
- name: deploy monitoring for ressources outside {{ domain }}
hosts: icinga-service-group
become: true
roles:
- role: monitor_tor_http_vhost
tor_http_vhost_fqdn: 32qfx2skzcifeyg7.onion
tor_http_vhost_name: Manhack Securedrop instance
tor_http_vhost_uri: "/"
tor_http_vhost_string: "<title>SecureDrop | Protecting Journalists and Sources</title>"

1
playbooks/icinga/playbook.yml

@ -5,6 +5,5 @@
- import_playbook: ../bind/bind-playbook.yml
- import_playbook: ../bind/bind-client-playbook.yml
- import_playbook: icinga-playbook.yml
- import_playbook: monitor-external-ressources-playbook.yml
- import_playbook: test-icinga-playbook.yml
- import_playbook: test-monitoring-deployment-playbook.yml
Loading…
Cancel
Save