Hi there,
Is anyone working on extending the ansible.community linode_v4: module to support more than just simple linode creation? Or do I need to keep using
command:
cmd: linode-cli …
to do all my work? I tried using the uri: module instead to call the Linode API directly, but that was painful for me as a newbie Ansible user.
My big stumbling block now is creating a Linode nodebalancer where I need to do:
- create nodebalancer
- create nodebalancer config
with_items: 80, 443 - add two seperate nodes to each config.
Since this is a double loop, I think I need to do something silly like multiple include_tasks: loops, which just gets ugly fast.
How do people do nested layers of devices in Ansible efficiently and clearly without having to use multiple tasks files?
Thanks,
John