# \#plugin

**URL:** https://forum.ansible.com/tag/plugin/205.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [plugin logging/debug output](https://forum.ansible.com/t/plugin-logging-debug-output/45856)

<div class="topic-metadata">

**Author:** [@christoph](https://forum.ansible.com/u/christoph)\
**Replies:** 1\
**Last updated:** [June 2, 2026, 1:24pm UTC](https://forum.ansible.com/t/plugin-logging-debug-output/45856 "2026-06-02T13:24:20Z")

</div>

plugin debug/log output i’m trying to figure out what options are there to produce debug/log output of a custom (python) plugin. And control the amount of logging during playbook execution display My understanding is …

---

## [Python version(s) for custom plugins](https://forum.ansible.com/t/python-version-s-for-custom-plugins/2872)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 3\
**Last updated:** [April 26, 2026, 4:59pm UTC](https://forum.ansible.com/t/python-version-s-for-custom-plugins/2872 "2026-04-26T16:59:04Z")

</div>

On the flip side — that is, from the custom content (plugin) creators’ perspective — and spurred by this discussion: Maintain Ansible 9 for longer than 6 months, I have a question. Maybe this is more a Python thing than …

---

## [Creating Centreon ansible module](https://forum.ansible.com/t/creating-centreon-ansible-module/45122)

<div class="topic-metadata">

**Author:** [@Parnoud](https://forum.ansible.com/u/Parnoud)\
**Replies:** 5\
**Last updated:** [January 20, 2026, 2:43pm UTC](https://forum.ansible.com/t/creating-centreon-ansible-module/45122 "2026-01-20T14:43:39Z")

</div>

Hello, new here ! I face issue at work with centreon, and i figured out that Centreon didn"t create ansible module for manage it. I take some time do start create one. I 'm trying to do it the right way so if you got s…

---

## [Filter plugins wont be loaded](https://forum.ansible.com/t/filter-plugins-wont-be-loaded/45092)

<div class="topic-metadata">

**Author:** [@schuert](https://forum.ansible.com/u/schuert)\
**Replies:** 3\
**Last updated:** [January 13, 2026, 4:22pm UTC](https://forum.ansible.com/t/filter-plugins-wont-be-loaded/45092 "2026-01-13T16:22:28Z")

</div>

Hi Guiys, I have Problems with self written filter\_plugins that worked flawlessly in the past. I’m executing ansible playbooks via gitlab-runner in our infrastructure. In the past we used a runner of type shell. Some r…

---

## [Tweaking an inventory's groups](https://forum.ansible.com/t/tweaking-an-inventorys-groups/45024)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 4\
**Last updated:** [December 24, 2025, 12:08am UTC](https://forum.ansible.com/t/tweaking-an-inventorys-groups/45024 "2025-12-24T00:08:58Z")

</div>

I want to experiment with applying tweaks to an otherwise static inventory at runtime, but I’m not sure how to accomplish this. The existing inventory is a straightforward “ini” format single file, all hosts are in group…

---

## [Plugin Idea: postgresql\_inventory](https://forum.ansible.com/t/plugin-idea-postgresql-inventory/44621)

<div class="topic-metadata">

**Author:** [@gebz97](https://forum.ansible.com/u/gebz97)\
**Replies:** 4\
**Last updated:** [October 6, 2025, 8:55pm UTC](https://forum.ansible.com/t/plugin-idea-postgresql-inventory/44621 "2025-10-06T20:55:06Z")

</div>

Hello Everyone, I’m Gebz (First post on the Ansible forums). I’ve recently started working on a custom plugin for pulling dynamic inventory data from a postgresql table (since I didn’t find any that exist to my knowledg…

---

## [Implement a rollback feature when creating Cloud resources](https://forum.ansible.com/t/implement-a-rollback-feature-when-creating-cloud-resources/44063)

<div class="topic-metadata">

**Author:** [@jdlmrh](https://forum.ansible.com/u/jdlmrh)\
**Replies:** 4\
**Last updated:** [July 25, 2025, 3:36pm UTC](https://forum.ansible.com/t/implement-a-rollback-feature-when-creating-cloud-resources/44063 "2025-07-25T15:36:59Z")

</div>

I use Ansible to create and configure many Cloud resources (VM, VPC, SecurityGroups, Volumes…). Compared to Terraform, Ansible does not offer an easy way to delete the created resources. So I started to create a “callbac…

---

## [Fine-grained command control needed on Ansible task execution](https://forum.ansible.com/t/fine-grained-command-control-needed-on-ansible-task-execution/43982)

<div class="topic-metadata">

**Author:** [@gunjanpb](https://forum.ansible.com/u/gunjanpb)\
**Replies:** 0\
**Last updated:** [July 22, 2025, 12:28pm UTC](https://forum.ansible.com/t/fine-grained-command-control-needed-on-ansible-task-execution/43982 "2025-07-22T12:28:57Z")

</div>

Hi all, I’m looking for a way to enforce restrictions on what operations Ansible is allowed to execute on target nodes, and prevent certain potentially dangerous or unauthorized operations ( shell commands or other Pyth…

---

## [Import of local module\_utils within local action\_plugin not working](https://forum.ansible.com/t/import-of-local-module-utils-within-local-action-plugin-not-working/43965)

<div class="topic-metadata">

**Author:** [@amartyasinha](https://forum.ansible.com/u/amartyasinha)\
**Replies:** 4\
**Last updated:** [July 21, 2025, 5:33pm UTC](https://forum.ansible.com/t/import-of-local-module-utils-within-local-action-plugin-not-working/43965 "2025-07-21T17:33:13Z")

</div>

I had to use my custom collection in Zuul native playbook runs, but seems like it is not possible to install custom collection on zuul executor. So, I created a role similar to this to use my custom modules and action pl…

---

## [Unable to call/use ansible.utils.ipmath](https://forum.ansible.com/t/unable-to-call-use-ansible-utils-ipmath/43763)

<div class="topic-metadata">

**Author:** [@MitchyB](https://forum.ansible.com/u/MitchyB)\
**Replies:** 2\
**Last updated:** [July 7, 2025, 12:51pm UTC](https://forum.ansible.com/t/unable-to-call-use-ansible-utils-ipmath/43763 "2025-07-07T12:51:06Z")

</div>

Hi all, Having some issues calling a specific plugin - ansible.utils.ipmath - with ansible core 2.18.6. When I call “ipmath”, I get my expected output. However, this is using ansible.netcommon.ipmath which is deprecate…

---

## [How to to chain double privilege escalation using sudo](https://forum.ansible.com/t/how-to-to-chain-double-privilege-escalation-using-sudo/42724)

<div class="topic-metadata">

**Author:** [@RicoBelo](https://forum.ansible.com/u/RicoBelo)\
**Replies:** 0\
**Last updated:** [May 19, 2025, 10:03am UTC](https://forum.ansible.com/t/how-to-to-chain-double-privilege-escalation-using-sudo/42724 "2025-05-19T10:03:29Z")

</div>

Hello, I’s like to manage a bastion appliance “Wallix Access Manager”. This appliance require a two-step sudo escalation to become root, and I don’t want to create an alternate user with specific sudoers setup as it wou…

---

## [Cache or provide PEM pass phrase as variable](https://forum.ansible.com/t/cache-or-provide-pem-pass-phrase-as-variable/42552)

<div class="topic-metadata">

**Author:** [@pboushy](https://forum.ansible.com/u/pboushy)\
**Replies:** 11\
**Last updated:** [May 13, 2025, 8:46pm UTC](https://forum.ansible.com/t/cache-or-provide-pem-pass-phrase-as-variable/42552 "2025-05-13T20:46:20Z")

</div>

I’m writing a custom Ansible lookup plugin that uses open\_url to communicate with a web server. I have to include client\_cert and client\_key, but I want to keep client\_key on my computer encrypted. Every time I run the…

---

## [Print output as readable multi-line text for the ability to also copy it easily later](https://forum.ansible.com/t/print-output-as-readable-multi-line-text-for-the-ability-to-also-copy-it-easily-later/41544)

<div class="topic-metadata">

**Author:** [@Guy\_Erreich](https://forum.ansible.com/u/Guy_Erreich)\
**Replies:** 2\
**Last updated:** [April 6, 2025, 11:57am UTC](https://forum.ansible.com/t/print-output-as-readable-multi-line-text-for-the-ability-to-also-copy-it-easily-later/41544 "2025-04-06T11:57:53Z")

</div>

:light\_bulb: Solution: Clean Multiline Output in Ansible msg Results with a Custom Callback Plugin Hi everyone, Ansible’s default callback plugin renders msg: outputs — including debug, failed, and other task messages —…

---

## [Is there a standard for argument validation in an action plugin?](https://forum.ansible.com/t/is-there-a-standard-for-argument-validation-in-an-action-plugin/39456)

<div class="topic-metadata">

**Author:** [@Incrediblestorm](https://forum.ansible.com/u/Incrediblestorm)\
**Replies:** 7\
**Last updated:** [January 6, 2025, 3:42pm UTC](https://forum.ansible.com/t/is-there-a-standard-for-argument-validation-in-an-action-plugin/39456 "2025-01-06T15:42:05Z")

</div>

This may be just something that is simple that I’m overlooking. I am developing a set of action plugins for working with our salesforce instance. I’m relatively new to module/plugin development. There is a well defined…

---

## [How to handle upgrading of High Availability pair instances](https://forum.ansible.com/t/how-to-handle-upgrading-of-high-availability-pair-instances/3470)

<div class="topic-metadata">

**Author:** [@rohit-myali](https://forum.ansible.com/u/rohit-myali)\
**Replies:** 1\
**Last updated:** [December 30, 2024, 5:55am UTC](https://forum.ansible.com/t/how-to-handle-upgrading-of-high-availability-pair-instances/3470 "2024-12-30T05:55:17Z")

</div>

I’m writing ansible-playbook to upgrade NetScaler High Availability pair. Basically, there are two instances primary and secondary. The process to upgrade manually is: First we upgrade the secondary instance and than…

---

## [Writing a custom become plugin](https://forum.ansible.com/t/writing-a-custom-become-plugin/38990)

<div class="topic-metadata">

**Author:** [@bvx54](https://forum.ansible.com/u/bvx54)\
**Replies:** 7\
**Last updated:** [December 12, 2024, 6:36pm UTC](https://forum.ansible.com/t/writing-a-custom-become-plugin/38990 "2024-12-12T18:36:16Z")

</div>

where do i get assistance on writing become plugins? There’s very little info on how to get started, debug, what all the stuff means etc. I had to end up reading the entire SSH/su/init/become code to work it all out fo…

---

## [Proxmox inventory no such user error](https://forum.ansible.com/t/proxmox-inventory-no-such-user-error/10927)

<div class="topic-metadata">

**Author:** [@RustyRaptor](https://forum.ansible.com/u/RustyRaptor)\
**Replies:** 2\
**Last updated:** [November 18, 2024, 7:08pm UTC](https://forum.ansible.com/t/proxmox-inventory-no-such-user-error/10927 "2024-11-18T19:08:03Z")

</div>

My goal is to be able to generate my inventory based on the VMs available on proxmox. I am trying to use an api token. I get no such user error. I thought it was because I’m using a pam user since the docs show using a …

---

## [Accessing encrypted configuration values with a plugin](https://forum.ansible.com/t/accessing-encrypted-configuration-values-with-a-plugin/10504)

<div class="topic-metadata">

**Author:** [@usr-cw31jOPI](https://forum.ansible.com/u/usr-cw31jOPI)\
**Replies:** 5\
**Last updated:** [November 1, 2024, 2:49pm UTC](https://forum.ansible.com/t/accessing-encrypted-configuration-values-with-a-plugin/10504 "2024-11-01T14:49:15Z")

</div>

Hello Everybody, I want to create a callback plugin that emits log messages to an API. That API is secured by some Authorization Header. In Order to securely store the required API Key, I have put it into an encrypted fi…

---

## [Vmware\_vm\_inventory : Select a specific IP address for use by ansible](https://forum.ansible.com/t/vmware-vm-inventory-select-a-specific-ip-address-for-use-by-ansible/10397)

<div class="topic-metadata">

**Author:** [@romgo](https://forum.ansible.com/u/romgo)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 2:37pm UTC](https://forum.ansible.com/t/vmware-vm-inventory-select-a-specific-ip-address-for-use-by-ansible/10397 "2024-10-18T14:37:42Z")

</div>

Hello, I am trying to use vmware\_vm\_inventory plugin, this is working but in my environment I need to select a specific IP for ansible inventory. Indeed my VM has several IPs, only one can be used by ansible. Hopefull…

---

## [Ansible-test validate-modules sanity test: reject option/alias names equal up to casing belonging to different options](https://forum.ansible.com/t/ansible-test-validate-modules-sanity-test-reject-option-alias-names-equal-up-to-casing-belonging-to-different-options/7092)

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 0\
**Last updated:** [July 6, 2024, 6:31am UTC](https://forum.ansible.com/t/ansible-test-validate-modules-sanity-test-reject-option-alias-names-equal-up-to-casing-belonging-to-different-options/7092 "2024-07-06T06:31:59Z")

</div>

The ansible-test’s validate-modules sanity test that comes with ansible-core devel now has a new check for option names and aliases that are equal up to casing, but do not belong to the same option. These will be flagged…

---

## [How do I get a list of diffs when looping around the template module?](https://forum.ansible.com/t/how-do-i-get-a-list-of-diffs-when-looping-around-the-template-module/6058)

<div class="topic-metadata">

**Author:** [@Sasa993](https://forum.ansible.com/u/Sasa993)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 12:36pm UTC](https://forum.ansible.com/t/how-do-i-get-a-list-of-diffs-when-looping-around-the-template-module/6058 "2024-05-29T12:36:57Z")

</div>

Hi guys, I am working on an action plugin that is mostly a wrapper around a template module. It loops through a list of users and executes the template module for each user and their destination files. Everything works …

---

## [Proxmox pct connetion](https://forum.ansible.com/t/proxmox-pct-connetion/5994)

<div class="topic-metadata">

**Author:** [@mietzen](https://forum.ansible.com/u/mietzen)\
**Replies:** 1\
**Last updated:** [May 26, 2024, 2:34pm UTC](https://forum.ansible.com/t/proxmox-pct-connetion/5994 "2024-05-26T14:34:26Z")

</div>

Hi, wanted to build a connection plugin similar to lxc. It should directly connect into the container on a proxmox host that is not reachable via ssh. This is my code so far (NOT finished): https://github.com/mietzen/…

---

## [Help with using a lookup plugin from a collection](https://forum.ansible.com/t/help-with-using-a-lookup-plugin-from-a-collection/3490)

<div class="topic-metadata">

**Author:** [@trevor](https://forum.ansible.com/u/trevor)\
**Replies:** 4\
**Last updated:** [January 29, 2024, 1:04pm UTC](https://forum.ansible.com/t/help-with-using-a-lookup-plugin-from-a-collection/3490 "2024-01-29T13:04:58Z")

</div>

Hello :wave: Apologies in advance if this is a super basic question, but I’ve been struggling with getting this to work the way I want it to for a while. I am developing an Ansible lookup plugin for internal use at my …

---

## [Ansible SSH connection plugin not working](https://forum.ansible.com/t/ansible-ssh-connection-plugin-not-working/3404)

<div class="topic-metadata">

**Author:** [@sumanth-lingappa](https://forum.ansible.com/u/sumanth-lingappa)\
**Replies:** 10\
**Last updated:** [January 24, 2024, 9:23am UTC](https://forum.ansible.com/t/ansible-ssh-connection-plugin-not-working/3404 "2024-01-24T09:23:09Z")

</div>

I am the maintainer of citrix.adc ansible collection and we have a ssh\_connection\_plugin for the citrix.adc ansible collection. When I run ansible-playbook using this connection plugin, I am facing some unknown error wh…

---

## [Ansible nested Dictionary parsing](https://forum.ansible.com/t/ansible-nested-dictionary-parsing/2594)

<div class="topic-metadata">

**Author:** [@vicks](https://forum.ansible.com/u/vicks)\
**Replies:** 2\
**Last updated:** [November 28, 2023, 1:09am UTC](https://forum.ansible.com/t/ansible-nested-dictionary-parsing/2594 "2023-11-28T01:09:07Z")

</div>

How to Parse deeply nested dictionary in Ansible to get key / value pair that is all nested inside ? My dictionary output: parser\_output": { “changed”: false, “failed”: false, “parsed”: { “isis”: { “2”: { “vrf”: { …

---

## [Jinja macros as plugins](https://forum.ansible.com/t/jinja-macros-as-plugins/1710)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 0\
**Last updated:** [October 13, 2023, 8:49pm UTC](https://forum.ansible.com/t/jinja-macros-as-plugins/1710 "2023-10-13T20:49:27Z")

</div>

Continuing the discussion from Playbook-wide Jinja2 macros over in Get Help : TL;DR — The idea is to allow macros defined in a collection’s plugins/macros directory to be available in Jinja expressions without requiring…

---

## [Is there an elegant way to ensure that pip dependencies are installed when writing Ansible lookup plugins?](https://forum.ansible.com/t/is-there-an-elegant-way-to-ensure-that-pip-dependencies-are-installed-when-writing-ansible-lookup-plugins/1673)

<div class="topic-metadata">

**Author:** [@trevor](https://forum.ansible.com/u/trevor)\
**Replies:** 4\
**Last updated:** [October 12, 2023, 2:35pm UTC](https://forum.ansible.com/t/is-there-an-elegant-way-to-ensure-that-pip-dependencies-are-installed-when-writing-ansible-lookup-plugins/1673 "2023-10-12T14:35:46Z")

</div>

I’m writing an Ansible lookup plugin that pulls secrets from a secret source and inserts them as variables into Ansible playbooks. I was trying to figure out if there’s a way to have any of the pip dependencies installed…

---

## [Terminal connection plugin: access to host or play inventory details?](https://forum.ansible.com/t/terminal-connection-plugin-access-to-host-or-play-inventory-details/1146)

<div class="topic-metadata">

**Author:** [@zpe-reneneumann](https://forum.ansible.com/u/zpe-reneneumann)\
**Replies:** 2\
**Last updated:** [October 3, 2023, 10:00pm UTC](https://forum.ansible.com/t/terminal-connection-plugin-access-to-host-or-play-inventory-details/1146 "2023-10-03T22:00:13Z")

</div>

Hi, I’m currently trying to create a terminal connection plugin. The goal is to connect to a console port via a terminal server. So the plugin must be able to deal with the initial terminal connection and have to authen…
