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.
 
 
 
 
 
Go to file
willthames 377bc31311 Prevent premature substitution of variables into tasks
As documented in #2623, early variable substitution causes when_
tests to fail and possibly other side effects.

I can see the reason for this early substitution, likely introduced
in 1dfe60a6, to allow many playbook parameters to be templated.
This is a valid goal, but the recursive nature of the utils.template
function means that it goes too far.

At this point removing tasks from the list of parameters to be
substituted seems sufficient to make my tests pass. It may be the
case that other parameters should be excluded, but I suspect not.

Adding a test case. I would prefer to analyse not just the aggregate
statistics but also whether the results are as expected - I can't
see an easy way to do that with the available callbacks at present.
12 years ago
bin Merge pull request #2649 from sergevanginderachter/bin-ansible 12 years ago
docs/man Update release version. 12 years ago
docsite Merge pull request #2640 from trevor/devel 12 years ago
examples allow references to names of variables in with_items without needing to surround them with Jinja2 '{{' delimeters 12 years ago
hacking Fixed option validation error 12 years ago
lib/ansible Prevent premature substitution of variables into tasks 12 years ago
library Merge pull request #2646 from sevein/git-shallow-clone 12 years ago
packaging added missing build deps for debian/ubuntu to readme 12 years ago
plugins Initial commit of rax inventory plugin 12 years ago
test Prevent premature substitution of variables into tasks 12 years ago
.gitignore add authors file to gitignore since it was removed from version control 12 years ago
CHANGELOG.md Update changelog 12 years ago
CONTRIBUTING.md Add a line about testing. 12 years ago
COPYING license file should be in source tree 13 years ago
MANIFEST.in Add some docs/examples 12 years ago
Makefile add clean up authors file to make clean 12 years ago
README.md Update README.md 12 years ago
RELEASES.txt Fix up some version related things on the devel branch. 12 years ago
VERSION Update release version. 12 years ago
setup.py CLI: ansible-doc shows lists of modules & module docs on command-line 12 years ago

README.md

Ansible

Ansible is a radically simple configuration-management, deployment, task-execution, and multinode orchestration framework.

Read the documentation and more at http://ansible.cc

Many users run straight from the development branch (it's generally fine to do so), but you might also wish to consume a release. You can find instructions on http://ansible.cc/docs/gettingstarted.html for a variety of platforms. If you want a tarball of the last release, go to http://ansible.cc/releases/ and you can also install with pip (though that will bring in some optional binary dependencies you normally do not need).

Design Principles

  • Dead simple setup
  • Super fast & parallel by default
  • No server or client daemons; use existing SSHd
  • No additional software required on client boxes
  • Modules can be written in ANY language
  • Awesome API for creating very powerful distributed scripts
  • Be usable as non-root
  • The easiest config management system to use, ever.

Get Involved

Branch Info

  • Releases are named after Van Halen songs.
  • The devel branch corresponds to the release actively under development.
  • Various release-X.Y branches exist for previous releases
  • We'd love to have your contributions, read "CONTRIBUTING.md" for process notes.

Author

Michael DeHaan -- michael@ansibleworks.com

AnsibleWorks