Commit Graph

24549 Commits (0c46813871c490678ac356bfbae63293d3251a18)
 

Author SHA1 Message Date
Peter Sprygada 654a38897f fixes exception raised when nxos_facts uses nxapi transport (#4988)
This fixes a condition where an exception is raised when collecting `interface`
facts and the transport is set to nxapi in the nxos_nxapi module.

fixes ansible/ansible#17691
8 years ago
Toshio Kuratomi 27759ee58f Working subset of mount fixes (#4987)
* Fixing bind mount on Linux

* The latest update from jtyr doesn't pass integration tests.

Manually select the changes that are necessary to fix the bug with
unmounting
8 years ago
Peter Sprygada df6b7703bb fixes default value in docstring for http (#4985)
The docstring incorrectly stated the default value for http is yes when
indeed its no.  This fixes the docstring
8 years ago
Peter Sprygada 88b2c7e1f6 fixes bug where setting state=absent in nxos_nxapi is not idempotent (#4984)
When setting state=absent the nxos_nxapi module would always try to remove
the configuration regardless of the current state of the device.  This will
fix that problem.

This also updates the docstring to correctly reflect https as default=no

fixes #4955
depends on ansible/ansible#17728
8 years ago
John R Barker f63e5d078e Force is not a 2.2 feature
9b5e6bbfa1 incorrectly chopped some text around
8 years ago
Matt Clay da8538698b Add shellcheck to sanity checks. (#4976)
Also disable deprecation warnings during module validation.
8 years ago
Trond Hindenes 0da88d4744 win_feature_docs_update (#4421) 8 years ago
Timothy Appnel 6647e8c271 Fixes grammatical error in assert module example (#4972) 8 years ago
Ryan S. Brown 93737f819a Accept JSON type as the content of policy_json parameter on `iam_policy` module 8 years ago
Søren Kröger 61144f4da9 Added single_transaction and quick to db_dump (#3687)
It was missing before, ...
8 years ago
JesseEmond 6ddbc63b1d Unarchive stop passing file mode to tar command (#4179)
Fixes #4063.

Tar does not use this parameter on extraction (-x) or diff (-d)(the
only two cases where it is passed in unarchive). It only uses it on
creation:
https://www.gnu.org/software/tar/manual/html_section/tar_33.html

Providing `unarchive` with a file mode of `0755` (octal) makes it pass
the argument `--mode 493` (493 = 0755 in decimal) to `tar`, which then
fails while verifying it (because it contains an invalid octal char
'9'). Not passing the parameter to tar solves the issue.
8 years ago
Marius Gedminas 9509224768 postgresql_db: fix inverted 'changed' logic when state=absent (#4934)
Fixes #4933.
8 years ago
David Shrewsbury 56211bd7ed Correct reuse_fips param to reuse_ips (#4939)
This new parameter was incorrectly named. Fixing to match the expected
name in the shade library.
8 years ago
Toshio Kuratomi 77975c232b Fix pip freeze workaround with virtualenv (#4951) 8 years ago
Matt Clay d1ef5f947e Remove script previously used by Travis. 8 years ago
Toshio Kuratomi a8fbdcd80d pip list isn't available on pip less than 1.3 so make a fallback (#4947) 8 years ago
Timothy Appnel b18c22f69b Adds docs for msg param in assert modules plus some other clean up (#4926) 8 years ago
Peter Sprygada b06123e986 fixes junos_config to be idempotent when confirming a commit (#4946)
The junos_config module would always return true when confirming a commit
This changes the module to now check first making the feature idempontent
8 years ago
René Moser cb9ec9f802 iam_cert: remove choice list for dup_ok type bool (#4940)
See 8879931f0c
8 years ago
Toshio Kuratomi e2963c0e25 Fix parsing of pip output 8 years ago
Toopy 74be5a40f9 Fix git get_diff TypeError when fetch (#4881) 8 years ago
Lars Engels 8010b7f980 Add support for password aging on Solaris (#4372)
* Add support for password aging on Solaris

* Fix shadow file editing when {MIN,MAX,WARN}WEEKS is not set in /etc/default/passwd

* Un-break with python3

* _Really_ un-break with python3
8 years ago
Chris Houseknecht f33828e753 Cast scale value to int. Fixes #4592. 8 years ago
Rob Cutmore 15b41d2718 Pip: use 'pip list' when available for package list (#4644)
* Pip: handle parsing different pip commands

* Pip: use 'pip list' when available

* Pip: explicitly check which command is used

* Pip: add error checking when fetching packages
8 years ago
Chris Houseknecht b01af0d747 Make project start and stop error handling more resilient, and improve message text. 8 years ago
indispeq ecb05b03d4 Fix openstack security group rule vrrp choice apostrophe error (#4750)
Fixes #4444 that was erroneously closed and thought fixed
8 years ago
Peter Sprygada 868c298968 fixes import statements in junos_package module (#4929)
This fixes the import statement to import NetworkModule from network instead
of from junos
8 years ago
Peter Sprygada 3e577f6312 fix up junos_facts import statements (#4928)
This fixes the junos_facts import statements and removes importing
NetworkModule from the junos shared module.
8 years ago
Peter Sprygada b9cb9d6345 fix import in junos_command module (#4927)
This fixes the import statements in the junos_command module to be
consistent with all junos_* modules
8 years ago
Peter Sprygada 82cf70e0f3 roll up of bug fixes for junos_config module (#4925)
* fixed docstring referencing old arguments
* changed out lxml for xml library to avoid import errors
* fixed issue when trying to confirm a commit will end up a NOOP
* fixed issue for passing replace argument to load_config method
8 years ago
Peter Sprygada 0acab8bd19 bug fixes in junos_netconf module (#4924)
* fixes exception thrown when sending commands to device
* fixes exception thrown when retrieving current resource instance
* fixes issue where netconf would be configured in some instances when state
  was set to absent
* now returns the command string sent to the remote device
* fixes argument name to be netconf_port with alias to listens_on
8 years ago
Josh Lothian 319b2b28cb Fix YAML syntax in NXOS documentation (#4922)
* Fix YAML syntax in NXOS documentation

Use ':' and not '=' to ensure valid YAML
in the EXAMPLES

* Correcting introduced syntax error
8 years ago
Will Thames 10af591da2 Check whether yum file or URL install is an upgrade (#4547)
Rather than just checking whether a package with the right
name is installed, use `local_nvra` to check whether the
version/release/arch differs too.

Remove `local_name` as it is a shortcut too far.

Fixes #3807
Fixes #4529
8 years ago
Matt Clay b2460746d8 Test module docs on Shippable. (#4921) 8 years ago
Matt Clay 6cdcf09984 Remove duplicate keys from module docs. (#4920) 8 years ago
GGabriele c47fd4b3e9 Add feature mappings 8 years ago
Peter Sprygada 25375f1057 adds exception handling to nxos_command for FailedConditionalError
This adds exception handling as per ansible/ansible#17638 to the
nxos_command module.
8 years ago
Peter Sprygada a8ca526450 bug fix that now catches FailedConditionalError when specifying conditionals
This is related to ansible/ansible#17638 and updates the eos_command module
to catch the exception and return a santatized error.
8 years ago
Michael Scherer 90378e9168 Fix duplicate required key error
ansible-doc -vvvv -l show this warning:

   [WARNING]: While constructing a mapping from /home/misc/checkout/git/ansible/lib/ansible/modules/core/network/junos/junos_config.py,
   line 88, column 5, found a duplicate dict key (required). Using last defined value only.
8 years ago
Peter Sprygada 0c94d84910 eos_eapi module allows independent configuration of protocol and port
The eos_eapi module would not configure the port if the protocol wasn't
configured as reported in #4905.  This changes the behavior to now allow
the port to be configured independently

fixes #4905
8 years ago
GGabriele 6701f038ba Fixed docstring 8 years ago
GGabriele 0eb63cdeaa Fixing nxos_portchannel 8 years ago
Harnek Sidhu 422edfcbd4 Created digital_ocean_block_storage module (#4469) 8 years ago
Senthil Kumar Ganesan 1ee897e988 Addressed review comments, given as part of other reviews (#4904) 8 years ago
nichivo c4f43eb965 Insert missing option line before blank lines (#4747) 8 years ago
Senthil Kumar Ganesan a7242039ad Updated the config module to use the new Parse method for OS6 8 years ago
Senthil Kumar Ganesan 8adc05051c Added support for template module for Dell OS6 devices 8 years ago
Senthil Kumar Ganesan 1a8e0487ff fixing the CI issue, the python interperter line 8 years ago
Senthil Kumar Ganesan 4fd0ad09b3 Updated the copyright 8 years ago
Senthil Kumar Ganesan 89cd8c03c0 Added support for dellos6_facts module 8 years ago