Commit Graph

7811 Commits (7cfa625a31c2bba1e890c26a205b36aba3df6f32)
 

Author SHA1 Message Date
Pete Travis 7cfa625a31 use expanduser() before testing user_data as file
I like to use ~/somepath instead of absolute paths because
that's more shareable.  Without expansion, the path wasn't
considered a file, and the resulting cloud-config user_data
contained a string for the file path instead of the file context.
So, expand it.
9 years ago
Toshio Kuratomi 34a8071973 Merge pull request #3030 from Shrews/fix_types
Fix parameters where type is assumed.
9 years ago
Brian Coca b89f4c7cab cleaner error on recursive remote copy
TODO: add recursive copy support when remote_src=yes
probably need to make shared the logic in the action plugin.
9 years ago
Peter Sprygada 0e270da561 initial add of iosxr_config module
This adds a new module, iosxr_config, that can be used for configuring
Cisco IOS XR devices.  It is provides a set of arguments for sending
configuration commands to the device over cli
9 years ago
Peter Sprygada fb82e08e73 initial add of iosxr_template module
This adds a new module, iosxr_template, that can be used to template
configurations for IOS XR devices.  Templates are then loaded into the
target device over cli
9 years ago
Peter Sprygada 2e2380a505 initial add of iosxr_command module
This adds a new module, iosxr_command, that can be used to issue
commands to devices running IOS XR.  Commands are run on the
target device over cli
9 years ago
Peter Sprygada af40116e23 update junos_command module return values
This minor update fixes the return values from the junos_command module
to be consistent with other network modules
9 years ago
Peter Sprygada b7114cc783 update ios_command module return values
This minor change updates the return values and doc string for the
ios_command module to be consistent with other network modules
9 years ago
Brian Coca 014012b44c Merge pull request #3031 from jjshoe/patch-2
List which version it was added
9 years ago
jjshoe c18afbc1ab List which version it was added
fixes https://github.com/ansible/ansible-modules-core/issues/2605
9 years ago
Brian Coca 6a42e54e57 removed 'overquoting' of example
fixes #3029
9 years ago
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
Matt Clay d33e033eba Do not install python-apt in check mode. 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
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
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