Commit graph

7814 commits

Author SHA1 Message Date
Jose Moreira
cb712f2ba8 Fixed module doc typos 2016-02-15 15:03:40 +00:00
Brian Coca
191bf977f7 Merge pull request #3042 from lgp171188/patch-1
Fix typo in the copy module error message
2016-02-15 08:16:03 -05:00
Brian Coca
238c26c7e2 recursive copy is not available(yet) on remote_src 2016-02-15 08:16:17 -05:00
Guruprasad
ea6c2573e3 Fix typo in the copy module error message
Fix the typos in the error message shown on trying to use remote_src=yes for copying directories
2016-02-15 16:22:29 +05:30
Toshio Kuratomi
34a8071973 Merge pull request #3030 from Shrews/fix_types
Fix parameters where type is assumed.
2016-02-13 05:16:38 -08:00
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.
2016-02-12 22:38:16 -05:00
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
2016-02-12 17:04:30 -05:00
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
2016-02-12 17:04:20 -05:00
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
2016-02-12 17:04:12 -05:00
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
2016-02-12 16:43:08 -05:00
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
2016-02-12 16:42:14 -05:00
Brian Coca
014012b44c Merge pull request #3031 from jjshoe/patch-2
List which version it was added
2016-02-12 14:20:12 -05:00
jjshoe
c18afbc1ab List which version it was added
fixes https://github.com/ansible/ansible-modules-core/issues/2605
2016-02-12 13:09:24 -06:00
Brian Coca
6a42e54e57 removed 'overquoting' of example
fixes #3029
2016-02-12 13:24:07 -05:00
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.
2016-02-12 12:30:52 -05:00
Peter Sprygada
c90181c64e Merge pull request #2999 from chouseknecht/ios_commnad_init
Add ios_command module
2016-02-12 07:24:37 -05:00
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
2016-02-12 07:12:56 -05:00
Peter Sprygada
b54a5de6c6 Merge pull request #2880 from CumulusNetworks/cumulus-core-modules
Adding files to ansible core modules.
2016-02-12 07:07:18 -05:00
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.
2016-02-11 13:08:32 -08:00
Peter Sprygada
0d1bf50ca1 add package init to junos/ 2016-02-11 07:26:54 -05:00
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
2016-02-11 07:07:55 -05:00
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
2016-02-11 07:07:27 -05:00
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
2016-02-11 07:07:14 -05:00
Brian Coca
38d6c1cd36 expanded info on fail on check + missing apt-python
it now explains that apt module will auto install
2016-02-11 01:22:21 -05:00
chouseknecht
a4f67a4ef2 Add ios_commnand module. 2016-02-11 01:17:52 -05:00
chouseknecht
573ba42b03 Moved Conditional class to netcfg. 2016-02-11 01:17:52 -05:00
Matt Davis
49b5470831 Merge pull request #3013 from mattclay/apt-check-mode
Do not install python-apt in check mode.
2016-02-10 22:16:18 -08:00
Matt Clay
d33e033eba Do not install python-apt in check mode. 2016-02-10 20:39:52 -08:00
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
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
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