通过 SSH 协议在远程计算机上执行 playbook 中定义的任务。 更多信息:https://docs.ansible.com/ansible/latest/cli/ansible-playbook.html.
ansible-playbook {{playbook}}
ansible-playbook {{playbook}} -i {{清单文件}}
ansible-playbook {{playbook}} -e "{{变量1}}={{值1}} {{变量2}}={{值2}}"
ansible-playbook {{playbook}} -e "@{{变量.json}}"
ansible-playbook {{playbook}} --tags {{标签1,标签2}}
ansible-playbook {{playbook}} --start-at {{任务名称}}
ansible-playbook {{playbook}} --check --diff