mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 12:44:22 -07:00
Updated rax guide for handling RackConnect (#16101)
This commit is contained in:
parent
7f30324489
commit
c2cadd1578
1 changed files with 13 additions and 0 deletions
|
@ -637,6 +637,19 @@ Using a Control Machine
|
||||||
retries: 30
|
retries: 30
|
||||||
delay: 10
|
delay: 10
|
||||||
|
|
||||||
|
- name: Update new_web hosts with IP that RackConnect assigns
|
||||||
|
hosts: new_web
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- name: Get facts about servers
|
||||||
|
local_action:
|
||||||
|
module: rax_facts
|
||||||
|
name: "{{ inventory_hostname }}"
|
||||||
|
region: DFW
|
||||||
|
- name: Map some facts
|
||||||
|
set_fact:
|
||||||
|
ansible_host: "{{ rax_accessipv4 }}"
|
||||||
|
|
||||||
- name: Base Configure Servers
|
- name: Base Configure Servers
|
||||||
hosts: web
|
hosts: web
|
||||||
roles:
|
roles:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue