I wrote a role to edit the motd when user log into the machine, but I want to personalize the motd to print the hostname of the machine
What variable do I use? or how do I do this? template? how?
I used the copy module
for the motd file
So for example I want to be able to say "welcome to $hostname" so how do I parse this hostname using ansible?