summaryrefslogtreecommitdiff
path: root/playbook.yaml
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2025-07-06 20:10:56 +0100
committerMatthew Fennell <matthew@fennell.dev>2025-07-06 20:10:56 +0100
commita4afe4da692f02c286d7d92d74bd0d8b1ec1b54a (patch)
tree84124a2956d14573cb1385535900f899c89bebe2 /playbook.yaml
parent23b38d36fcf0145880af7f5a0240d2af30b2a88e (diff)
Remove anonymous login support
This was originally intended for motoristic, but is no longer needed by any domain.
Diffstat (limited to 'playbook.yaml')
-rw-r--r--playbook.yaml15
1 files changed, 0 insertions, 15 deletions
diff --git a/playbook.yaml b/playbook.yaml
index 802ba2a..45e7ac0 100644
--- a/playbook.yaml
+++ b/playbook.yaml
@@ -168,21 +168,6 @@
records: ["3 1 1 {{ dane_hash.stdout }}"]
delegate_to: localhost
- - name: Ensure anonymous records are added to subdomain, if needed
- ansible.builtin.uri:
- url: "https://desec.io/api/v1/domains/{{ virtual_host }}/rrsets/"
- method: PUT
- body_format: json
- headers:
- Authorization: Token {{ desec_token }}
- body:
- - subname: "anon"
- type: CNAME
- ttl: 3600
- records: ["{{ delegate_host }}."]
- delegate_to: localhost
- when: anonymous_login
-
# We specifically use apt instead of the more general package module here,
# because we want to ensure the cache is updated before we try and install
# anything. This is needed because, on a freh Debian install on AWS