# Latest

**URL:** https://forum.ansible.com/latest.md?page=298

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

**Page:** 299

---

## [Register variable using {{ item }}](https://forum.ansible.com/t/register-variable-using-item/35246)

<div class="topic-metadata">

**Author:** [@R.B\_Kumar](https://forum.ansible.com/u/R.B_Kumar)\
**Replies:** 12\
**Last updated:** [May 30, 2021, 5:19pm UTC](https://forum.ansible.com/t/register-variable-using-item/35246 "2021-05-30T17:19:20Z")

</div>

Hello Everyone again - Trying to get the IP address of the multiple Interfaces from a Cisco Router and register it. Using {{ item }} loop method to feed the Multiple Interfaces (eg: GigabitEthernet 0/0/0) in the command. …

---

## [Loop to Print same name multiple times](https://forum.ansible.com/t/loop-to-print-same-name-multiple-times/35254)

<div class="topic-metadata">

**Author:** [@R.B\_Kumar](https://forum.ansible.com/u/R.B_Kumar)\
**Replies:** 1\
**Last updated:** [May 30, 2021, 4:59pm UTC](https://forum.ansible.com/t/loop-to-print-same-name-multiple-times/35254 "2021-05-30T16:59:23Z")

</div>

Hello Everyone - I am aware we can use with\_items and loop methods to create a iterative loops in Ansible. Is there a logic to use kind of “for loops” For example, i want to execute one Cisco command in the same Router …

---

## [Request for jinja2 template.](https://forum.ansible.com/t/request-for-jinja2-template/35253)

<div class="topic-metadata">

**Author:** [@Melvin\_Satheesan](https://forum.ansible.com/u/Melvin_Satheesan)\
**Replies:** 0\
**Last updated:** [May 30, 2021, 9:51am UTC](https://forum.ansible.com/t/request-for-jinja2-template/35253 "2021-05-30T09:51:55Z")

</div>

Hello All, Good day. I am practicing the Ansible. A small play book has been created in order to collect few command out put and format it from a bunch of servers. The commands and the template is working as expected. …

---

## [Using Variable inside  IOS\_CONFIG](https://forum.ansible.com/t/using-variable-inside-ios-config/35252)

<div class="topic-metadata">

**Author:** [@R.B\_Kumar](https://forum.ansible.com/u/R.B_Kumar)\
**Replies:** 2\
**Last updated:** [May 30, 2021, 8:56am UTC](https://forum.ansible.com/t/using-variable-inside-ios-config/35252 "2021-05-30T08:56:39Z")

</div>

Hello Everyone - Need your help When I use a variable inside ios\_config I am getting an error. The error message is below. Goal Caputre an IP addresses from “show ip interface brief” from Cisco Router Register th…

---

## [dynamic variable  help](https://forum.ansible.com/t/dynamic-variable-help/35202)

<div class="topic-metadata">

**Author:** [@Manoj\_Chander](https://forum.ansible.com/u/Manoj_Chander)\
**Replies:** 4\
**Last updated:** [May 30, 2021, 7:27am UTC](https://forum.ansible.com/t/dynamic-variable-help/35202 "2021-05-30T07:27:05Z")

</div>

Hi , Im a newbie learnig ansible .im stuck with the below I need to get input from user and based on input dynamically create a url . input group1 is a single value and group2 is a list using with\_items and loop im a…

---

## [want to contribute for my educational assignment](https://forum.ansible.com/t/want-to-contribute-for-my-educational-assignment/35251)

<div class="topic-metadata">

**Author:** [@Atiq\_Zaman](https://forum.ansible.com/u/Atiq_Zaman)\
**Replies:** 1\
**Last updated:** [May 29, 2021, 8:36am UTC](https://forum.ansible.com/t/want-to-contribute-for-my-educational-assignment/35251 "2021-05-29T08:36:41Z")

</div>

Hi everyone, I am a student and I want to contribute to Ansible, there is a assignment for contribution to any open source project and i have pic the Ansible. I have gone through the documentation, how to fork, clone an…

---

## [Need help to print all the messages as new lines](https://forum.ansible.com/t/need-help-to-print-all-the-messages-as-new-lines/35240)

<div class="topic-metadata">

**Author:** [@Jayan\_Anirudhan](https://forum.ansible.com/u/Jayan_Anirudhan)\
**Replies:** 4\
**Last updated:** [May 28, 2021, 9:50pm UTC](https://forum.ansible.com/t/need-help-to-print-all-the-messages-as-new-lines/35240 "2021-05-28T21:50:32Z")

</div>

Hi Team, I have created a playbook to gather information from a Redhat KVM server. The issue I am facing is that I am getting the entire message in a single line. Can someone suggest a solution to print the message cont…

---

## [Need yesterday's date in a playbook](https://forum.ansible.com/t/need-yesterdays-date-in-a-playbook/35248)

<div class="topic-metadata">

**Author:** [@Kaleb\_S](https://forum.ansible.com/u/Kaleb_S)\
**Replies:** 2\
**Last updated:** [May 28, 2021, 8:14pm UTC](https://forum.ansible.com/t/need-yesterdays-date-in-a-playbook/35248 "2021-05-28T20:14:52Z")

</div>

I have a need to run a playbook using yesterday’s date as a variable in the playbook… I had a thought to have two scheduled jobs…one to set a fact with the date the job is running, then use that on the next scheduled jo…

---

## [Need assistance to write script for verifying EIGRP neigbourship in routers](https://forum.ansible.com/t/need-assistance-to-write-script-for-verifying-eigrp-neigbourship-in-routers/35241)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 6\
**Last updated:** [May 28, 2021, 3:24pm UTC](https://forum.ansible.com/t/need-assistance-to-write-script-for-verifying-eigrp-neigbourship-in-routers/35241 "2021-05-28T15:24:15Z")

</div>

I request assistance to write a script that needs to verify that EIGRP neighbourship shown in router before IOS upgrade is the same after IOS upgrade (and reload) as well. Below is a sample output of EIGRP neibourship th…

---

## [/bin/sh: aws: command not found on AWX](https://forum.ansible.com/t/bin-sh-aws-command-not-found-on-awx/35237)

<div class="topic-metadata">

**Author:** [@MySQL\_tute\_s](https://forum.ansible.com/u/MySQL_tute_s)\
**Replies:** 6\
**Last updated:** [May 28, 2021, 11:24am UTC](https://forum.ansible.com/t/bin-sh-aws-command-not-found-on-awx/35237 "2021-05-28T11:24:30Z")

</div>

Hi Team, i have a playbook that copy s3 files from one bucket t o another bucket. the playbook is working fine from command promt. but not from awx, its showing “/bin/sh: aws: command not found” below is my code. tas…

---

## [Chocolatey Checksums Mismatch in CI Procedures](https://forum.ansible.com/t/chocolatey-checksums-mismatch-in-ci-procedures/35245)

<div class="topic-metadata">

**Author:** [@Roy\_Keret](https://forum.ansible.com/u/Roy_Keret)\
**Replies:** 0\
**Last updated:** [May 28, 2021, 10:34am UTC](https://forum.ansible.com/t/chocolatey-checksums-mismatch-in-ci-procedures/35245 "2021-05-28T10:34:40Z")

</div>

Hi guys, In my company, we’re using the win\_chocolatey module to install several Windows programs as part of the CI process. Every now and then, a Chocolatey package gets updated while the checksum does not, resulting …

---

## ["VARIABLE IS NOT DEFINED!" when use {{ item }}](https://forum.ansible.com/t/variable-is-not-defined-when-use-item/35244)

<div class="topic-metadata">

**Author:** [@R.B\_Kumar](https://forum.ansible.com/u/R.B_Kumar)\
**Replies:** 10\
**Last updated:** [May 28, 2021, 10:31am UTC](https://forum.ansible.com/t/variable-is-not-defined-when-use-item/35244 "2021-05-28T10:31:16Z")

</div>

Hello All - I am using Ansible version 2.7.18 I am trying this code to get IP address of the Cisco Router interface. When i use {{ item }}, the IP address is not captured. Where as if i use a static value (eg: show ip i…

---

## [AWX 10.0.0 container errors](https://forum.ansible.com/t/awx-10-0-0-container-errors/32594)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 1\
**Last updated:** [May 28, 2021, 9:32am UTC](https://forum.ansible.com/t/awx-10-0-0-container-errors/32594 "2021-05-28T09:32:40Z")

</div>

Hi, I recently did a clean installation of AWX 10.0.0 and getting my UI screen stuck at migration screen. I can see the following warnings and errors from redis, task and web containers. Redis 1:C 02 Apr 2020 16:26:53…

---

## [AWX is Upgrading http://localhost/migrations\_notran/#/login http://localhost/migrations\_notran/#/index.html psycopg2.errors.UndefinedTable: relation "main\_instance" does not exist](https://forum.ansible.com/t/awx-is-upgrading-http-localhost-migrations-notran-login-http-localhost-migrations-notran-index-html-psycopg2-errors-undefinedtable-relation-main-instance-does-not-exist/34072)

<div class="topic-metadata">

**Author:** [@Vasiliy\_Danilov](https://forum.ansible.com/u/Vasiliy_Danilov)\
**Replies:** 1\
**Last updated:** [May 28, 2021, 9:29am UTC](https://forum.ansible.com/t/awx-is-upgrading-http-localhost-migrations-notran-login-http-localhost-migrations-notran-index-html-psycopg2-errors-undefinedtable-relation-main-instance-does-not-exist/34072 "2021-05-28T09:29:46Z")

</div>

Can’t install AWS 15.0.1 on Win10 WSL2 Docker Desktop infinite updating Between http://localhost/migrations\_notran/#/login and http://localhost/migrations\_notran/#/index.html With AWX is Upgrading AWX is currentl…

---

## [Quick help](https://forum.ansible.com/t/quick-help/35243)

<div class="topic-metadata">

**Author:** [@NAVEEN](https://forum.ansible.com/u/NAVEEN)\
**Replies:** 2\
**Last updated:** [May 28, 2021, 6:48am UTC](https://forum.ansible.com/t/quick-help/35243 "2021-05-28T06:48:55Z")

</div>

Hello team, I am working on Dell IDRAC firmware automation.i need help here I can able to fetch the complete data from dell server.what ever output come I will put into REGISTER module. From REGISTER module I want spe…

---

## [timeout in ansible.posix.firewalld](https://forum.ansible.com/t/timeout-in-ansible-posix-firewalld/35238)

<div class="topic-metadata">

**Author:** [@Ozgur\_G](https://forum.ansible.com/u/Ozgur_G)\
**Replies:** 4\
**Last updated:** [May 27, 2021, 4:52pm UTC](https://forum.ansible.com/t/timeout-in-ansible-posix-firewalld/35238 "2021-05-27T16:52:43Z")

</div>

Hi, I’m using ansible on RHEL 7 remote servers to open up some ports temporarily. I’m looking at the official documentation but it is not clear to me whether the timeout set in integer is whether in seconds or minutes. …

---

## [Ansible nxos\_static\_routes multiple destination address same next\_hops](https://forum.ansible.com/t/ansible-nxos-static-routes-multiple-destination-address-same-next-hops/35235)

<div class="topic-metadata">

**Author:** [@Arnau\_Amargant\_Domen](https://forum.ansible.com/u/Arnau_Amargant_Domen)\
**Replies:** 2\
**Last updated:** [May 27, 2021, 4:48pm UTC](https://forum.ansible.com/t/ansible-nxos-static-routes-multiple-destination-address-same-next-hops/35235 "2021-05-27T16:48:01Z")

</div>

Hello, Is there a way to have multiple destination address and the same next\_hops? What I’m trying to do is shorten the lines of the playbook and better readability. If you see the following image repeats the same next…

---

## [fix idempotence for this command](https://forum.ansible.com/t/fix-idempotence-for-this-command/35239)

<div class="topic-metadata">

**Author:** [@Nicola\_L](https://forum.ansible.com/u/Nicola_L)\
**Replies:** 2\
**Last updated:** [May 27, 2021, 3:56pm UTC](https://forum.ansible.com/t/fix-idempotence-for-this-command/35239 "2021-05-27T15:56:49Z")

</div>

Hi, this task breaks the idempotence of my role: name: Set directories permissions for production installation command: find /opt/tomcat -type d -exec chmod -c 2750 {} ; register: find\_chmod\_result changed\_when: ‘f…

---

## [Installing additional python packages](https://forum.ansible.com/t/installing-additional-python-packages/35218)

<div class="topic-metadata">

**Author:** [@Brandon\_Ellis](https://forum.ansible.com/u/Brandon_Ellis)\
**Replies:** 1\
**Last updated:** [May 27, 2021, 12:45pm UTC](https://forum.ansible.com/t/installing-additional-python-packages/35218 "2021-05-27T12:45:04Z")

</div>

I need to install python-ldap for an inventory plugin I’m using. How do I install a python package for use in a plugin? Do I really need to remake the entire image with my desired virtualenv as described here, or is th…

---

## [open source](https://forum.ansible.com/t/open-source/35236)

<div class="topic-metadata">

**Author:** [@Shivani\_Chaudhary](https://forum.ansible.com/u/Shivani_Chaudhary)\
**Replies:** 2\
**Last updated:** [May 27, 2021, 10:33am UTC](https://forum.ansible.com/t/open-source/35236 "2021-05-27T10:33:59Z")

</div>

Hello everyone, I want to start my journey with open source and right now I am taking a devops course and I want to start contributing to the community while learning but there are so many thing happening in the communi…

---

## [Is there a way to set custom\_virtualenv through the tower-cli application](https://forum.ansible.com/t/is-there-a-way-to-set-custom-virtualenv-through-the-tower-cli-application/35231)

<div class="topic-metadata">

**Author:** [@Brandon\_Ellis](https://forum.ansible.com/u/Brandon_Ellis)\
**Replies:** 3\
**Last updated:** [May 27, 2021, 1:21am UTC](https://forum.ansible.com/t/is-there-a-way-to-set-custom-virtualenv-through-the-tower-cli-application/35231 "2021-05-27T01:21:36Z")

</div>

When doing “tower-cli inventory\_source create”, I see no parameter to specify the custom\_virtualenv property. How do I set this property via the CLI?

---

## [Template tasks based on OS version...](https://forum.ansible.com/t/template-tasks-based-on-os-version/35232)

<div class="topic-metadata">

**Author:** [@Andy\_Speagle](https://forum.ansible.com/u/Andy_Speagle)\
**Replies:** 2\
**Last updated:** [May 27, 2021, 1:19am UTC](https://forum.ansible.com/t/template-tasks-based-on-os-version/35232 "2021-05-27T01:19:05Z")

</div>

Hi Folks, I’m busy converting some puppet modules to ansible… and I’m trying to figure out how best to lay down some files based on the host os version… I’m trying to lay down one set of files if os\_version x… another s…

---

## [Where do we edit the Ingress controller](https://forum.ansible.com/t/where-do-we-edit-the-ingress-controller/35233)

<div class="topic-metadata">

**Author:** [@Joey\_Washburn](https://forum.ansible.com/u/Joey_Washburn)\
**Replies:** 0\
**Last updated:** [May 27, 2021, 12:25am UTC](https://forum.ansible.com/t/where-do-we-edit-the-ingress-controller/35233 "2021-05-27T00:25:23Z")

</div>

I am deploying to K8s using a helm chart I have built. I need to adjust the path setting. Out of the box its looks like this - path: / I need to make sure the / is not there. Otherwise we cant hit the UI. As of now I go…

---

## [Kubernetes: Cannot edit any logos; AWX Branding Repo has no effect.](https://forum.ansible.com/t/kubernetes-cannot-edit-any-logos-awx-branding-repo-has-no-effect/34775)

<div class="topic-metadata">

**Author:** [@Brandon\_Ellis](https://forum.ansible.com/u/Brandon_Ellis)\
**Replies:** 3\
**Last updated:** [May 26, 2021, 5:24pm UTC](https://forum.ansible.com/t/kubernetes-cannot-edit-any-logos-awx-branding-repo-has-no-effect/34775 "2021-05-26T17:24:03Z")

</div>

Hi, I’ve deployed AWX 17.1.0 on a Kubernetes cluster using the install playbook and I’m trying to edit the AWX branding logos to a custom one. What I’ve tried so far: Editing the logo-header.svg and logo-login.svg in …

---

## [ansible\_managed vaule has changed and I can't work out why](https://forum.ansible.com/t/ansible-managed-vaule-has-changed-and-i-cant-work-out-why/35229)

<div class="topic-metadata">

**Author:** [@mike2](https://forum.ansible.com/u/mike2)\
**Replies:** 1\
**Last updated:** [May 26, 2021, 4:07pm UTC](https://forum.ansible.com/t/ansible-managed-vaule-has-changed-and-i-cant-work-out-why/35229 "2021-05-26T16:07:24Z")

</div>

I’ve been using Ansible as a clone of the git repo, periodically checking out newer stable branches. I’m currently using the stable-2.8 branch but looking to move to a newer version. The splitting of Ansible in to parts…

---

## [How do logos work in 19](https://forum.ansible.com/t/how-do-logos-work-in-19/35230)

<div class="topic-metadata">

**Author:** [@Joey\_Washburn](https://forum.ansible.com/u/Joey_Washburn)\
**Replies:** 0\
**Last updated:** [May 26, 2021, 3:15pm UTC](https://forum.ansible.com/t/how-do-logos-work-in-19/35230 "2021-05-26T15:15:13Z")

</div>

I did an install on a dev environment following the default instructions from GitHub and we have the newer AWX logo. Easy Peasy. Deploying to our prod environment I made an attempt to change the logos out to our team lo…

---

## [installed packages](https://forum.ansible.com/t/installed-packages/35187)

<div class="topic-metadata">

**Author:** [@Marcel\_de\_Vries](https://forum.ansible.com/u/Marcel_de_Vries)\
**Replies:** 3\
**Last updated:** [May 26, 2021, 1:28pm UTC](https://forum.ansible.com/t/installed-packages/35187 "2021-05-26T13:28:47Z")

</div>

I have a test environment" control ansible1 ansible2 \[ansible@control ~\]$ ansible ansible1 -m setup | grep ansible\_local “ansible\_local”: {}, Why is “ansible\_local” empty? Normally you have the installed packages t…

---

## [AWX and cluster mode](https://forum.ansible.com/t/awx-and-cluster-mode/33079)

<div class="topic-metadata">

**Author:** [@driCs](https://forum.ansible.com/u/driCs)\
**Replies:** 4\
**Last updated:** [May 26, 2021, 1:01pm UTC](https://forum.ansible.com/t/awx-and-cluster-mode/33079 "2021-05-26T13:01:18Z")

</div>

Hi all, Is AWX developed to run in a cluster mode or on a single server? Is it possible to simply add a second or third node in the “inventory” file and run the AWX installation normally? If cluster mode is natively s…

---

## [nginx csrf error on login](https://forum.ansible.com/t/nginx-csrf-error-on-login/35228)

<div class="topic-metadata">

**Author:** [@rene1](https://forum.ansible.com/u/rene1)\
**Replies:** 0\
**Last updated:** [May 26, 2021, 6:16am UTC](https://forum.ansible.com/t/nginx-csrf-error-on-login/35228 "2021-05-26T06:16:28Z")

</div>

Hi, does someone have a working nginx reverse config for 17.1.0 where the login works? our setup would be nginx:8052 ssl → awx:nginx:8052 nossl currently i tried this but i get the csrf token error 403 when i try to l…

---

## [remote1 -\>fetch-\> control machine -\>copy-\> remote2](https://forum.ansible.com/t/remote1-fetch-control-machine-copy-remote2/35224)

<div class="topic-metadata">

**Author:** [@Bond\_James](https://forum.ansible.com/u/Bond_James)\
**Replies:** 1\
**Last updated:** [May 25, 2021, 9:08pm UTC](https://forum.ansible.com/t/remote1-fetch-control-machine-copy-remote2/35224 "2021-05-25T21:08:12Z")

</div>

Hello! I have 2 remote hosts and 1 master node with my playbooks. I want that file with name “.env” was copy with module “Fetch” to Master node and then, with module “copy” will copy to Remote host 2 hosts: \[jitsi\] 1…

[Previous page](https://forum.ansible.com/latest.md?page=297)

[Next page](https://forum.ansible.com/latest.md?page=299)
