Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (31 sloc) 998 Bytes
---
# The source code packaged with this file is Free Software, Copyright (C) 2016 by
# Unidad de Laboratorios, Escuela Politecnica Superior, Universidad de Alicante :: <aeps at eps.ua.es>.
# It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise.
# You can get copies of the licenses here: http://www.affero.org/oagpl.html
# AFFERO GENERAL PUBLIC LICENSE is also included in the file called "LICENSE".
# Nagios Servers Group except sentinel
- hosts: nagios:!sentinel
remote_user: ansible
become: yes
become_user: root
become_method: sudo
tasks:
- include: group_by.yml
- include: pathFacts.yml
- hosts: ansible
gather_facts: False
remote_user: ansible
become: yes
become_user: root
become_method: sudo
tasks:
- include: roles/nagios/tasks/nagiosTmp.yml
- hosts: nagios:!sentinel
gather_facts: False
remote_user: ansible
become: yes
become_user: root
become_method: sudo
tasks:
- include: roles/nagios/tasks/nagiosRsync.yml