ansible-playbook
命令手册通过 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 "@{{variables.json}}"