fucking hell

This commit is contained in:
2025-08-07 13:51:26 -05:00
parent eae894e681
commit c5851bd287
3 changed files with 39 additions and 212 deletions

View File

@@ -123,13 +123,13 @@
label: "{{ item.key }}"
when: linode_inventory_data._meta.hostvars | length > 0
- name: Create static inventory file (optional)
- name: Create JSON inventory file for AWX
ansible.builtin.template:
src: inventory.ini.j2
dest: "{{ linode_inventory_output_dir }}/linode_static_inventory.ini"
src: linode_hosts.json.j2
dest: "{{ linode_inventory_output_dir }}/linode_hosts.json"
mode: '0644'
when: inventory_format == "ini"
delegate_to: localhost
when: linode_inventory_data is defined
- name: Clean up temporary script
ansible.builtin.file: