i am trying to send an one email after the playbook is done, but some how i am getting the errors, i have tow tasks, and the out put of that tasks i defined as two set_facts, but some reason it is not working if i use the two set-facts, if i use only one set_fact it is working fine, below is my playbook, can some one please help me?
i am trying to send an one email after the playbook is done, but some how i am getting the errors, i have tow tasks, and
the out put of that tasks i defined as two set_facts, but some reason it is not working if i use the two set-facts, if
i use only one set_fact it is working fine, below is my playbook, can some one please help me?
msg: |-
The task includes an option with an undefined variable. The error was: ‘cur_datemqm’ is undefined
The error appears to have been in ‘/opt/WebSphere/scripts/Applications/projects/timetravel/printdate.yml’: line 23, column 9, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
msg: “Current Date on TT servers is: {{ cur_date}}”
name: “Displaying the Current Date on the TT servers”
^ here