Compare commits

..

2 Commits

Author SHA1 Message Date
6b208a768a Add new hosts and fix some ansible semantics
Some checks failed
Ansible Deploy / deploy (Ansible/playbooks/debian.yml) (push) Successful in 1m40s
Ansible Deploy / deploy (Ansible/playbooks/proxmox.yml) (push) Successful in 3m11s
Ansible Lint / build (push) Failing after 1m12s
2024-11-28 16:40:45 -05:00
96a7763933 fix rss2email error 2024-11-28 16:19:48 -05:00
5 changed files with 16 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -42,3 +42,5 @@
ansible.builtin.systemd:
name: ssh
state: restarted
changed_when: false

View File

@ -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
@ -94,4 +94,7 @@ url = https://www.eff.org/rss/updates.xml
url = https://benhays.org/lwn-features.xml
[feed.lwn-all]
url = https://benhays.org/lwn-all.xml
url = https://benhays.org/lwn-all.xml
[feed.phoronix]
url = https://www.phoronix.com/rss.php