You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/docsite
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)
12 years ago
..
_static
_themes/bootstrap
man
rst Clarify how only_if works, also combined with with_items 12 years ago
.gitignore
.nojekyll
DOCUMENTATION.yaml
Makefile
README.md
ansible-logo.png
ansible_arch.jpg
ansible_arch2.jpg
build-site.py
conf.py
github.png

README.md

Homepage and documentation source for the Ansible

This project hosts the source behind ansible.cc/docs

Contributions to the documentation are welcome. To make changes, submit a pull request that changes the restructured text files in the "rst/" directory only, and Michael can do a docs build and push the static files.

If you do not want to learn RST format (ReStructured Text), you can also file issues on the documentation project.

Note that module documentation can actually be generated from a DOCUMENTATION docstring in the modules directory, so corrections to modules written as much need to be made in the main project in the module source, rather than in the documentation for the module.

Author

Michael DeHaan -- michael.dehaan@gmail.com

http://michaeldehaan.net