Martin Nečas
0d9c923464
ovirt require storage_domain if state is registred ( #47423 )
2018-11-06 08:48:45 -05:00
Mariusz Mazur
a5c8e952e8
k8s_facts: fix handling of unknown resource types ( #47857 )
2018-11-06 14:43:55 +01:00
Monty Taylor
c5b303fa52
Test host in inventory by name in remove_host ( #45639 )
...
The host argument is a Host object, and is used as such by
group.remove_host. However, self.hosts is a dictionary of host name to
Host object. Thus, the existing code is checking to see if the Host
object is one of the keys.
Use host.name to interact with the keys of the dictionary.
2018-11-06 08:19:58 -05:00
Abhijeet Kasurde
d4bb67cac0
ansible-doc: list types of plugin available ( #47055 )
...
This fix allows user to view types of plugin available in
ansible-doc command.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-11-06 13:18:59 +00:00
Lars
b6b238ae43
facts: suse: fix SLES4SAP12 detection ( #44388 )
2018-11-06 08:12:38 -05:00
Andrea Tartaglia
d5a4a401ea
Added nonstring='passthru' when calling to_native to avoid passing a 'None' string to the ipa client ( #48157 )
2018-11-06 12:17:07 +00:00
Samy Coenen
1104387164
Added gitlab_runner module ( #47727 )
...
* Added gitlab_runner module
2018-11-06 12:09:17 +00:00
Deepak Agrawal
d2c7665be9
cleanp net_put temp file ( #48148 )
2018-11-06 12:02:01 +05:30
Jordan Borean
8a9d7b3695
win_uri: stop output from mixing with module result ( #48140 )
2018-11-06 11:10:03 +10:00
Jordan Borean
8787c65b65
powershell: add ability to ignore specific warnings in C# Add-Type ( #47643 )
2018-11-06 10:48:31 +10:00
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.
2018-11-05 15:06:35 -08:00
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
2018-11-05 16:35:10 -05:00
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>
2018-11-05 16:00:42 -05:00
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()
2018-11-05 15:00:34 -05:00
Dag Wieers
e21270988c
aci_epg: parameter bd is not required ( #47999 )
2018-11-05 19:34:15 +01:00
Matt Martz
cb5626cc09
Fix return statement where we short circuit _get_delegated_vars ( #48102 )
2018-11-05 12:28:34 -06:00
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>
2018-11-05 18:21:01 +00:00
Dag Wieers
d1f6ff646a
aci_iplpg: Support missing aep ( #48001 )
...
* aci_iplpg: Support missing aep
2018-11-05 18:20:23 +00:00
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
2018-11-05 19:02:06 +01:00
Seebi
ee13bc248b
ldap_attr bugfix ( #48009 )
2018-11-05 17:20:37 +00:00
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.
```
2018-11-05 12:13:57 -05:00
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'
2018-11-05 12:08:13 -05:00
Felix Fontein
2728a22f73
Add docker_prune module ( #48063 )
...
* Add docker_prune module.
* Fix spelling error.
2018-11-05 17:05:26 +00:00
Miguel Angel Muñoz González
c1385b6073
Initial commit for fortios_ips_sensor ( #46081 )
...
* Initial commit for fortios_ips_sensor
2018-11-05 16:59:30 +00:00
Simon Dodsley
26ad33bd8a
New Pure Storage FlashArray module to enable/disable Remote Assist ( #47592 )
2018-11-05 16:58:04 +00:00
Chris Archibald
0cf88809ef
Fix argument_spec for modules that are using the old version ( #47693 )
...
* Use correct argument spec
2018-11-05 16:56:59 +00:00
Chris Archibald
8f3e297d7d
NetApp bugfix for na_ontap_snapmirror ( #47621 )
...
* Bug fixes for Snapmirror
* Bug fixes for Snapmirror
2018-11-05 16:53:29 +00:00
Matthias Fuchs
7e8d9081a7
Make the flatpak module work with Python 3.
...
Fixes #46994
Fixes #46995
2018-11-05 10:00:42 -05:00
e-taylor
90ea6c8d12
add support for the --be-name option ( #43030 )
...
* add support for the --be-name option
2018-11-05 09:27:38 -05:00
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
2018-11-05 13:23:46 +00:00
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
2018-11-05 13:20:55 +00:00
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
2018-11-05 13:17:03 +00:00
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
2018-11-05 13:16:35 +00:00
Miguel Angel Muñoz González
5be9658e22
Initial commit for fortios_webfilter_seach_engine ( #46404 )
2018-11-05 13:13:06 +00:00
Miguel Angel Muñoz González
d2d5f22140
Initial commit for fortios_webfilter_fortiguard ( #46394 )
2018-11-05 13:12:39 +00:00
Miguel Angel Muñoz González
0d9639a444
Initial commit for fortios_firewall_address ( #46406 )
2018-11-05 13:06:42 +00:00
Miguel Angel Muñoz González
476212adad
Initial commit for fortios_firewall_addrgrp ( #46408 )
2018-11-05 13:06:21 +00:00
Abigail Howe
e8920a8357
fix boolean logic for overwrite parameter ( #47916 )
...
* fix boolean logic for overwrite parameter
* added changelog fragment
2018-11-05 12:59:01 +00:00
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>
2018-11-05 12:56:30 +00:00
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.
2018-11-05 12:50:21 +00:00
Dmitry Polyakovsky
5b27de41bd
fixed parentheses ( #48067 )
...
* fixed parentheses
* Add space after lookup
2018-11-05 12:42:54 +01:00
Felix Fontein
569ec812e7
Improve paused test and behavior. ( #48056 )
2018-11-05 11:34:23 +00:00
Felix Fontein
af2b477950
docker_container: fix container removal when auto_remove is used ( #48061 )
...
* Fix container removal when auto_remove is used.
2018-11-05 11:33:56 +00:00
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.
2018-11-05 10:17:07 +00:00
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
2018-11-05 10:13:22 +00:00
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.
2018-11-05 10:03:29 +05:30
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.
2018-11-05 10:26:13 +10:00
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 .
2018-11-05 10:25:11 +10:00
René Moser
788247583b
vultr: fix for API returned unexpected empty list ( #48036 )
...
* vultr: fix for API returned unexpected empty list
* add changelog
2018-11-04 11:23:36 +01:00
Tim Rupp
16032d37c4
Removes f5-sdk from bigip_service_policy ( #48033 )
2018-11-02 23:14:16 -07:00
Tim Rupp
11ff831998
Remove f5-sdk from bigip_snat_pool ( #48030 )
2018-11-02 23:03:16 -07:00
Tim Rupp
1373a25ed3
Remove the f5-sdk from bigip_smtp ( #48032 )
2018-11-02 22:42:02 -07:00
Tim Rupp
438827ca4d
Remove f5-sdk from bigip_snmp ( #48029 )
2018-11-02 22:39:54 -07:00
Tim Rupp
45e990c5f8
Remove the f5-sdk from snmp community module ( #48028 )
2018-11-02 22:28:18 -07:00
Tim Rupp
6b14bab750
Fixes ansible unit tests for bigip_software_install ( #48025 )
2018-11-02 22:20:54 -07:00
Tim Rupp
5afe77933b
Removes the f5-sdk from bigip_snmp_trap ( #48027 )
2018-11-02 22:20:39 -07:00
Tim Rupp
a90bf9fb32
Removes f5-sdk from bigip_software_update ( #48024 )
2018-11-02 22:17:13 -07:00
Tim Rupp
787b12e016
Adds the bigip_ssl_ocsp module ( #48018 )
...
This module can be used to manage OCSP profiles on a BIG-IP
2018-11-02 22:06:16 -07:00
Tim Rupp
32e77c12e0
Fixes to bigip_static_route ( #48017 )
...
Corrects documentation. Fixes unit tests, Fixes ip address checks
for gateway_address
2018-11-02 20:57:08 -07:00
Tim Rupp
0ac57b97b2
Removes f5-sdk from bigip_ssl_key module ( #48019 )
2018-11-02 20:56:47 -07:00
Tim Rupp
c6823b9849
Removes f5-sdk from bigip_ssl_certificate ( #48020 )
2018-11-02 20:56:33 -07:00
Tim Rupp
f25d9a1b30
Remove sdk and deprecated features ( #48016 )
...
This removes deprecated params and the f5-sdk from the sys_global module
2018-11-02 15:38:59 -07:00
Tim Rupp
96c9d9fdaa
Removes the f5-sdk from bigip_sys_db ( #48015 )
2018-11-02 15:38:36 -07:00
Tim Rupp
f9402e5a91
Removes the f5-sdk from timer policy module ( #48014 )
2018-11-02 15:30:29 -07:00
Dag Wieers
ff8181fe29
Docs: Clean up of 'acl' module docs ( #46329 )
...
* Docs: Clean up of 'acl' module docs
This is part of a series of module doc cleanups.
* Changes influenced by review coments
* Changes based on review
2018-11-02 16:57:59 -04:00
Dag Wieers
0c5bc7bf32
Correct user anasbadaha (remove anasb from being notified for onyx) ( #47986 )
...
* Remove anasb from being notified for onyx, replace with anasbadaha
2018-11-02 15:42:39 -05:00
Will Thames
2b02e43614
Document template plugin's convert_data option
...
This is a useful option that I can never remember the name of
2018-11-02 16:09:51 -04:00
Tim Rupp
d8a8c21efe
Removes the f5-sdk from the traffic group module ( #48008 )
2018-11-02 13:01:22 -07:00
Tim Rupp
8abc7e49b4
Adds description field to bigip_traffic_selector module ( #48007 )
2018-11-02 12:48:17 -07:00
Tim Rupp
24be9c030c
Remove f5-sdk and add qinq ethertype ( #48006 )
...
This patch removes the f5-sdk from bigip trunk and adds the qinq
ethertype parameter
2018-11-02 12:47:58 -07:00
Tim Rupp
b4af058c55
Fixes unit tests and token cleanup ( #48005 )
...
The unit tests in 2.8 were broken. this fixes them and adds a token
cleanup to the bigip_tunnel module
2018-11-02 12:14:30 -07:00
Tim Rupp
2a69dfb22f
Removes f5-sdk from bigip_ucs module ( #48003 )
...
This patch removes the usage of the f5-sdk from the bigip_ucs module
2018-11-02 12:13:44 -07:00
ofir shtrull
7c3b0a338e
Update elb_target_group.py ( #47389 )
...
removed space that if its copied and pasted it can break an ansible run
+label: docsite_pr
2018-11-02 15:13:16 -04:00
Dag Wieers
6a37582158
msc_role: Manage roles on ACI MultiSite ( #47757 )
...
This includes the new msc_role module and integration tests.
2018-11-02 20:08:11 +01:00
Dag Wieers
1ac40e21b4
msc_site: Manage sites on ACI MultiSite ( #47756 )
...
This includes the new msc_site module and integration tests.
2018-11-02 20:07:10 +01:00
Dag Wieers
e97ad60f3b
msc_tenant: Manage tenants on ACI MultiSite ( #47755 )
...
This includes the new msc_tenant module and integration tests.
2018-11-02 20:02:42 +01:00
Dag Wieers
7142715b15
msc_user: Manage users on ACI MultiSite ( #47754 )
...
This includes the new msc_user module and integration tests.
2018-11-02 20:00:17 +01:00
Tim Rupp
f6309d19a3
Removes f5-sdk from bigip_uce_fetch module ( #48002 )
...
This is part of the ongoing effort to fully remove the f5-sdk from
the f5 ansible modules
2018-11-02 11:54:40 -07:00
B-Art
fc1cbddd3d
exprpessions into expressions ( #47967 )
...
* exprpessions into expressions, JInja2 into Jinja2
2018-11-02 13:39:21 -05:00
Romain Poirot
30ce2d2b65
Add examples to the helm module for a git source ( #47988 )
2018-11-02 13:35:32 -05:00
Tim Rupp
5b5d41e958
Removes the f5-sdk from bigip_user ( #47794 )
...
This is more work in the ongoing effort to remove the f5-sdk from
all f5 ansible modules
2018-11-02 11:25:18 -07:00
Dag Wieers
67aa98c30f
msc_label: Manage label on ACI MultiSite ( #47753 )
...
This includes the new msc_label module and integration tests.
2018-11-02 19:22:20 +01:00
Abhijeet Kasurde
ab86051c0b
Misc fixes for several errors
...
* aci: Correct usage in fail_json
* Fixes incorrect usage of fail_json
* Raise exception object
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-11-02 12:14:57 -04:00
Christina Kyriakidou
638834dc4e
issue-47881 making udp calls an option ( #47885 )
...
* issue-47881 making udp calls an option
* squash! issue-47881 making udp calls an option
* squash! issue-47881 making udp calls an option
* squash! issue-47881 making udp calls an option
* --squash
* squash! Merge branch 'issue-47881' of github.com:ckyriakidou/ansible into issue-47881
2018-11-02 09:52:27 -04:00
f-bor
35b97a2fa7
edgeswitch_facts ( #47618 )
2018-11-02 18:50:11 +05:30
anasbadaha
e8d6645c54
Issue 46477 Fix Module onyx interface for supporting new json changes ( #46494 )
...
Signed-off-by: Anas Badaha <anasb@mellanox.com>
2018-11-02 18:46:04 +05:30
Christian Kotte
754c377dbd
VMware: Improve output of vmware_local_role_facts ( #47871 )
2018-11-02 14:28:36 +05:30
Joey
899e5645ed
Add retry mechanism support for deactivating storage domain (Updated). ( #47551 )
2018-11-02 08:48:46 +00:00
Abhijeet Kasurde
487f2f25ce
VMware: Handle exception for no snapshot while cloning ( #47924 )
...
Handle exception when there is no snapshot available in virtual machine or template while cloning using vmware_guest.
Fixes : #47920
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-11-02 13:40:06 +05:30
saichint
b92556549e
Add new configurations for nxos_vxlan_vtep ( #47834 )
...
* add new commands for vxlan
* review comments
* fix unit test
* fix sanity yaml spaces
2018-11-02 11:23:37 +05:30
saichint
1b9cf85860
Add new configuration for nxos_vxlan_vtep_vni ( #47882 )
...
* Add suppress_arp_disable
* review comments
2018-11-02 11:23:23 +05:30
René Moser
064530b72e
cs_network_acl_rule: fix doc and sanity ( #47835 )
...
* cs_network_acl_rule: fix doc and sanity
* doc styling
2018-11-02 01:08:15 +01:00
Stephan Müller
00bab2d24d
[docker_network] add ipv6 support ( #47492 )
...
* [docker_network] add ipv6 support
* docker_network: review ipam_options
* docker_network: fix requirements
* docker_network: fix deprecation notice
* docker_network: add minimum docker version change
* docker_network: remove trailing whitespace
* docker_network: revert rename of network_four #discussion_r228707101
* docker_network: refactor IPAM config comparison #discussion_r228707255, #discussion_r228707280
* docker_network: correct spelling of IPv4 and IPv6 #discussion_r228707114, #discussion_r228707138
* docker_network: manually remove networks #discussion_r228709051
* docker_network: refactor enable_ipv6 condition #discussion_r228707317
* docker_network: add mutually_exclusive #discussion_r228707185
* docker_network: fix iprange #discussion_r228709072
* docker_network: add auxiliary addresses in examples and tests
* docker_network: link to docker docs #discussion_r228707018
* docker_network: remove list default #discussion_r228707060, #discussion_r228709091
* docker_network: introduce params syntax for create_network() #discussion_r228709031
* docker_network: beautify code
* docker_network: resolve change requests
* docker_network: add yaml header
* docker_networking: fix get_ip_version
* docker_network: extend CIDR test
* docker_network: use backported unittest2 for python 2.6
* docker_network: migrate unittest to pytest
2018-11-02 08:59:16 +10:00
Akshay Gaikwad
80ca779aa7
Support for device read write limit parameters ( #47814 )
...
* Support for device read write limit parameters
* Add following options in docker_container module
- device_read_bps
- device_write_bps
- device_read_iops
- device_write_iops
Fixes #36831
* test for device_read_iops
* combined test for device_write_bps and device_write_iops
2018-11-02 08:58:06 +10:00
James Cassell
6f0126534c
os_server_facts: remove duplicate statement ( #47940 )
2018-11-01 17:10:57 -04:00
Pilou
cfe7c9606c
s3_bucket: don't assume anything other than *.amazonaws.com is Walrus ( #46745 )
...
For example, 'https://s3.nl-ams.scw.cloud ' isn't Walrus.
When Walrus is used, 's3_url' should be a hostname.
2018-11-01 12:04:50 -04:00
Pilou
d14f9dc685
s3_bucket: handle not implemented operations ( #46746 )
...
Don't fail when policy, requestPayment, tagging or versioning API is not
implemented by the endpoint and if related parameters policy, requester_pays,
tags or versioning are None.
2018-11-01 11:52:07 -04:00
jfpanisset
1814af9f34
Document lineinfile regexp gotcha ( #47912 )
...
You typically want the lineinfile module to operate in an indempotent way, similar to using "sed -i", so your regexp needs to match the line to edit both before and after the edit, otherwise on a second run the regexp will no longer match the original text line and you will end up with a second copy of the replacement line at the top/bottom of the file.
2018-11-01 10:38:45 -04:00
Tomas Tomecek
23becece53
Implement connection plugin for podman ( #47519 )
...
* new connection plugin: podman
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
* podman,conn: utilize remote_user to run commands
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
* podman connection: update docs
Co-Authored-By: TomasTomecek <ttomecek@redhat.com>
2018-11-01 10:14:18 -04:00
anasbadaha
dc8b3e94ad
Adding IGMP vlan module for onyx switches ( #47811 )
...
Signed-off-by: Anas Badaha <anasb@mellanox.com>
2018-11-01 14:25:25 +05:30