Commit Graph

7977 Commits (eef9c54874bda4846f3c2e8ef479b34c0f02e82e)
 

Author SHA1 Message Date
Peter Sprygada eef9c54874 update to nxos_command with additional exception handling
This update adds exception handling to catch errors when trying to parse
command output to json.  It also removes the dependency on importing json
opting to use the AnsibleModule methods instead
9 years ago
Peter Sprygada f46ebf2c30 Merge pull request #3141 from privateip/module_ops_command
initial add of ops_command module
9 years ago
Peter Sprygada 154fc16b0e Merge pull request #3142 from privateip/module_ops_config
initial add of ops_config module
9 years ago
Peter Sprygada c0de719539 Merge pull request #3222 from jrk07/patch-1
Merged thanks @jrk07
9 years ago
Peter Sprygada d4e687f894 doc string fixes for eos_config
This updates eos_config with some fixes to the documentation string
9 years ago
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.
9 years ago
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
9 years ago
Brian Coca 7461feb737 Merge pull request #934 from jbgo/git-depth-switch-version
git: set remote branch before switching versions when using depth arg
9 years ago
jrk07 3cc277bc08 Doc Update: ios_template.py title and example
ios_template.py was named ios_config when viewing docs.  The examples also had net_config still.  Updated those here.
9 years ago
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.
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Peter Sprygada c17a2c0206 Merge pull request #3138 from privateip/module_ops_template
refactor arguments in ops_template
9 years ago
Matt Davis 4f5d02f08f Merge pull request #2463 from nitzmahone/async_status_error_masking
mark failed async_status as finished
9 years ago
Brian Coca c86a0ef84a fixed exit json 9 years ago
Matt Martz c1398d98ed Merge pull request #3215 from sivel/sync-docs
Fix synchronize docs to indicate the correct default for use_ssh_args
9 years ago
Matt Martz 07f29ecd7f Fix synchronize docs to indicate the correct default for use_ssh_args 9 years ago
Matt Davis effb355952 Merge pull request #2842 from kanwei/patch-1
Add new Dv2 Azure instances
9 years ago
Brian Coca 84501dbe13 docs updates and fixes
fixes http://github.com/ansible/ansible/issues/14876
9 years ago
Matt Martz 1a2a8e152f Merge pull request #3208 from schlueter/fix/add-missing-quote-in-docker-documentation
Add missing quote in docker documentation
9 years ago
Schlueter 0028f58ab6 Add missing quote in docker documentation 9 years ago
Toshio Kuratomi 80543ee6f8 Merge pull request #3197 from dagwieers/unarchive-download-error-fix
unarchive: Ensure that download failure is properly raised before read fails
9 years ago
Brian Coca 97f3cc4279 Merge pull request #3202 from bcoca/assemble_fixes
fixes to assemble
9 years ago
Brian Coca ad47bb91f1 Merge pull request #3132 from curious-eyes/fix-2761-gce-UnboundLocalError
Fix #2761: gce.py - UnboundLocalError: local variable 'md'
9 years ago
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
9 years ago
Matt Martz d112599fd5 Set version_added to 2.1 for autoremove. Fixes #3200 9 years ago
Matt Davis 7d2fd4e944 Merge pull request #2926 from mattclay/apt-unsafe
Split shell command to avoid use_unsafe_shell.
9 years ago
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.
9 years ago
Matt Martz 45745424f7 pip module should call exit_json for absent as well (indentation error) 9 years ago
Matt Martz 3c59eedb9b Don't pass follow_redirects to fetch_url, use module.params instead 9 years ago
Brian Coca 22caa104e4 Merge pull request #3187 from TerryHowe/openstack
Fix openstack module documentation
9 years ago
Brian Coca 6a48f2207a corrected typo on aws connection arguments var 9 years ago
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
9 years ago
Brian Coca c998730152 Merge pull request #3184 from towolf/add_diff_to_apt_repository
Add diff support to apt_repository module
9 years ago
Toshio Kuratomi 1c4da434c7 Merge pull request #2421 from willthames/ec2_fix_vpc_security_token
Use connect_to_aws where possible
9 years ago
Matt Davis ad2b9b342d Merge pull request #1876 from davidobrien1985/devel
Custom Windows Facts
9 years ago
Terry Howe 447d1e4b7c Fix openstack module documentation 9 years ago
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
9 years ago
Brian Coca e4c4f02472 Merge pull request #3074 from stefano-m/devel
Make 'executable' and 'virtualenv' mutually exclusive
9 years ago
Brian Coca 79564c5aa7 Merge pull request #3054 from atplanet/route53-soa-record-type
Bugfix: Permit SOA record type
9 years ago
Brian Coca 2a03fc2b99 Merge pull request #2997 from callipeo/issue/2996
Add support for both keyserver and keyring in apt_key
9 years ago
Brian Coca 55932201a9 Merge pull request #2931 from ryannealmes/ec2-vpc-subnet-fix
ec2_vpc creating/updating incorrect subnets
9 years ago
Brian Coca 0c7af0d807 Merge pull request #3179 from Constantin07/update_ec2_ami_find
ec2_ami_find.py - Treat 'is_public' option as a bool
9 years ago
Constantin07 86a4026f48 Treat 'is_public' option as a bool 9 years ago
Brian Coca 212b1d2044 Merge pull request #3176 from mylokin/3175-docker_image_path
docker_image path param doesn't support home directory #3175
9 years ago
Andrey Gubarev 45b3066c81 update docker_image's path param type to 'path'. Fixes #3175 9 years ago
Matt Martz 305caac35d Merge pull request #1237 from vmihailenco/fix/cdn-cors-headers
rackspace: set headers when uploading files to CF.
9 years ago
Matt Martz 9ccb9af72e Merge pull request #1126 from bobgroves/devel
Adds overwrite option to rax_dns_record
9 years ago
Brian Coca 3a6df7fb20 Merge pull request #3169 from moyashiki/patch-1
Fix "ios_command" doc example
9 years ago