How do you see which configuration settings are active and where they came from?
BeginnerConceptFundamentals and Architecture
Answer
ansible-config view # print the config file in use
ansible-config dump --only-changed # settings that differ from defaults, with origin
ansible-config list | less # every setting, env var and ini key
dump shows the source of each value (env, ini, default), which is the fastest way to find out why a setting is not taking effect.
More on Fundamentals and Architecture
What is Ansible and what problem does it solve?BeginnerWhat does "agentless" mean in Ansible?BeginnerWhat are the requirements for the control node?BeginnerWhat does a managed node need?BeginnerIs Ansible push-based or pull-based?BeginnerWalk through what happens when you run `ansible-playbook site.yml`.Intermediate