Add bastion specific play to bootstrap

This tries to solve the chicken / egg issue of bootstrapping ansible on
our bastion nodes.  Since we use ansible to launch all our servers, we
can add an additional check here to properly configure ansible on our
bastion node so we can then run ansible directly from it.

Change-Id: I38904738068435a2efaa5af7283fcbabbdc1628d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-02-27 14:46:06 -05:00
parent 4ec262c30a
commit 2b0195db87
2 changed files with 10 additions and 0 deletions

View File

@ -26,3 +26,10 @@
- name: Setup openstack.virtualenv role
include_role:
name: openstack.virtualenv
- name: Bootstrap bastion hosts
hosts: bastion,!disabled
tasks:
- name: Setup openstack.ansible role
include_role:
name: openstack.ansible

View File

@ -1,4 +1,7 @@
---
- name: openstack.ansible
src: git+https://git.openstack.org/openstack/ansible-role-ansible
- name: openstack.sudoers
src: git+https://git.openstack.org/openstack/ansible-role-sudoers