Compare commits
2 Commits
f70a826a91
...
6b208a768a
Author | SHA1 | Date | |
---|---|---|---|
6b208a768a | |||
96a7763933 |
@ -7,3 +7,6 @@ devops.benhays.cloud heartbeat_url="https://uptime.betterstack.com/api/v1/heartb
|
||||
tailscale.benhays.cloud heartbeat_url='https://uptime.betterstack.com/api/v1/heartbeat/Sp7CXapJDwtjQmCMVdjeQsMy' # <--- All the rest are Ubuntu 22.04
|
||||
bitwarden.benhays.cloud heartbeat_url='https://uptime.betterstack.com/api/v1/heartbeat/YUBUtgJjBDJKEqM1qUXroj1v' # <---
|
||||
nextcloud.benhays.cloud heartbeat_url='https://uptime.betterstack.com/api/v1/heartbeat/oijvrZGFtc9Dev2AefP8iTfB' # <---
|
||||
irc.benhays.cloud
|
||||
dns01.benhays.cloud
|
||||
dns02.benhays.cloud
|
@ -16,6 +16,7 @@
|
||||
ansible.builtin.import_tasks: ../roles/cloudflare-dns.yml
|
||||
- name: Heartbeat Cronjob for Betterstack
|
||||
ansible.builtin.import_tasks: ../roles/heartbeat.yml
|
||||
when: heartbeat_url is defined
|
||||
- name: OpenSSH Hardening
|
||||
ansible.builtin.import_tasks: ../roles/openssh.yml
|
||||
- name: Generic Debian Hardening
|
||||
|
@ -5,21 +5,25 @@
|
||||
mode: "0700"
|
||||
src: ../../Scripts/cloudflare-dns.sh
|
||||
dest: /opt/cloudflare-dns.sh
|
||||
changed_when: false
|
||||
- name: Insert API Token
|
||||
ansible.builtin.replace:
|
||||
path: "/opt/cloudflare-dns.sh"
|
||||
regexp: "^cloudflare_zone_api_token=''"
|
||||
replace: "cloudflare_zone_api_token='{{ CF_API_TOKEN }}'"
|
||||
changed_when: false
|
||||
- name: Insert Zone ID
|
||||
ansible.builtin.replace:
|
||||
path: "/opt/cloudflare-dns.sh"
|
||||
regexp: "^zoneid=''"
|
||||
replace: "zoneid='{{ CF_ZONE_ID }}'"
|
||||
- name: Insert Zone ID
|
||||
changed_when: false
|
||||
- name: Insert DNS Record
|
||||
ansible.builtin.replace:
|
||||
path: "/opt/cloudflare-dns.sh"
|
||||
regexp: "^dns_record=''"
|
||||
replace: "dns_record='{{ inventory_hostname }}'"
|
||||
changed_when: false
|
||||
- name: Add Cronjob for IPAM Script
|
||||
ansible.builtin.cron:
|
||||
name: "Cloudflare IPAM Script"
|
||||
|
@ -42,3 +42,5 @@
|
||||
ansible.builtin.systemd:
|
||||
name: ssh
|
||||
state: restarted
|
||||
changed_when: false
|
||||
|
||||
|
@ -18,7 +18,7 @@ trust-guid = True
|
||||
trust-link = False
|
||||
reply-changes = False
|
||||
encodings = US-ASCII, ISO-8859-1, UTF-8, BIG5, ISO-2022-JP
|
||||
post-process = rss2email.post_process.prettify process
|
||||
post-process =
|
||||
digest-post-process =
|
||||
html-mail = False
|
||||
multipart-html = False
|
||||
@ -95,3 +95,6 @@ url = https://benhays.org/lwn-features.xml
|
||||
|
||||
[feed.lwn-all]
|
||||
url = https://benhays.org/lwn-all.xml
|
||||
|
||||
[feed.phoronix]
|
||||
url = https://www.phoronix.com/rss.php
|
Loading…
Reference in New Issue
Block a user