add playbook for prerequisites configuration
This commit is contained in:
parent
a62407958f
commit
49e3125aad
1 changed files with 20 additions and 0 deletions
20
prereq_ansible_host.yml
Normal file
20
prereq_ansible_host.yml
Normal 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
|
Loading…
Reference in a new issue