2015-05-28 11:32:57 +02:00
|
|
|
---
|
|
|
|
- name: Configure the nsca client
|
|
|
|
template: src=send_nsca.j2 dest=/etc/send_nsca.cfg owner=root group=root mode=400
|
|
|
|
tags:
|
|
|
|
- nsca
|
|
|
|
|
2018-08-09 18:52:55 +02:00
|
|
|
- apt: pkg={{ item }} state=present
|
2015-05-28 11:32:57 +02:00
|
|
|
with_items:
|
|
|
|
- nsca-client
|
|
|
|
when: '(({{ is_not_ubuntu_less_than_precise }}) == True) or (({{ is_debian7 }}) == True)'
|
|
|
|
tags:
|
|
|
|
- nsca
|
|
|
|
|
2018-08-09 18:52:55 +02:00
|
|
|
- apt: pkg={{ item }} state=present
|
2015-05-28 11:32:57 +02:00
|
|
|
with_items:
|
|
|
|
- nsca
|
|
|
|
when: "(({{ is_not_debian_less_than_6 }}) == True) and (({{ is_ubuntu_less_than_precise }}) == True)"
|
|
|
|
tags:
|
|
|
|
- nsca
|