mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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
|
||||
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
|
||||
hosts: web
|
||||
roles:
|
||||
|
|
Loading…
Reference in a new issue