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:
commit
fb7c5e3be7
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue