V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  sgaoc  ›  全部回复第 1 页 / 共 1 页
回复总数  2
阿里云昨天刚入手一台,1 核 2G,40G,¥ 229,拿来测试玩
2019-09-19 02:33:31 +08:00
回复了 hagezhou 创建的主题 Ansible ansible 中的 check 模式和 diff 模式到底神马意思?
- name: Get the school server
shell: DOMAIN={{ school_config.url }} && echo ${DOMAIN#*.}
register: domain_name

我的 shell 模块如上,没有 when 判断条件,但在执行 --check --diff 的时候也被跳过了
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1812 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 00:19 · PVG 08:19 · LAX 17:19 · JFK 20:19
Developed with CodeLauncher
♥ Do have faith in what you're doing.