playbook常用操作
playbook常用操作 1、检查playbook语法错误 ansible-playbook -i hosts deploy_coredns.yaml --syntax-check 2、查看playbook主机组 ansible-playbook -i hosts deploy_coredns.yaml --list-hosts
playbook常用操作 1、检查playbook语法错误 ansible-playbook -i hosts deploy_coredns.yaml --syntax-check 2、查看playbook主机组 ansible-playbook -i hosts deploy_coredns.yaml --list-hosts