Change inventory yaml from role into inventory yaml

This commit is contained in:
2025-04-27 12:13:47 -05:00
parent 21b4c45cc3
commit 424dc8653b
3 changed files with 7 additions and 15 deletions

View File

@@ -1,7 +0,0 @@
---
- 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) }}"