Brian Coca
94e66cb108
fixes to assemble
...
now uses atomic move to avoid data corruption
correclty cleans up temp files in every case
returns backup_file info if needed
validate validate before temp file gets created
backup AFTER validate
2016-03-08 10:38:23 -05:00
Matt Martz
d112599fd5
Set version_added to 2.1 for autoremove. Fixes #3200
2016-03-08 07:31:22 -06:00
Matt Davis
7d2fd4e944
Merge pull request #2926 from mattclay/apt-unsafe
...
Split shell command to avoid use_unsafe_shell.
2016-03-08 04:56:51 +00:00
Dag Wieers
7cd47eb73a
Ensure that a download failure is properly raised before the read fails
...
Without this change, a download failure may bail out with the message:
"Failure downloading http://foo/bar , 'NoneType' object has no attribute 'read'"
whereas with this fix, you'd get a proper error like:
"Failure downloading http://foo/bar , Request failed: <urlopen error [Errno 113] No route to host>"
or one of the many other possible download errors that can occur.
2016-03-08 01:19:23 +01:00
Matt Martz
45745424f7
pip module should call exit_json for absent as well (indentation error)
2016-03-07 16:11:01 -06:00
Matt Martz
3c59eedb9b
Don't pass follow_redirects to fetch_url, use module.params instead
2016-03-07 15:34:22 -06:00
Brian Coca
22caa104e4
Merge pull request #3187 from TerryHowe/openstack
...
Fix openstack module documentation
2016-03-07 10:48:09 -05:00
Brian Coca
6a48f2207a
corrected typo on aws connection arguments var
2016-03-07 10:39:24 -05:00
Peter Sprygada
b7d7bfa0b1
initial add of ops_config module
...
This commit adds a new module, ops_config, that allows playbook designers
to create tasks for configuring OpenSwitch over the CLI. The module
is designed to work directly with configuration mode in OpenSwitch and
therefore only supports the CLI transport option
2016-03-07 06:43:14 -05:00
Brian Coca
c998730152
Merge pull request #3184 from towolf/add_diff_to_apt_repository
...
Add diff support to apt_repository module
2016-03-04 18:06:32 -05:00
Toshio Kuratomi
1c4da434c7
Merge pull request #2421 from willthames/ec2_fix_vpc_security_token
...
Use connect_to_aws where possible
2016-03-04 11:06:22 -08:00
Matt Davis
ad2b9b342d
Merge pull request #1876 from davidobrien1985/devel
...
Custom Windows Facts
2016-03-04 17:31:24 +00:00
Terry Howe
447d1e4b7c
Fix openstack module documentation
2016-03-04 09:32:40 -07:00
Tobias Wolf
c5be97ca5c
Add diff support to apt_repository module
...
The returned list of diffs aims to simulate how a file system diff would
look before and after writing the sources list files.
![screenshot](http://i.imgur.com/dH6QXtY.png )
n.b. Ternary conditional is due to failing integration test for
python 2.4
2016-03-04 12:37:28 +01:00
Brian Coca
e4c4f02472
Merge pull request #3074 from stefano-m/devel
...
Make 'executable' and 'virtualenv' mutually exclusive
2016-03-03 18:36:52 -05:00
Brian Coca
79564c5aa7
Merge pull request #3054 from atplanet/route53-soa-record-type
...
Bugfix: Permit SOA record type
2016-03-03 18:34:30 -05:00
Brian Coca
2a03fc2b99
Merge pull request #2997 from callipeo/issue/2996
...
Add support for both keyserver and keyring in apt_key
2016-03-03 18:34:03 -05:00
Brian Coca
55932201a9
Merge pull request #2931 from ryannealmes/ec2-vpc-subnet-fix
...
ec2_vpc creating/updating incorrect subnets
2016-03-03 18:33:29 -05:00
David Hocky
5fb334e84b
add explicit type for scheduler hints
2016-03-03 14:15:04 -05:00
Brian Coca
0c7af0d807
Merge pull request #3179 from Constantin07/update_ec2_ami_find
...
ec2_ami_find.py - Treat 'is_public' option as a bool
2016-03-03 09:56:18 -05:00
Constantin07
86a4026f48
Treat 'is_public' option as a bool
2016-03-03 10:31:30 +00:00
Brian Coca
212b1d2044
Merge pull request #3176 from mylokin/3175-docker_image_path
...
docker_image path param doesn't support home directory #3175
2016-03-02 18:38:44 -05:00
Andrey Gubarev
45b3066c81
update docker_image's path param type to 'path'. Fixes #3175
2016-03-03 02:27:39 +03:00
Matt Martz
305caac35d
Merge pull request #1237 from vmihailenco/fix/cdn-cors-headers
...
rackspace: set headers when uploading files to CF.
2016-03-02 16:45:10 -06:00
Matt Martz
9ccb9af72e
Merge pull request #1126 from bobgroves/devel
...
Adds overwrite option to rax_dns_record
2016-03-02 16:44:36 -06:00
Kenny Gryp
d68c6c3de0
added sql_log_bin setting to disable binary logging as option
2016-03-02 14:38:00 -05:00
David Hocky
cda0ec85b4
port 'scheduler_hints' feature from nova_compute to os_server module
2016-03-02 12:55:20 -05:00
Brian Coca
3a6df7fb20
Merge pull request #3169 from moyashiki/patch-1
...
Fix "ios_command" doc example
2016-03-02 08:49:18 -05:00
moyashiki
e851e91b49
Fix ios_command fix
...
This is not valid YAML commands. So fix it.
2016-03-02 22:13:03 +09:00
Joao Carreira
a7c3c82162
added support for sles 10 & 11
2016-03-02 12:33:15 +00:00
Matt Martz
5692c20770
Merge pull request #3165 from Kahn/fix-junos-booleans
...
Fixed BOOLEANS rendering in docsite
2016-03-01 16:19:20 -06:00
Sam Wilson
23b98dae3e
Fixed BOOLEANS rendering in docsite
2016-03-02 08:38:35 +11:00
Christian Aistleitner
ffeff8053b
Guard against too old boto library
...
route53 creates Record objects using `health check` and `failover`
parameters. Those parameters only became available in boto 2.28.0.
As some prominent LTS Linux releases (e.g.: Ubuntu 14.04) only ship
older boto versions (e.g.: 2.20.1 for Ubuntu 14.04), users are getting
unhelpful error messages like
TypeError: __init__() got an unexpected keyword argument 'health_check'
when running Ansible 2 against their LTS install's default boto.
We improve upon this error message by checking the boto version
beforehand.
Fixes ansible/ansible#13646
2016-03-01 18:55:58 +01:00
Brian Coca
04cde60d14
Merge pull request #2665 from Timalkemade/devel
...
Change the GCE module to only fetch image names when necessary
2016-03-01 08:47:20 -05:00
Tim Alkemade
c0734fde79
GCE module does not fetch disk images if not necessary
2016-03-01 08:17:52 +01:00
Brian Coca
5129ef5590
Merge pull request #2993 from berlic/devel
...
Fix docker container restart
2016-03-01 00:01:12 -05:00
Brian Coca
76669fa16c
Merge pull request #2992 from dusdanig/devel
...
Adds ulimit to the docker module
2016-03-01 00:00:57 -05:00
Brian Coca
e50a674190
Merge pull request #2977 from scottbrown/bugfix-missing-interpolation-var
...
BUGFIX: Fixing missing interpolation variable
2016-03-01 00:00:33 -05:00
Brian Coca
b9020155ee
Merge pull request #2939 from Shrews/os_server
...
Fix for os_server module when specifying region
2016-02-29 23:58:24 -05:00
Brian Coca
7a2cb3ad24
Merge pull request #2822 from slimandslam/patch-3
...
Make it clear that the dest path delimiters must be escaped
2016-02-29 23:53:31 -05:00
Brian Coca
e9130cd4d1
Merge pull request #2766 from joelthompson/feature/pip_umask
...
Add umask option to pip module
2016-02-29 23:53:04 -05:00
Brian Coca
8baecece22
corrected version added
2016-02-29 23:47:37 -05:00
Brian Coca
f0f8d27bff
Merge pull request #2010 from lberruti/global_user_crontab_env_variables_rebase
...
cron module: add enviroment variables management
2016-02-29 23:39:55 -05:00
Brian Coca
0bbb7ba38d
Merge pull request #3135 from mscherer/improve_uri_doc
...
Fix non RFC 2606 domain name in doc
2016-02-29 17:52:35 -05:00
Brian Coca
e2434a38d8
Merge pull request #3146 from sivel/win-stat-get-checksum
...
Add get_checksum option to win_stat to work with new use of the stat module for checksumming
2016-02-29 15:34:10 -05:00
Matt Martz
7823455516
Add get_checksum option to win_stat to work with new use of the stat module for checksumming
2016-02-29 14:14:01 -06:00
Peter Sprygada
1de18ca36b
initial add of ops_command module
...
This commit adds a new module, ops_command, that handles executing commands
on OpenSwitch over the CLI. Since this module is designed to work with the
OpenSwitch CLI, it only supports the CLI transport option
2016-02-29 11:15:29 -05:00
Toshio Kuratomi
7088f72742
At least for now, set body to raw as it can be either a dict or jsonified-str
...
Since our validation does conversion as well as validation, I'm not sure
this is entirely correct. May need to take a look at our conversion
code and re-examine to be sure we're doing it right.
2016-02-29 07:20:39 -08:00
Toshio Kuratomi
3853d2a9a6
Change parameter to type=path
...
Read as binary for python3 preparedness
2016-02-29 00:38:10 -08:00
Toshio Kuratomi
2920658776
Change one param to be of type path
2016-02-29 00:33:34 -08:00