Commit Graph

43986 Commits (0943e2a0dfff02413fe7c2678c3299f98bfee908)
 

Author SHA1 Message Date
Chris St. Pierre 0943e2a0df github_webhook: Fix create of new hook with existing hooks (#54458)
When creating a new webhook with existing hooks already in place, the
module would erroneously select one of the existing hooks to update
instead of creating the hook anew. This fixes that bug.
5 years ago
Thomas Stewart f242f3475e Fix to allow Po interface descriptions (#51726)
* Fix to allow Po interface descriptions

* add absent to UNSUPPORTED_STATES for IF_TYPE_PO
5 years ago
Anil Kumar Muraleedharan 8d742d9bff Lenovo cnos user module (#53763)
* Adding cnos_user module to Ansible

* Update cnos_user.py

* Adding Functional test cases and unit test cases.

* Fixing Bug found in testing with Lenovo Mars.

* Review comments incorporated

* Review comments implemented.

* Copy paste mistake
5 years ago
Vatsal Parekh 0ab28f314a Added default openshift VM templates label (#54456) 5 years ago
Ujwal Komarla 9384773e1e Exos httpapi (#54405)
* Modify EXOS module utils to utilize 'httpapi' or 'network-cli' connection

* Changes to cliconf plugin to support 'json' or 'text' output for compatibility between network-cli and httpapi

* Add HTTPAPI plugin supportng JSONRPC and RESTCONF for EXOS

* exos_facts modify commands with run script cli2json.py to command dictionary specifying 'json' output
Load appropriate fixtures

* Update exos_config module to utilize the get_diff and get_default_flag functionality.
JSONRPC doesn't work well with pipes, regex MULTILINE

* Support for NOS agnostic 'cli_config' module by implementing 'get_default_flag' and 'get_diff' functionality

* Update Ansible Documentation regarding the connections available for EXOS
5 years ago
John McDonough b002f3e416 Separate state from config, update ucspe link, ensure description idempotence (#54425)
* Separate state from config, update ucspe link

* Correct sanity errors

* Fix documentation link for emulator

* Fix ucspe link in documentation
5 years ago
Ondra Machacek d155e228af kubevirt_vm: Fix waiting for ephemral VM (#54453) 5 years ago
Ludovic Rivallain cf2f13e05d Securize the index based lookup of dict.keys() (#54452) 5 years ago
Kyryl Galanov 4a5b9bd8eb New lookup module: manifold (#50435)
* New lookup module: manifold

Add Manifold.co integration. The plugin fetches resource credentials
from Manifold service.

* module manifold: fix ansible lint warnings

* module manifold: fix false warning - split test assertion

* manifold module: fix unittest import

* manifold module: fix unittest patch

* manifold module: fix python3 requests getheader error
5 years ago
Lukas Kämmerling 3614f78bc5 Add hcloud_server_type_facts module (#53852) 5 years ago
Lukas Kämmerling 87554da4d6 Add hcloud_datacenter_facts module (#53851) 5 years ago
Lukas Kämmerling d5ca1eed89 Add hcloud_server_facts module (#53850) 5 years ago
Lukas Kämmerling 7d0ae41901 Add hcloud_image_facts module (#53849) 5 years ago
Lukas Kämmerling 6220eafb73 Add hcloud_location_facts module (#53848) 5 years ago
Patryk D. Cichy cdb1d02f4c Add new CloudStack module cs_physical_network (#54098) 5 years ago
Alex Stephen a191ed7b58 More GCP Utils Tests (#53568)
* navigate_hash tests

* remove_nones_from_dict tests

* replace_resource_dict tests
5 years ago
John McDonough 8aaed4c856 Check for existence of object attr login_handle (#53821) 5 years ago
Matt Clay 6b4aabd355 Use virtualenv for filters and lookups tests. 5 years ago
Bojan Vitnik 54d23a8297 XenServer: Minor changes to error messages (#54434)
Changed "." for "!" in some error messages to make error messages uniform across the code.
5 years ago
Ilya Reshetnikov 5ccad0a3c5 Update playbooks_conditionals.rst (#54438)
added missed verb for better readability
5 years ago
Matt Clay 870abd7366
Clean up remote setup script for tests. (#54433)
* Only update sshd_config for FreeBSD tests.
* Also skip service restart unless config changed.
* Only pip install virtualenv for macOS tests.
* Also add retries and disable pip version check.
* Fix indentation.
* Reduce noise during remote instance setup.
* Refactor and clean up pip install.
* Decrease verbosity of commands.
* Remove unnecessary package install.
5 years ago
Tom Cooper 2b6413558b hashi_vault: Use mount_point kwarg for ldap/userpass login (#54358)
Fixes: #54249
5 years ago
Matt Clay affde96fa8 Temporarily skip failing Docker tests on RHEL 7.6. 5 years ago
Chris Van Heuveln 20fb77c49b nxos_interfaces_ospf: fix passive-interface states & check_mode (#54260)
* nxos_interfaces_ospf: fix passive-interface states & check_mode

This fix addresses issues #41704 and #45343.

The crux of the problem is that `passive-interface` should have been treated as a tri-state value instead of a boolean.

The `no` form of the command disables the passive state on an interface (allows it to form adjacencies and send routing updates).  It's essentially an override for `passive-interface default` which enables passive state on all OSPF interfaces.\*
This `no` config will be present in `running-config`.

   \**See `router ospf` configuration.*

Since both enable and disable states are explicit configs, the proper way to remove either of these is with the `default` syntax.

Passive-interface config syntax:
```
  ip ospf passive-interface              # enable  (nvgens)
  no ip ospf passive-interface           # disable (nvgens)
  default ip ospf passive-interface      # default (removes config, does not nvgen)
```

Code changes:

* `passive_interface` param changed from boolean to string, restricted to `true`,`false`,`default`.

* Several passive-interface specific checks were added because the existing module logic tends to test for true or false and doesn't handle the None case.

* Fixed `check_mode`.

Sanity verified on: N9K,N7K,N3K,N6K

* Fix doc header

* Unit tests for passive-interface

* doc fix #2

* Fix indent for SA

* Remove 'default' keyword, restore bool behavior

* remove changes to sanity
5 years ago
Yuwei Zhou 98a3fa2dac Fix aks failure (#54381) 5 years ago
Indrajit Raychaudhuri cd8f8d7a3e systemd: Allow standalone 'daemon_reexec' option without using 'name' (#54424) 5 years ago
Brian Coca bc95720780
renaming facts to info (#54432)
(cherry picked from commit c5edffcdb8)
5 years ago
Jordan Borean 1034b892df
win_acl - remove test return values 5 years ago
Jordan Borean 10f006036c
win_acl - fix support for registry paths (#54427) 5 years ago
Sloane Hertel cbfe77ad63
[inventory_aws_conformance] use consistent sg order in script (#54423)
* [inventory_aws_conformance] Use consistent security group order for the script
5 years ago
Brian Coca d66f3de3dc no need to deprecate, added in 2.8 5 years ago
James Cassell 92139a01df rename dellemc_idrac_firmware -> idrac_firmware (#54421) 5 years ago
James Cassell 51f2065df5 use ANSIBLE_ prefix on all ansible-defined env vars (#54272)
mark old version deprecated in all places referenced via docs
5 years ago
Mariusz Mazur 53b56825cd kubevirt: cleanup module docs (#54119) 5 years ago
James Cassell 5d32dbd532 selogin: check_mode, ignore_selinux_state, tests
ignore_selinux_state based on #48945
5 years ago
Petr Lautrbach f9e09f0e7f selogin
original commit:
8efa4cdde9

update module to match current ansible standards

- update version_added
- fix sanity checks
- match docs to module definition of required and default values
  - explicit default of 's0' for selevel
  - no default for seuser or login
- rename serange->selevel, add alias
- add required imports
- add RETURN info (stolen from sister module)
- add author github handles
- remove star-import, name specific requirements
- handle import error similar to sister modules
- collapse exceptions
- remove IOError, alias for OSError
  - https://stackoverflow.com/questions/29347790/difference-between-ioerror-and-oserror
- drop 'required: false' as false is the default
- list dependencies as python-agnostic
- selogin does not support check_mode
- remove unused functions
- require seuser only if state=present

Co-authored-by: James Cassell <code@james.cassell.me>
5 years ago
Jordan Borean c8eeca7815
win_regedit - fix typo in HKU path selector 5 years ago
James Cassell 9040fa0235 openstack: add os module_defaults group (#54319) 5 years ago
morph027 3a0ec3c960 Gitlab runner inventory plugin (#53897) 5 years ago
Alan Rominger 461737e2da Allow using Azure rm legacy hostnames (#54060) 5 years ago
Christopher Schmitt fe0765eb2b Add hcloud_volume module (#53745) 5 years ago
David Passante baa3327387 cs_volume: fix unit tests cleanup (#54397) 5 years ago
Matt Clay 07e9438848 Move interface management into delegate_to test. 5 years ago
Simon Dodsley 7ad003bf68 Update author field and add type for all options in docs (#54350) 5 years ago
Matt Clay 399fc110e7 Use pytest.mark.skip instead of pytest.skip. 5 years ago
Rigel Di Scala 51f38b090e Fix failing test modules due to incorrect use of pytest.skip() (#54282) 5 years ago
Anton Roman 1e3428a766 fix issue in random_mac filter with short prefixes (#53928) 5 years ago
The Magician bb3d97a787 Bug fixes for GCP modules (#54382) 5 years ago
Bill Dodd d8536e47d3 Expose timeout option to Redfish modules (#54130)
* added timeout option to Redfish modules

* Apply suggestions from code review

Removed 'required: false' and added 'type: int' to 'timeout' documentation string.

Co-Authored-By: billdodd <billdodd@gmail.com>
5 years ago
Sloane Hertel a47edc9968
[inventory_aws_conformance] fix the order of list variables created in config since it otherwise varies (#54365)
modify mock for boto to reflect the new fixed order for the config
5 years ago