Brian Coca
70ac47ae61
allow atomic_move to not be atomic ...
...
just 'cause people build bad systems that insist on not allowing
updates in an atomic manner and force us to do them in a very
unsafe way that has race conditions and can lead to many issues.
if using this option you should really be opening a bug report with
the system that only allows for this type of update.
and now i shower though i doubt i'll feel clean
2016-02-04 13:05:24 -05:00
Peter Sprygada
f30d5b1d94
Merge pull request #14012 from privateip/action_nxos_config
...
initial add of action plugin nxos_template
2016-02-04 11:41:41 -05:00
Peter Sprygada
c7180cf1a5
Merge pull request #14011 from privateip/action_ops_config
...
initial add of action plugin ops_template
2016-02-04 11:41:29 -05:00
Peter Sprygada
a48b521e62
Merge pull request #14010 from privateip/action_ios_config
...
initial add of action plugin ios_template
2016-02-04 11:41:08 -05:00
Peter Sprygada
30d03b93b4
Merge pull request #14009 from privateip/action_eos_config
...
initial add of action plugin eos_template
2016-02-04 11:40:21 -05:00
Peter Sprygada
ed3842aa87
Merge pull request #14008 from privateip/action_net_config
...
initial add of action plugin net_template
2016-02-04 11:40:07 -05:00
Brian Coca
6149685652
Merge pull request #14293 from dagwieers/fix-eval-json-booleans
...
Defined JSON booleans in global context for python eval()
2016-02-04 11:33:30 -05:00
Dag Wieers
2e171610e0
Also add 'null' as a possible JSON value
2016-02-04 14:19:46 +01:00
James Cammarata
699a854bf3
Fixing bugs in play iteration and strategies
...
* Fixed a bug in PlayIterator when ITERATING_ALWAYS, where the block
was advanced but the incorrect data structure elements were cleared
* Cleaned up the logic of is_failed() in PlayIterator
* Fixed a bug in the free strategy which had not been updated to use
the base strategy _execute_meta() method
* Stopped strategies from using is_failed() to determine if tasks should
still be fetched for a host
Fixes #14040
2016-02-03 18:42:27 -05:00
James Cammarata
8039ceee0f
Tweak block integration tests to also test the free strategy
2016-02-03 18:42:06 -05:00
James Cammarata
5466510edb
Removing .out file for integration tests and adding to .gitignore
2016-02-03 15:00:37 -05:00
James Cammarata
f4bd3be71f
Adding block integration tests
2016-02-03 15:00:37 -05:00
James Cammarata
f3b691ccaf
Adding .retry files to .gitignore
2016-02-03 14:59:38 -05:00
James Cammarata
da9ae14ff6
Adding new feature - meta: clear_host_errors
...
Allows for the clearing of any failed/unreachable hosts
2016-02-03 14:59:38 -05:00
Brian Coca
c433289a8b
clarified how block applies directives to tasks
...
previous text could be interpreted as the block itself doing the evaluation and skipping
2016-02-03 14:34:08 -05:00
Dag Wieers
dc48d27dd2
Defined JSON booleans in global context for python eval()
...
We define 'false' and 'true' as variables so that python eval() recognizes them as False and True.
This fixes #14291 .
2016-02-03 19:11:55 +01:00
Brian Coca
26cd465068
Merge pull request #14281 from dagwieers/fix-first-found-list
...
Handle when the lookup-plugin is used in jinja-style
2016-02-03 11:13:57 -05:00
Dag Wieers
dee5dba82a
Handle when the lookup-plugin is used in jinja-style
...
This fixes #14190 .
2016-02-03 17:10:40 +01:00
Brian Coca
dc6f0c1290
avoid logging color codes
2016-02-03 10:55:30 -05:00
Brian Coca
4f93b17c54
Merge pull request #14155 from towolf/fix_difflist_return_value
...
Fix handling of difflist containing multiple before/after pairs
2016-02-03 10:36:40 -05:00
Tobias Wolf
c902f926ca
Do not print empty diffs with _display.display()
2016-02-03 16:20:16 +01:00
Tobias Wolf
28169492f9
Do not insert newlines when diff is empty
2016-02-03 16:20:16 +01:00
Tobias Wolf
67594e8ec2
Fix handling of difflist containing multiple before/after pairs
...
Commit ansible/ansible@c337293 introduced a difflist feature. The return
value was not adequately outdented to append any diff after the first.
2016-02-03 16:20:16 +01:00
Peter Sprygada
4bda4a13e5
initial add of action plugin net_template
...
The net_config local action handles templating for network configuration
file. It will also allow network device configurations to be backed up
to the control host
Note: this plugin was originally named net_config but has been refactored to
net_template
2016-02-02 22:27:05 -05:00
Brian Coca
84f8241ff8
tag the setup task with always
...
fixes #14228
2016-02-02 16:31:22 -05:00
Toshio Kuratomi
5cd3f71792
Handle utf-8 in module short desc
2016-02-02 13:00:24 -08:00
Toshio Kuratomi
42e312d3bd
Change $() into backticks. Backticks should work for both POSIX and non-POSIX compatible shells.
...
Fixes #14176
2016-02-02 12:38:21 -08:00
Toshio Kuratomi
147dba5d97
Merge pull request #14277 from ansible/default-shell-type
...
Establish sh as the default shell plugin.
2016-02-02 12:19:00 -08:00
Toshio Kuratomi
5b1d8cfd5c
Establish sh as the default shell plugin.
...
This is a fix for one of the problems pointed out in #14176
2016-02-02 11:46:09 -08:00
Brian Coca
c5b4e194fa
Merge pull request #14251 from bcoca/ansible_pull_once
...
better fix for ansible-pull inventory handling
2016-02-02 14:24:50 -05:00
Brian Coca
8d4bc2003f
better fix for ansible-pull inventory handling
...
now it mirrors what it did in previous versions
and properly uses inventory and limit options
2016-02-02 14:22:15 -05:00
Brian Coca
d436c3c6ab
Merge pull request #14271 from gtaylor/patch-1
...
Fix a note tag in the API docs.
2016-02-02 14:15:16 -05:00
Brian Coca
b08f14531e
Merge pull request #14257 from robinro/integration_test_ansible_pull
...
add integration test for ansible-pull
2016-02-02 14:12:19 -05:00
Matt Davis
200f958873
Merge pull request #14272 from bcoca/executable_connection_dependant
...
make executable setting connection dependent
2016-02-02 10:20:06 -08:00
Brian Coca
197bed6fd8
make executable setting connection dependant
...
winrm shoudl not use executable, rest should?
fixes #14233
2016-02-02 13:13:02 -05:00
Greg Taylor
96e22970ee
Fix a note tag in the API docs.
2016-02-02 09:58:08 -08:00
Brian Coca
0e551e6d46
clarified ansible_shell_type description
2016-02-02 11:00:31 -05:00
James Cammarata
b2c0abe998
Don't mark host as having gathered facts when peeking at next task
...
Fixes #14243
2016-02-02 10:22:52 -05:00
Kamil Szczygiel
fa13aa8c00
rename param from skip_ssl to validate_certs
2016-02-02 15:47:56 +01:00
Brian Coca
6105c8c77c
corrected name of inventory_hostnames lookup plugin
2016-02-02 09:41:21 -05:00
Robin Roth
ed059ffca9
add integration test for ansible-pull
...
* this test includes the behavior described in #13688 and #13681
* it runs a minimal playbook and checks for correct use of inventory and limit
2016-02-02 12:18:04 +01:00
Brian Coca
a584ab3420
Merge pull request #11113 from sysadmin75/11104_osx_facts_bridge
...
Fixes OSX fact gathering for the bridge interface.
2016-02-02 00:46:21 -05:00
Brian Coca
6c73aa7ad6
Merge pull request #14159 from bcoca/options_readable
...
added option groups to make --help readable
2016-02-02 00:08:46 -05:00
Brian Coca
f628704a71
added option groups to make --help readable
...
Also moved -K to become to keep short option in view of removing the
separate sudo/su prompt options
2016-02-02 00:09:14 -05:00
Brian Coca
eafc31f3f8
Merge pull request #14197 from bcoca/safer_data_load
...
load now does not modify the incomming data
2016-02-02 00:02:23 -05:00
Brian Coca
e96101a9ac
Merge pull request #14249 from bcoca/bare_handling
...
Bare handling
2016-02-01 23:56:42 -05:00
Brian Coca
9c4a00ad29
added ec2_dhcp_options module to changelog
2016-02-01 23:54:51 -05:00
Brian Coca
13c011c8fd
added ec2_vol_facts to changelog
2016-02-01 23:48:30 -05:00
Brian Coca
dc15eb806e
deprecate all bare variable conversions (not debug)
...
now deprecation message appears with variable name in all spots where this occurs
debug's var= option is excluded as this is only place where bare variables shold actually
be accepted.
2016-02-01 18:59:14 -05:00
Brian Coca
28cf4bc00b
fix incorrect environment processing
...
it was assumed it could only be a dict or string (it starts out as a list)
also a 2nd assumption that bare vars only would appear in one of the dict keys.
removed deprecation warnings from here as they should be signaled in the bare conversion itself.
2016-02-01 18:54:09 -05:00