mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Corrected three small typos in playbooks_loops.rst (#18136)
This commit is contained in:
parent
2804e64ed5
commit
bd4d5112c5
1 changed files with 3 additions and 3 deletions
|
@ -269,7 +269,7 @@ Random Choices
|
||||||
``````````````
|
``````````````
|
||||||
|
|
||||||
The 'random_choice' feature can be used to pick something at random. While it's not a load balancer (there are modules
|
The 'random_choice' feature can be used to pick something at random. While it's not a load balancer (there are modules
|
||||||
for those), it can somewhat be used as a poor man's loadbalancer in a MacGyver like situation::
|
for those), it can somewhat be used as a poor man's load balancer in a MacGyver like situation::
|
||||||
|
|
||||||
- debug: msg={{ item }}
|
- debug: msg={{ item }}
|
||||||
with_random_choice:
|
with_random_choice:
|
||||||
|
@ -585,7 +585,7 @@ When using complex data structures for looping the display might get a bit too "
|
||||||
- name: server1
|
- name: server1
|
||||||
disks: 3gb
|
disks: 3gb
|
||||||
ram: 15Gb
|
ram: 15Gb
|
||||||
netowrk:
|
network:
|
||||||
nic01: 100Gb
|
nic01: 100Gb
|
||||||
nic02: 10Gb
|
nic02: 10Gb
|
||||||
...
|
...
|
||||||
|
@ -640,7 +640,7 @@ for `item`::
|
||||||
Writing Your Own Iterators
|
Writing Your Own Iterators
|
||||||
``````````````````````````
|
``````````````````````````
|
||||||
|
|
||||||
While you ordinarily shouldn't have to, should you wish to write your own ways to loop over arbitrary datastructures, you can read :doc:`developing_plugins` for some starter
|
While you ordinarily shouldn't have to, should you wish to write your own ways to loop over arbitrary data structures, you can read :doc:`developing_plugins` for some starter
|
||||||
information. Each of the above features are implemented as plugins in ansible, so there are many implementations to reference.
|
information. Each of the above features are implemented as plugins in ansible, so there are many implementations to reference.
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
Loading…
Reference in a new issue