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

feat/fix typo

This commit is contained in:
Dylan LEVERRIER 2024-05-15 14:21:55 +02:00
parent 6779498496
commit 4b00f51ad4

View file

@ -774,9 +774,6 @@ def main():
proxmox = ProxmoxBackupAnsible(module) proxmox = ProxmoxBackupAnsible(module)
try: try:
#if module.params['state'] == 'list':
# backups = proxmox.get_backups(module.params.get('id'))
# result['backups'] = backups
if module.params['state'] == 'absent': if module.params['state'] == 'absent':
proxmox.delete_backup(module.params['id']) proxmox.delete_backup(module.params['id'])
elif module.params['state'] == 'present': elif module.params['state'] == 'present':