Playbook to run a local script
This commit is contained in:
9
run-local-script.yml
Normal file
9
run-local-script.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- hosts: all
|
||||
vars_prompt:
|
||||
- name: path
|
||||
prompt: "Enter path to script"
|
||||
private: no
|
||||
tasks:
|
||||
- name: Execute script
|
||||
script: "{{ path }}"
|
||||
Reference in New Issue
Block a user