Stoned Elipot
f0743fc32a
Introduce the 'always_run' task clause.
...
The 'always_run' task clause allows one to execute a task even in
check mode.
While here implement Runner.noop_on_check() to check if a runner
really should execute its task, with respect to check mode option
and 'always_run' clause.
Also add the optional 'jinja2' argument to check_conditional() :
it allows to give this function a jinja2 expression without exposing
the 'jinja2_compare' implementation mechanism.
2013-08-20 23:09:44 +02:00
Michael DeHaan
15e2ccd2d9
Moving some role deps stuff around a small amount.
2013-08-16 22:05:26 -04:00
James Cammarata
5429586985
Adding documentation on role dependencies and variable scope/inheritance
2013-08-16 10:34:45 -05:00
Michael DeHaan
11fe4566f8
Document facts.d
2013-08-12 09:49:54 -04:00
Michael DeHaan
6af77226fa
Merge pull request #3818 from resmo/feature/docsite-update
...
update docsite about new variable inventory_file
2013-08-11 12:50:20 -07:00
Abhijit Menon-Sen
1a90d01ba9
Fix some typos discovered during casual reading
2013-08-11 18:41:23 +05:30
René Moser
28267de3fe
update docsite about new variable inventory_file
2013-08-11 11:08:57 +02:00
lwade
a46e0f9788
Modified playbooks2.rst to include conditional boolean example.
2013-08-09 13:24:48 +01:00
Michael DeHaan
18be6dcb62
Use blockquote in docs.
2013-08-06 16:45:24 -04:00
Alan Descoins
d505474832
Updated documentation.
2013-07-23 19:49:27 -03:00
Tim Gerla
7e07bca6bf
very minor fix to playbooks2 to fix a formatting error
2013-07-21 11:50:12 -07:00
Michael DeHaan
feb4a8847d
Slight edit to when_changed docs
2013-07-21 10:48:22 -04:00
Michael DeHaan
b603bb0f73
Merge branch 'changed_when-doc' of git://github.com/stoned/ansible into devel
2013-07-21 10:41:35 -04:00
Michael DeHaan
1867fb4888
Update an example.
2013-07-19 09:49:44 -04:00
Michael DeHaan
10bc6f6d9c
Merge pull request #3541 from pol/docs_withitems_regivar
...
Create with_items example with a registered var
2013-07-19 06:46:31 -07:00
Michael DeHaan
c101d4b30b
Documentation indentation fix.
2013-07-19 09:33:31 -04:00
Michael DeHaan
deda5c8ee7
Remove backlinks:top which is setting hyperlinks in docs sections so they are hard to bookmark.
2013-07-19 09:33:31 -04:00
Michael DeHaan
ad5ac71219
Merge pull request #3542 from pol/docs_task_format
...
Update to conventional task format
2013-07-19 06:26:42 -07:00
Michael DeHaan
f938bc660f
Slight documentation tweak.
2013-07-19 09:13:30 -04:00
Pol Llovet
8a0861f804
Create with_items example with a registered var
2013-07-15 17:44:50 -06:00
Pol Llovet
bd7448ccf0
Update to conventional task format
2013-07-15 17:35:20 -06:00
Javier Candeira
d3a97bfb07
add documentation for with_nested
2013-07-15 14:28:02 +10:00
Stoned Elipot
60d2ad3642
Document changed_when clause
2013-07-14 21:43:10 +02:00
Michael DeHaan
90dfc115d6
Merge pull request #3463 from stoned/filterskipped
...
Add Jinja2 filter 'skipped' to test for a registered variable from a ski...
2013-07-11 05:26:25 -07:00
Joshua Lund
7c78fef1f5
Fixed some minor typos in the Advanced Playbooks documentation
2013-07-10 13:09:12 -06:00
Stoned Elipot
906746b1f0
Add Jinja2 filter 'skipped' to test for a registered variable from a skipped task
2013-07-07 22:13:14 +02:00
James Laska
eb2ae8b3c2
Reference major_release, not major_version
2013-06-20 08:23:49 -04:00
Joshua Lund
0f81d1630f
* Updated all ansible.cc references in the documentation to point
...
to ansibleworks.com
* Fixed a few misspelled words
2013-06-19 19:34:02 -06:00
Michael DeHaan
89ee762ab7
Merge pull request #3247 from SirScott/vars_prompt_docs
...
Document the 'default' argument for vars_prompt.
2013-06-18 11:48:49 -07:00
Joshua Lund
ba853b8c1a
Fixed a few small typos
2013-06-18 12:26:40 -06:00
Scott Sturdivant
cc12b85e49
Document the 'default' argument for vars_prompt.
2013-06-18 09:25:51 -06:00
Lorin Hochstein
d7ba2e06eb
Document: with_file(glob) relative path and roles
...
Document that with_file and with_fileglob path is relative to
the files directory inside of a role.
2013-06-14 11:15:45 -04:00
Michael DeHaan
d706aca82b
Merge
2013-06-09 13:55:58 -04:00
Michael DeHaan
7f0e89a2f6
Explain when statements with |failure and |success.
2013-06-01 17:41:31 -04:00
Michael DeHaan
754d5f91a3
Show how to set PW length.
2013-06-01 12:36:24 -04:00
Michael DeHaan
fbba92b61e
Add an example of JSON extra variables on the command line.
2013-05-31 16:07:40 -04:00
Jan Duzinkiewicz
8ebd1792eb
advanced playbooks docs yaml snippets always use ---
2013-05-31 10:54:13 +02:00
Michael DeHaan
e75ab08e3d
Merge pull request #3054 from maxamillion/maxamillion/docsite
...
provide link to older docs when mentioning older docs
2013-05-29 16:55:30 -07:00
Adam Miller
80bf5d49fe
provide link to older docs when mentioning older docs
2013-05-29 17:29:59 -05:00
Chelsea Robb
b8045bc29e
Updated loop documentation with explicit example of hash usage
2013-05-30 08:05:14 +10:00
Michael DeHaan
2c433cb707
Add an example of Jinja2 casting.
2013-05-29 09:43:32 -04:00
Michael DeHaan
8475a92dec
Merge pull request #2939 from mmoya/lookup-crypted-passwds
...
Add support for crypted passwords to password lookup
2013-05-18 13:17:41 -07:00
Maykel Moya
96afc3f462
Add support for crypted passwords to password lookup
...
Added new parameter 'encrypt' with same semantics from that of
vars_prompt. When encryption is requested a random salt will be
generated and stored along the password in the form:
'<password> salt=<salt>'.
Also store passwords with an ending '\n' for easier looking at files
with console tools. File content was being already rstripped so this
is harmless.
2013-05-16 13:24:54 +02:00
Stoned Elipot
2b58e03571
Fix registered variable usage example
2013-05-15 22:11:07 +02:00
Michael DeHaan
8a860779fd
Add some notes about 1.2 things, just to make it more obvious.
2013-05-11 16:40:09 -04:00
Michael DeHaan
d1a59fe62b
Merge branch 'when_docs' of git://github.com/tartansandal/ansible into devel
...
Conflicts:
docsite/latest/rst/playbooks2.rst
docsite/latest/searchindex.js
2013-05-05 12:43:06 -04:00
Kahlil (Kal) Hodgson
cabd40b0aa
add docs for 'when: var is defined' idiom
2013-05-03 08:57:31 +10:00
Tim Gerla
bdf50d1fb7
Fix up a couple of references to 'only_if' and change them to 'when'
2013-05-02 09:22:08 -04:00
Michael DeHaan
099e7b39a9
use lookup macro rather than with to demonstrate lookup plugins
2013-04-27 11:59:33 -04:00
Michael DeHaan
b6a8d402c5
Document variables are reserved.
2013-04-27 11:54:30 -04:00