Brian Coca
0a2a9557b8
now allows for users to use ^D to not input a password
...
fixes #11413
2015-07-01 05:22:49 -04:00
Benno Joy
4889d04fc6
fixes 11448 , yum with with_items
2015-07-01 10:02:54 +05:30
James Cammarata
7c1d569a26
Make sure tags are pulled out of playbook includes properly
...
Fixes #9862
2015-06-30 16:09:04 -04:00
Toshio Kuratomi
54e7c8a3f7
Add python requirement to the documentation for openstack modules requiring shade
2015-06-30 12:51:20 -07:00
James Cammarata
ec4d1b11df
Fix some more handler issues
...
* Only notify handlers when the task is changed
* Don't run handlers on hosts which have failed
2015-06-30 14:44:41 -04:00
James Cammarata
2576f480fd
Restoring a state check to play_iterator, which otherwise broke block functionality
2015-06-30 13:57:47 -04:00
Matt Martz
65fdcf8b9d
Check for name or pkg when templating squashed items. Fixes #11430
2015-06-30 10:15:25 -05:00
James Cammarata
0cfebb8760
Fixes a bug whereby tags are expected to be a set
...
Fixes #11424
Fixes #11429
2015-06-30 07:18:41 -04:00
Brian Coca
d149ea5222
ported timer.py callback to v2
2015-06-29 20:45:50 -04:00
Brian Coca
7416e00541
fixed condition for loading whitelisted callbacks
2015-06-29 20:45:50 -04:00
James Cammarata
9785e5397e
Fix typo in SharedObjectLoader field basedirs
2015-06-29 22:51:53 -04:00
James Cammarata
927072546b
Fixing up some issues with plugin loading
2015-06-29 22:49:25 -04:00
James Cammarata
2a5fbd8570
Winrm fixes for devel
...
* Include fixes for winrm connection plugin from v1 code
* Fixing shell plugin use
2015-06-29 22:49:25 -04:00
Toshio Kuratomi
8a76371a1c
Merge pull request #11394 from dlundquist/ipaddr-slaac-filter
...
IPv6 SLAAC address computation filter
2015-06-29 14:23:50 -07:00
Toshio Kuratomi
be6db1a730
Refactor the argspec type checking and add path as a type
2015-06-29 08:05:58 -07:00
James Cammarata
21c14363fd
Allow callback plugins to be whitelisted
2015-06-29 10:56:28 -04:00
James Cammarata
24226646fc
When loading the play hosts list, enforce some consistency
...
Fixes #9580
2015-06-28 01:00:32 -04:00
James Cammarata
9d9cd0c42c
Handle getting the ds for Conditionals which may not be mixed in
2015-06-28 00:30:27 -04:00
James Cammarata
f433e709f2
Fix templating of hostvars values
...
Also adds play information into the hostvars creation, to assure the
variable manager used there has access to vars and vars_files
Fixes #9501
Fixes #8213
Fixes #7844
2015-06-27 21:04:16 -04:00
James Cammarata
8ef28253e3
Properly catch and report conditional test failures
2015-06-27 15:37:10 -04:00
James Cammarata
0eb1c880dd
Use itertools instead of set for tags, as the data may not hash well
...
The tags field may contain bad data before it is post_validated, however
some methods assumed it would be a simple list or string. Using itertools
gets us around the problem of the data potentially not being hashable
Fixes #9380
2015-06-27 15:19:44 -04:00
Brian Coca
af49944ab2
Merge pull request #11398 from resmo/for-ansible
...
cloudstack: fixes and updates
2015-06-27 13:28:37 -04:00
James Cammarata
bb8d87ceb6
Allow field attributes which are lists to validate the type of the list items
...
Starting to apply this for tags too, however it is not correcting things
as would be expected.
2015-06-27 01:01:51 -04:00
James Cammarata
f68223b9ed
Don't add module args into variables at all
...
Getting recursive errors otherwise, so this is probably not something
we want to do. This most likely only worked in v1 due to the fact that
module args were templated earlier than the point in Runner() when
they were fed into the templating engine.
2015-06-27 01:01:51 -04:00
Brian Coca
e153f76c95
now validate that we do get a vault password
2015-06-27 00:02:24 -04:00
Uli Martens
25fc0c7e1b
Fixing bug in failed_when results introduced by c3c398c
2015-06-26 16:55:06 -04:00
James Cammarata
b723f9a09a
Allow squashed loop items to use name=foo-{{item}}
...
Fixes #9235
Fixes #11184
2015-06-26 13:56:45 -04:00
Rene Moser
7952723530
cloudstack: fix domain name is not unique, use full path
2015-06-26 09:25:26 +02:00
Rene Moser
b9b1e294d7
cloudstack: add get_or_failback()
2015-06-26 09:25:26 +02:00
Dustin Lundquist
cf7744f2f1
IPv6 SLAAC address computation filter
...
Jinja2 filter to compute SLAAC address.
Usage:
{{ '2db8::/64' | slaac(ansible_eth0.macaddress) }}
2015-06-25 13:20:21 -07:00
Toshio Kuratomi
9911a947ed
Vendorize match_hostname code so that ansible can push it out to clients along with the code that uses it.
2015-06-25 08:17:58 -07:00
Toshio Kuratomi
00aed57295
Update submodule refs
2015-06-25 07:13:46 -07:00
Toshio Kuratomi
160e71e2cf
Some flake8 cleanup
2015-06-25 07:13:37 -07:00
James Cammarata
332ca927d9
Fix parent attribute lookup
...
Using 'value is None' instead of 'not value', in order to account
for boolean values which may be false
Fixes #11232
2015-06-24 20:57:53 -04:00
James Cammarata
256a323de5
Submodule update
2015-06-24 15:03:34 -04:00
Toshio Kuratomi
548a7288a9
Use BUFSIZE when putting file as well as fetching file.
2015-06-24 01:00:22 -07:00
Toshio Kuratomi
270be6a6f5
Fix exec_command to not use a shell
2015-06-23 22:27:45 -07:00
Toshio Kuratomi
a1a7d6c462
Fix forwarding the user-given params from fetch_url() to open_url()
2015-06-23 15:17:26 -07:00
Toshio Kuratomi
e461241d7b
Fix fetch_file() method
2015-06-23 14:45:44 -07:00
James Cammarata
d0d9be30d5
Correctly compile handler blocks for dependent roles
2015-06-23 15:48:48 -04:00
James Cammarata
0b16580567
Add in playbook_dir magic variable
2015-06-23 14:29:39 -04:00
James Cammarata
4c6adcf143
Submodule pointer update
2015-06-23 13:32:50 -04:00
Hugh Saunders
4246777759
Re-implement the ssh connection retry, originally added in 2df690
2015-06-23 12:14:14 -04:00
James Cammarata
006391eb83
Add the improved exception reporting to the minimal callback plugin
2015-06-23 12:14:14 -04:00
Toshio Kuratomi
6aae500a2c
Documentation fix
2015-06-23 08:58:26 -07:00
Toshio Kuratomi
125e6f49a1
Update submodule refs
2015-06-23 08:49:01 -07:00
James Cammarata
72d4b40a26
Don't allow empty (none) loop values
...
Fixes #8593
2015-06-23 10:42:33 -04:00
James Cammarata
24d2202591
Make sure role parsing can handle a few more types in includes/defs
2015-06-23 10:20:09 -04:00
James Cammarata
aa53212a9b
Don't use all task params for vars, just the module args
2015-06-23 10:20:09 -04:00
Toshio Kuratomi
952166f48e
Fix problem with chroot connection plugins and symlinks from within the chroot.
2015-06-22 20:08:08 -07:00