blob: 3dab62df24c22476a7dfbab806489646edac64f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
---
- name: Remove any existing inventory
file:
path: "{{ inventory_path }}/hosts"
state: absent
- name: Refresh the inventory
meta: refresh_inventory
- name: Generate in-memory inventory
include: openstack.yml
- name: Checkpoint in-memory data into a static inventory
include: checkpoint.yml
- name: Generate SSH config for accessing hosts via bastion
include: sshconfig.yml
when: use_bastion|bool
- name: Configure SSH tunneling to access UI
include: sshtun.yml
become: true
when:
- use_bastion|bool
- ui_ssh_tunnel|bool
|