# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=5

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

**Page:** 6

---

## [vars\_prompt variables carry over into next tasks](https://forum.ansible.com/t/vars-prompt-variables-carry-over-into-next-tasks/38693)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 4\
**Last updated:** [February 21, 2024, 2:45pm UTC](https://forum.ansible.com/t/vars-prompt-variables-carry-over-into-next-tasks/38693 "2024-02-21T14:45:46Z")

</div>

Good morning. In the following playbook, i have prompts to capture certain information. The created variables work fine in the first set of tasks in the playbook. However, they don’t carry over into the second set of ta…

---

## [Where to add RabbitMQ certificates in Execution environment for authentication](https://forum.ansible.com/t/where-to-add-rabbitmq-certificates-in-execution-environment-for-authentication/38695)

<div class="topic-metadata">

**Author:** [@amvj](https://forum.ansible.com/u/amvj)\
**Replies:** 0\
**Last updated:** [February 21, 2024, 10:43am UTC](https://forum.ansible.com/t/where-to-add-rabbitmq-certificates-in-execution-environment-for-authentication/38695 "2024-02-21T10:43:33Z")

</div>

One of the team wants to do patching on servers using Ansible (AWX) and that involves the use of RabbitMQ servers. They want to add RabbitMQ certificates into Ansible.This is used to facilitate the RabbitMQ server authen…

---

## [Need JSON Output](https://forum.ansible.com/t/need-json-output/38691)

<div class="topic-metadata">

**Author:** [@rakesh\_rakesh.N](https://forum.ansible.com/u/rakesh_rakesh.N)\
**Replies:** 0\
**Last updated:** [February 19, 2024, 5:53am UTC](https://forum.ansible.com/t/need-json-output/38691 "2024-02-19T05:53:54Z")

</div>

Hello All, I am filtering out the JSON Output but I tried multiple times sometimes it gives error and sometimes it will not give any output. Find the below JSON Output and from output, i need only the Installed details. …

---

## [Installation of AAP 2.3](https://forum.ansible.com/t/installation-of-aap-2-3/38687)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 8\
**Last updated:** [February 15, 2024, 7:42pm UTC](https://forum.ansible.com/t/installation-of-aap-2-3/38687 "2024-02-15T19:42:35Z")

</div>

HI All, Facing acute challenge while running the first job in AAP 2.3. StandAlone AAP was installed with success but when I tried to synch demo project or my own project it keeps on saying this one line error. No idea …

---

## [Using with\_items in a block statement](https://forum.ansible.com/t/using-with-items-in-a-block-statement/38689)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 2\
**Last updated:** [February 15, 2024, 7:13pm UTC](https://forum.ansible.com/t/using-with-items-in-a-block-statement/38689 "2024-02-15T19:13:33Z")

</div>

I’d like to do an operation on several VMs that have 2 plays for each. Those are using the VMware collection to find the VMs folder in the datacenter, then use that folder to take a snapshot of the VM. What I was hoping…

---

## [Role Handler Separation](https://forum.ansible.com/t/role-handler-separation/38683)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 3\
**Last updated:** [February 14, 2024, 8:24pm UTC](https://forum.ansible.com/t/role-handler-separation/38683 "2024-02-14T20:24:09Z")

</div>

Good Evening… A coworker of mine is working on finishing up a role, that may be use across multiple operating systems. We were wondering, if there was a way to separate the handler files into files based on OS, that are …

---

## ['dict object' has no attribute....](https://forum.ansible.com/t/dict-object-has-no-attribute/38686)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 13\
**Last updated:** [February 14, 2024, 5:59pm UTC](https://forum.ansible.com/t/dict-object-has-no-attribute/38686 "2024-02-14T17:59:55Z")

</div>

I’ve been working this issue for a week now. The code used to work perfectly and now it fails. Here is the error I get: The task includes an option with an undefined variable. The error was: {‘CentOS’: ‘{{ iptables\_dire…

---

## [Get copy src from variable](https://forum.ansible.com/t/get-copy-src-from-variable/38688)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 2\
**Last updated:** [February 14, 2024, 5:35pm UTC](https://forum.ansible.com/t/get-copy-src-from-variable/38688 "2024-02-14T17:35:25Z")

</div>

I have plays in a playbook to copy files to a remote host, then delete them at the end of the task list. This is the copy play: - name: Copy files to host copy: src: “{{ item.src }}” dest: /tmp mode: u=rwx,g=rw,o=rw …

---

## [Another report creation problem](https://forum.ansible.com/t/another-report-creation-problem/38653)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 14\
**Last updated:** [February 12, 2024, 8:06pm UTC](https://forum.ansible.com/t/another-report-creation-problem/38653 "2024-02-12T20:06:16Z")

</div>

Good morning. Let me start by saying that I hope I’m not overdoing my asks. I only do it when I’ve tried, but failed, at a solution. Nextly, I hope your kind answers help others, as well. That said, the following playbo…

---

## [How to use Authorization bearer token in ansible.builtin.uri module](https://forum.ansible.com/t/how-to-use-authorization-bearer-token-in-ansible-builtin-uri-module/38685)

<div class="topic-metadata">

**Author:** [@bmohanraj](https://forum.ansible.com/u/bmohanraj)\
**Replies:** 1\
**Last updated:** [February 12, 2024, 5:11pm UTC](https://forum.ansible.com/t/how-to-use-authorization-bearer-token-in-ansible-builtin-uri-module/38685 "2024-02-12T17:11:36Z")

</div>

Hi, I am trying to call bitbucket REST APIs with ansible.builtin.uri module using Authorization token like below.

---

## [selinux issue](https://forum.ansible.com/t/selinux-issue/38684)

<div class="topic-metadata">

**Author:** [@Sergey\_Glazyrin](https://forum.ansible.com/u/Sergey_Glazyrin)\
**Replies:** 5\
**Last updated:** [February 12, 2024, 6:44am UTC](https://forum.ansible.com/t/selinux-issue/38684 "2024-02-12T06:44:44Z")

</div>

Hello guys I do use linux on local pc and selinux enabled, though there’s no context for the folders/files/etc And I am getting following issue: Recursion error when ansible trying to build the json it failed with. I…

---

## [Ansible Inventory Filter](https://forum.ansible.com/t/ansible-inventory-filter/38682)

<div class="topic-metadata">

**Author:** [@asmagana](https://forum.ansible.com/u/asmagana)\
**Replies:** 0\
**Last updated:** [February 7, 2024, 8:24am UTC](https://forum.ansible.com/t/ansible-inventory-filter/38682 "2024-02-07T08:24:55Z")

</div>

Now that I have a working dynamic inventory using collection microsft.ad.ldap.inventory I want to know how to filter out computer names, their groups and software. Also export that information to an excel spreadsheet. T…

---

## [ansible configuration](https://forum.ansible.com/t/ansible-configuration/38681)

<div class="topic-metadata">

**Author:** [@Sakshi\_Jain](https://forum.ansible.com/u/Sakshi_Jain)\
**Replies:** 2\
**Last updated:** [February 7, 2024, 5:24am UTC](https://forum.ansible.com/t/ansible-configuration/38681 "2024-02-07T05:24:22Z")

</div>

So basically two users User1 , user2 user is a sudo user There are 5 servers : server1 , server2 , server3, server4, server5 We need password less connection from server1 to all other servers I am facing issue with k…

---

## [command timeout triggered, timeout value is 60 secs - Mikrotik](https://forum.ansible.com/t/command-timeout-triggered-timeout-value-is-60-secs-mikrotik/38679)

<div class="topic-metadata">

**Author:** [@Saurav\_Gupta1](https://forum.ansible.com/u/Saurav_Gupta1)\
**Replies:** 2\
**Last updated:** [February 7, 2024, 12:23am UTC](https://forum.ansible.com/t/command-timeout-triggered-timeout-value-is-60-secs-mikrotik/38679 "2024-02-07T00:23:36Z")

</div>

Hi All, I am trying to configure one line command on Mikoritk but getting below error - hosts: routers connection: local gather\_facts: false tasks: name: Configure username routeros\_command: commands: user add na…

---

## [variable misunderstanding](https://forum.ansible.com/t/variable-misunderstanding/38680)

<div class="topic-metadata">

**Author:** [@Gregory\_Edigarov](https://forum.ansible.com/u/Gregory_Edigarov)\
**Replies:** 4\
**Last updated:** [February 6, 2024, 5:34pm UTC](https://forum.ansible.com/t/variable-misunderstanding/38680 "2024-02-06T17:34:24Z")

</div>

i have this: backups: mongodb postgresql: sonarqube other /opt /etc later i use it in template task: name: template backup script out template: src: backup-script.sh.j2 dest: /root/backup.sh mode: 755 my jinja…

---

## [AD Module](https://forum.ansible.com/t/ad-module/38638)

<div class="topic-metadata">

**Author:** [@thirumalairaja](https://forum.ansible.com/u/thirumalairaja)\
**Replies:** 8\
**Last updated:** [February 5, 2024, 7:31pm UTC](https://forum.ansible.com/t/ad-module/38638 "2024-02-05T19:31:36Z")

</div>

Hi, gys i have a task to manage AD objects like create, delete using ansible task right now i am using win\_shell command module to run the command on windows target and creating AD objects. But I need to do it the same …

---

## [outputs to a multivalue with\_items list.](https://forum.ansible.com/t/outputs-to-a-multivalue-with-items-list/38678)

<div class="topic-metadata">

**Author:** [@IP\_Freely](https://forum.ansible.com/u/IP_Freely)\
**Replies:** 1\
**Last updated:** [February 5, 2024, 6:09pm UTC](https://forum.ansible.com/t/outputs-to-a-multivalue-with-items-list/38678 "2024-02-05T18:09:04Z")

</div>

Hi Hope you can help me, I have a step in a playbook that makes a uri call to the gihub api servers and returns all the info regarding all of our repo’s. I need to create a with\_items list with information from that jso…

---

## [ansible collection microsoft.ad.ldap inventory](https://forum.ansible.com/t/ansible-collection-microsoft-ad-ldap-inventory/38677)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 0\
**Last updated:** [February 5, 2024, 1:58pm UTC](https://forum.ansible.com/t/ansible-collection-microsoft-ad-ldap-inventory/38677 "2024-02-05T13:58:28Z")

</div>

$ ansible-inventory --export --list

---

## [New release: ansible-core 2.16.3](https://forum.ansible.com/t/new-release-ansible-core-2-16-3/38670)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 1\
**Last updated:** [February 4, 2024, 1:39pm UTC](https://forum.ansible.com/t/new-release-ansible-core-2-16-3/38670 "2024-02-04T13:39:54Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.16.3 How to get it

---

## [Module error](https://forum.ansible.com/t/module-error/38674)

<div class="topic-metadata">

**Author:** [@thirumalairaja](https://forum.ansible.com/u/thirumalairaja)\
**Replies:** 0\
**Last updated:** [January 31, 2024, 7:37pm UTC](https://forum.ansible.com/t/module-error/38674 "2024-01-31T19:37:00Z")

</div>

I’m using AWX, and i have custom module i am facing below error even i have installed ansible and requests on the delegated host error:{ “module\_stdout”: “/etc/profile.d/lang.sh: line 19: warning: setlocale: LC\_CTYPE: …

---

## [Error changed": false, "module\_stderr on NX-OS](https://forum.ansible.com/t/error-changed-false-module-stderr-on-nx-os/38673)

<div class="topic-metadata">

**Author:** [@Sumanthchoudary\_Nall](https://forum.ansible.com/u/Sumanthchoudary_Nall)\
**Replies:** 1\
**Last updated:** [January 30, 2024, 8:38pm UTC](https://forum.ansible.com/t/error-changed-false-module-stderr-on-nx-os/38673 "2024-01-30T20:38:42Z")

</div>

I’m attempting to set up the ACL on my Nexus device, but I’ve encountered an error during playbook execution. Could someone please provide assistance? Here’s the error message. FAILED! =\> {“changed”: false, “module\_stde…

---

## [Release announcement: Ansible community package 9.2.0](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-2-0/38672)

<div class="topic-metadata">

**Author:** [@gotmax23](https://forum.ansible.com/u/gotmax23)\
**Replies:** 0\
**Last updated:** [January 30, 2024, 4:58pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-2-0/38672 "2024-01-30T16:58:07Z")

</div>

Hello everyone We're happy to announce the release of the Ansible 9.2.0 package! Ansible 9.2.0 includes ansible-core 2.16.3 as well as a curated set of Ansible collections that provide a vast number of modules and plug…

---

## [What characters are allowed in a vault-id?](https://forum.ansible.com/t/what-characters-are-allowed-in-a-vault-id/38671)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 2\
**Last updated:** [January 30, 2024, 4:57pm UTC](https://forum.ansible.com/t/what-characters-are-allowed-in-a-vault-id/38671 "2024-01-30T16:57:47Z")

</div>

As it says on the tin. What are the requirements for a vault-id? Length? Characters? What not? Looking at the docs I’m guessing it cannot contain @ or ; but is there more? thx Dick

---

## [New release: ansible-core 2.15.9](https://forum.ansible.com/t/new-release-ansible-core-2-15-9/38669)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [January 29, 2024, 8:54pm UTC](https://forum.ansible.com/t/new-release-ansible-core-2-15-9/38669 "2024-01-29T20:54:31Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.15.9 How to get it

---

## [New release: ansible-core 2.14.14](https://forum.ansible.com/t/new-release-ansible-core-2-14-14/38668)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [January 29, 2024, 8:54pm UTC](https://forum.ansible.com/t/new-release-ansible-core-2-14-14/38668 "2024-01-29T20:54:25Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.14.14 How to get it

---

## [loop help](https://forum.ansible.com/t/loop-help/38667)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 2\
**Last updated:** [January 29, 2024, 5:37pm UTC](https://forum.ansible.com/t/loop-help/38667 "2024-01-29T17:37:32Z")

</div>

can i get assistance with creating a loop for creating both A and B side. name: “Configure Domain VLAN Policy A” vars: api\_info: &api\_info api\_private\_key: “{{ api\_private\_key }}” api\_key\_id: “{{ api\_key\_id }}” ap…

---

## [Forwarding Ansible rulebook logs to a File](https://forum.ansible.com/t/forwarding-ansible-rulebook-logs-to-a-file/38666)

<div class="topic-metadata">

**Author:** [@aadil\_sattar](https://forum.ansible.com/u/aadil_sattar)\
**Replies:** 0\
**Last updated:** [January 29, 2024, 7:25am UTC](https://forum.ansible.com/t/forwarding-ansible-rulebook-logs-to-a-file/38666 "2024-01-29T07:25:46Z")

</div>

Hello, I was using Even Driven Ansible Rulebook to trigger playbooks. It is executing fine. I want to collect execution logs of Ansible Rulebook and the playbooks triggered by it in a file. Since it is EDA so adding log…

---

## [get windows-path and execute command](https://forum.ansible.com/t/get-windows-path-and-execute-command/38665)

<div class="topic-metadata">

**Author:** [@astrakid](https://forum.ansible.com/u/astrakid)\
**Replies:** 3\
**Last updated:** [January 29, 2024, 6:59am UTC](https://forum.ansible.com/t/get-windows-path-and-execute-command/38665 "2024-01-29T06:59:03Z")

</div>

hi, i want to use “get-command” to get the location of a program. in the next step i want to execute this program with a full qualified location. this example is just an example, i know there are other modules for doin…

---

## [trying to debug ansible and win\_package](https://forum.ansible.com/t/trying-to-debug-ansible-and-win-package/38650)

<div class="topic-metadata">

**Author:** [@Divan\_Santana](https://forum.ansible.com/u/Divan_Santana)\
**Replies:** 5\
**Last updated:** [January 27, 2024, 12:34pm UTC](https://forum.ansible.com/t/trying-to-debug-ansible-and-win-package/38650 "2024-01-27T12:34:06Z")

</div>

Hi, I'm trying to debug a ansible windows issue, if someone with powershell knowledge could help me debug it, it would be great. I can successfully win\_ping win\_setup the windows 2019SE server, but not win\_package in…

---

## [Multi prompt issue with cisco.ios.ios\_command](https://forum.ansible.com/t/multi-prompt-issue-with-cisco-ios-ios-command/38664)

<div class="topic-metadata">

**Author:** [@Bikram](https://forum.ansible.com/u/Bikram)\
**Replies:** 2\
**Last updated:** [January 26, 2024, 8:59pm UTC](https://forum.ansible.com/t/multi-prompt-issue-with-cisco-ios-ios-command/38664 "2024-01-26T20:59:37Z")

</div>

Hi Team, I am trying to upgrade a cat9300 switch from version 16.06.06 to 17.09.04a. The switch is in bundle mode and will convert it to install mode as well. Here is my task: name: Install and activate new IOS image …

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=4)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=6)
