I did a fresh install on a new CentOS 7.1.1503. I got the same error response to the hostname module from my Slackware control machine.
I installed ansible 1.9.3 and git cloned enough over to my Ubuntu 14.04 laptop to rerun the same playbook against the same CentOS 7.1 target. The error was gone. All my CentOS targets respond just fine to my Ubuntu control machine. So...something is wonky with the control machine. It is running Slackware, so I'm not surprised. Thanks for troubleshooting with me! Joanna On Friday, November 13, 2015 at 11:25:02 PM UTC-6, Brian Coca wrote: > > in this case the version of python on ansible machine should not > matter, the module executes on the target machine. The version of > ansible might matter as many changes were made to hostname module, I'm > using 2.0/devel from git. > > -- > Brian Coca > -- 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/1367de39-132e-43d1-bd19-c436f370503a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
