ansible 2.8.5
python 2.7 (jinja2, PyYAML)
inventory/hosts
inventory/group_vars/all/all.yml
ansible-playbook -i inventory/hosts playbooks/site.yml
ansible-playbook -i inventory/hosts playbooks/site.yml --tags "status"
在同一套环境里面部署多次的话,可以先清理集群
ansible-playbook -i inventory/hosts playbooks/clean.yml
ansible-playbook -i inventory/hosts playbooks/kernel.yml