Commit graph

15091 commits

Author SHA1 Message Date
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
Toshio Kuratomi
6daae92e73 Merge pull request #11409 from erikdw/staging-instead-of-stage
change 'stage' to 'staging', as it a much more common term for a pre-…
2015-06-27 06:31:57 -07:00
Toshio Kuratomi
93115be17b Merge pull request #11408 from erikdw/fix-module-development-comment-typo
fix typo in module-development comment: by -> but
2015-06-27 06:30:13 -07:00
Anuvrat Parashar
c17d8b9439 [grammar nazi] rearrangment. 2015-06-27 12:34:12 +05:30
Anuvrat Parashar
de4d4bcc80 grammatical rearrangements. 2015-06-27 12:30:45 +05:30
Erik Weathers
fde99d8095 change 'stage' to 'staging', as it a much more common term for a pre-production environment, and there are already many references to 'staging' appearing in the ansible code and docs, so let's be consistent 2015-06-26 23:38:06 -07:00
Sharif Nassar
cbae925307 Clarify that setting ssh_args trumps control_path 2015-06-26 23:32:30 -07:00
Erik Weathers
94011160b3 fix typo in module-development comment: by -> but 2015-06-26 23:30:13 -07: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
6d2e1a3b24 Merge pull request #11363 from danasmera/devel
Add quote to a variable following a colon
2015-06-27 00:54:37 -04:00
Brian Coca
e153f76c95 now validate that we do get a vault password 2015-06-27 00:02:24 -04:00
Brian Coca
bdceb154e5 Merge pull request #11365 from halberom/undocumented_filters
docs - added missing filters
2015-06-26 18:57:36 -04:00
Brian Coca
a11b65814c added win_iss modules, corrected bad line join in prev commit 2015-06-26 16:58:14 -04:00
Brian Coca
9ff0645fa2 add3ed missing rax mon module 2015-06-26 16:56:08 -04:00
Brian Coca
4fbf26a478 added rax_mon_* mnodules to changelog 2015-06-26 16:56:08 -04:00
Brian Coca
123d665acb added ec2_vpc_net new module to changelog 2015-06-26 16:56:08 -04:00
Brian Coca
0729554803 added win_scheduled_task plugin to changelog 2015-06-26 16:56:08 -04:00
Uli Martens
25fc0c7e1b Fixing bug in failed_when results introduced by c3c398c 2015-06-26 16:55:06 -04:00
Gerard Lynch
a6a86a5bdb added missing filters, changed since to new in version 2015-06-26 21:49:04 +01:00
Toshio Kuratomi
6b1ec141cb Merge pull request #11389 from silviot/patch-1
Update link to github in developing plugins docs
2015-06-26 12:35:17 -07:00
Toshio Kuratomi
8fd5eecb2a Merge pull request #11372 from nitzmahone/docsite_install_v2_fix
added six to install-from-source docs
2015-06-26 12:34:38 -07: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
Silvio Tomatis
784b18cb24 Update link to github 2015-06-25 19:50:17 +02: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
nitzmahone
ed07a90289 added six to install-from-source docs 2015-06-24 11:40:59 -07:00
Gerard Lynch
4942f18100 added role_path to magic var section 2015-06-24 16:54:53 +01:00
James Cammarata
4fbd4ae18b Update VariableManager test for additional magic variable playbook_dir 2015-06-24 11:27:44 -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
danasmera
b8434db3cc fix: Add double-quote to a variable precedening color 2015-06-23 20:48:13 -04:00
danasmera
874df00f74 Add double-quote to a variable precedening color 2015-06-23 20:44:17 -04: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
7b4ff28b87 Creating modules: use if __name__ 2015-06-23 14:45:44 -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