13 lines
767 B
Django/Jinja
13 lines
767 B
Django/Jinja
# Dynamic DNS Environment Configuration
|
|
# This file contains sensitive credentials and should be kept secure
|
|
# Credentials are automatically retrieved from OnePassword
|
|
|
|
# CloudFlare API Token (required)
|
|
# Retrieved from OnePassword: CloudFlare API Token
|
|
export CLOUDFLARE_API_TOKEN="{{ lookup('community.general.onepassword', 'CloudFlare API Token', vault='Dotfiles', field='password') }}"
|
|
|
|
# Telegram Bot Credentials (for notifications when IP changes)
|
|
# Retrieved from OnePassword: Telegram DynDNS Bot
|
|
export TELEGRAM_BOT_TOKEN="{{ lookup('community.general.onepassword', 'Telegram DynDNS Bot', vault='Dotfiles', field='password') }}"
|
|
export TELEGRAM_CHAT_ID="{{ lookup('community.general.onepassword', 'Telegram DynDNS Bot', vault='Dotfiles', field='chat_id') }}"
|