Change command to script for inventory generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Run Linode dynamic inventory script
|
- name: Run Linode dynamic inventory script
|
||||||
ansible.builtin.command: "{{ playbook_dir }}/roles/inventory/linode_inventory/files/linode_inventory.py"
|
ansible.builtin.script: "{{ playbook_dir }}/roles/inventory/linode_inventory/files/linode_inventory.py"
|
||||||
register: linode_inventory_raw
|
register: linode_inventory_raw
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user