add playbook for prerequisites configuration

This commit is contained in:
Cedric Girard 2018-11-14 14:22:44 +01:00
parent a62407958f
commit 49e3125aad

20
prereq_ansible_host.yml Normal file
View file

@ -0,0 +1,20 @@
- hosts: bastion
become: true
tasks:
- name: add EPEL repo
package:
name:
- epel-release
state: present
- name: install prerequisites
package:
name:
- ansible
- ansible-doc
- python2-jinja2
- python2-shade
- python2-jmespath
- python-dns
- python-openstackclient
- python-heatclient
state: present