Commit graph

7959 commits

Author SHA1 Message Date
Brian Coca
3d4b5d165c avoid chmod in check mode 2016-02-09 21:49:07 -05:00
Peter Sprygada
e6460906fd update eos_config doc string and return values
This change update the return values from eos_config to be consistent with
all network config modules.  This will now return updates and responses
from the module
2016-02-09 15:10:05 -05:00
Peter Sprygada
d66a0cbe3f update eos_template doc string and return values
This updates the return values form eos_template to be consistent
across all template modules.  This change now returns updates and
respones
2016-02-09 15:07:55 -05:00
Peter Sprygada
624d1e38b8 update eos_command doc strings and return values
This change updates the returns values from eos_command to be consistent
with network modules. It now returns stdout, stdout_lines and failed_conditionals
2016-02-09 15:07:06 -05:00
Peter Sprygada
d8615683e5 update nxos_config doc strings and return values
This commit unifys the return values for the nxos_config module to always
return updates and responses
2016-02-09 14:59:23 -05:00
Peter Sprygada
ef89e0eee6 update nxos_template doc strings and return values
This updates the nxos_template doc string to unify the return values
across all network modules.  This change now returns stdout, stdout_lines
and failed_conditionals
2016-02-09 14:58:31 -05:00
Peter Sprygada
c566cb3277 update nxos_command doc strings and return values
This modifies the return values to make them consistent across all
network command modules.  The module now returns stdout, stdout_lines
and failed_conditionals
2016-02-09 14:57:31 -05:00
Peter Sprygada
e010a7b240 update ios_template doc strings and return values
Sets the return values from ios_template to be consistent with the rest
of the network modules.  Return values are now updates and responses
2016-02-09 14:38:42 -05:00
Peter Sprygada
ca2ae67794 update ios_config doc strings and return values
This changes the return values to be consistent across all network
config modules. The return values are now updates and responses
2016-02-09 14:37:16 -05:00
callipeo
27df98b6fb Add support for both keyserver and keyring in apt_key
Fixes Issue #2996
2016-02-09 19:51:16 +01:00
James Cammarata
9fc4ed0458 Merge pull request #2994 from emonty/issue/2920
Add user_data alias for userdata in os_server
2016-02-09 13:19:10 -05:00
Brian Coca
37952e866a Merge pull request #2995 from bcoca/user_checkmode_fixes
revamped checkmode support in user module
2016-02-09 12:32:37 -05:00
Brian Coca
4e49df7b88 revamped checkmode support in user module
- defaulted to commands not executing in checkmode
- added force run for info gathering (for setting changed)
- added debug for what would have been run in check mode
- added check mode for spots that made changes using system calls instead of command
- removed now redundant checkmode checks

better failure now, if i missed anything, it will misreport changed value
instead of old default of actually making the change in checkmode
2016-02-09 10:45:42 -05:00
Monty Taylor
5f925d061b Add user_data alias for userdata in os_server
The old nova_compute module called the parameter user_data - having an
alias to the old name is friendly.

Fixes Issue #2920
2016-02-09 07:51:08 -06:00
James Cammarata
b175b11a63 Merge pull request #2954 from mattclay/user-check-mode-aix
Make modify_user_usermod honor check mode on AIX.
2016-02-09 08:04:55 -05:00
Konstantin Suvorov
d9f13a0bbc Fix docker container restart
restart_containers(containers.running) may try to restart containers
that are deleted when looping through get_differing_containers()
fix this by refreshing list after first loop
2016-02-09 15:34:30 +03:00
Brian Coca
00345d4975 Merge pull request #2990 from jjshoe/patch-1
Less engrish
2016-02-08 20:10:58 -05:00
jjshoe
b0cbae51b5 Less engrish 2016-02-08 19:03:35 -06:00
Brian Coca
390ec8c37c Merge pull request #2985 from MichaelBaydoun/ec2ModuleDocFix
Ec2 module doc fix
2016-02-08 19:48:48 -05:00
Michael Baydoun
98c16a4f1f Update ec2.py
Documentation is not clear that tag used in count_tags must be an existing instance_tag
2016-02-08 19:14:19 -05:00
Brian Coca
c68a790369 corrected description key spelling 2016-02-08 13:33:33 -05:00
James Cammarata
b804edfbe3 Merge pull request #2852 from awasilyev/check_tag
docker: fix failing in case of empty image tag
2016-02-08 12:44:24 -05:00
Peter Sprygada
08fd378479 Merge pull request #2909 from chouseknecht/eos_api_module
Eos api module
2016-02-08 07:13:41 -05:00
Peter Sprygada
7681bacfae Merge pull request #2919 from chouseknecht/nxos_nxapi_module
Nxos nxapi module
2016-02-08 07:13:06 -05:00
James Cammarata
e2f8ed1609 Merge pull request #2735 from noqcks/no-default-sec-groups
Elasticache Module: changing default cache_security_group to none
2016-02-07 21:43:35 -05:00
Toshio Kuratomi
009389bbb2 Merge pull request #2981 from ansible/apt-locale-fix
use new method of setting locale and other environment variables
2016-02-07 14:22:40 -08:00
Toshio Kuratomi
1df8ebf0c3 use new method of setting locale and other environment variables
The old method left settings in the environment.  The new method takes
care of clearing them after use.  In this module, the old method was
also setting the environment too late to affect all the command line
tools which lead to a bug.

Fixes https://github.com/ansible/ansible/issues/14264
2016-02-07 14:17:36 -08:00
Toshio Kuratomi
2e46c086ae Since we screenscrape output from git to tell us information we need to use the C locale when running commands.
Using another locale would mean that we get information that may have
the strings that we are looking for.

Fixes #2449
Fixes #2462
2016-02-07 12:48:41 -08:00
James Cammarata
4089f4af30 Fixing user_data version_added
Fixes #2634
2016-02-07 15:27:27 -05:00
chouseknecht
4e614d36bc Adding eos_eapi module. 2016-02-07 12:01:26 -05:00
chouseknecht
f5a92e3565 Adding nxos_nxapi module. 2016-02-07 11:37:03 -05:00
Peter Sprygada
6c486cd341 bug fix for eos_config module
This addresses a bug in the eos_config module that would prevent it
from running properly.  The module should now properly process the config
and the candidate
2016-02-06 09:09:29 -05:00
Peter Sprygada
23f1d20a5c initial add of ios_template module
This adds a new module for working with IOS devices and building configurations
using templates.
2016-02-06 08:19:01 -05:00
Peter Sprygada
d05ceb9e28 initial add of ios_config module
This adds a new module ios_config that can be used for configuring
IOS devices.
2016-02-06 08:16:32 -05:00
Peter Sprygada
d64ae18307 bug fix on parameter in eos_config
The eos_config module has a bug where its trying to pass an argument
that doesn't exist.  This fixes that problem, removing the offending
keywork argment
2016-02-06 07:37:46 -05:00
Peter Sprygada
0df3a0e501 Merge pull request #2941 from privateip/module_eos_template
initial add of new module eos_template
2016-02-06 07:02:14 -05:00
Peter Sprygada
9ee5dc12b6 Merge pull request #2872 from privateip/module_eos_command
initial add of eos_command module
2016-02-06 07:01:51 -05:00
Peter Sprygada
6702496781 Merge pull request #2862 from privateip/module_eos_config
initial add of eos_config module
2016-02-06 07:01:24 -05:00
Peter Sprygada
b7c2878136 initial add of eos_config module
This adds a new module for pushing configuraitons to eos devices in a
reliable and repeatable fashion.  It includes support for templating
configurations and backing up the current config prior to pushing out
changes.  This module works over either CLI or EAPI.

This PR has a dependency on ansible/ansible PR #14009 being merged
2016-02-06 06:55:27 -05:00
Peter Sprygada
fca78058db fixup docstring in nxos_config module 2016-02-06 06:35:01 -05:00
Peter Sprygada
82a051d150 Merge pull request #2897 from privateip/module_nxos_command
initial add of new module nxos_command
2016-02-06 06:29:26 -05:00
Peter Sprygada
6cddd47e67 Merge pull request #2942 from privateip/module_nxos_template
initial add of nxos_template module
2016-02-06 06:28:53 -05:00
Peter Sprygada
5606dec038 Merge pull request #2857 from privateip/module_nxos_config
initial add of new nxos_config module
2016-02-06 06:27:34 -05:00
Scott Brown
2f329f832e Fixing missing interpolation variable 2016-02-05 14:35:50 -08:00
Toshio Kuratomi
2ec9f67282 Merge pull request #2975 from ansible/vsphere-validate-older-pythons
Make validate_certs for vsphere_guest work with older python2
2016-02-05 13:26:32 -08:00
Toshio Kuratomi
f5cdcfa1d9 Make validate_certs for vsphere_guest work with older python2 2016-02-05 13:17:18 -08:00
Chrrrles Paul
2ec5e87a2e Merge pull request #2974 from chrrrles/apt-autoremove
adding autoremove to apt - Fixing this PR I had accidentally closed: 
https://github.com/ansible/ansible-modules-core/pull/2946
2016-02-05 12:46:01 -06:00
Charles Paul
d7a0a3b7e3 adding autoremove to apt 2016-02-05 12:42:25 -06:00
Matt Davis
a6605c9c6f Merge pull request #2955 from stewrutledge/insecure
Add parameter for ignoring cert errors
2016-02-04 13:54:21 -08:00
Brian Coca
20dc8bdce0 Merge pull request #2957 from mattclay/user-check-mode-osx
Make modify_user honor check mode on OS X.
2016-02-04 15:19:18 -05:00