打赏

星辰大海ゞ

That which does not kill us makes us stronger!

导航

2015年12月7日 #

ansible之条件语句when

摘要: 注册变量:变量的另一个用途是将一条命令的运行结果保存到变量中,供后面的playbook使用。例如:- hosts: webservers tasks: - shell: /usr/bin/foo register: foo_result ignore_errors: True 使用i... 阅读全文

posted @ 2015-12-07 17:11 星辰大海ゞ 阅读(4624) 评论(0) 推荐(0) 编辑