1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix sanity errors

This commit is contained in:
Dylan LEVERRIER 2024-05-21 11:39:56 +02:00
parent ab980eb4fb
commit e29356b964
2 changed files with 19 additions and 38 deletions

View file

@ -14,10 +14,7 @@ action_groups:
- consul_token - consul_token
proxmox: proxmox:
- proxmox - proxmox
<<<<<<< Updated upstream
=======
- proxmox_backup - proxmox_backup
>>>>>>> Stashed changes
- proxmox_disk - proxmox_disk
- proxmox_backup - proxmox_backup
- proxmox_domain_info - proxmox_domain_info

View file

@ -156,6 +156,7 @@ options:
repeat_missed: repeat_missed:
description: description:
- If V(true), the job will be run as soon as possible if it was missed while the scheduler was not running. - If V(true), the job will be run as soon as possible if it was missed while the scheduler was not running.
type: bool
schedule: schedule:
description: description:
- Backup schedule. The format is a subset of `systemd` calendar events. - Backup schedule. The format is a subset of `systemd` calendar events.
@ -600,12 +601,10 @@ def proxmox_backup_argument_spec():
'required': True 'required': True
}, },
'all': { 'all': {
'type': 'bool', 'type': 'bool'
'default': False
}, },
'bwlimit': { 'bwlimit': {
'type': 'int', 'type': 'int'
'default': 0
}, },
'comment': { 'comment': {
'type': 'str' 'type': 'str'
@ -615,15 +614,13 @@ def proxmox_backup_argument_spec():
'choices': ['gzip', 'lzo', 'zstd'] 'choices': ['gzip', 'lzo', 'zstd']
}, },
'dow': { 'dow': {
'type': 'str', 'type': 'str'
'default': "mon,tue,wed,thu,fri,sat,sun"
}, },
'dumpdir': { 'dumpdir': {
'type': 'str' 'type': 'str'
}, },
'enabled': { 'enabled': {
'type': 'bool', 'type': 'bool'
'default': True
}, },
'exclude': { 'exclude': {
'type': 'str' 'type': 'str'
@ -639,17 +636,14 @@ def proxmox_backup_argument_spec():
'type': 'str' 'type': 'str'
}, },
'ionice': { 'ionice': {
'type': 'int', 'type': 'int'
'default': 7
}, },
'lockwait': { 'lockwait': {
'type': 'int', 'type': 'int'
'default': 180
}, },
'mailnotification': { 'mailnotification': {
'type': 'str', 'type': 'str',
'choices': ['always', 'failure'], 'choices': ['always', 'failure']
'default': 'always'
}, },
'mailto': { 'mailto': {
'type': 'str' 'type': 'str'
@ -659,8 +653,7 @@ def proxmox_backup_argument_spec():
}, },
'mode': { 'mode': {
'type': 'str', 'type': 'str',
'choices': ['snapshot', 'suspend', 'stop'], 'choices': ['snapshot', 'suspend', 'stop']
'default': 'snapshot'
}, },
'node': { 'node': {
'type': 'str' 'type': 'str'
@ -672,8 +665,7 @@ def proxmox_backup_argument_spec():
'type': 'str' 'type': 'str'
}, },
'pigz': { 'pigz': {
'type': 'int', 'type': 'int'
'default': 0
}, },
'pool': { 'pool': {
'type': 'str' 'type': 'str'
@ -682,20 +674,16 @@ def proxmox_backup_argument_spec():
'type': 'bool' 'type': 'bool'
}, },
'prune_backups': { 'prune_backups': {
'type': 'str', 'type': 'str'
'default': 'keep-all=1'
}, },
'quiet': { 'quiet': {
'type': 'bool', 'type': 'bool'
'default': False
}, },
'remove': { 'remove': {
'type': 'bool', 'type': 'bool'
'default': True
}, },
'repeat_missed': { 'repeat_missed': {
'type': 'bool', 'type': 'bool'
'default': False
}, },
'schedule': { 'schedule': {
'type': 'str' 'type': 'str'
@ -707,16 +695,13 @@ def proxmox_backup_argument_spec():
'type': 'str' 'type': 'str'
}, },
'stdexcludes': { 'stdexcludes': {
'type': 'bool', 'type': 'bool'
'default': True
}, },
'stop': { 'stop': {
'type': 'bool', 'type': 'bool'
'default': False
}, },
'stopwait': { 'stopwait': {
'type': 'int', 'type': 'int'
'default': 10
}, },
'storage': { 'storage': {
'type': 'str' 'type': 'str'
@ -728,8 +713,7 @@ def proxmox_backup_argument_spec():
'type': 'str' 'type': 'str'
}, },
'zstd': { 'zstd': {
'type': 'int', 'type': 'int'
'default': 1
} }
} }
@ -764,4 +748,4 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
main() main()