我想使用 ansible 运行 shell 脚本,但 shell 脚本需要用户输入才能成功执行,
例如:我的 shell 脚本询问一个 的唯一 id ossec agent,通过 ansible 我可以预定义我的unique id (user input)。
ossec agent
unique id (user input
shell user-input ansible
ansible ×1
shell ×1
user-input ×1