This commit is contained in:
parent
122741c989
commit
83e83ed2a6
|
|
@ -5,10 +5,10 @@
|
||||||
|
|
||||||
- name: Ensure required Python packages are installed
|
- name: Ensure required Python packages are installed
|
||||||
pip:
|
pip:
|
||||||
requirements: /Users/vadimshulkin/playbooks/requirements.txt # Ensure dependencies are installed
|
requirements: requirements.txt
|
||||||
|
|
||||||
- name: Run the Python script
|
- name: Run the Python script
|
||||||
command: python3 /Users/vadimshulkin/playbooks/scripts/my_script.py
|
command: python3 scripts/my_script.py
|
||||||
register: script_output
|
register: script_output
|
||||||
|
|
||||||
- name: Show script output
|
- name: Show script output
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue