mac_maker.ansible_controller.interpreter

Python interpreter discovery class.

class mac_maker.ansible_controller.interpreter.Interpreter[source]

The local Python interpreter used by Ansible.

get_interpreter_path()[source]

Return the path to a valid python interpreter on this system.

Return type

Path

Returns

The path to a valid python interpreter.

exception mac_maker.ansible_controller.interpreter.InterpreterNotFound[source]

Raised when a valid Python interpreter is not found.