Commit f010bcde by Michael DeHaan

Docs should indicate with_items and yum/apt logic is available

parent 8f5beb74
...@@ -305,8 +305,8 @@ from turning into arbitrary code with ugly nested ifs, conditionals, and so on - ...@@ -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:: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment