我尝试在 Ansible shell 模块中设置超时,但它不起作用。如果我在终端中执行相同的操作,它就可以工作。下面是我的代码
- name: Timeout shell: "timeout 30s {{ execute_path_nityo }}/execute.sh"
ansible
ansible ×1