fanlong0212

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

(1) 检测语法
  ansible-playbook --syntax-check /path/to/playbook.yaml
  (2) 测试运行
  ansible-playbook -C /path/to/playbook.yaml
  (3)运行
  ansible-playbook /path/to/playbook.yaml

posted on 2020-01-11 19:54  fanlong0212  阅读(2794)  评论(0编辑  收藏  举报