Alfred Ansible Workflow
An Alfred workflow to search the Ansible module documentation.
As macOS still ships Python 2 which is no longer supported since January 1st, 2020 - Python 3 is required to be installed. Due to the usage of f-strings at least Python 3.6 is required. The workflow uses the Python 3 interpreter returned by
/usr/bin/env python3 so the installation method won't matter. However, i do recommend the usage of homebrew. The CI tests cover python version up from
Required modules can be installed using pip:
/usr/bin/env python3 -m pip install -r requirements.txt
The workflow is triggered using the keyword
ansible and will use the following input as search parameters.
enter on any of the results will open the corresponding documentation page in the default browser.