ansible 配置運行環境

官方查看配置文件設置 http://docs.ansible.com/ansible/latest/intro_configuration.html 1.配置環境變量 export ANSIBLE_SUDO_USER=root 設置環境變量以後,ANSIBLE_SUDO_USER就可以在playbook中直接引用。 2設置.ansible.cfg常用配置參數 ,文件目錄:etc/ansible/a
相關文章
相關標籤/搜索