Okay, I just repeated the error on a recently-built CentOS 7.0.1406 machine that is on my physical network, not an AWS machine.
"ansible_distribution": "CentOS", "ansible_distribution_major_version": "7", "ansible_distribution_release": "Core", "ansible_distribution_version": "7.0.1406", When I run it with both machines: PLAY [ipaservers] ************************************************************* GATHERING FACTS *************************************************************** <obfuscatedip2> REMOTE_MODULE setup <obfuscatedip5> REMOTE_MODULE setup ok: [obfuscatedip2] ok: [obfuscatedip5] TASK: [ansible-ipaserver | Hard set the hostname] ***************************** <obfuscatedip2> REMOTE_MODULE hostname name=obfuscatedhostname2.my.domain.edu <obfuscatedip5> REMOTE_MODULE hostname name=ip-172-31-23-203.us-west-2.compute.internal failed: [obfuscatedip2] => {"failed": true} msg: hostname module cannot be used on platform Linux (Centos linux) failed: [obfuscatedip5] => {"failed": true} msg: hostname module cannot be used on platform Linux (Centos linux) FATAL: all hosts have already failed -- aborting Reading through the module code, it seems I am getting dumped right into UnimplementedStrategy class, but I don't understand yet how it's deciding which OS and distribution version it's looking at, before getting to the UnimplementedStrategy. It's the first Ansible module that I've ever looked at under the hood. Joanna On Friday, November 13, 2015 at 7:58:08 AM UTC-6, Joanna Delaporte wrote: > > Your role is awesome. Thanks for writing it...I ran into another issue > with firewalld not being installed by default on AWS. I submitted a pull > request this morning to include installing and starting firewalld. > > The shell command hostname seemed to worked fine, but in my research about > it, supposedly I will lose the hostname on reboot. So you probably don't > want that change in your role. I don't know yet what the solution is for > the hostname module. > > On Thursday, November 12, 2015 at 9:51:16 PM UTC-6, Greg Swift wrote: >> >> Fwiw, i built this role against centos7 and just ran it fresh against an >> updated box monday. I'm gonna check it again now that i saw this. > > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4ad35867-707f-40c6-b48e-655e71b5b874%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.