Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
87-remove-node.yml 385 Bytes
Copy Edit Raw Blame History
setzero authored 2021-05-12 09:54 . [IMP]优化脚本默认值获取
- hosts:
- del-node
vars_prompt:
name: "restore_confirmation"
prompt: "确认要移除节点? 输入“yes”确认移除。"
default: "no"
private: no
pre_tasks:
- name: 移除确认
fail:
msg: "移除确认失败,取消移除节点操作。"
when: restore_confirmation != "yes"
roles:
- prepare/variables
- remove/node
- reset
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化