Commit Graph

40754 Commits (8a9d7b3695c017a956f2bb219e8b6676896f5f89)
 

Author SHA1 Message Date
Jordan Borean 8a9d7b3695
win_uri: stop output from mixing with module result (#48140) 6 years ago
Jordan Borean 8787c65b65
powershell: add ability to ignore specific warnings in C# Add-Type (#47643) 6 years ago
Matt Clay 150cdd7931 Pin openshift version for k8s test.
This will avoid spontaneous test failure for new releases of openshift on PyPI.
6 years ago
Matt Clay 6a351c9c86 Add Makefile to simplify upstream releases. 6 years ago
Toshio Kuratomi 1156014d9c Fix regression in synchronize when using ssh passwords
The change to add sshpass support for rsync broke synchronize when
a password was provided at all.  Have to convert an int into a string to
make it work.
6 years ago
Sam Doran 8c49fd2a2c
Adjust pause test (#48125)
Use send() rather than sendlin() calls when testing interactive prompting and echo.
6 years ago
Sam Doran 066af3b6ca
User module - allow bang and exclamation in password field without warning (#46498)
* Allow bang and exclamation without warning

Allow the password field to be ! or * without warning when using this feature to create accounts that are locked.

Add documentation  and tests to cover this.

* Use set() rather than braces for Python 2.6
6 years ago
Adam Miller 1c777976c5 Correct yum and dnf autoremove behavior (#47902)
* Correct yum and dnf autoremove behavior

Sanity check args passed to autoremove

Fixes #47184

Signed-off-by: Adam Miller <admiller@redhat.com>

* fix docs

Signed-off-by: Adam Miller <admiller@redhat.com>
6 years ago
Yauhen Kirylau 14037443de fix(tasks: synchronize): wrap in sshpass if ssh password was provided (#30743)
* fix(tasks: synchronize): wrap in sshpass if ssh password was provided

Closes #16616

* fix(tasks: synchronize): pass rsync password to sshpass via fd

* fix(tasks: synchronize): use fail_json instead of AnsibleError

* fixup! fix(tasks: synchronize): use fail_json instead of AnsibleError

fix python2 handling

* feat(module_utils: basic: run_command): add optional arguments `pass_fds` and `before_communicate_callback`

* fix(tasks: synchronize): use module.run_command instead of subprocess.Popen

* fixup! fix(tasks: synchronize): use module.run_command instead of subprocess.Popen

remove unused import

* fixup! fixup! fix(tasks: synchronize): use module.run_command instead of subprocess.Popen

pass_fds only if they passed to run_command()
6 years ago
Deric Crago 7f3c21f628 bump version of 'vcenter-test-container' to '1.4.0' (govmomi v0.19.0) 6 years ago
Dag Wieers e21270988c
aci_epg: parameter bd is not required (#47999) 6 years ago
Matt Martz cb5626cc09
Fix return statement where we short circuit _get_delegated_vars (#48102) 6 years ago
Dag Wieers df6b0b0e9e aci_aptiplp: Support missing policy_group (#48000)
* aci_aptiplp: Support missing policy_group

* Adapt integration tests to fix

* Add changelog fragment

* Fix

Co-Authored-By: dagwieers <dag@wieers.com>
6 years ago
Dag Wieers d1f6ff646a aci_iplpg: Support missing aep (#48001)
* aci_iplpg: Support missing aep
6 years ago
Dag Wieers 591b074e43
aci_switch_leaf_selector: Support missing policy_group (#47992)
* aci_switch_leaf_selector: Support empty policy_group

* Reorganize code

* Adapt integration tests to fix
6 years ago
Seebi ee13bc248b ldap_attr bugfix (#48009) 6 years ago
Gaël Lambert 0c95453a70 Doc: k8s_raw_module fixing typo K8S_AUTH_HOST -> K8S_AUTH_KEY_FILE (#46947)
The current doc of k8s_raw_module contain a copy paste of the env var name :

```
host   :
Provide a URL for accessing the API. Can also be specified via K8S_AUTH_HOST environment variable.
key_file  : Path to a key file used to authenticate with the API. Can also be specified via K8S_AUTH_HOST environment variable.
```
6 years ago
Matt Martz 45ff6df1af Remove Deprecated configs 2.8 (#46825)
* Removed deprecated ANSIBLE_HOSTS

* Bump sudo/su configs to match deprecation version for cli and playbook args

* Bump include configs to match deprecation version for 'include'
6 years ago
Felix Fontein 2728a22f73 Add docker_prune module (#48063)
* Add docker_prune module.

* Fix spelling error.
6 years ago
Miguel Angel Muñoz González c1385b6073 Initial commit for fortios_ips_sensor (#46081)
* Initial commit for fortios_ips_sensor
6 years ago
Simon Dodsley 26ad33bd8a New Pure Storage FlashArray module to enable/disable Remote Assist (#47592) 6 years ago
Chris Archibald 0cf88809ef Fix argument_spec for modules that are using the old version (#47693)
* Use correct argument spec
6 years ago
Pilou 6f8ffeb6bf tower{job,workflow}_template: use same retries value (#47865) 6 years ago
Chris Archibald 8f3e297d7d NetApp bugfix for na_ontap_snapmirror (#47621)
* Bug fixes for Snapmirror

* Bug fixes for Snapmirror
6 years ago
Dag Wieers 2c0707c034
Add missing MSC support
This was missing from PR #46116
6 years ago
Matthias Fuchs 7e8d9081a7 Make the flatpak module work with Python 3.
Fixes #46994
Fixes #46995
6 years ago
e-taylor 90ea6c8d12 add support for the --be-name option (#43030)
* add support for the --be-name option
6 years ago
Brian Coca 6c987a13f9 updated some callback info 6 years ago
Miguel Angel Muñoz González 3e16eb1cb6 Initial commit for fortios_system_sdn_connector (#46105)
* Initial commit for fortios_system_sdn_connector

* Update fortios_system_sdn_connector.py

* Update fortios_system_sdn_connector.py

* Updated HTTPS handling
6 years ago
Miguel Angel Muñoz González 6e97e53b7f Initial commit for fortios_system_central_management (#46067)
* Initial commit for fortios_system_central_management

* Update Ansible version

* Update fortios_system_central_management.py

* Update fortios_system_central_management.py

* Updated HTTPS handling
6 years ago
Miguel Angel Muñoz González 197d329139 Initial commit for fortios_application_list (#46198)
* Initial commit for fortios_application_list

* Update key for deleting

* Update fortios_application_list.py

* Update fortios_application_list.py

* Updated HTTPS handling
6 years ago
Miguel Angel Muñoz González b614e1027e Initial commit for fortios_webfilter_content_header (#46393)
* Initial commit for fortios_webfilter_content_header

* Updated HTTPS handling
6 years ago
Miguel Angel Muñoz González 5be9658e22 Initial commit for fortios_webfilter_seach_engine (#46404) 6 years ago
Miguel Angel Muñoz González d2d5f22140 Initial commit for fortios_webfilter_fortiguard (#46394) 6 years ago
Miguel Angel Muñoz González 0d9639a444 Initial commit for fortios_firewall_address (#46406) 6 years ago
Miguel Angel Muñoz González 476212adad Initial commit for fortios_firewall_addrgrp (#46408) 6 years ago
Abigail Howe e8920a8357 fix boolean logic for overwrite parameter (#47916)
* fix boolean logic for overwrite parameter

* added changelog fragment
6 years ago
Abhijeet Kasurde 57c9532cad OpenStack: add an alias for name (#47972)
This fix adds an additional alias for name parameter viz. subnet

Fixes: #37352

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Felix Fontein 8eb656de8b Fixing idempotency test. (#48038) 6 years ago
Jesse Pretorius 0fc99c3939 Fix lvg module idempotency (#47620)
* Fix lvg module idempotency

In [1] changes were made to ensure that the physical
devices were appropriately filtered, but the dev_list
which is used to prepare the filter is modified from
the original arguments to resolve any symlinks. This
results in the existing devices given in the module
args to be left out of the filter, resulting
in the module trying to add the same device again
every time the task is executed.

In this PR we change dev_list to be a copy of the
module arguments so that we're able to add the given
pv list from the module arguments into the filter
as well, ensuring that there is idempotence when
running the task again.

[1] https://github.com/ansible/ansible/pull/38446

* Add lvg module idempotence test

To ensure that the lvg module is tested for idempotency,
we add a basic integration test.

Support for MacOS and FreeBSD are skipped because the
module does not currently support those platforms.
6 years ago
Dmitry Polyakovsky 5b27de41bd fixed parentheses (#48067)
* fixed parentheses

* Add space after lookup
6 years ago
Felix Fontein 569ec812e7 Improve paused test and behavior. (#48056) 6 years ago
Felix Fontein af2b477950 docker_container: fix container removal when auto_remove is used (#48061)
* Fix container removal when auto_remove is used.
6 years ago
Felix Fontein af79adca1d Make tests fail less often with strange errors. (#48059) 6 years ago
Tzur Eliyahu e125852f86 IBM_Storage: Added a module to support adding and removing host ports. (#47614)
* IBM_Storage: Added a module to support adding and removing host ports.
6 years ago
Tzur Eliyahu 284660ee4e IBM_Storage: Added a module to define domains on Spectrum Accelerate … (#47873)
* IBM_Storage: Added a module to define domains on Spectrum Accelerate storage array
6 years ago
Paul Neumann c15656d652 net_put: Fix trivial documentation typo (#48035)
In commit 30688fecf3 the template value of the mode parameter was
renamed to text. Change another mention of this parameter.
6 years ago
Felix Fontein 35809e99bc docker_container: fix ipc_mode and pid_mode idempotency (#47997)
* Fix ipc_mode and pid_mode idempotency when container names are used.

* Add changelog.

* Update pid_mode documentation.
6 years ago
Felix Fontein 3cca4185be docker_container: simplify minimal required version per option handling (#47711)
* Store parsed docker-py / docker API versions in client.

* Began refactoring 'minimal required version' for docker_container options.

* Removing some fake defaults.

* Added changelog.

* Improve tests (check older docker versions).

* Fix comparison. The breaking point is not docker-py 2.0.0, but 1.10.0.

(Verified by testing with these versions.)

* Move docker-py/API version detection to setup_docker.

* Add YAML document starter.

* docker_network requirement for docker-py was bumped to 1.10.0 in #47492.
6 years ago
René Moser 788247583b
vultr: fix for API returned unexpected empty list (#48036)
* vultr: fix for API returned unexpected empty list

* add changelog
6 years ago