diff --git a/plugins/modules/scaleway_secret_version.py b/plugins/modules/scaleway_secret_version.py index 136c606..b16be00 100644 --- a/plugins/modules/scaleway_secret_version.py +++ b/plugins/modules/scaleway_secret_version.py @@ -81,7 +81,7 @@ def create(module: AnsibleModule, client: "Client") -> None: module.exit_json( changed=True, - msg=f"secret {secret.name} ({secret.id}) revision { secret_version.revision }]\ + msg=f"secret {secret.name} ({secret.id}) revision {secret_version.revision}]\ has been created", data=secret.__dict__, ) @@ -109,7 +109,7 @@ def delete(module: AnsibleModule, client: "Client") -> None: module.exit_json( changed=True, - msg=f"secret's {secret.name} ({secret.id}) revision{ revision } has been deleted", + msg=f"secret's {secret.name} ({secret.id}) revision {revision} has been deleted", ) @@ -155,7 +155,7 @@ def enable(module: AnsibleModule, client: "Client") -> None: module.exit_json( changed=True, - msg=f"secret's secret {secret.name} ({secret.id}) revision {revision } has been disabled", + msg=f"secret's secret {secret.name} ({secret.id}) revision {revision} has been disabled", data=secret.__dict__, ) @@ -182,7 +182,7 @@ def disable(module: AnsibleModule, client: "Client") -> None: module.exit_json( changed=True, - msg=f"secret's secret {secret.name} ({secret.id}) revision { revision } has been disabled", + msg=f"secret's secret {secret.name} ({secret.id}) revision {revision} has been disabled", )