diff --git a/roles/trigger-readthedocs/tasks/main.yaml b/roles/trigger-readthedocs/tasks/main.yaml index 108d67f44..59e11562d 100644 --- a/roles/trigger-readthedocs/tasks/main.yaml +++ b/roles/trigger-readthedocs/tasks/main.yaml @@ -15,12 +15,6 @@ msg: password is required when using rtd_credentials.username when: rtd_credentials.password is not defined - - debug: - msg: 'https://readthedocs.org/api/v2/webhook/{{ rtd_project_name}}/{{ rtd_webhook_id}}/' - - - debug: - msg: 'username <{{ rtd_credentials.username }}>' - - name: Trigger readthedocs build webhook via authentication uri: method: POST @@ -30,6 +24,8 @@ # NOTE(ianw): testing it seems the API doesn't respond with # 401 so this is required force_basic_auth: yes + # avoid logging any credentials + no_log: true - when: rtd_credentials.integration_token is defined and rtd_credentials.username is not defined