Commit Graph

55 Commits (462cd4f728f62b18fd037866130612de668c5b54)

Author SHA1 Message Date
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.
11 years ago
Michael DeHaan 15e2ccd2d9 Moving some role deps stuff around a small amount. 11 years ago
James Cammarata 5429586985 Adding documentation on role dependencies and variable scope/inheritance 11 years ago
Michael DeHaan 11fe4566f8 Document facts.d 11 years ago
Michael DeHaan 6af77226fa Merge pull request #3818 from resmo/feature/docsite-update
update docsite about new variable inventory_file
11 years ago
Abhijit Menon-Sen 1a90d01ba9 Fix some typos discovered during casual reading 11 years ago
René Moser 28267de3fe update docsite about new variable inventory_file 11 years ago
lwade a46e0f9788 Modified playbooks2.rst to include conditional boolean example. 11 years ago
Michael DeHaan 18be6dcb62 Use blockquote in docs. 11 years ago
Alan Descoins d505474832 Updated documentation. 11 years ago
Tim Gerla 7e07bca6bf very minor fix to playbooks2 to fix a formatting error 11 years ago
Michael DeHaan feb4a8847d Slight edit to when_changed docs 11 years ago
Michael DeHaan b603bb0f73 Merge branch 'changed_when-doc' of git://github.com/stoned/ansible into devel 11 years ago
Michael DeHaan 1867fb4888 Update an example. 11 years ago
Michael DeHaan 10bc6f6d9c Merge pull request #3541 from pol/docs_withitems_regivar
Create with_items example with a registered var
11 years ago
Michael DeHaan c101d4b30b Documentation indentation fix. 11 years ago
Michael DeHaan deda5c8ee7 Remove backlinks:top which is setting hyperlinks in docs sections so they are hard to bookmark. 11 years ago
Michael DeHaan ad5ac71219 Merge pull request #3542 from pol/docs_task_format
Update to conventional task format
11 years ago
Michael DeHaan f938bc660f Slight documentation tweak. 11 years ago
Pol Llovet 8a0861f804 Create with_items example with a registered var 11 years ago
Pol Llovet bd7448ccf0 Update to conventional task format 11 years ago
Javier Candeira d3a97bfb07 add documentation for with_nested 11 years ago
Stoned Elipot 60d2ad3642 Document changed_when clause 11 years ago
Michael DeHaan 90dfc115d6 Merge pull request #3463 from stoned/filterskipped
Add Jinja2 filter 'skipped' to test for a registered variable from a ski...
11 years ago
Joshua Lund 7c78fef1f5 Fixed some minor typos in the Advanced Playbooks documentation 11 years ago
Stoned Elipot 906746b1f0 Add Jinja2 filter 'skipped' to test for a registered variable from a skipped task 11 years ago
James Laska eb2ae8b3c2 Reference major_release, not major_version 12 years ago
Joshua Lund 0f81d1630f * Updated all ansible.cc references in the documentation to point
to ansibleworks.com
* Fixed a few misspelled words
12 years ago
Michael DeHaan 89ee762ab7 Merge pull request #3247 from SirScott/vars_prompt_docs
Document the 'default' argument for vars_prompt.
12 years ago
Joshua Lund ba853b8c1a Fixed a few small typos 12 years ago
Scott Sturdivant cc12b85e49 Document the 'default' argument for vars_prompt. 12 years ago
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.
12 years ago
Michael DeHaan d706aca82b Merge 12 years ago
Michael DeHaan 7f0e89a2f6 Explain when statements with |failure and |success. 12 years ago
Michael DeHaan 754d5f91a3 Show how to set PW length. 12 years ago
Michael DeHaan fbba92b61e Add an example of JSON extra variables on the command line. 12 years ago
Jan Duzinkiewicz 8ebd1792eb advanced playbooks docs yaml snippets always use --- 12 years ago
Michael DeHaan e75ab08e3d Merge pull request #3054 from maxamillion/maxamillion/docsite
provide link to older docs when mentioning older docs
12 years ago
Adam Miller 80bf5d49fe provide link to older docs when mentioning older docs 12 years ago
Chelsea Robb b8045bc29e Updated loop documentation with explicit example of hash usage 12 years ago
Michael DeHaan 2c433cb707 Add an example of Jinja2 casting. 12 years ago
Michael DeHaan 8475a92dec Merge pull request #2939 from mmoya/lookup-crypted-passwds
Add support for crypted passwords to password lookup
12 years ago
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.
12 years ago
Stoned Elipot 2b58e03571 Fix registered variable usage example 12 years ago
Michael DeHaan 8a860779fd Add some notes about 1.2 things, just to make it more obvious. 12 years ago
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
12 years ago
Kahlil (Kal) Hodgson cabd40b0aa add docs for 'when: var is defined' idiom 12 years ago
Tim Gerla bdf50d1fb7 Fix up a couple of references to 'only_if' and change them to 'when' 12 years ago
Michael DeHaan 099e7b39a9 use lookup macro rather than with to demonstrate lookup plugins 12 years ago
Michael DeHaan b6a8d402c5 Document variables are reserved. 12 years ago