ansible/roles/ansible-server/tasks/main.yml

29 lines
556 B
YAML
Raw Normal View History

2014-01-21 19:55:59 +00:00
---
#
# Setup ansible-server instance
#
- name: install needed packages
yum: pkg={{ item }} state=present
2014-01-21 19:55:59 +00:00
with_items:
- ansible
- git
tags:
- packages
- ansible-server
2014-01-21 19:55:59 +00:00
- name: generate default ansible config
template: src=ansible.cfg.j2 dest=/etc/ansible/ansible.cfg owner=root group=root mode=0644
tags:
- ansible-server
- 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
tags:
- ansible-server
2014-01-21 19:55:59 +00:00
#
# TODO:
# cgit?
# rbac-playbook?
# zodbot notifications?
#