From 85d9dfa7d7002c0a042efcba49dcab75df21671c Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 29 Oct 2023 18:06:36 +0100 Subject: [PATCH] decom msmtp --- ansible/group_vars/all/mail | 5 ----- ansible/playbooks/server.yml | 2 -- 2 files changed, 7 deletions(-) delete mode 100644 ansible/group_vars/all/mail diff --git a/ansible/group_vars/all/mail b/ansible/group_vars/all/mail deleted file mode 100644 index b8f3748..0000000 --- a/ansible/group_vars/all/mail +++ /dev/null @@ -1,5 +0,0 @@ -notification_mail: "{{inventory_hostname}}@{{ domain.name }}" -msmtp_mailhub: smtp.{{ domain.name }} -msmtp_auth_user: "{{ user.mail }}" -msmtp_auth_pass: "{{ lookup('hashi_vault','secret=secrets/data/ansible/other:email') }}" - diff --git a/ansible/playbooks/server.yml b/ansible/playbooks/server.yml index 300da3b..77b5943 100644 --- a/ansible/playbooks/server.yml +++ b/ansible/playbooks/server.yml @@ -23,6 +23,4 @@ roles: - system - autofs - - role: msmtp - when: ansible_os_family != "RedHat" - cronie