/ansible_utils

An ansible collection of modules to find system executables or check python packages

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Ansible Collection - pytoccaz.utils

  • Find a system executable path
  • Check if a python module is installed
  • Query env variables

Ansible version compatibility

This collection has been tested against following Ansible versions: >=2.13.13.

Installation

Download from Galaxy:

ansible-galaxy collection install pytoccaz.utils

Collection content

Lookup plugins

Name Description
pytoccaz.utils.binary_path Returns a system executable path on the Ansible controller

Modules

Name Description
pytoccaz.utils.binary_info Finds a system executable on the target host
pytoccaz.utils.env_info Queries environment variables on the target host
pytoccaz.utils.python_module_info Checks whether a python module is installed or not