From 49e3125aad9e8bc5da7b0960abf2ef987ac8e106 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Wed, 14 Nov 2018 14:22:44 +0100 Subject: [PATCH] add playbook for prerequisites configuration --- prereq_ansible_host.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 prereq_ansible_host.yml diff --git a/prereq_ansible_host.yml b/prereq_ansible_host.yml new file mode 100644 index 0000000..a70b2d5 --- /dev/null +++ b/prereq_ansible_host.yml @@ -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