I’ve just upgrade to Ansible 1.5.4. It’s awesome. I had been using the host module in the version I had upgrade from. Just wondering what the status of the host module. Is it permanently dead.
Cheers,
Paul
I’ve just upgrade to Ansible 1.5.4. It’s awesome. I had been using the host module in the version I had upgrade from. Just wondering what the status of the host module. Is it permanently dead.
Cheers,
Paul
Thanks!
Host module was pulled due to non-workiness in a development version IIRC, of which form of non-workiness, I don’t particularly remember.
I think a lot of it had to do with not understanding the topology of the host file and being rather line oriented, such as if you remove something that is a record or an alias, what does it do with the other aliases or records.
I’d possibly be open to including a working one, though I do generally feel /etc/host files are better managed with templates most of the time.
It might take some doing.
If I recall correctly, I originally used templates for the purpose. Sometimes it is easy to get carried away trying to use every possible module I’ve seen people get a bit fancy with lineinfile as well (https://gist.github.com/rothgar/8793800). But, I think I’ll go back to using the templates module.
Thanks,
Paul
Yay, a convert!
It’s definitely way easier.