Commit Graph

42 Commits (0a2334069d57a9af163d5bccb4895bff35528de7)

Author SHA1 Message Date
Andrew Gaffney a625bfc8db Fix bare variable references in docs 8 years ago
Kim bd4d5112c5 Corrected three small typos in playbooks_loops.rst (#18136) 8 years ago
Colin Walters ec06278204 docs: Tweak sentence for interaction of loops + register
The previous version had an extra `during a loop` and the comma broke
the sentence in the middle weirdly.  I think this new version reads
better.
8 years ago
Rene Moser 26bc8ab47a docsite: various fixes in loops doc
- "new in version ..." did not always show up
- indentation in examples
- minor style cleanup (whitespace)
8 years ago
Brian Coca 45b961243b added note about loops being lookups 8 years ago
Brian Coca f39799fbcd implemented loop pausing (#17289)
* implemented loop pausing

- added loop pause to changelog
- only pause between iterations, avoid 1st/last
- added example to docs

* fixed note placement

* else

* added docs for loop_control: label
8 years ago
Ted Timmons f4bd38a153 document what glob style is used (#17080)
Took some digging to find that `with_fileglob` calls a method named `fileglob()`, which uses Python's `glob` library.
8 years ago
toromoti 11b3a1b8ce change to a more easy-to-understand example (#15863) 9 years ago
Dag Wieers 1a50ad34e3 Fix a typo in "inventory_hostnames" plugin name
Also make Jinja2 expressions more consistent
9 years ago
Allyson Bowles 3b96861b7c Refer to the play_host as remote instead of local (#15307)
It was pointed out on IRC that the "local machine" terminology is
confusing, since in this instance it refers to the host *against* which
Ansible is running, in contrast to the host *from* which Ansible is
running.
9 years ago
James Cammarata 6eefc11c39 Make the loop variable (item by default) settable per task
Required for include+with* tasks which may include files that also
have tasks containing a with* loop.

Fixes #12736
9 years ago
Gerben Geijteman c7e1a65da4 Proposed change to documentation to elaborate on new notation style for with_items / with_subelements 9 years ago
Dag Wieers 0a20c53ed6 A few more typos
I came across another typo, and fixed similar ones in the docs.
9 years ago
Dag Wieers 2f411557f5 Fix small typo
While reading one of the docs I found this small typo.
9 years ago
Brian Coca 6105c8c77c corrected name of inventory_hostnames lookup plugin 9 years ago
Brian Coca 3750af45d4 clarified with_file 9 years ago
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