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:
parent
4ec262c30a
commit
2b0195db87
@ -26,3 +26,10 @@
|
|||||||
- name: Setup openstack.virtualenv role
|
- name: Setup openstack.virtualenv role
|
||||||
include_role:
|
include_role:
|
||||||
name: openstack.virtualenv
|
name: openstack.virtualenv
|
||||||
|
|
||||||
|
- name: Bootstrap bastion hosts
|
||||||
|
hosts: bastion,!disabled
|
||||||
|
tasks:
|
||||||
|
- name: Setup openstack.ansible role
|
||||||
|
include_role:
|
||||||
|
name: openstack.ansible
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
- name: openstack.ansible
|
||||||
|
src: git+https://git.openstack.org/openstack/ansible-role-ansible
|
||||||
|
|
||||||
- name: openstack.sudoers
|
- name: openstack.sudoers
|
||||||
src: git+https://git.openstack.org/openstack/ansible-role-sudoers
|
src: git+https://git.openstack.org/openstack/ansible-role-sudoers
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user