mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 06:30:19 -07:00
There is a common pattern in modules where some parameters are required only if another parameter is present AND set to a particular value. For instance, if a cloud server state is "present" it's important to indicate the image to be used, but if it's "absent", the image that was used to launch it is not necessary. Provide a check that takes as an input a list of 3-element tuples containing parameter to depend on, the value it should be set to, and a list of parameters which are required if the required parameter is set to the required value. |
||
---|---|---|
.. | ||
__init__.py | ||
a10.py | ||
basic.py | ||
cloudstack.py | ||
database.py | ||
ec2.py | ||
facts.py | ||
gce.py | ||
known_hosts.py | ||
openstack.py | ||
powershell.ps1 | ||
rax.py | ||
redhat.py | ||
splitter.py | ||
urls.py |