Commit graph

7990 commits

Author SHA1 Message Date
René Moser
37d978fa1c Merge pull request #3117 from beamly/fix-ec2-group
Fixes #3109: Executing ec2_group with rules fails with "Inval…
2016-03-17 08:41:54 +01:00
Toshio Kuratomi
1eea1be5c5 Merge pull request #3252 from h-imaoka/yum-lang-fix
One more bug yum non English locales
2016-03-16 18:19:55 -07:00
Toshio Kuratomi
f486ee217c Merge pull request #3263 from tlipatov/ec2_ami_json_fail
Fixed typo json_fail to fail_json
2016-03-16 17:33:52 -07:00
Toshio Kuratomi
345d9cbca8 Fix documentation. 2016-03-16 10:50:31 -07:00
Taras Lipatov
5299279b0b Fixed typo json_fail to fail_json 2016-03-16 11:06:22 -04:00
Brian Coca
a98cd86f88 Merge pull request #3245 from defionscode/iam_doc
Clarified IAM module doc
2016-03-15 09:19:39 -07:00
toshihisa
530643a216 One more bug yum non English locales
d7fac82f97
2016-03-16 00:55:50 +09:00
Toshio Kuratomi
a8841e6834 Merge pull request #3247 from ansible/facts-subset-and-cleanup
Facts subset and cleanup
2016-03-15 07:17:52 -07:00
Jonathan Davila
9c286f35be Clarified IAM module doc 2016-03-15 10:15:41 -04:00
Toshio Kuratomi
7f6810d6bf Remove the ignore_ohai and ignore_facter parameters as the functionality was merged into gather_subset 2016-03-14 15:05:20 -07:00
Yannig Perré
4c14108b7e Use list type in order to convert directly gather_subset option into list. 2016-03-14 09:31:18 -07:00
Yannig Perré
baf8109dcc Add a way to restrict gathered facts in Ansible:
- Using gather_subset options
- By ignoring ohai/chef or facter/puppet facts
2016-03-14 09:31:18 -07:00
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
2016-03-13 16:27:21 -07:00
Peter Sprygada
f46ebf2c30 Merge pull request #3141 from privateip/module_ops_command
initial add of ops_command module
2016-03-11 23:11:43 -05:00
Peter Sprygada
154fc16b0e Merge pull request #3142 from privateip/module_ops_config
initial add of ops_config module
2016-03-11 22:58:32 -05:00
Peter Sprygada
c0de719539 Merge pull request #3222 from jrk07/patch-1
Merged thanks @jrk07
2016-03-11 22:29:11 -05:00
Peter Sprygada
d4e687f894 doc string fixes for eos_config
This updates eos_config with some fixes to the documentation string
2016-03-11 22:11:20 -05:00
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
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.
2016-03-10 12:54:41 -08: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
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