Banner For Linux Login

Hi, Today i have got the task to setup banner for when user successfully login banner message should be displayed.

Here i have modified the content in /etc/motd file as per the provided template. But it shows that task got failed.

So can you please help me out that if i missed anything for populating the banner message when user successfully login.