Fix location of infra role and add linode inventory role

This commit is contained in:
2025-04-27 12:01:59 -05:00
parent 001635914e
commit 21b4c45cc3
3 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
---
- name: Load Linode instances into inventory
add_host:
name: "{{ item.label }}"
ansible_host: "{{ item.ipv4[] }}"
groups: linode_instances
loop: "{{ lookup('linode.cloud.linode', wantlist=True) }}"