mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
[cloud] Require src parameter when aws_s3 is used with mode 'put' (#31657)
This commit is contained in:
committed by
Ryan Brown
parent
e26955fc9a
commit
34e2019251
@@ -599,6 +599,7 @@ def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=argument_spec,
|
||||
supports_check_mode=True,
|
||||
required_if=[('mode', 'put', ('src',))],
|
||||
)
|
||||
|
||||
if module._name == 's3':
|
||||
|
||||
Reference in New Issue
Block a user