Remove cloud server configuration files and references and add dynmamic
dns Shit
This commit is contained in:
12
config/ansible/templates/dynamic-dns.env.j2
Normal file
12
config/ansible/templates/dynamic-dns.env.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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') }}"
|
||||
Reference in New Issue
Block a user