Commit graph

7969 commits

Author SHA1 Message Date
Peter Sprygada
416dd73b09 bugfix in eos_template for backing up config
eos_template would connect to the remote device to get the running config
for backup even if backup is not needed.
2016-03-11 22:11:12 -05:00
Peter Sprygada
cf3287b312 minor function clean ups in eos_command
This commit cleans up a couple of functions and removes the json
import to use the json methods from AnsibleModule
2016-03-11 22:10:59 -05:00
Brian Coca
7461feb737 Merge pull request #934 from jbgo/git-depth-switch-version
git: set remote branch before switching versions when using depth arg
2016-03-11 10:37:12 -05:00
Peter Sprygada
e3ca92e97d bugfix for ios_config module
This commit address a bug in the ios_config module when using the
match: strict argument.  When the argument is used, the module will
compare the configuration block same as match: exact which is not the
intended behavior.  This commit updates the behavior to propertly handle
the strict argument.
2016-03-10 13:34:04 -05:00
Peter Sprygada
11056c8ed2 bugfix for handling match=strict in eos_config
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
2016-03-10 13:33:48 -05:00
Peter Sprygada
e9ab4d688d bugfix for handling match=strict in iosxr_config
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
2016-03-10 13:33:41 -05:00
Peter Sprygada
a7f67921fd bugfix for handling match=strict in nxos_config
Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
2016-03-10 13:33:33 -05:00
Peter Sprygada
c17a2c0206 Merge pull request #3138 from privateip/module_ops_template
refactor arguments in ops_template
2016-03-09 22:15:53 -05:00
Matt Davis
4f5d02f08f Merge pull request #2463 from nitzmahone/async_status_error_masking
mark failed async_status as finished
2016-03-09 22:51:28 +00:00
Brian Coca
c86a0ef84a fixed exit json 2016-03-09 15:42:30 -05:00
Matt Martz
c1398d98ed Merge pull request #3215 from sivel/sync-docs
Fix synchronize docs to indicate the correct default for use_ssh_args
2016-03-09 11:16:04 -06:00
Matt Martz
07f29ecd7f Fix synchronize docs to indicate the correct default for use_ssh_args 2016-03-09 11:12:21 -06:00
Matt Davis
effb355952 Merge pull request #2842 from kanwei/patch-1
Add new Dv2 Azure instances
2016-03-09 17:09:40 +00:00
Brian Coca
84501dbe13 docs updates and fixes
fixes http://github.com/ansible/ansible/issues/14876
2016-03-09 10:06:44 -05:00
Matt Martz
1a2a8e152f Merge pull request #3208 from schlueter/fix/add-missing-quote-in-docker-documentation
Add missing quote in docker documentation
2016-03-08 21:09:48 -06:00
Schlueter
0028f58ab6 Add missing quote in docker documentation 2016-03-08 21:32:38 -05:00
Toshio Kuratomi
80543ee6f8 Merge pull request #3197 from dagwieers/unarchive-download-error-fix
unarchive: Ensure that download failure is properly raised before read fails
2016-03-08 12:23:53 -08:00
Brian Coca
97f3cc4279 Merge pull request #3202 from bcoca/assemble_fixes
fixes to assemble
2016-03-08 12:45:35 -05:00
Brian Coca
ad47bb91f1 Merge pull request #3132 from curious-eyes/fix-2761-gce-UnboundLocalError
Fix #2761: gce.py - UnboundLocalError: local variable 'md'
2016-03-08 12:45:09 -05:00
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
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
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
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
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
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