Debugging local code
The local Ansible code is the lion's share of the code that comes with Ansible. All the playbook, play, role, and task parsing code lives locally. All of the task result processing code and transport code lives locally. All of the code, except for the assembled module code that is transported to the remote host lives locally.
Local Ansible code can be broken down into three major sections: inventory, playbook, and executor. Inventory code deals with parsing inventory data from host files, dynamic inventory scripts, or combinations of the two, in directory trees. Playbook code is used to parse the playbook YAML code into Python objects within Ansible. Executor code is the core API and deals with forking processes, connecting ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access