ansible/roles/ansible-server/tasks/main.yml
Patrick Uiterwijk a5c264781a Hotfix for nova_compute bug
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-05 11:03:32 +00:00

34 lines
780 B
YAML

---
#
# Setup ansible-server instance
#
- name: install needed packages
yum: pkg={{ item }} state=present
with_items:
- ansible
- git
tags:
- packages
- ansible-server
- 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
copy: src=dns_check.py dest=/usr/local/bin/dns_check owner=root mode=0755
tags:
- ansible-server
# https://github.com/ansible/ansible-modules-core/pull/4070
- name: Fix the nova_compute module
patch: src=4070.patch
dest=/usr/lib/python2.7/site-packages/ansible/modules/core/cloud/openstack/_nova_compute.py
#
#
# TODO:
# cgit?
# rbac-playbook?
# zodbot notifications?
#