Commit graph

12738 commits

Author SHA1 Message Date
James Cammarata
fd67a20787 Fixed "until" loop support, and cleaned up the async_wrapper/polling a bit 2015-01-07 11:44:52 -06:00
James Cammarata
065733ad93 Moving more action plugins over and fixing some bugs with role loading 2015-01-07 10:48:33 -06:00
James Cammarata
7f7e9914aa Changing tag evaluation method to match when conditional method 2014-12-29 23:30:37 -06:00
James Cammarata
62d79568be Creating playbook executor and dependent classes 2014-12-29 10:46:47 -06:00
Toshio Kuratomi
b6c3670f8a Mark some inventory methods that I'm thinking should go away (and their
replacements)
2014-12-09 13:52:47 -06:00
Toshio Kuratomi
b4dfcc2d28 Start laying out how the pieces of code that parse inventory information into ansible will work 2014-12-09 13:52:42 -06:00
Toshio Kuratomi
bdf42104cd Add some more comments from jimi-c and mpdehaan 2014-12-09 13:52:39 -06:00
Toshio Kuratomi
74f48ed79d Inventory with docstrings and notes on how to change 2014-12-09 13:52:35 -06:00
Toshio Kuratomi
fa51e8f36d Document the --offline parameter to galaxy init
Fixes #9758
2014-12-09 10:50:10 -08:00
Toshio Kuratomi
12e1884352 Merge pull request #9755 from armetiz/docs_format
Add missing connection and header
2014-12-09 09:54:41 -08:00
Toshio Kuratomi
ff970eabd8 Add role vars to differentiate with role defaults 2014-12-09 09:51:51 -08:00
Toshio Kuratomi
5a9e4408df Merge pull request #9751 from lorin/doc-async
Docfix: checking a background task
2014-12-09 09:23:43 -08:00
Toshio Kuratomi
c16b83af14 Updat ecore to pull in new git module fixes 2014-12-09 09:09:29 -08:00
Toshio Kuratomi
35cfeefdc1 Update core modules 2014-12-09 08:03:07 -08:00
Toshio Kuratomi
55cb55d67a Update the extras submodules to latest 2014-12-09 08:01:31 -08:00
Thomas Tourlourat
050a2dc919 Add missing connection and header 2014-12-09 14:28:57 +01:00
Lorin Hochstein
c4d5e9195b Docfix: checking a background task
Minor changes to wording on how to check a background task with async_status.

Fixes #9740
2014-12-08 21:52:03 -05:00
Brian Coca
c725aa5e47 updated submodule refs 2014-12-08 17:28:30 -05:00
Michael DeHaan
5890876d72 Merge pull request #9737 from lorin/doc-nopoll
Docfix: running background tasks without polling
2014-12-08 14:04:19 -08:00
Michael DeHaan
d4da58e102 Merge pull request #9720 from vlajos/typofixes-vlajos-20141204
typofixes - https://github.com/vlajos/misspell_fixer
2014-12-08 14:00:52 -08:00
Toshio Kuratomi
8d6ea38ee0 Disable automatic running of test_delegate_to with an explanation of what it would take to set this up in our automated test systems 2014-12-08 13:39:01 -08:00
Toshio Kuratomi
3a5aec9743 file does not exist is not an error when checksumming for the template modules 2014-12-08 13:08:26 -08:00
Toshio Kuratomi
f2d2f425ae Fix comment 2014-12-08 13:07:34 -08:00
Toshio Kuratomi
3269a349f3 Fix remote_checksum with delegate_to and add tests for several ways that delegate_to works 2014-12-08 12:44:44 -08:00
Toshio Kuratomi
2a288141d3 Fix template module to fail if remote checksumming failed 2014-12-08 10:55:04 -08:00
Lorin Hochstein
e86259cdf3 Docfix: running background tasks without polling
Fix the example in the doc to explicitly set the poll interval to zero so the
job doesn't poll.

To run a background task without polling, you need to set the poll interval to
zero. However, Ansible's default poll setting is 15 seconds, so not specifying the poll
interval will cause a background job to poll.
2014-12-06 21:24:50 -05:00
Toshio Kuratomi
b042fcc349 Fix for delegate_to with hosts that aren't in inventory 2014-12-05 12:35:43 -08:00
Veres Lajos
bf5d8ee678 typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 22:23:35 +00:00
Toshio Kuratomi
3b80f63e22 Have known_hosts function use the url parameter instead of getting a specific attribute out of the module dict.
This makes the function useful in more places
2014-12-04 11:39:35 -08:00
Toshio Kuratomi
57c77691ec Add a check that tilde expansion with copy works 2014-12-04 11:35:03 -08:00
Toshio Kuratomi
1eb3124999 Make test for skipping agree with the way current output formats a skip 2014-12-04 10:53:48 -08:00
Toshio Kuratomi
77be7cdca8 Merge pull request #9717 from bcoca/fix_integration_test_with_conditionals
fixed integration test as with_items
2014-12-04 09:46:37 -08:00
Brian Coca
446cba6509 fixed integration test as with_items always returns a list, even if
empty
2014-12-04 12:30:18 -05:00
Brian Coca
703e6cbe75 Merge pull request #9715 from bcoca/listify_revert_errorhandling
Listify revert errorhandling
2014-12-04 11:01:19 -05:00
Brian Coca
97408fe5b2 Revert "Make listify respect the global setting for undefined variables."
This 'mostly' reverts commit 2769098fe7.

Conflicts:
	lib/ansible/utils/__init__.py
	test/units/TestUtils.py
2014-12-04 09:14:53 -05:00
Brian Coca
e938f554b7 better exception handling for unexpected exceptions 2014-12-04 08:01:38 -05:00
Toshio Kuratomi
ae17b993d9 Update modules to allow USAGE as a valid grant option for postgres 2014-12-03 14:43:46 -08:00
Toshio Kuratomi
a2b2e54992 Fix checksum code to work with delegate_to/local_action
Fixes #9704
2014-12-03 14:43:03 -08:00
Toshio Kuratomi
0c65aa287c Merge pull request #9707 from jimktrains/issue-9704-take2
Issue-9704 Better handling of missing python
2014-12-03 14:37:54 -08:00
James Keener
4dfd86d847 Issue-9704 Better handling of missing python
When they python interpreter is set incorrectly for the machine the file
is being checked for (e.g. for the local or the remote), the error
manifests as a readability or directory missing error which can be very
misleading.
2014-12-03 17:15:00 -05:00
Brian Coca
8a04cb6084 Merge pull request #9086 from mscherer/refactor_doc_script
Remove unused if/else clause, since it doesn't change anything
2014-12-03 16:35:07 -05:00
Toshio Kuratomi
1ec8b6e3c5 Have remote_expanduser honor sudo and su users.
Fixes #9663
2014-12-03 10:46:56 -08:00
James Cammarata
f1386bb114 Use more variable sources when templating the play ds
Fixes #9699
2014-12-03 12:44:32 -06:00
Toshio Kuratomi
eeec4f73e7 Pull in doc fixes for modules 2014-12-03 08:18:39 -08:00
Toshio Kuratomi
00c0d7ce31 Ubuntu still having problems initializing the postgres db 2014-12-03 07:37:51 -08:00
Toshio Kuratomi
05435f380b Update to newer core and extras modules 2014-12-03 07:17:43 -08:00
Brian Coca
a060128162 Merge pull request #9697 from quixoten/allow_gitkeep
Allow .gitkeep in the jsonfile fact cache dir
2014-12-03 07:48:30 -05:00
Devin Christensen
8130ed8de0 Allow .gitkeep in the jsonfile fact cache dir 2014-12-02 22:34:58 -07:00
Chris Church
2bf269568b Merge pull request #9688 from cchurch/fix_win_fetch
Fixes for fetch module when connecting to Windows hosts
2014-12-02 15:15:06 -05:00
Toshio Kuratomi
2b11c2b845 Merge pull request #9691 from nousdefions/devel
changed time.py to timetest.py to avoid keyword usage
2014-12-02 11:48:35 -08:00