From 5865211b5fa0bf7634555370d5c2b724b7f9320e Mon Sep 17 00:00:00 2001 From: willtome Date: Wed, 23 Mar 2022 17:18:58 -0400 Subject: [PATCH] comment email task --- .../report_linux_patching/tasks/main.yml | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/collections/ansible_collections/demo/patching/roles/report_linux_patching/tasks/main.yml b/collections/ansible_collections/demo/patching/roles/report_linux_patching/tasks/main.yml index 52f096a..0af07d6 100644 --- a/collections/ansible_collections/demo/patching/roles/report_linux_patching/tasks/main.yml +++ b/collections/ansible_collections/demo/patching/roles/report_linux_patching/tasks/main.yml @@ -22,17 +22,17 @@ ansible.builtin.debug: msg: "Please go to http://{{ ansible_host }}/linuxpatch.html" -- name: Send Report via E-mail - community.general.mail: - host: "{{ EMAIL_HOST }}" - username: "{{ EMAIL_USERNAME }}" - password: "{{ EMAIL_PASSWORD }}" - port: "{{ EMAIL_PORT }}" - subject: "Linux Patching Report" - body: "{{ lookup('template', 'report.j2') }}" - from: "{{ EMAIL_FROM }}" - to: "{{ EMAIL_TO }}" - subtype: html - delegate_to: localhost - become: false - check_mode: no \ No newline at end of file +#- name: Send Report via E-mail +# community.general.mail: +# host: "{{ EMAIL_HOST }}" +# username: "{{ EMAIL_USERNAME }}" +# password: "{{ EMAIL_PASSWORD }}" +# port: "{{ EMAIL_PORT }}" +# subject: "Linux Patching Report" +# body: "{{ lookup('template', 'report.j2') }}" +# from: "{{ EMAIL_FROM }}" +# to: "{{ EMAIL_TO }}" +# subtype: html +# delegate_to: localhost +# become: false +# check_mode: no \ No newline at end of file