Commit Graph

14 Commits (56b90390f4db137c1604b756d1c7102f25812d78)

Author SHA1 Message Date
tsemerad d0241f5640 made nested lists diff lengths - caused confusion
As a relatively-new user to Ansible, the Nested Loop example made me think it was looping through both lists together (`alice` would go with `clientdb`, `bob` with `employeedb`) and not actually nested. I realize now I was just being stupid, but I feel making the example lists different lengths would prevent such confusion in the future.
11 years ago
Christian Berendt 58ff9cd7c8 fixed typos found by RETF rules in RST files
rules are avaialble at https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Typos
11 years ago
Nick Budidharma 337682b6a0 Add note about with_fileglob to "Looping over Fileglobs"
Reference #7102
11 years ago
Tim Miller 0306096fee Fix typo in with_first_found doc. 11 years ago
Kent R. Spillner 1fcc9ff666 lookup_plugins: loop over hashes
Create a lookup plugin named dict that can be used to loop over hashes.
It converts a dict into a list of key-value pairs, with attributes named
"key" and "value."  Also adds a brief explanation and simple example to
the docs.

Signed-off-by: Kent R. Spillner <kspillner@acm.org>
11 years ago
Patrick Reagan 69304615d0 Fix typo in loop documentation: strucutre -> structure 11 years ago
Mikhail Sobolev 64652fa6ab fix various documentation xrefs 11 years ago
Michael DeHaan 1c29f043b4 Add contents to various pages with more than one topic per page. 11 years ago
Michael DeHaan 041cea134f New Sphinx theme has sidebar navigation so don't need TOC on each page. 11 years ago
Matt Martz 1e1a943a6e Fix rst warnings in playbooks_loops.rst 11 years ago
Matt Martz e8ef6f14af Add documentation example of using 'register' with a loop 11 years ago
Patrick Craston 8de0b88c1c Updated Fix for documentation playbook loops
if key is used with lookup parameter needs quotes as
otherwise it will load "ssh-rsa" "<the key>" "<the comment>" as separate
values and fail with "this module requires key=value arguments"
11 years ago
Patrick Craston 20c5b7f800 Fix for documentation playbook loops
if key is used with lookup parameter that needs to be in quotes as
otherwise it will load "ssh-rsa" "<the key>" "<the comment>" as separate
values and fail with "this module requires key=value arguments"
11 years ago
Michael DeHaan 0cd09dd54f Remove extra "latest/" subdirectory in docs build structure. 11 years ago