1
0
Fork 0
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:
Tim Nelson 2016-11-19 03:10:25 -06:00 committed by scottb
parent 7f30324489
commit c2cadd1578

View file

@ -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: