mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-02 22:39:09 -07:00
Bug fixes for GCP modules (#56766)
This commit is contained in:
parent
532de89b44
commit
2220b9c851
6 changed files with 31 additions and 77 deletions
|
@ -50,10 +50,8 @@ options:
|
|||
action:
|
||||
description:
|
||||
- Upload or download from the bucket.
|
||||
- 'Some valid choices include: "download", "upload"'
|
||||
required: false
|
||||
choices:
|
||||
- download
|
||||
- upload
|
||||
overwrite:
|
||||
description:
|
||||
- "'Overwrite the file on the bucket/local machine. If overwrite is false and
|
||||
|
@ -140,7 +138,7 @@ def main():
|
|||
module = GcpModule(
|
||||
argument_spec=dict(
|
||||
state=dict(default='present', choices=['present', 'absent'], type='str'),
|
||||
action=dict(type='str', choices=['download', 'upload']),
|
||||
action=dict(type='str'),
|
||||
overwrite=dict(type='bool'),
|
||||
src=dict(type='path'),
|
||||
dest=dict(type='path'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue