diff --git a/playbooks/apps/templates/ghost/gabnotes-org-config.json.j2 b/playbooks/apps/templates/ghost/gabnotes-org-config.json.j2 index 4d00484..e6c33fd 100644 --- a/playbooks/apps/templates/ghost/gabnotes-org-config.json.j2 +++ b/playbooks/apps/templates/ghost/gabnotes-org-config.json.j2 @@ -30,6 +30,18 @@ } } }, + "spam": { + "blocked_email_domains": [ + "vtext.com", + "txt.att.net", + "txt.bell.ca", + "tmomail.net", + "mymetropcs.com", + "msg.telus.com", + "pcs.rogers.com", + "fido.ca" + ] + }, "logging": { "transports": [ "file", diff --git a/playbooks/apps/templates/ghost/voyages-coccomagnard-fr-config.json.j2 b/playbooks/apps/templates/ghost/voyages-coccomagnard-fr-config.json.j2 index 48354e3..0c459bc 100644 --- a/playbooks/apps/templates/ghost/voyages-coccomagnard-fr-config.json.j2 +++ b/playbooks/apps/templates/ghost/voyages-coccomagnard-fr-config.json.j2 @@ -27,6 +27,18 @@ } } }, + "spam": { + "blocked_email_domains": [ + "vtext.com", + "txt.att.net", + "txt.bell.ca", + "tmomail.net", + "mymetropcs.com", + "msg.telus.com", + "pcs.rogers.com", + "fido.ca" + ] + }, "logging": { "transports": [ "file", diff --git a/playbooks/apps/templates/ghost/voyages-lois-augendre-info-config.json.j2 b/playbooks/apps/templates/ghost/voyages-lois-augendre-info-config.json.j2 index 752545a..ba74aac 100644 --- a/playbooks/apps/templates/ghost/voyages-lois-augendre-info-config.json.j2 +++ b/playbooks/apps/templates/ghost/voyages-lois-augendre-info-config.json.j2 @@ -27,6 +27,18 @@ } } }, + "spam": { + "blocked_email_domains": [ + "vtext.com", + "txt.att.net", + "txt.bell.ca", + "tmomail.net", + "mymetropcs.com", + "msg.telus.com", + "pcs.rogers.com", + "fido.ca" + ] + }, "logging": { "transports": [ "file", diff --git a/roles/ghost/tasks/main.yaml b/roles/ghost/tasks/main.yaml index 1ca511d..057d913 100644 --- a/roles/ghost/tasks/main.yaml +++ b/roles/ghost/tasks/main.yaml @@ -5,7 +5,9 @@ dest: /mnt/data/{{ ghost_site }}/config.production.json mode: "0664" notify: - - Restart service + - Restart service {{ ghost_site }} +- name: Flush handlers + ansible.builtin.meta: flush_handlers - name: Ensure service is started {{ ghost_site }} ansible.builtin.command: cmd: ghost start