1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
Jesse Pretorius 0fc99c3939 Fix lvg module idempotency ()
* 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
..
cache
integration Fix lvg module idempotency () 2018-11-05 12:50:21 +00:00
legacy vultr: fix for API returned unexpected empty list () 2018-11-04 11:23:36 +01:00
results
runner Fix ansible-test invocation of pytest. 2018-11-01 09:45:17 -07:00
sanity cs_network_acl_rule: fix doc and sanity () 2018-11-02 01:08:15 +01:00
units Removes f5-sdk from bigip_service_policy () 2018-11-02 23:14:16 -07:00
utils TEMP HACK: Avoid overloading codecov.io () 2018-10-23 17:32:34 +01:00