# Guides, FAQs & Howtos

**URL:** https://forum.ansible.com/c/help/faq/19.md

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

---

## [Getting Started with Ansible - Resources](https://forum.ansible.com/t/getting-started-with-ansible-resources/1926)

<div class="topic-metadata">

**Author:** [@Leo](https://forum.ansible.com/u/Leo)\
**Replies:** 0\
**Last updated:** [October 24, 2023, 7:30pm UTC](https://forum.ansible.com/t/getting-started-with-ansible-resources/1926 "2023-10-24T19:30:29Z")

</div>

This is a small list of resources to get started using Ansible. Below you will find some links to documentation, free interactive labs (web based) and YouTube media content. Getting Started with a user journey. The @D…

---

## [About the Guides, FAQs & Howtos category](https://forum.ansible.com/t/about-the-guides-faqs-howtos-category/214)

<div class="topic-metadata">

**Author:** [@gwmngilfen](https://forum.ansible.com/u/gwmngilfen)\
**Replies:** 0

</div>

This category is for longer pieces of “how to” that haven’t made it into the docs (yet) or are commonly asked questions in Get Help. This also has high search priority, so please do use that search for your questions! T…

---

## [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…

---

## [Demo: Model Context Protocol (MCP) + Ansible Lightspeed in Future Automation Workflows](https://forum.ansible.com/t/demo-model-context-protocol-mcp-ansible-lightspeed-in-future-automation-workflows/43639)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 1\
**Last updated:** [July 29, 2026, 2:55pm UTC](https://forum.ansible.com/t/demo-model-context-protocol-mcp-ansible-lightspeed-in-future-automation-workflows/43639 "2026-07-29T14:55:41Z")

</div>

:police\_car\_light: Note: The capabilities shown in this video are conceptual demonstrations and not part of the current Ansible Automation Platform product. This video was created to showcase potential futu…

---

## [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…

---

## [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…

---

## [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…

---

## [Migrating to ssh\_type=libssh for ansible.netcommon.network\_cli across Ansible Networking Collections](https://forum.ansible.com/t/migrating-to-ssh-type-libssh-for-ansible-netcommon-network-cli-across-ansible-networking-collections/45780)

<div class="topic-metadata">

**Author:** [@komal](https://forum.ansible.com/u/komal)\
**Replies:** 0\
**Last updated:** [May 7, 2026, 11:51am UTC](https://forum.ansible.com/t/migrating-to-ssh-type-libssh-for-ansible-netcommon-network-cli-across-ansible-networking-collections/45780 "2026-05-07T11:51:59Z")

</div>

Why libssh Paramiko is on a long-term deprecation path in the Ansible ecosystem. ansible-pylibssh (libssh) will be the supported SSH backend for network automation going forward, offering better security, maintenance, an…

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [Managing Network Config Drift with Ansible and Resource Modules Part-2](https://forum.ansible.com/t/managing-network-config-drift-with-ansible-and-resource-modules-part-2/44151)

<div class="topic-metadata">

**Author:** [@TDub](https://forum.ansible.com/u/TDub)\
**Replies:** 0\
**Last updated:** [July 28, 2025, 1:25pm UTC](https://forum.ansible.com/t/managing-network-config-drift-with-ansible-and-resource-modules-part-2/44151 "2025-07-28T13:25:41Z")

</div>

Managing Network Config Drift with Ansible (Part2) 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…

---

## [Using WSL with Ansible and RHEL to develop Automation Content](https://forum.ansible.com/t/using-wsl-with-ansible-and-rhel-to-develop-automation-content/39720)

<div class="topic-metadata">

**Author:** [@Bontreger](https://forum.ansible.com/u/Bontreger)\
**Replies:** 4\
**Last updated:** [July 31, 2025, 12:55am UTC](https://forum.ansible.com/t/using-wsl-with-ansible-and-rhel-to-develop-automation-content/39720 "2025-07-31T00:55:21Z")

</div>

As a services leader for our public sector customers here at Red Hat, I find myself in an odd situation. Many of my customers require connecting through remote access tools only available on Windows. For my own simplicit…

---

## [Video: Business Continuity with ACM + Ansible: Application Relocation ⏱ 2:26](https://forum.ansible.com/t/video-business-continuity-with-acm-ansible-application-relocation-2-26/931)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 4\
**Last updated:** [July 30, 2025, 12:36am UTC](https://forum.ansible.com/t/video-business-continuity-with-acm-ansible-application-relocation-2-26/931 "2025-07-30T00:36:57Z")

</div>

How does Advanced Cluster Management and Ansible Automation Platform work together? Roger Lopez (Ansible Business Unit) outlines how they can work together for business continuity: Video Length: :stopwatch: 2:26 A demo…

---

## [ServiceNow ITSM + Ansible Automation](https://forum.ansible.com/t/servicenow-itsm-ansible-automation/43903)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 0\
**Last updated:** [July 16, 2025, 2:55pm UTC](https://forum.ansible.com/t/servicenow-itsm-ansible-automation/43903 "2025-07-16T14:55:49Z")

</div>

Manually opening and updating service tickets can be a major time sink and distraction for IT teams. Learn how to automate your ServiceNow ITSM and other IT systems with Red Hat Ansible Automation Platform. Watch here: …

---

## [Patch Management with Ansible](https://forum.ansible.com/t/patch-management-with-ansible/43538)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 0\
**Last updated:** [June 24, 2025, 6:24pm UTC](https://forum.ansible.com/t/patch-management-with-ansible/43538 "2025-06-24T18:24:12Z")

</div>

In this video, I’ll show you how easy it is to take control of patching across both Linux and Windows systems using Red Hat Ansible Automation Platform. We’ll walk through a complete, automated workflow tha…

[Next page](https://forum.ansible.com/c/help/faq/19.md?page=1)
