Commit Graph

8087 Commits (a38bdfc72023a936c9003f790e3f787a5d5599db)
 

Author SHA1 Message Date
David Shrewsbury f71542ccf2 Fix parameters where type is assumed.
A change is coming to Ansible where module params will default to str.
Many of our modules were taking advantage of this by not being explicit
about the type, so they will break when that change merges. This hopefully
catches those cases.
9 years ago
Peter Sprygada c90181c64e Merge pull request #2999 from chouseknecht/ios_commnad_init
Add ios_command module
9 years ago
Peter Sprygada 5626fb38fa add init to network/cumulus and reset module attrs
The modules were merged in without an __init__.py.  This adds the module
iniit and resets all of the module attrs to 0644
9 years ago
Peter Sprygada b54a5de6c6 Merge pull request #2880 from CumulusNetworks/cumulus-core-modules
Adding files to ansible core modules.
9 years ago
Toshio Kuratomi 8d126bd877 password needs to be type str.
In 1.9 this was the default.  In 2.0.0 and 2.0.1 this doesn't get set.
2.1.0 will fix the default but we should fix this now.
9 years ago
Peter Sprygada 0d1bf50ca1 add package init to junos/ 9 years ago
Peter Sprygada 96986b6448 initial add of junos_config module
This adds a new module, junos_config, useed to configure Juniper JUNOS based
devices.  The config module can be used to set an ordered set of set and
delete statements over a cli transport
9 years ago
Peter Sprygada ab31397a7d initial add of junos_template
This adds a new module, junos_template, that can read in a template
config and push the changes to the device.  It can also backup the
current config.  This module is implemented over cli
9 years ago
Peter Sprygada 8c46a08379 initial add of junos_command module
This adds a new module, junos_command that can be used for sending commands
to Juniper JUNOS based devices.   The junos_command module is implemented
over a cli transport
9 years ago
Brian Coca 38d6c1cd36 expanded info on fail on check + missing apt-python
it now explains that apt module will auto install
9 years ago
chouseknecht a4f67a4ef2 Add ios_commnand module. 9 years ago
chouseknecht 573ba42b03 Moved Conditional class to netcfg. 9 years ago
Matt Davis 49b5470831 Merge pull request #3013 from mattclay/apt-check-mode
Do not install python-apt in check mode.
9 years ago
Brian Coca f5a374103f fixes for uri module
- clarify docs on body_json behaviour
- only tranform into json if body input is not a string
  users keep passing json string and expecint it to not be jsonified again
- fixed issue with removes not handling path expansion correctly
- switched all path variables to 'type path' to handle expansions
9 years ago
Matt Clay d33e033eba Do not install python-apt in check mode. 9 years ago
Gary Rybak 373961da04 Add filter to eos_template to remove configuration mode command
followed immediately by an exit command indented one level.
9 years ago
Jason Kohles 80d8277521 Enable env vars for vsphere_guest
This commit allows the connection information for
the vsphere_guest module to be provided as environment
variables, which makes it possible to use Cloud
Credentials from Ansible Tower in playbooks that utilize
vsphere_guest.

| ENV VAR         | vsphere_guest param    |
| --------------- | ---------------------- |
| VMWARE_HOST     | vcenter_hostname       |
| VMWARE_USER     | username               |
| VMWARE_PASSWORD | password               |
9 years ago
Mike Caspar f05d82c363 Documentation updates to use complete YAML : syntax instead of key=val syntax.
Adjusted example to use "" where appropriate to pass YAML Syntax checker per Contribution guidelines.

See Issue [# 2879](https://github.com/ansible/ansible-modules-core/issues/2879)
9 years ago
Mike Caspar 7cc00bddc0 Documentation updates to use complete YAML : syntax instead of key=val syntax.
Adjusted example to use "" where appropriate to pass YAML Syntax checker per Contribution guidelines.

See Issue [# 2879](https://github.com/ansible/ansible-modules-core/issues/2879)
9 years ago
Mike Caspar 3eca9cbbba Documentation updates to use complete YAML : syntax instead of key=val syntax.
Adjusted example to use "" where appropriate to pass YAML Syntax checker per Contribution guidelines.
9 years ago
Daan Oosterveld 90153a2ca5 Adds ulimit to the docker module
The ulimit will be specified as a list and separated by colons. The
hard limit is optional, in which case it is equal to the soft limit.

The ulimits are compared to the ulimits of the container and added
or adjusted accordingly on by a reload.

The module ensures that ulimits are available in the capabilities
iff ulimits is passes as a parameter.
9 years ago
Brian Coca 3d4b5d165c avoid chmod in check mode 9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
callipeo 27df98b6fb Add support for both keyserver and keyring in apt_key
Fixes Issue #2996
9 years ago
James Cammarata 9fc4ed0458 Merge pull request #2994 from emonty/issue/2920
Add user_data alias for userdata in os_server
9 years ago
Brian Coca 37952e866a Merge pull request #2995 from bcoca/user_checkmode_fixes
revamped checkmode support in user module
9 years ago
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
9 years ago
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
9 years ago
James Cammarata b175b11a63 Merge pull request #2954 from mattclay/user-check-mode-aix
Make modify_user_usermod honor check mode on AIX.
9 years ago
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
9 years ago
Brian Coca 00345d4975 Merge pull request #2990 from jjshoe/patch-1
Less engrish
9 years ago
jjshoe b0cbae51b5 Less engrish 9 years ago
Brian Coca 390ec8c37c Merge pull request #2985 from MichaelBaydoun/ec2ModuleDocFix
Ec2 module doc fix
9 years ago
Michael Baydoun 98c16a4f1f Update ec2.py
Documentation is not clear that tag used in count_tags must be an existing instance_tag
9 years ago
Brian Coca c68a790369 corrected description key spelling 9 years ago
James Cammarata b804edfbe3 Merge pull request #2852 from awasilyev/check_tag
docker: fix failing in case of empty image tag
9 years ago
Peter Sprygada 08fd378479 Merge pull request #2909 from chouseknecht/eos_api_module
Eos api module
9 years ago
Peter Sprygada 7681bacfae Merge pull request #2919 from chouseknecht/nxos_nxapi_module
Nxos nxapi module
9 years ago
James Cammarata e2f8ed1609 Merge pull request #2735 from noqcks/no-default-sec-groups
Elasticache Module: changing default cache_security_group to none
9 years ago
Toshio Kuratomi 009389bbb2 Merge pull request #2981 from ansible/apt-locale-fix
use new method of setting locale and other environment variables
9 years ago
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
9 years ago
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
9 years ago
James Cammarata 4089f4af30 Fixing user_data version_added
Fixes #2634
9 years ago