add playbook for prerequisites configuration

This commit is contained in:
Cedric Girard 2018-11-14 14:22:44 +01:00
parent a62407958f
commit 49e3125aad
1 changed files with 20 additions and 0 deletions

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