1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Docs should indicate with_items and yum/apt logic is available

This commit is contained in:
Michael DeHaan 2012-10-08 07:38:21 -04:00
parent 8f5beb74c5
commit f010bcde33

View file

@ -305,8 +305,8 @@ from turning into arbitrary code with ugly nested ifs, conditionals, and so on -
in more streamlined & auditable configuration rules -- especially because there are a in more streamlined & auditable configuration rules -- especially because there are a
minimum of decision points to track. minimum of decision points to track.
Loop Shorthand Loops
`````````````` `````
To save some typing, repeated tasks can be written in short-hand like so:: To save some typing, repeated tasks can be written in short-hand like so::
@ -327,8 +327,7 @@ The above would be the equivalent of::
- name: add user testuser2 - name: add user testuser2
action: user name=testuser2 state=present groups=wheel action: user name=testuser2 state=present groups=wheel
In a future release, the yum and apt modules will use with_items to execute fewer package The yum and apt modules use with_items to execute fewer package manager transactions.
manager transactions.
Selecting Files And Templates Based On Variables Selecting Files And Templates Based On Variables