use bitwarden to get discord webhook url

Signed-off-by: Arthur Koziel <arthur@arthurkoziel.com>
This commit is contained in:
Arthur Koziel 2021-07-13 18:03:04 +08:00
parent 0884135a32
commit f0a1446830
No known key found for this signature in database
GPG Key ID: 55B0204F1259CA3A
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ gateway:
- account: "discord.{{ discord_srv.srv }}"
channel: "{{ discord_srv.ch }}"
options:
WebhookURL: "{{lookup("passwordstore", "cloud/Discord/webhooks/"+discord_srv.srv+"/"+discord_srv.ch)}}"
WebhookURL: "{{lookup("bitwarden", "Discord/"+discord_srv.srv+"/webhooks", field=discord_srv.ch)}}"
{% endfor %}
{% endfor %}