# ansible motd changed login prompt

**URL:** <https://forum.ansible.com/t/ansible-motd-changed-login-prompt/24148>\
**Category:** Ansible Project\
**Created:** [April 5, 2017, 1:19pm UTC](https://forum.ansible.com/t/ansible-motd-changed-login-prompt/24148 "2017-04-05T13:19:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Recchia](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@Robert\_Recchia](https://forum.ansible.com/u/Robert_Recchia)\
**Post date:** [April 5, 2017, 1:19pm UTC](https://forum.ansible.com/t/ansible-motd-changed-login-prompt/24148/1 "2017-04-05T13:19:09Z")

</div>

This is weird and I am not sure of what really caused it all I know is I just wanted to start making motd files bit more useful. Created this simple playbook

---

<div class="post-metadata">

**Author:** ![Dick\_Davies](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Post date:** [April 6, 2017, 7:24am UTC](https://forum.ansible.com/t/ansible-motd-changed-login-prompt/24148/2 "2017-04-06T07:24:04Z")

</div>

That looks like your inventory\_hostname was an IP that started  
with 10 and the hostname pieces are splitting this like an FQDN.

What does 'hostname' come back with now, I'm guessing '10'?
