From 9f221cf734b077536b5f60f2c691d4fee971003e Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 27 Jun 2023 09:02:54 -0500 Subject: [PATCH] web/dustinandtabitha: Disable RSVP form The spammers have found our wedding RSVP form. --- roles/websites/dustinandtabitha.com/tasks/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/roles/websites/dustinandtabitha.com/tasks/main.yml b/roles/websites/dustinandtabitha.com/tasks/main.yml index c013e66..5e046c3 100644 --- a/roles/websites/dustinandtabitha.com/tasks/main.yml +++ b/roles/websites/dustinandtabitha.com/tasks/main.yml @@ -47,10 +47,9 @@ tags: - datadir -- name: ensure formsubmit is configured for dustinandtabitha.com - copy: - content: '{{ dustinandtabitha_formsubmit|to_nice_yaml(indent=2) }}' - dest: /etc/formsubmit/weddingrsvp.yml - mode: u=rw,go=r +- name: ensure formsubmit is NOT configured for dustinandtabitha.com + file: + path: /etc/formsubmit/weddingrsvp.yml + state: absent tags: - config