plugin

10 Ansible tutorials tagged “plugin”. Working examples covering automation, configuration management, and DevOps workflows.

Comparing versions — ansible.builtin.version plugin

playbooks · 4

Using Ansible to compare versions and ensure consistency across your infrastructure with the ansible.builtin.version plugin.

Beginner

Creating a Custom Ansible Lookup Plugin in Python for Reading a File

playbooks · 7

Create a custom Ansible lookup plugin in Python to extend capabilities for reading file contents on the Ansible controller, enhancing file retrieval.

Beginner

Creating a Custom Ansible Lookup Plugin in Python for retrieving API token

playbooks · 6

Learn how to create an Ansible lookup plugin to fetch API tokens, with a complete example of the token.py plugin code and step-by-step explanations.

Beginner

Customizing Ansible: Ansible Module Creation

playbooks · 5

Learn how to create custom Ansible modules in Python, utilizing Ansible Module Utils for efficient development. Follow best practices and explore an.

Advanced

Execute command on the Ansible host — Ansible localhost

playbooks · 2

How to execute Ansible command(s) or task(s) on localhost using the connection plugin local and the right ansible internals variables.

Beginner

Executing Custom Lookup Plugins in the Ansible Automation Platform

playbooks · 4

How to execute two custom Ansible Lookup Plugins to interact with API and read the contents of files in the local Ansible Controller.

Beginner

Leveraging Ansible Callback Plugins for Enhanced Performance

playbooks · 4

Profiling, Troubleshooting, and Optimizing Resources in Ansible Automation with timer, profile_tasks, and profile_roles Callback Plugins

Beginner

Read a JSON file into a variable — Ansible lookup plugin file

playbooks · 2

How to automate the reading of example.json file on Ansible host, assign to a variable and use in your Ansible Playbook code.

Beginner

Ansible file Lookup Plugin — Read Files into Variables

playbooks · 6

Use the Ansible file lookup plugin to read file contents into variables on the controller. Load configs, certificates, templates, and secrets into your.

Beginner

Read an environment variable — Ansible lookup plugin env

playbooks · 2

How to automate the reading of HOME environmental variable and use it in your Ansible Playbook code with lookup plugin env.

Beginner