[toc]
ansible配置文件
1.ansible配置文件优先级
1.1 ansible默认配置文件说明
ansible配置文件 /etc/ansible/ansible.cfg 开头关于ansible配置文件优先级的说明
# config file for ansible -- https://ansible.com/
# ===============================================
# nearly all parameters can be overridden in ansible-playbook
# or with command line flags. ansible will read ANSIBLE_CONFIG,
# ansible.cfg in the current working directory, .ansible.cfg in
# the home directory or /etc/ansible/ansible.cfg, whichever it
# finds first