(1) 检测语法
ansible-playbook --syntax-check /path/to/playbook.yaml
(2) 测试运行
ansible-playbook -C /path/to/playbook.yaml
(3)运行
ansible-playbook /path/to/playbook.yaml
ansible 语法校验-测试运行
猜你喜欢
转载自www.cnblogs.com/fanlong0212/p/12180924.html
今日推荐
周排行