Может ли книга воспроизведения Ansible запускать бесконечный цикл? ⇐ Linux
-
Anonymous
Может ли книга воспроизведения Ansible запускать бесконечный цикл?
I want to run this Python script using Ansible Playbook and watch it every time my script prints "I'm alive" text. is this possible?
python_script.py
import time while True: print("I'm alive") time.sleep(5)
Источник: https://stackoverflow.com/questions/781 ... inite-loop
I want to run this Python script using Ansible Playbook and watch it every time my script prints "I'm alive" text. is this possible?
python_script.py
import time while True: print("I'm alive") time.sleep(5)
Источник: https://stackoverflow.com/questions/781 ... inite-loop
Мобильная версия