Michel Blanc
aeed04b73f
Cosmetic fixes
...
Fixed typo in passlib URL link
Fixed style in cryp scheme list
Fixed bullet 7 in variable precedence section
Adds statement regarding passlib requirement
2013-03-05 17:28:09 +01:00
Michel Blanc
f3b06a3008
Adds crypt scheme list for vars_prompt
...
Added more details on encrypt usage for vars_prompt, including a list of
crypt schemes and a ling to the passlib documentation.
2013-03-05 17:19:14 +01:00
Michel Blanc
d03954a24b
Update playbooks2.rst
...
Added doc on encrypt capability of vars_prompt.
Assuming the example in https://github.com/ansible/ansible/blob/devel/examples/playbooks/prompts.yml is still valid.
2013-03-05 16:26:24 +01:00
Daniel Hokka Zakrisson
b130716b61
YAML requires quoting the entire value when it starts with a quote
...
Fixes #2280 .
2013-03-02 21:35:51 +01:00
Michael DeHaan
de09e9dade
Update doc reference to clarify that $item isn't expanded here.
2013-03-02 11:47:43 -05:00
Michael DeHaan
a19a0ca91b
Update documentation on complex args to new simpler format.
2013-03-01 17:08:36 -05:00
Michael DeHaan
ff32e404d5
Most people are better off doing looping inside the playbook versus
...
outside, and get confused about scope. As a result simply this documentation
feature by not talking about it :)
2013-03-01 16:20:50 -05:00
Daniel Hokka Zakrisson
52c9a7af24
Fix references to user.username to be user.name
2013-02-28 14:02:59 +01:00
Cliffano Subagio
19082f7b20
Fix proxy env format
...
The incorrect format (e.g. http_proxy=http://proxy.bos.example.com:8080 ) gave this error: "environment must be a dictionary".
2013-02-28 10:39:08 +11:00
Michael DeHaan
3aceae57af
Fixup documentation formatting
2013-02-25 09:35:05 -05:00
Michael DeHaan
7a6f3e6a6a
Missing colon in docs.
2013-02-25 09:22:10 -05:00
Lorin Hochstein
2e8533aec2
Add a missing :: in an .rst file
...
Other changes are just eating trailing whitespace.
2013-02-23 16:47:47 -05:00
Michael DeHaan
908a192736
Documentation updates
2013-02-23 15:17:50 -05:00
Michael DeHaan
c86b34dae1
Lots of docsite additions for new features + cleanup lineinfile YAML docs
2013-02-23 15:08:33 -05:00
Michael DeHaan
3422ae6737
Document how to do task includes using with_items and externalized data.
2013-02-23 14:56:25 -05:00
Michael DeHaan
d8a77c0468
Add some 1.1 feature documentation
2013-02-23 14:34:29 -05:00
Lorin Hochstein
c6778e796c
Specified when PIPE_ONCE was added.
...
Also, now shows when "Getting values from files" was added, a sphinx
directive was missing a colon.
2013-02-17 12:55:47 -05:00
Lorin Hochstein
ec16b854a5
Document new PIPE_ONCE macro
2013-02-17 12:47:51 -05:00
Michael DeHaan
8333b4eb03
Better explain magic variables
2013-02-16 15:49:42 -05:00
Michael DeHaan
5cdc25ec47
Tweak documentation example about lookup plugins
2013-02-02 12:56:56 -05:00
Michael DeHaan
dd91452eda
Better explain precedence.
2013-02-02 12:29:49 -05:00
Michael DeHaan
bf088a50aa
Add when_failed/changed dates
2013-02-02 12:26:26 -05:00
Michael DeHaan
1e3df3b5ab
Show how to assign lookup plugins in variables
2013-02-02 12:19:21 -05:00
Michael DeHaan
fe5ab64b62
Document lookup plugin shorthand
2013-02-02 12:03:48 -05:00
Michael DeHaan
78ecc45d4d
Document other syntaxes
2013-02-02 12:02:08 -05:00
Michael DeHaan
0ae7f996f5
Make sure all the lookup plugins are documented.
2013-02-02 11:51:25 -05:00
Daniel Hokka Zakrisson
94a1c221bc
Update variable precedence section with current rules
2013-01-22 16:56:04 +01:00
fdavis
7899e29395
add when_changed when_failed examples to docsite
...
whitespace fix
2013-01-20 15:50:21 -08:00
Jayson Vantuyl
13ddd39db9
add with_sequence lookup plugin
...
Plugin allows you to do easy counts for items.
2013-01-09 15:30:24 -08:00
Javier Candeira
dac83c15a0
fix documentation for authorized_key in advanced playbooks page in docsite
2012-12-18 07:23:40 +11:00
Dag Wieers
66fb7fd9de
Make use of yes/no booleans in playbooks
...
At the moment Ansible prefers yes/no for module booleans, however booleans in playbooks are still using True/False, rather than yes/no. This changes modifies boolean uses in playbooks (and man pages) to favor yes/no rather than True/False.
This change includes:
- Adaptation of documentation and examples to favor yes/no
- Modification to manpage output to favor yes/no (the docsite output already favors yes/no)
2012-12-14 11:56:53 +01:00
jkleint
e363abeca7
Missing colon in $FILE example
2012-12-13 16:21:25 -05:00
Michael DeHaan
da90c5f75e
Document 'when' and tweak the code to be a little more comprehensive on what is false.
2012-11-26 18:37:44 -05:00
Michael DeHaan
9870224991
Tweak fireball docs for 0.9
2012-11-26 18:27:55 -05:00
Daniel Hokka Zakrisson
b95bcf1b9d
Use single-quotes to contain SSH keys as they may contain double-quotes
...
Fixes #1624 .
2012-11-18 18:31:57 +01:00
Michael DeHaan
89bb1b8368
Fixup fireball installation playbook
2012-11-14 18:39:01 -05:00
Michael DeHaan
096607eea4
Allow fireball to transfer binary files, fixup fireball docs, make fetch work with fireball.
2012-11-14 18:37:17 -05:00
Dag Wieers
2bccd7b1ac
Fix example where imported ssh keys contain spaces
...
This fixes #1521
2012-11-07 23:58:16 +01:00
Michael DeHaan
aa0af271d6
Quote some stuff in docs
2012-11-03 19:27:14 -04:00
Nigel Metheringham
ccd8d7c287
Spelling fixes
2012-10-23 15:54:16 +01:00
Nigel Metheringham
dd5629cd51
Correct $last_result example in playbooks doc
2012-10-23 15:51:11 +01:00
Michael DeHaan
109632e3bc
Revert "Vars specified via CLI have the highest priority."
...
Reverting as this as reported allows some variables to clobber each other.
We'll work on a different fix.
This reverts commit c5469f6367
.
2012-10-21 16:42:15 -04:00
Dag Wieers
7d990fa167
Clarify how only_if works, also combined with with_items
...
- The old documentation stated not to quote the variable in the function, which is obviously wrong. When using lists or integers, we have to quote otherwise the startswith() method will trip over its non-existence.
- It was unclear that the only_if statement is processed for each item when doing with_items, so I added an example making it crystal clear how this can be used in your advantage (or why a non-existing list variable can break your logic if you expected the only_if to be processed once before running the task)
2012-10-22 12:30:47 +02:00
Michael DeHaan
7e2d6c0050
Clarify first_available_file is only for copy/template
2012-10-20 11:16:05 -04:00
Michael DeHaan
ed9f5eed09
Merge pull request #1338 from alopropoz/extra_vars_override
...
Vars specified via CLI have the highest priority.
2012-10-20 07:29:12 -07:00
Michael DeHaan
2bef84e666
Rebuild docs
2012-10-16 19:14:21 -04:00
Michael DeHaan
97bc11795a
more 0.8 docs
2012-10-16 19:12:31 -04:00
Michael DeHaan
a98886c77f
Further docs hacking
2012-10-16 19:03:54 -04:00
Michael DeHaan
1801ded34d
more playbook docs
2012-10-16 18:58:31 -04:00
Michael DeHaan
ca261e8961
more 0.8 documenting
2012-10-16 18:51:10 -04:00