Playbook to run a local script

This commit is contained in:
2023-11-20 20:16:03 +05:30
parent d5cd0b2d00
commit 56cb3a8690

9
run-local-script.yml Normal file
View File

@@ -0,0 +1,9 @@
---
- hosts: all
vars_prompt:
- name: path
prompt: "Enter path to script"
private: no
tasks:
- name: Execute script
script: "{{ path }}"