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

Merge pull request #9 from zerchevack/feat/add_proxmox_backup_module

fix sanity error
This commit is contained in:
zerchevack 2024-06-02 11:21:32 +02:00 committed by GitHub
commit fb7c5e3be7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -582,7 +582,7 @@ class ProxmoxBackupAnsible(ProxmoxAnsible):
def get_task_parameters(self): def get_task_parameters(self):
# Filtre pour exclure les paramètres d'authentification # Filtre pour exclure les paramètres d'authentification
exclude_keys = ['api_host', 'api_user', 'api_password', 'api_token_id', exclude_keys = ['api_host', 'api_user', 'api_password', 'api_token_id',
'api_token_secret', 'validate_certs', 'state', 'mailto'] 'api_token_secret', 'validate_certs', 'state', 'mailto']
task_params = { task_params = {
k.replace('_', '-'): (1 if v is True else (0 if v is False else v)) k.replace('_', '-'): (1 if v is True else (0 if v is False else v))
for k, v in self.module.params.items() for k, v in self.module.params.items()