Commit graph

10829 commits

Author SHA1 Message Date
James Cammarata
d9df607972 Fix order of merging variables for the combined cache
Fixes #7598
2014-06-04 10:50:41 -05:00
tsemerad
d0241f5640 made nested lists diff lengths - caused confusion
As a relatively-new user to Ansible, the Nested Loop example made me think it was looping through both lists together (`alice` would go with `clientdb`, `bob` with `employeedb`) and not actually nested. I realize now I was just being stupid, but I feel making the example lists different lengths would prevent such confusion in the future.
2014-06-03 17:45:03 -07:00
James Cammarata
74f20ebf79 Removing cruft leftover from the deprecation of include+with_items
Also cleaning up integration tests that had checks for the empty item
attribute in certain results.

Fixes #7535
2014-06-03 13:33:26 -05:00
evanccopengeo
fac9a64d23 fixing problem where ansible would error out because Amazon was saying the group didnt exist yet (needed to wait a few more seconds for amazon to propagate correctly) 2014-06-03 14:25:48 -04:00
James Cammarata
2f7e720b90 Merge branch 'kilburn-fix-7596' into devel 2014-06-03 11:27:32 -05:00
James Cammarata
0fa5100a2c Merge branch 'fix-7596' of https://github.com/kilburn/ansible into kilburn-fix-7596 2014-06-03 10:26:25 -05:00
James Cammarata
1b5f2d47bb Merge pull request #7638 from yanc0/primary_group_doc_user_example
Add primary group in the first user module doc example
2014-06-03 10:10:55 -05:00
James Cammarata
f1afc107b2 Merge pull request #7635 from josef-spak/mysql-replication-typo
Fix typo in CHANGE MASTER TO syntax
2014-06-03 10:10:04 -05:00
James Cammarata
832d6c2f3b Merge pull request #7632 from cdwertmann/patch-2
Don't use deprecated BaseException.message in keystone_user
2014-06-03 10:08:15 -05:00
James Cammarata
849b0f87ce Fix error when using os.getlogin() without a tty 2014-06-03 09:36:19 -05:00
Yann Coleu
b5ea9e0655 Add primary group in the first user module doc example 2014-06-02 14:32:52 +02:00
Josef Špak
2d402ab5ca Fix typo in CHANGE MASTER TO syntax 2014-06-02 13:42:55 +02:00
Christoph Dwertmann
5cab159bda Don't use deprecated BaseException.message in keystone_user
fixes error "failed to parse: <attribute 'message' of 'exceptions.BaseException' objects>
TypeError: <attribute 'message' of 'exceptions.BaseException' objects> is not JSON serializable"
2014-06-02 15:11:53 +10:00
Matt Martz
84b1f21617 Add rax_meta module
Also update rax to mirror meta value normalization from rax_meta
2014-06-01 14:31:26 -05:00
Michael DeHaan
6bc056e012 Merge pull request #6863 from sivel/rax-untouched
rax module: Return untouhced servers with exact_count
2014-06-01 15:27:45 -04:00
Michael DeHaan
6cb6f4fa31 Merge pull request #7610 from CorbanR/devel
updating ec2_group example, to be more consistent with parameter names
2014-05-30 22:25:17 -04:00
Michael DeHaan
959af67fe3 Merge pull request #7608 from jjneely/lookup-function
template.py: Handle purposely raised exceptions in lookup()
2014-05-30 22:24:53 -04:00
CorbanR
42f54238e4 updating example, to be more consistent with parameter names 2014-05-30 15:57:55 -06:00
James Cammarata
b94bde9711 Merge pull request #7609 from jimi-c/issue_7553_su_copy
Support checking for su user to atomic_move
2014-05-30 15:46:34 -05:00
Jack Neely
2fda9bc743 template.py: Handle purposely raised exceptions in lookup()
If a lookup plugin is run by the lookup() template method it should pass
along any AnsibleError (or child exception classes) rather than just eat
them.  These exceptions are purposely raised by the plugin.
2014-05-30 16:41:20 -04:00
Marc Pujol
d0f82e94e8 Ensure there are no duplicates in the merged/intersected lists 2014-05-30 15:47:18 +02:00
Michael DeHaan
7da68bb27c Merge pull request #7595 from bcoca/doc_include_vars_fix
corrected doc example, non existing fact to the 2 it had 'merged'
2014-05-30 09:28:14 -04:00
Marc Pujol
f892cc798c Merge and intersect lists without using sets.
Using sets for these operations is dangerous because sets cannot contain
certain object types (such as lists) and their iteration order is
undefined.

Fixes #7596
2014-05-30 09:07:57 +02:00
Brian Coca
fedc3a4f85 corrected doc example, non existing fact to the 2 it had 'merged' 2014-05-29 22:44:33 -04:00
Sean Whitbeck
796d8db860 Add azure VM provisioning/termination module 2014-05-29 17:29:09 -07:00
Sean Whitbeck
bbfb949bee Add windows azure inventory plugin 2014-05-29 16:38:09 -07:00
James Cammarata
188ab7b952 Check groupnames for None as well as an empty string in add_host
Fixes #7585
2014-05-29 11:01:11 -05:00
Brian Coca
202ac68995 Correctly examine path for relative links in file module
Fixes #7515
Fixes #7537
2014-05-28 11:47:44 -05:00
James Cammarata
bb3426327c Merge branch 'banterchat-fix_mutable_inventory_vars' into devel 2014-05-27 22:11:36 -05:00
James Cammarata
feafc4cd8a Merge branch 'fix_mutable_inventory_vars' of https://github.com/banterchat/ansible into banterchat-fix_mutable_inventory_vars 2014-05-27 22:09:25 -05:00
Isao Jonas
72524e1f3b dont mutate inventory vars 2014-05-27 19:07:58 -05:00
James Cammarata
ba641de69e Merge pull request #7536 from fly/linode-warn-ssl
warn if remote SSL cert is not checked in linode
2014-05-27 16:38:33 -05:00
James Cammarata
061911c9c2 Merge pull request #7558 from dermute/pkg_mgr
added solaris fact detection for ansible_pkg_mgr
2014-05-27 16:23:31 -05:00
James Cammarata
8e111fe82e Cleanup subversion module documentation in regards to export 2014-05-27 16:20:10 -05:00
James Cammarata
e8aebcb751 Merge pull request #7567 from kitwestneat/devel
Fixed documentation for etype parameter on acl module.
2014-05-27 16:13:00 -05:00
James Cammarata
e99df21647 Support checking for su user to atomic_move
Fixes #7553
2014-05-27 16:04:02 -05:00
James Cammarata
f2d05d2e6a Merge pull request #7556 from jturner314/rm-duplicate-toc
Remove duplicate table of contents in Conditionals
2014-05-27 16:03:24 -05:00
James Cammarata
fa86eef9f9 Make sure value in regex_replace is a string
Fixes #7551
2014-05-27 14:30:12 -05:00
James Cammarata
e85c7f848f Make sure export param for subversion module is checked as a boolean
Fixes #7548
2014-05-27 14:09:50 -05:00
James Cammarata
ca734fde8b Merge pull request #7544 from rik2803/patch-2
Differentiate machinfo output key/val separator
2014-05-27 13:53:12 -05:00
James Cammarata
b1d76b37db Merge pull request #7542 from sivel/rax-cdb-notfound
rax_cbs module: Don't fail when the volume is not found
2014-05-27 13:47:32 -05:00
Jon Chen
be7ff82e2d require pycurl for linode module 2014-05-27 14:37:44 -04:00
Michael DeHaan
36b9042a12 Merge pull request #7568 from MorrisA/patch-1
Update test_strategies.rst
2014-05-27 14:29:18 -04:00
James Cammarata
3dc7df39fc Merge pull request #7532 from oasiswork/devel
open_iscsi module: support RC 21 when listing logged-in target
2014-05-27 13:13:48 -05:00
Adam Morris
6c9cb5de87 Update test_strategies.rst
Changed unit tests to unit test for the singular playbook...
2014-05-27 10:54:14 -07:00
Adam Morris
30ac368d5c Update test_strategies.rst
Typo - State should have been stage.
2014-05-27 10:48:18 -07:00
Kit Westneat
fabe8521cb Fixed documentation for etype parameter on acl module.
The etype parameter just had a copy of the default parameter documentation.
Changed it to reflect what it really is for.
2014-05-27 13:34:01 -04:00
James Cammarata
cfd8c685d1 Correct issue of handlers running on all hosts incorrectly
Also adds an integration test to catch this bug in the future.

Fixes #7559
2014-05-27 12:03:08 -05:00
James Cammarata
617e7eaf5b Merge pull request #7563 from tima/fix-testutils-su
Recent BSD su work introduced a failing test. Removed leading space from...
2014-05-27 10:07:12 -05:00
Timothy Appnel
754d635aca Recent BSD su work introduced a failing test. Removed leading space from the assertion that seems to be the culprit. 2014-05-27 10:50:19 -04:00