On 4/12/17 3:16 PM, Robert Recchia wrote:
Something weird is happening. I am creating a playbook that I would like
to run when new hosts are built - they are standard centos 7 vms minimal
install.
when this part of the playbook is completed
- name: Ensure hostname is same as ansible inventory
hostname:
name: "{{ inventory_hostname }}"
the prompt on the server changes from this [root@ansible-testing ~]#
to
[root@10 ~]#
Troubleshooting hints:
1) What is the output from ansible-playbook -v when it executes that task?
2) What does `hostname --fqdn` (assuming linux) return after the fact?
--
Duncan Hutty
http://www.allgoodbits.org
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/06d634b9-7c30-d93e-d9fc-89041b1efb16%40allgoodbits.org.
For more options, visit https://groups.google.com/d/optout.