diff options
Diffstat (limited to 'playbooks/nagios.yml')
-rw-r--r-- | playbooks/nagios.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/playbooks/nagios.yml b/playbooks/nagios.yml new file mode 100644 index 0000000..cb13d57 --- /dev/null +++ b/playbooks/nagios.yml @@ -0,0 +1,15 @@ +- import_playbook: common.yml + vars: + hostlist: nagios_servers + +- name: configure nagios + hosts: nagios_servers + tags: nagios + roles: + - role: nagios_server + + - role: apache_vhost + apache_default_vhost: yes + apache_document_root: '{{ nagios_html_dir }}' + apache_config: '{{ nagios_apache_config }}' + tags: apache |