Linode support for Ansible
Ansiblejust got merged
This lets Ansible pull your host list directly from the Linode API rather than from a static file. Hosts are grouped by datacenter and by display group, and it creates variables corresponding to all the attributes returned by linode.listChube
Enjoy!
4 Replies
I understand Ansible can also be used to do the spinning up and tearing down, but I haven't looked into that yet. I'm an Ansible noob too.
Linode support has been updated in Ansible 2.8.
- There is a new Linode inventory plugin:
https://docs.ansible.com/ansible/latest/plugins/inventory/linode.html - And a new
linode_v4
module for managing instances:
https://docs.ansible.com/ansible/latest/modules/linode_v4_module.html
This work was primarily contributed by Luke Murphy.