I need a help to create a playbook for pre-patching notification email. I have given sample set of info which should be in subject line. Also, to,cc would be changeable according to App Name.
Can anyone pls guide how to set up all those things
Subject Line: CHG No - {{ Asset Name }} {{ App Name }} {{Environment }} OS patching on Linux Servers - {{ month }} 2022
Body:
Hi All,
We are planning to perform the patching on {{App name }} {{ Environment }} Linux Servers in the below mentioned window. This is just a head’s up mail. We will send the notification mail one day prior to patching.
Scheduled window: (10th June 2022 to 10th June 2022 ).
I need a help to create a playbook for pre-patching notification email. I have given sample set of info which should be in subject line. Also, to,cc would be changeable according to App Name.
Can anyone pls guide how to set up all those things
As far as templating goes, either bring in a template with “{{ lookup(‘template’, ‘mytemplate.yml’ }}” or simple inline templating will do for the body and subject.