Merge branch 'master' of /git/ansible

This commit is contained in:
Kevin Fenzi 2015-01-23 20:09:16 +00:00
commit 2b2418b32a
4 changed files with 11 additions and 2 deletions

View file

@ -23,8 +23,8 @@
- include: "{{ tasks }}/cloud_setup_basic.yml"
- name: provision instance
hosts: copr-back:copr-back-stg
#hosts: copr-back-stg
# hosts: copr-back:copr-back-stg
hosts: copr-back-stg
user: root
gather_facts: False

View file

@ -1,4 +1,5 @@
---
dependencies:
- { role: copr/base }
- { role: nagios_client }
# - { role: collectd/base }

View file

@ -141,3 +141,10 @@
- cron: name="kill VMs in error state" minute="*/15" job="/root/instant-instance-killer.sh"
when: not devel
- name: install nrpe checks for proxies
template: src=copr_backend_nrpe.cfg dest=/etc/nrpe.d/copr_backend_nrpe.cfg
notify:
- restart nrpe
tags:
- nagios_client

View file

@ -0,0 +1 @@
command[check_copr_backend_failed]=/usr/bin/check_consecutive_build_fails.py