Commit Graph

26 Commits (8b5e5538285f03c360807fd1e09c00a77d52bd94)

Author SHA1 Message Date
Brian Coca afefaff1a7 Merge pull request #13382 from mscherer/doc_with_inventory
Add a documentation on how to loop over all inventory host
9 years ago
Michael Scherer c8bac7f54b Remove empty line breaking the formatting of the title 9 years ago
Michael Scherer 517b533d46 Add a documentation on how to loop over all inventory host
Related to #13343
9 years ago
Toshio Kuratomi 4b75308439 Fix up rst formatting 9 years ago
Lars Kellogg-Stedman 097adec834 add documentation for with_file loops
This commit adds documentation for the `with_file` loop construct,
resolving #7890 and #9160.
9 years ago
Brian Coca 6637982deb added docs for include with_items and usage of multiple lopo vars (item) 9 years ago
knakayama f717f14fe9 Update docs (playbooks_loops.rst, playbooks_filters.rst) 9 years ago
Yannig Perré 47db352725 Merge remote-tracking branch 'ansible/devel' into devel 9 years ago
Yannig Perré c0bd140959 Add documentation for the ini lookup plugin. 9 years ago
Brian Coca 2e39661a26 made with_ examples have explicit templating 10 years ago
Serge van Ginderachter 9b646dea41 Add optional 'skip_missing' flag to subelements 10 years ago
Maximilian Albert af593c2f51 Add note to section 'Loops' that the 'when:' statement is processed per-item. 10 years ago
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