Add ansible-server role

This commit is contained in:
Kevin Fenzi 2014-01-21 19:55:59 +00:00
parent 2e909f8205
commit 693f1ca2d0
2 changed files with 19 additions and 3 deletions

View file

@ -2,7 +2,6 @@
hosts: lockbox
user: root
gather_facts: False
accelerate: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -11,7 +10,6 @@
tasks:
- include: "{{ tasks }}/virt_instance_create.yml"
- include: "{{ tasks }}/accelerate_prep.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
@ -20,7 +18,6 @@
hosts: lockbox
user: root
gather_facts: True
accelerate: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -33,6 +30,7 @@
- /srv/web/infra/ansible/roles/denyhosts
- /srv/web/infra/ansible/roles/nagios_client
- /srv/web/infra/ansible/roles/fas_client
- /srv/web/infra/ansible/roles/ansible-server
tasks:
- include: "{{ tasks }}/hosts.yml"

View file

@ -0,0 +1,18 @@
---
#
# Setup ansible-server instance
#
- name: install needed packages
yum: pkg={{ item }} state=installed
with_items:
- ansible
- git
tags:
- packages
#
# TODO:
# cgit?
# rbac-playbook?
# zodbot notifications?
#