Ansible Documentation Search

An Alfred Workflow


Short Description

An Alfred workflow to search the Ansible module documentation.

Last Updated

28 Feb 2021

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.0.0
 

Bundle ID

de.abyth.ansible
 

Author

Alfred Ansible Workflow

An Alfred workflow to search the Ansible module documentation.

Alfred window showing the ansible workflow

Requirements

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 3.6.

Required modules can be installed using pip:

/usr/bin/env python3 -m pip install -r requirements.txt

Usage

The workflow is triggered using the keyword ansible and will use the following input as search parameters.

Workflow searching for lineinfile

Pressing enter on any of the results will open the corresponding documentation page in the default browser.

Safari window with the builtin.lineinfile module documentation

Screenshots