Commit Graph

8949 Commits (7d7357bbb61bbd2335944a0e9c61c665540e34c0)
 

Author SHA1 Message Date
Peter Sprygada a3931f9315 Merge pull request #4509 from privateip/iosxr_command
add new functionality to iosxr_command module
8 years ago
Toshio Kuratomi cbd9e07f19 Fix hg for python3 (#4528)
* Remove import of unused ConfigParser (ConfigParser has been renamed in py3)
* When retrieving version, normalize to a native string
8 years ago
Richard Adams c8ca1a6211 Add parameter to `ec2` module to control instance shutdown behavior (stop|terminate) 8 years ago
Toshio Kuratomi 2f26352e49 Cleanups of command.py (#4526)
* Import module_utils at the top
* Fix python3 by marking literals combined with stdout/stderr as byte
  literals
* Mark parameters as type=path where appropriate
8 years ago
Karthik Suresh 64ded1bb5e Removing duplicate name: parameter possible typo (#4525)
Removed name:parameter in documentation. Possible typo.
8 years ago
Peter Sprygada 66e48f5eb4 added new functionality to vyos_command
* commands argument now accepts a dict arguments
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all
8 years ago
Matt Clay f16091c718 Enable CI on Shippable for OS X. (#4515) 8 years ago
Chris Houseknecht 36dae4e923 Merge pull request #4514 from chouseknecht/devel
Fix doc strings. Use of > was breaking HTML generation on docs site m…
8 years ago
chouseknecht 42540ae510 Fix doc strings. Use of > was breaking HTML generation on docs site module page. 8 years ago
Peter Sprygada 5dad16e914 Merge pull request #4501 from privateip/eos_command
add new functionality to eos_command module
8 years ago
Michael Scherer 5f1d6ded7f Add support for setting fstab location on Linux too for mount (#3271)
Fix #3153
8 years ago
Michael Scherer f6450e577f Add acl freebsd (#3656)
* FreeBSD do not support --omit-header and --absolute-names

* The option for following symlink wth getfacl is different on FreeBSD

* ZFS on Freebsd use nfsv4 acls, who use a slightly different syntax

* FreeBSD do not have a --test flag, so always return 'True'

* FreeBSD do not have the --omit-headers options, so we have to filter by ourself

* Mark Freebsd as working for the acl module
8 years ago
Peter Sprygada 12d6ae8de4 add new functionality to iosxr_command module
* commands argument now accepts a dict arguments[1]
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all

[1] The commands argument will now accept a dict argument that can
specifiy the output format of the command.  To specify a dict argument
use the form of { command: <str>, output: <str>, prompt: <str>,
response: <str> }.
8 years ago
Peter Sprygada 368ca738fa Merge pull request #4503 from privateip/eos_config
update eos_config with new arguments
8 years ago
Peter Sprygada 356888a3a3 add new functionality to eos_command module
* commands argument now accepts a dict arguments[1]
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all

[1] The commands argument will now accept a dict argument that can
specifiy the output format of the command.  To specify a dict argument
use the form of { command: <str>, output: <str>, prompt: <str>,
response: <str> }.  Command and output are required arguments. Output
accepts valid values text and json.
8 years ago
Peter Sprygada 577d34d163 update eos_config with new arguments
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge, replace or check
* add backup argument to backup current running config to control host
* add defaults argument to control collection of config with or without defaults
* add save argument to save current running config to startup config
* add state argument to control state of config file
* deprecated force argument, use match=none instead
8 years ago
Peter Sprygada ddc8537a17 Merge pull request #4500 from privateip/nxos_command
fix example in nxos_command module
8 years ago
Peter Sprygada 18e53bc804 fix example in nxos_command module 8 years ago
Peter Sprygada 7c4618d8c2 Merge pull request #4485 from privateip/nxos_config
update nxos_config with new arguments
8 years ago
Peter Sprygada c23f57c0ef Merge pull request #4482 from privateip/ios_config
merge functions from ios into ios_config
8 years ago
Peter Sprygada 23f067a0ec Merge pull request #4484 from privateip/nxos_command
added new functionality to nxos_command
8 years ago
codyrat 50133f1ed6 re.match for numeric only for kwargs[key] = int(value) (#4495) 8 years ago
Peter Sprygada 85b0bbc5c0 added new functionality to nxos_command
* commands argument now accepts a dict arguments[1]
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all

[1] The commands argument will now accept a dict argument that can
specifiy the output format of the command.  To specify a dict argument
use the form of { command: <str>, output: <str>, prompt: <str>,
response: <str> }.  Command and output are required arguments. Output
accepts valid values text and json.
8 years ago
Peter Sprygada 9e241129fe Merge pull request #4481 from privateip/ios_facts
fixes issue with duplicated commands in CommandRunner
8 years ago
Peter Sprygada 2c9f143ec3 Merge pull request #4480 from privateip/ios_command
added new functionality to ios_command
8 years ago
Peter Sprygada 4d79b7fa00 fixes issue with duplicated commands in CommandRunner
The CommandRunner will not allow duplicate commands to be added to the
command stack.  This fix will now catch the exception and continue if
a duplicate command is attempting to be added to the runner instance.
8 years ago
Peter Sprygada 2961087f26 added new functionality to ios_command
* commands argument now accepts a dict arguments[1]
* waitfor has been renamed to wait_for with an alias to waitfor
* only show commands are allowd when check mode is specified
* config mode is no longer allowed in the command stack
* add argument match with valid values any, all

[1] The commands argument will now accept a dict argument that can
specifiy the output format of the command.  To specify a dict argument
use the form of { command: <str>, output: <str>, prompt: <str>,
response: <str> }.  Command and output are required arguments. Output
accepts valid values text and json.
8 years ago
Peter Sprygada 73352bb9a3 update nxos_config with new arguments
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge or check
* add backup argument to backup current running config to control host
* add defaults argument to control collection of config with or without defaults
* add save argument to save current running config to startup config
* add state argument to control state of config file
* deprecated force argument, use match=none instead
8 years ago
Peter Sprygada f6dab64bc5 merge functions from ios into ios_config
* merge changes from ios shared module functions into ios_config.
* add src argument to provide path to config file
* add new choice to match used to ignore current running config
* add update argument with choices merge or check
* add backup argument to backup current running config to control host
* add defaults argument to control collection of config with or withoutdefaults
* add save argument to save current running config to startup config
* add state argument to control state of config file
* deprecated force argument, use match=none instead
8 years ago
jctanner 713863a37e git: add a umask parameter (#4473)
Sources #10504
Fixes #10279
8 years ago
nishiokay a24398d025 Add ipv6 paramater to digital_ocean module (#4447) 8 years ago
Toshio Kuratomi 90673cf6db Refactor stat.py so that it would be more friendly for unittests. (#4462)
* Refactor stat.py so that it would be more friendly for unittests.

* PEP8ify since we're moving most of the lines in the file and there's no open PRs
8 years ago
Peter Sprygada 91a839f1e3 Merge pull request #4458 from jedelman8/devel
improve working with trunks with nxos_switchport
8 years ago
Jason Edelman 5dc29dbc8b added a period 8 years ago
Jason Edelman d49d61784f make aliases a list in the docstring 8 years ago
Jason Edelman 164021a6a8 remove commented out code, add alias, and doc 8 years ago
Jason Edelman c009fe7e66 updated version_added for new param 8 years ago
Jason Edelman 996a34fbf7 fixed error handling 8 years ago
Jason Edelman b8f6e130ed fixed docs 8 years ago
Jason Edelman 160fd0126f improve functionality for vlan trunks based on #4082 8 years ago
Chris Houseknecht ff2eae0729 Merge pull request #4457 from listx/devel
docker_service: fix files/project_files typo
8 years ago
Linus Arver 74c8954d86 docker_service: fix files/project_files typo
The original decision to rename from `project_files' to `files' was in
3a5dd00076.
8 years ago
Chris Houseknecht d796ab54b7 Merge pull request #4456 from chouseknecht/devel
Exposing tcp and udp for same port fails. Fixes issue #4354.
8 years ago
chouseknecht 95f69c55fa Exposing tcp and udp for same port fails. Fixes issue #4354. 8 years ago
Ryan Brown 8da5e2cb88 Merge pull request #4275 from shaunbrady/ec2_elb_lb_respect_vpc
Make ec2_elb_lb respect VPCs when resolving groups
8 years ago
Chris Short 013e91e9b0 find.py: Editing contains description to say regex (#4452)
find module contains argument appears to accept regex; correcting description accordingly
8 years ago
Alexey Sheplyakov 5f1ac88414 apt_key: fix spurious failure to import a subkey (#4366)
Importing a (sign only) subkey with apt_key module always fails,
however the actual keyring gets created and contains the correct keys.
Apparently the all_keys function skips the subkeys, hence the problem.

Fixes #4365
8 years ago
PikachuEXE 997fa3b2b7 Allow specifying human readable value for option `memory_limit` again (#4049) 8 years ago
jctanner 45c1ae0ac1 git: set the file:// protocol if needed and refactor HEAD parser (#4434)
* make HEAD parsing more robust
* Fail the module for any splitter errors
* fix combining depth and version on filepath urls by prepending file://

Addresses #907
8 years ago
Timmo Verlaan 2942b383c4 [git] Determine branch name more reliable (#907)
* Made some changes to determine branch name more reliable (it may contain slashes now).

* Determination of branch name more reliable, as per comment on PR #907
8 years ago