2014-01-21 19:55:59 +00:00
|
|
|
---
|
|
|
|
#
|
|
|
|
# Setup ansible-server instance
|
|
|
|
#
|
|
|
|
- name: install needed packages
|
2014-10-29 09:08:40 +05:30
|
|
|
yum: pkg={{ item }} state=present
|
2014-01-21 19:55:59 +00:00
|
|
|
with_items:
|
|
|
|
- ansible
|
|
|
|
- git
|
|
|
|
tags:
|
|
|
|
- packages
|
2014-08-08 12:11:15 +00:00
|
|
|
- ansible-server
|
2014-01-21 19:55:59 +00:00
|
|
|
|
2014-03-17 21:21:04 +00:00
|
|
|
- name: generate default ansible config
|
|
|
|
template: src=ansible.cfg.j2 dest=/etc/ansible/ansible.cfg owner=root group=root mode=0644
|
2014-08-08 12:11:15 +00:00
|
|
|
tags:
|
|
|
|
- ansible-server
|
2014-03-17 21:21:04 +00:00
|
|
|
|
2014-08-08 12:11:15 +00:00
|
|
|
- name: installing the phx2 dns check script
|
2014-10-04 02:21:41 +00:00
|
|
|
copy: src=dns_check.py dest=/usr/local/bin/dns_check owner=root mode=755
|
2014-08-08 12:11:15 +00:00
|
|
|
tags:
|
|
|
|
- ansible-server
|
2014-01-21 19:55:59 +00:00
|
|
|
#
|
|
|
|
# TODO:
|
|
|
|
# cgit?
|
|
|
|
# rbac-playbook?
|
|
|
|
# zodbot notifications?
|
|
|
|
#
|