# \#howto

**URL:** https://forum.ansible.com/tag/howto/118.md

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

---

## [Ansible development with OpenShift and VSCode?](https://forum.ansible.com/t/ansible-development-with-openshift-and-vscode/46410)

<div class="topic-metadata">

**Author:** [@MallocArray](https://forum.ansible.com/u/MallocArray)\
**Replies:** 1\
**Last updated:** [October 5, 2026, 4:29pm UTC](https://forum.ansible.com/t/ansible-development-with-openshift-and-vscode/46410 "2026-10-05T16:29:47Z")

</div>

Awhile back I thought I heard mention of something that would let users who are developing Ansible playbooks use OpenShift to run their EE as a DevContainer from VSCode so they don’t need Docker locally to run the EE, bu…

---

## [ansible 2.21 compatibility issues for paramiko](https://forum.ansible.com/t/ansible-2-21-compatibility-issues-for-paramiko/46330)

<div class="topic-metadata">

**Author:** [@sumitguptaibm](https://forum.ansible.com/u/sumitguptaibm)\
**Replies:** 5\
**Last updated:** [September 22, 2026, 12:58pm UTC](https://forum.ansible.com/t/ansible-2-21-compatibility-issues-for-paramiko/46330 "2026-09-22T12:58:24Z")

</div>

Hi, I’m maintaining an Ansible collection that currently supports multiple ansible-core versions. Our module utility currently imports Paramiko as: from ansible.module\_utils.compat.paramiko import paramiko This works…

---

## [Introducing Automation Orchestrator for Ansible Automation Platform](https://forum.ansible.com/t/introducing-automation-orchestrator-for-ansible-automation-platform/46221)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 2\
**Last updated:** [August 27, 2026, 11:26am UTC](https://forum.ansible.com/t/introducing-automation-orchestrator-for-ansible-automation-platform/46221 "2026-08-27T11:26:57Z")

</div>

Hi everyone, I put together a new video overview of automation orchestrator, a visual workflow canvas add-on for Red Hat Ansible Automation Platform: Automation orchestrator extends the Ansible automation…

---

## [How to validate ansible variables - any condition you like, with proper error messages](https://forum.ansible.com/t/how-to-validate-ansible-variables-any-condition-you-like-with-proper-error-messages/46089)

<div class="topic-metadata">

**Author:** [@kks](https://forum.ansible.com/u/kks)\
**Replies:** 0\
**Last updated:** [July 26, 2026, 7:49am UTC](https://forum.ansible.com/t/how-to-validate-ansible-variables-any-condition-you-like-with-proper-error-messages/46089 "2026-07-26T07:49:59Z")

</div>

There is a builtin action plugin to validate ansible variables (for the role) ansible.builtin.validate\_argument\_spec But this is sometimes very limited. It is not clear how to add condition like (0 \< a, a \> 100). It is…

---

## [Different messages for different conditions in one assert](https://forum.ansible.com/t/different-messages-for-different-conditions-in-one-assert/45266)

<div class="topic-metadata">

**Author:** [@kks](https://forum.ansible.com/u/kks)\
**Replies:** 11\
**Last updated:** [July 26, 2026, 7:31am UTC](https://forum.ansible.com/t/different-messages-for-different-conditions-in-one-assert/45266 "2026-07-26T07:31:19Z")

</div>

There was discussion during CfgMgmtCamp that it is not possible to have different messages for different conditions in one assert action with ansible. I do not agree with that! Here is the code: - name: Different mess…

---

## [Ansible Skills - The default(omit) feature](https://forum.ansible.com/t/ansible-skills-the-default-omit-feature/46063)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 3\
**Last updated:** [July 22, 2026, 3:50pm UTC](https://forum.ansible.com/t/ansible-skills-the-default-omit-feature/46063 "2026-07-22T15:50:45Z")

</div>

I put together a quick video on one of my favorite (and, in my opinion, underrated) Ansible features: default(omit). It’s a simple trick that lets you completely omit a module parameter when a variable isn…

---

## [AI-Assisted Windows Certificate Management with Ansible Automation Platform](https://forum.ansible.com/t/ai-assisted-windows-certificate-management-with-ansible-automation-platform/46025)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 0\
**Last updated:** [July 7, 2026, 2:19pm UTC](https://forum.ansible.com/t/ai-assisted-windows-certificate-management-with-ansible-automation-platform/46025 "2026-07-07T14:19:26Z")

</div>

Aubrey recently put together a great demo showing how Ansible Automation Platform can automate Windows IIS certificate rotation while using AI to make context-aware decisions before taking action. Rather than automatica…

---

## [Galaxy Role Import: Namespace & GitHub User / Org Mismatch](https://forum.ansible.com/t/galaxy-role-import-namespace-github-user-org-mismatch/45995)

<div class="topic-metadata">

**Author:** [@dbrennand](https://forum.ansible.com/u/dbrennand)\
**Replies:** 0\
**Last updated:** [June 30, 2026, 7:25am UTC](https://forum.ansible.com/t/galaxy-role-import-namespace-github-user-org-mismatch/45995 "2026-06-30T07:25:32Z")

</div>

Summary This guide explains how to successfully import your role into galaxy.ansible.com when the role namespace name and GitHub user or organization slug do not match. For example, the GitHub organization slug is my-am…

---

## [Mitigating deprecation of --one-line and associated callback plugin](https://forum.ansible.com/t/mitigating-deprecation-of-one-line-and-associated-callback-plugin/45965)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 2\
**Last updated:** [June 22, 2026, 7:20pm UTC](https://forum.ansible.com/t/mitigating-deprecation-of-one-line-and-associated-callback-plugin/45965 "2026-06-22T19:20:37Z")

</div>

With the deprecation of the --one-line parameter and its associated callback plugin, I’m working on simplifying the use of a suggested workaround. First, a little background. Everything “interesting” in Ansible is impl…

---

## [AAP 2.7 Installation and walkthrough guide](https://forum.ansible.com/t/aap-2-7-installation-and-walkthrough-guide/45920)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 0\
**Last updated:** [June 15, 2026, 12:24pm UTC](https://forum.ansible.com/t/aap-2-7-installation-and-walkthrough-guide/45920 "2026-06-15T12:24:54Z")

</div>

Hi all, I wanted to share a new video that our intern Andrew recently created around installing AAP 2.7 from scratch. One of the things I enjoy most about working in this community is seeing people go from learning Ans…

---

## [Building Execution Environments in AAP 2.7 without the command line](https://forum.ansible.com/t/building-execution-environments-in-aap-2-7-without-the-command-line/45903)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 3\
**Last updated:** [June 11, 2026, 1:19pm UTC](https://forum.ansible.com/t/building-execution-environments-in-aap-2-7-without-the-command-line/45903 "2026-06-11T13:19:23Z")

</div>

One of my teammates, Aubrey, recently put together a walkthrough of the new Execution Environment Builder in Ansible Automation Platform 2.7, and I thought it was worth sharing here for anyone who spends time maintaining…

---

## [Using MCP to patch RHEL CVEs without leaving your IDE](https://forum.ansible.com/t/using-mcp-to-patch-rhel-cves-without-leaving-your-ide/45855)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 2\
**Last updated:** [May 28, 2026, 1:44pm UTC](https://forum.ansible.com/t/using-mcp-to-patch-rhel-cves-without-leaving-your-ide/45855 "2026-05-28T13:44:48Z")

</div>

Hey all, wanted to share something I’ve been working on that I think is pretty cool from a workflow perspective. I’ve been experimenting with connecting Red Hat Lightspeed and Ansible Automation Platform to an AI coding…

---

## [Integrating IBM Bob (AI-native IDE) with Ansible Automation Platform using MCP](https://forum.ansible.com/t/integrating-ibm-bob-ai-native-ide-with-ansible-automation-platform-using-mcp/45770)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 0\
**Last updated:** [May 5, 2026, 1:36pm UTC](https://forum.ansible.com/t/integrating-ibm-bob-ai-native-ide-with-ansible-automation-platform-using-mcp/45770 "2026-05-05T13:36:47Z")

</div>

As more teams experiment with AI-assisted development, one of the more interesting shifts is moving from “AI that generates code” to “AI that can safely interact with real systems.” A pattern we’ve been working with is …

---

## [Ansible Galaxy: how to request a custom namespace](https://forum.ansible.com/t/ansible-galaxy-how-to-request-a-custom-namespace/45689)

<div class="topic-metadata">

**Author:** [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Replies:** 0\
**Last updated:** [April 16, 2026, 8:27am UTC](https://forum.ansible.com/t/ansible-galaxy-how-to-request-a-custom-namespace/45689 "2026-04-16T08:27:14Z")

</div>

No need to request a namespace that matches your Galaxy username You don’t need to request a new namespace that matches your Galaxy username: it’ll get created automatically upon your first login. For example, if I log i…

---

## [Integrating Ansible Automation Platform with Terraform for Infrastructure Lifecycle Management](https://forum.ansible.com/t/integrating-ansible-automation-platform-with-terraform-for-infrastructure-lifecycle-management/45536)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 5\
**Last updated:** [March 23, 2026, 9:45pm UTC](https://forum.ansible.com/t/integrating-ansible-automation-platform-with-terraform-for-infrastructure-lifecycle-management/45536 "2026-03-23T21:45:32Z")

</div>

I wanted to share a demo that walks through how Red Hat Ansible Automation Platform can be integrated with HashiCorp Terraform to automate infrastructure across the full lifecycle — from provisioning infrastructure to co…

---

## [Using Nautobot as a Source of Truth for Ansible Automation Platform](https://forum.ansible.com/t/using-nautobot-as-a-source-of-truth-for-ansible-automation-platform/45505)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 0\
**Last updated:** [March 9, 2026, 7:00pm UTC](https://forum.ansible.com/t/using-nautobot-as-a-source-of-truth-for-ansible-automation-platform/45505 "2026-03-09T19:00:37Z")

</div>

A common problem in automation environments is that the data driving automation is not actually authoritative. Many teams still rely on spreadsheets, static inventory files, or manually maintained host lists. Over time t…

---

## [Using MCP with Microsoft Copilot to query Ansible Automation Platform](https://forum.ansible.com/t/using-mcp-with-microsoft-copilot-to-query-ansible-automation-platform/45483)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 0\
**Last updated:** [March 4, 2026, 3:25pm UTC](https://forum.ansible.com/t/using-mcp-with-microsoft-copilot-to-query-ansible-automation-platform/45483 "2026-03-04T15:25:49Z")

</div>

For teams already working in the Microsoft Copilot ecosystem, there is a useful way to connect Copilot to Ansible Automation Platform using an MCP server. Roger Lopez recently put together a walkthrough showing how this …

---

## [How to solve ansible challenge from ansible-core maintainer](https://forum.ansible.com/t/how-to-solve-ansible-challenge-from-ansible-core-maintainer/45285)

<div class="topic-metadata">

**Author:** [@kks](https://forum.ansible.com/u/kks)\
**Replies:** 4\
**Last updated:** [February 25, 2026, 6:51pm UTC](https://forum.ansible.com/t/how-to-solve-ansible-challenge-from-ansible-core-maintainer/45285 "2026-02-25T18:51:08Z")

</div>

During his presentation at CfgMgmtCamp @nitzmahone presented challenge: “Use Jinja against setup to get a list of active NIC names on a Linux host that have no IPv6 addresses. Not impossible, but harder than it should b…

---

## [How to merge several dicts](https://forum.ansible.com/t/how-to-merge-several-dicts/45378)

<div class="topic-metadata">

**Author:** [@kks](https://forum.ansible.com/u/kks)\
**Replies:** 0\
**Last updated:** [February 23, 2026, 8:59am UTC](https://forum.ansible.com/t/how-to-merge-several-dicts/45378 "2026-02-23T08:59:03Z")

</div>

This is continuation from discussion started with @utoddl in topic Cannot change a variable passed to a role from within a role - request for docs - #11 by utoddl The premise is following - there is a role that takes a …

---

## [Results of survey on various style questions](https://forum.ansible.com/t/results-of-survey-on-various-style-questions/45349)

<div class="topic-metadata">

**Author:** [@volenbovsky](https://forum.ansible.com/u/volenbovsky)\
**Replies:** 0\
**Last updated:** [February 16, 2026, 8:05pm UTC](https://forum.ansible.com/t/results-of-survey-on-various-style-questions/45349 "2026-02-16T20:05:35Z")

</div>

Hi, following CfgMgmtCamp 2026 conference and a presentation of various questions related to Ansible style: Ansible Style Guide,presentation Page of this talk on CfgMgmtCamp website Survey, question on certain quest…

---

## [Let's solve ansible challenge from ansible-core maintainer](https://forum.ansible.com/t/lets-solve-ansible-challenge-from-ansible-core-maintainer/45307)

<div class="topic-metadata">

**Author:** [@kks](https://forum.ansible.com/u/kks)\
**Replies:** 0\
**Last updated:** [February 9, 2026, 5:51pm UTC](https://forum.ansible.com/t/lets-solve-ansible-challenge-from-ansible-core-maintainer/45307 "2026-02-09T17:51:15Z")

</div>

During his presentation at CfgMgmtCamp @nitzmahone presented challenge: “Use Jinja against setup to get a list of active NIC names on a Linux host that have no IPv6 addresses. Not impossible, but harder than it should b…

---

## [Automated Windows Server Patching with MECM & Ansible Automation Platform](https://forum.ansible.com/t/automated-windows-server-patching-with-mecm-ansible-automation-platform/45263)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 0\
**Last updated:** [February 4, 2026, 5:41pm UTC](https://forum.ansible.com/t/automated-windows-server-patching-with-mecm-ansible-automation-platform/45263 "2026-02-04T17:41:50Z")

</div>

There is a new content collection for Windows MECM. This can be found on Automation hub: Hybrid Cloud Console Aubrey Trotter put together this great walkthrough demo on YouTube here: Installing the Collec…

---

## [5 Use-cases with Ansible Automation Platform MCP Server - YouTube](https://forum.ansible.com/t/5-use-cases-with-ansible-automation-platform-mcp-server-youtube/45138)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 1\
**Last updated:** [January 22, 2026, 12:13pm UTC](https://forum.ansible.com/t/5-use-cases-with-ansible-automation-platform-mcp-server-youtube/45138 "2026-01-22T12:13:28Z")

</div>

MCP server for Ansible Automation Platform is tech preview. The Model Context Protocol (MCP) is an open standard and open-source framework to standardize the way artificial intelligence (AI) systems like large language m…

---

## [A ServiceNow ITSM Ansible Task Fails on an Attachment, a Manual File Attachment Works](https://forum.ansible.com/t/a-servicenow-itsm-ansible-task-fails-on-an-attachment-a-manual-file-attachment-works/44995)

<div class="topic-metadata">

**Author:** [@clerambeau370](https://forum.ansible.com/u/clerambeau370)\
**Replies:** 3\
**Last updated:** [December 27, 2025, 12:24pm UTC](https://forum.ansible.com/t/a-servicenow-itsm-ansible-task-fails-on-an-attachment-a-manual-file-attachment-works/44995 "2025-12-27T12:24:36Z")

</div>

Hello. The problem is this: I can attach a file to a Change request manually, but not via an Ansible automation playbook. I am using the Ansible ServiceNow ITSM. Essentially, it is a Python-based automation softwa…

---

## [How to create an Ansible Module/Library - Blog step-by-step](https://forum.ansible.com/t/how-to-create-an-ansible-module-library-blog-step-by-step/44749)

<div class="topic-metadata">

**Author:** [@Opvolger](https://forum.ansible.com/u/Opvolger)\
**Replies:** 4\
**Last updated:** [November 3, 2025, 2:33pm UTC](https://forum.ansible.com/t/how-to-create-an-ansible-module-library-blog-step-by-step/44749 "2025-11-03T14:33:33Z")

</div>

Hello all, I’ve personally created several Ansible modules, and to share this expertise, I’ve written a helpful blog post that may inspire others. I’ll walk you through the process of creating an Ansible module step by …

---

## [How to create an Ansible collection with a simple module step by step](https://forum.ansible.com/t/how-to-create-an-ansible-collection-with-a-simple-module-step-by-step/9718)

<div class="topic-metadata">

**Author:** [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Replies:** 9\
**Last updated:** [October 27, 2025, 9:30am UTC](https://forum.ansible.com/t/how-to-create-an-ansible-collection-with-a-simple-module-step-by-step/9718 "2025-10-27T09:30:34Z")

</div>

Creating and sharing a module is a great way of contributing to Ansible. This guide will show you step-by-step how to create and test one. When you later create useful modules doing real work, see the Ansible collectio…

---

## [Use a variable with run\_once](https://forum.ansible.com/t/use-a-variable-with-run-once/44710)

<div class="topic-metadata">

**Author:** [@gazogi](https://forum.ansible.com/u/gazogi)\
**Replies:** 1\
**Last updated:** [October 20, 2025, 4:33pm UTC](https://forum.ansible.com/t/use-a-variable-with-run-once/44710 "2025-10-20T16:33:51Z")

</div>

I was hoping someone could help me with this. I’m trying to check the filesystem on my servers in my group to check if they have a nas mount, and then run the next task based on the results. If it is a shared file syst…

---

## [Automating CISA ED 25-03 Compliance for Cisco ASA with Ansible](https://forum.ansible.com/t/automating-cisa-ed-25-03-compliance-for-cisco-asa-with-ansible/44598)

<div class="topic-metadata">

**Author:** [@TDub](https://forum.ansible.com/u/TDub)\
**Replies:** 0\
**Last updated:** [October 1, 2025, 8:30pm UTC](https://forum.ansible.com/t/automating-cisa-ed-25-03-compliance-for-cisco-asa-with-ansible/44598 "2025-10-01T20:30:38Z")

</div>

Automating CISA ED 25-03 Compliance for Cisco ASA with Ansible The Challenge: CISA Emergency Directive 25-03 On September 25, 2025, the Cybersecurity and Infrastructure Security Agency (CISA) issued Emergency Directive (…

---

## [Managing Network Config Drift with Netbox and Ansible Part-3](https://forum.ansible.com/t/managing-network-config-drift-with-netbox-and-ansible-part-3/44273)

<div class="topic-metadata">

**Author:** [@TDub](https://forum.ansible.com/u/TDub)\
**Replies:** 0\
**Last updated:** [August 11, 2025, 3:38pm UTC](https://forum.ansible.com/t/managing-network-config-drift-with-netbox-and-ansible-part-3/44273 "2025-08-11T15:38:23Z")

</div>

Managing Network Config Drift with Ansible (Part3) In Part 1 of this series, we established the risks of network configuration drift and the critical role a Single Source of Truth (SSoT) plays in maintaining network inte…

---

## [Managing Network Config Drift with Ansible Part 1](https://forum.ansible.com/t/managing-network-config-drift-with-ansible-part-1/44079)

<div class="topic-metadata">

**Author:** [@TDub](https://forum.ansible.com/u/TDub)\
**Replies:** 0\
**Last updated:** [July 24, 2025, 6:43pm UTC](https://forum.ansible.com/t/managing-network-config-drift-with-ansible-part-1/44079 "2025-07-24T18:43:11Z")

</div>

Managing Network Config Drift with Ansible Part 1 It’s crucial to manage network configuration drift to ensure your network remains secure, compliant, and reliable. This three part blog explores network configuration dri…

[Next page](https://forum.ansible.com/tag/howto/118.md?match_all_tags=true&page=1&tags%5B%5D=howto)
