Commit Graph

8956 Commits (6543bb4bdd7d4b28cdecd6a2f2e19590e229440c)
 

Author SHA1 Message Date
Peter Sprygada 6543bb4bdd update nxos_nxapi module with minor enhancements (#4573)
* added new config argument
* added states present and absent
* update to use network shared modules

Tested on NXOS 7.3(0)D1(1)
9 years ago
Timothy Appnel 2538c70d46 Fixes get_url examples in docs and applies native YAML syntax. (#4474) 9 years ago
John R Barker 0c25e968ee digital_ocean_tag name is a required field
Spotted during final review of https://github.com/ansible/ansible-modules-core/pull/4218/files
Simple to change, so fixing post merge
9 years ago
Victor Volle c170107eef Digitalocean tags (replaces #4209) (#4218)
* Fixes #4117: Add DigitalOcean Tag support

* Add GPLv3 license header and RETURN documentation

* ansible.module_utils.urls instead of "requests"
9 years ago
Arun prasath 0d98760b49 Fixes bug #4546 - Made password optional (#4574) 9 years ago
David J Peacock 8f963a7028 Fix #4412: os_security_group_rule support numbered protocols (#4444) 9 years ago
Ryan Brown 0c37949941 Remove spurious `changed` state on iam_policy module (#4381)
Due to a mixup of the group/role/user and policy names, policies with
the same name as the group/role/user they are attached to would never be
updated after creation. To fix that, we needed two changes to the logic
of policy comparison:

- Compare the new policy name to *all* matching policies, not just the
  first in lexicographical order
- Compare the new policy name to the matching ones, not to the IAM
  object the policy is attached to
9 years ago
James S. Martin 978716cf4c Shows messages for uncaught exceptions from called modules in async_wrapper output. (#4591) 9 years ago
Rick Mendes 02c47f5b0c Fixes #3144 (#4305) 9 years ago
Vytis Banaitis c6c281b125 Fix change status on django_manage collectstatic. (#4239)
Ignore blank lines in collectstatic output.
9 years ago
Guillaume Delpierre 2a25e27979 gem: add support for --env-shebang (#4377)
* gem: add support for --env-shebang

* fix version added
9 years ago
Levi Morales 688fa6fc54 Fixes #2322 fix for missing append check on Darwin systems (#4256) 9 years ago
Evan Kaufman 5728ef89f0 Implemented file content diff for replace module (#4479) 9 years ago
Matías Pizarro 521c9a2e20 Use named parameters in new_droplet method call (#4483)
This mirrors the original method signature and guards against any
change in order parameter
9 years ago
Anton Onufriev 2ca16dfaad Remove colors from git-branch output for correct local search (#4545)
We got an error while switching on existent local branch
because git module can not find branch in function get_branches
if we have color.branch=always in git config.
9 years ago
Michael Scherer 5310bab12f Port the module to run on python 3 (#4496)
One of the usual issue is that run_command return bytes,
so we have to adapt the string to either be bytes too,
or convert to string.

This result into that kind of traceback:

    Traceback (most recent call last):
      File \"/tmp/ansible_ej32yu2w/ansible_module_git.py\", line 1009, in <module>
        main()
      File \"/tmp/ansible_ej32yu2w/ansible_module_git.py\", line 873, in main
        git_version_used = git_version(git_path, module)
      File \"/tmp/ansible_ej32yu2w/ansible_module_git.py\", line 788, in git_version
        rematch = re.search('git version (.*)$', out)
      File \"/usr/lib64/python3.5/re.py\", line 173, in search
        return _compile(pattern, flags).search(string)
    TypeError: cannot use a string pattern on a bytes-like object

Another issue is filter being a object instead of a list.
9 years ago
Peter Sprygada 12122952db Merge pull request #3950 from grybak-arista/eos_exit_fix
Move call to filter_exit out of command execution block
9 years ago
James Pharaoh 5bce0049a1 fix error in documentation for stat checksum (#4582) 9 years ago
Peter Sprygada 9e97431308 Merge pull request #4578 from privateip/nxos_facts
convert nxos_facts map from dict to frozenset
10 years ago
Ilja Bauer acb7d873f8 Replaced use of bare variables with full variable syntax (#4149) 10 years ago
Gennady Trafimenkov 6ac58a5832 Clarify what checksum algorithm is used by copy modules (#4198) 10 years ago
Ali Ok ab55355b00 Fix minor syntax error in authorized_key module doc (#4491) 10 years ago
Robin Roth 9da4c42679 Clarify that refspec is needed to checkout a git hash (#4564)
fixes #1531
10 years ago
Michael Scherer 21688383c3 Convert command output to native string (#4559)
Without it, the module always return changed on python3,
which is harmless but add noise and can have some side effects.
10 years ago
Chris Houseknecht 6ca02cadd0 Merge pull request #4577 from chouseknecht/devel
Fix container labels expected vs actual comparison.
10 years ago
Peter Sprygada 277f8cfa5c convert nxos_facts map from dict to frozenset
* key maps are now frozenset instead of dict objects
* FactsBase now includes utility functions for transforming json data structures

Tested on NXOS 7.3(0)D1(1)
10 years ago
chouseknecht 48941291c1
Fix container labels expected vs actual comparison. 10 years ago
Brian Coca 5d90b86d82 added docs for vars_from/defaults_from 10 years ago
Peter Sprygada 565fb59d0a Merge pull request #4565 from privateip/iosxr_facts
add new iosxr_facts module for fact collection from XR devices
10 years ago
Peter Sprygada dfce797dad add new iosxr_facts module for fact collection from XR devices
* adds support for std network facts
* adds support for default facts subset
* adds support for config facts subset
* adds support for interface facts subset
* adds support for hardware facts subset

Tested on IOS-XR 6.0.0
10 years ago
Peter Sprygada 5917a73623 Merge pull request #4563 from privateip/iosxr_config
update iosxr_config with new arguments
10 years ago
Peter Sprygada a093fb1c83 Merge pull request #4566 from privateip/iosxr_template
update iosxr_template to use network shared modules
10 years ago
Peter Sprygada 13cfc911b4 Merge pull request #4567 from privateip/ios_template
update ios_template module using refactored network shared modules
10 years ago
Peter Sprygada f33b232819 Merge pull request #4568 from privateip/eos_template
update eos_template for network shared module
10 years ago
Peter Sprygada 97b231561b Merge pull request #4569 from privateip/nxos_template
update nxos_template module with network shared module changes
10 years ago
Peter Sprygada 49414a4c83 Merge pull request #4549 from privateip/nxos_facts
updates nxos_facts with more fact collections
10 years ago
Brian Coca c5e13ca0ed updated include_role docs to latest info 10 years ago
Peter Sprygada 074273dbb4 update eos_template for network shared module
This updates the eos_template module to work with the changes introduced
in the network shared module in Ansible 2.2

Tested on EOS 4.15.4F
10 years ago
Peter Sprygada 78b58f4fa9 update nxos_template module with network shared module changes
This updates the nxos_template module to work with the network shared
modules introduced in Ansible 2.2

Tested on NXOS 7.3(0)D1(1)
10 years ago
Peter Sprygada 9acf4ea417 update ios_template module using refactored network shared modules
This updates the ios_template module to work with the network shared
modules introduced in Ansible 2.2

Tested in IOS 15.6(1)T
10 years ago
Peter Sprygada 7b5a4e2fa3 update iosxr_template to use network shared modules
This updates the iosxr_template module to make it work with the new
shared network modules introduced in Ansible 2.2

Tested on IOSXR 6.0.0
10 years ago
Brian Coca 6eab2b3d40 1st draft of include role docs 10 years ago
Peter Sprygada cababe0947 update iosxr_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 comment argument to provide comment to commit
* deprecated force argument, use match=none instead
10 years ago
Peter Sprygada 84d69ee51b Merge pull request #4551 from privateip/eos_facts
add new eos_facts module for fact collect of EOS nodes
10 years ago
Peter Sprygada ef48b9188f add new eos_facts module for fact collect of EOS nodes
* adds support for std network facts
* adds support for default facts subset
* adds support for config facts subset
* adds support for interface facts subset
* adds support for hardware facts subset

Tested on EOS 4.15.4F
10 years ago
Peter Sprygada 2ca2223af2 updates nxos_facts with more fact collections
* adds support for std network facts
* adds support for default facts subset
* adds support for config facts subset
* adds support for interface facts subset
* adds support for hardware facts subset
* maintains backwards capabilitity with 2.1 facts module

Tested on NXOS 7.3(0)D1(1)
10 years ago
Peter Sprygada 44adf4195b Merge pull request #4523 from privateip/vyos_config
updates to vyos_config module arguments
10 years ago
Toshio Kuratomi 4912ec30a7 Fixes for lineinfile (#4553)
Lineinfile deals heavily with Unic text files.  Makes some sense to deal
with it all as byte strings.  So there is a lot of work done here to
show that we're dealing with byte strings throughout.
10 years ago
Peter Sprygada 73f955569e Merge pull request #4550 from privateip/ios_facts
update RETURNS doc string in ios_facts
10 years ago
Peter Sprygada e3b7bf0bf9 update RETURNS doc string in ios_facts
updates the doc string for consistency and completeness
10 years ago