Actually, it happens both on a local install of CentOS 7.0.1406 and AWS's CentOS7.0.1406.
hostnamectl works fine on my AWS host. On Friday, November 13, 2015 at 1:08:20 PM UTC-6, Greg Swift wrote: > > Joanna found that it has something to do with the AWS CentOS7 install. I'm > assuming based on her PR that it doesnt seem to have hostnamectl available, > which seems weird? > > https <https://github.com/gregswift/ansible-ipaserver/pull/1>:// > <https://github.com/gregswift/ansible-ipaserver/pull/1>github.com > <https://github.com/gregswift/ansible-ipaserver/pull/1>/gregswift/ > <https://github.com/gregswift/ansible-ipaserver/pull/1>ansible-ipaserver > <https://github.com/gregswift/ansible-ipaserver/pull/1>/pull/1 > <https://github.com/gregswift/ansible-ipaserver/pull/1> > > On Fri, Nov 13, 2015 at 12:06 PM Brian Coca <[email protected] > <javascript:>> wrote: > >> the module checks the platform and version to determine which approach >> it uses, for centos if the version is >= 7 it will use systemd, for >> other versions it uses hostname + file editing. >> >> >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/CAJ5XC8mkZ4qw7Frjs5mv41NV2aAkHDirVAHDwQUnNSQMtXsLxQ%40mail.gmail.com >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/087d86ea-7a1f-4fc8-b5a4-5d6f8bea30be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
