📜  ansible 中的额外变量 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:20.829000             🧑  作者: Mango

代码示例1
ansible-playbook arcade.yml --extra-vars "{\"name\":\"Conan O\'Brien\"}"
ansible-playbook arcade.yml --extra-vars '{"name":"Conan O'\\\''Brien"}'
ansible-playbook script.yml --extra-vars "{\"dialog\":\"He said \\\"I just can\'t get enough of those single and double-quotes"\!"\\\"\"}"