- 11 Apr, 2013 1 commit
-
-
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.
willthames committed
-
- 10 Apr, 2013 1 commit
-
-
compensate.
Michael DeHaan committed
-
- 08 Apr, 2013 1 commit
-
-
When operating on a unicode string in python 2.6, shlex.split returns a result that does not work with the file constructor. To reproduce this requires a task include that is templated (this is because the templated string is a unicode result, whereas a non- templated string is a non-unicode string) [will@centos6.3] $ python Python 2.6.6 (r266:84292, Sep 11 2012, 08:34:23) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import shlex >>> shlex.split(u'abc') ['a\x00\x00\x00b\x00\x00\x00c\x00\x00\x00'] [will@fedora17] $ python Python 2.7.3 (default, Jul 24 2012, 10:05:38) [GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import shlex >>> shlex.split(u'abc') ['abc'] The proposed fix (coercing the include parameters to string before the shlex.split) may not be ideal but it does fix the bug for my test case.
willthames committed
-
- 06 Apr, 2013 1 commit
-
-
George Miroshnykov committed
-
- 05 Apr, 2013 1 commit
-
-
Michael DeHaan committed
-
- 03 Apr, 2013 1 commit
-
-
Preliminary ability to use Jinja2 {{ }} to replace ${foo.bar} in playbooks. Can't use both at the same time per line.
Michael DeHaan committed
-
- 10 Mar, 2013 1 commit
-
-
Javier Candeira committed
-
- 09 Jan, 2013 1 commit
-
-
Plugin allows you to do easy counts for items.
Jayson Vantuyl committed
-
- 19 Nov, 2012 2 commits
-
-
Michael DeHaan committed
-
Michael DeHaan committed
-
- 13 Nov, 2012 3 commits
-
-
Fixes #1610.
Daniel Hokka Zakrisson committed -
Daniel Hokka Zakrisson committed
-
Daniel Hokka Zakrisson committed
-
- 09 Nov, 2012 1 commit
-
-
Also makes with_* work with them. Fixes #1162.
Daniel Hokka Zakrisson committed
-
- 07 Nov, 2012 1 commit
-
-
Daniel Hokka Zakrisson committed
-
- 06 Nov, 2012 1 commit
-
-
Daniel Hokka Zakrisson committed
-
- 01 Nov, 2012 1 commit
-
-
Also add testcase for it.
Daniel Hokka Zakrisson committed
-
- 26 Oct, 2012 1 commit
-
-
Michael DeHaan committed
-
- 21 Oct, 2012 1 commit
-
-
This time with unit tests to ensure it keeps working.
Daniel Hokka Zakrisson committed
-
- 19 Sep, 2012 2 commits
-
-
Delete test that was coded against *local* resolv.conf -- obviously not going to be the same between people's computers
Michael DeHaan committed -
Michael DeHaan committed
-
- 17 Sep, 2012 1 commit
-
-
When the output of a command is stored in a register, this will create a stdout_lines field in the result object that contains stdout split into a list of lines. This list can then be iterated over using with_items.
John Kleint committed
-
- 11 Sep, 2012 1 commit
-
-
Michael DeHaan committed
-
- 29 Aug, 2012 1 commit
-
-
date still issues warning and ignores TZ - Updated tests to work inside bsd jails (127 addresses are an issue) Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
Brian Coca committed
-
- 14 Aug, 2012 1 commit
-
-
Dave Peticolas committed
-
- 10 Aug, 2012 1 commit
-
-
Dave Peticolas committed
-
- 07 Aug, 2012 1 commit
-
-
Michael DeHaan committed
-
- 01 Aug, 2012 2 commits
-
-
Petros Moisiadis committed
-
on_skipped callback being passed an extra item parameter that it wasn't expecting. Fixed it so that on_skipped in TestCallbacks accepts and ignores the extra parameter Extra parameter was added in 4b9b9a8a but not really clear why from commit message
Will Thames committed
-
- 15 Jul, 2012 1 commit
-
-
Michael DeHaan committed
-
- 14 Jul, 2012 1 commit
-
-
Michael DeHaan committed
-
- 20 Jun, 2012 1 commit
-
-
Remove the -D module debug flag, which no longer is functional due to sudo pty requirements, and replace with -v/--verbose. This flag will show playbook output from non-failing commands. -v is also added to /usr/bin/ansible, but not yet used. I also gutted some internals code dealing with 'invocations' which allowed the callback to know what module invoked it. This is not something 0.5 does or needed, so callbacks have been simplified.
Michael DeHaan committed
-
- 31 May, 2012 1 commit
-
-
In playbooks, hosts can be a YAML list. We templated the list before converting it to a semicolon-separated string, which actually templated its repr. This converts to a string first. A basic unit test is included.
John Kleint committed
-
- 10 May, 2012 1 commit
-
-
Do not run unit tests against the EVENTS code because it is subject to change and that does not mean anything is broken. If we want to test playbooks, it's best to test the result of a playbook to make sure it does the correct thing. Also remove playbook2/3 yml which were not used.
Michael DeHaan committed
-
- 11 May, 2012 1 commit
-
-
There's not need to run the complete include through the templating engine. Several variables were not included before the conditional was evaluated.
Jeroen Hoekx committed
-
- 01 May, 2012 1 commit
-
-
Jeroen Hoekx committed
-
- 26 Apr, 2012 1 commit
-
-
ansible-playbook release-my-app.yml --extra-vars="version=123" And make $version available in the playbook without re-editing the file
Michael DeHaan committed
-
- 20 Apr, 2012 1 commit
-
-
Michael DeHaan committed
-
- 17 Apr, 2012 1 commit
-
-
Michael DeHaan committed
-
- 12 Apr, 2012 1 commit
-
-
Michael DeHaan committed
-