mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4e402cf07b
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
(cherry picked from commit
|
6 years ago | |
---|---|---|
.. | ||
cli | 6 years ago | |
compat | ||
config | 6 years ago | |
errors | ||
executor | 6 years ago | |
galaxy | ||
inventory | ||
module_utils | 6 years ago | |
modules | 6 years ago | |
parsing | 6 years ago | |
playbook | 6 years ago | |
plugins | 6 years ago | |
template | ||
utils | 6 years ago | |
vars | 6 years ago | |
__init__.py | ||
constants.py | ||
release.py | 6 years ago |