mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #9524 from ktosiek/patch-1
guide_rax.rst: fix add_host invocations
This commit is contained in:
commit
0dc1cbd6b9
1 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ The rax module returns data about the nodes it creates, like IP addresses, hostn
|
||||||
hostname: "{{ item.name }}"
|
hostname: "{{ item.name }}"
|
||||||
ansible_ssh_host: "{{ item.rax_accessipv4 }}"
|
ansible_ssh_host: "{{ item.rax_accessipv4 }}"
|
||||||
ansible_ssh_pass: "{{ item.rax_adminpass }}"
|
ansible_ssh_pass: "{{ item.rax_adminpass }}"
|
||||||
groupname: raxhosts
|
groups: raxhosts
|
||||||
with_items: rax.success
|
with_items: rax.success
|
||||||
when: rax.action == 'create'
|
when: rax.action == 'create'
|
||||||
|
|
||||||
|
@ -519,7 +519,7 @@ Build a complete webserver environment with servers, custom networks and load ba
|
||||||
ansible_ssh_host: "{{ item.rax_accessipv4 }}"
|
ansible_ssh_host: "{{ item.rax_accessipv4 }}"
|
||||||
ansible_ssh_pass: "{{ item.rax_adminpass }}"
|
ansible_ssh_pass: "{{ item.rax_adminpass }}"
|
||||||
ansible_ssh_user: root
|
ansible_ssh_user: root
|
||||||
groupname: web
|
groups: web
|
||||||
with_items: rax.success
|
with_items: rax.success
|
||||||
when: rax.action == 'create'
|
when: rax.action == 'create'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue