# Latest

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

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

**Page:** 313

---

## [\--step option in playbook](https://forum.ansible.com/t/step-option-in-playbook/34819)

<div class="topic-metadata">

**Author:** [@Max\_Flower](https://forum.ansible.com/u/Max_Flower)\
**Replies:** 1\
**Last updated:** [March 22, 2021, 3:30pm UTC](https://forum.ansible.com/t/step-option-in-playbook/34819 "2021-03-22T15:30:20Z")

</div>

Hi , is it posible to use “–step” option in playbook itself rather than specifying as an option in commmand line while executing playbook .

---

## [RE: https://github.com/ansible/ansible/issues/73933 and https://github.com/ansible/ansible/issues/73932#issuecomment-802228667](https://forum.ansible.com/t/re-https-github-com-ansible-ansible-issues-73933-and-https-github-com-ansible-ansible-issues-73932-issuecomment-802228667/34827)

<div class="topic-metadata">

**Author:** [@jnm27](https://forum.ansible.com/u/jnm27)\
**Replies:** 0\
**Last updated:** [March 22, 2021, 2:13pm UTC](https://forum.ansible.com/t/re-https-github-com-ansible-ansible-issues-73933-and-https-github-com-ansible-ansible-issues-73932-issuecomment-802228667/34827 "2021-03-22T14:13:37Z")

</div>

Hi, Concerning those two tickets above, please read my last comments. If nothing else, we would at least like the ability to have variables earlier in a dictionary definition referenceable in later variables within the…

---

## [How get all the containers of a pod](https://forum.ansible.com/t/how-get-all-the-containers-of-a-pod/34826)

<div class="topic-metadata">

**Author:** [@George\_Tsoumplekas](https://forum.ansible.com/u/George_Tsoumplekas)\
**Replies:** 0\
**Last updated:** [March 22, 2021, 11:14am UTC](https://forum.ansible.com/t/how-get-all-the-containers-of-a-pod/34826 "2021-03-22T11:14:01Z")

</div>

try to get all the containers that are included in a pod using ansible… I have no experience in ansible and kubernetes. It is the first I have worked with ansible and kubernetes I use an iteration through the pods to ge…

---

## [Ansible slow to return output of a simple command](https://forum.ansible.com/t/ansible-slow-to-return-output-of-a-simple-command/34825)

<div class="topic-metadata">

**Author:** [@Carlos\_Camargo\_Jr](https://forum.ansible.com/u/Carlos_Camargo_Jr)\
**Replies:** 0\
**Last updated:** [March 22, 2021, 10:31am UTC](https://forum.ansible.com/t/ansible-slow-to-return-output-of-a-simple-command/34825 "2021-03-22T10:31:50Z")

</div>

Hello! I’ve recently installed Ansible in a Raspberry Pi 4B notice that it takes about 7 seconds to return the output of a command like below: pi@sun:~ $ time ansible --version ansible 2.10.7 config file = None conf…

---

## [awx isolated nodes -- ssh user](https://forum.ansible.com/t/awx-isolated-nodes-ssh-user/34823)

<div class="topic-metadata">

**Author:** [@vnext\_ntt](https://forum.ansible.com/u/vnext_ntt)\
**Replies:** 0\
**Last updated:** [March 22, 2021, 5:55am UTC](https://forum.ansible.com/t/awx-isolated-nodes-ssh-user/34823 "2021-03-22T05:55:30Z")

</div>

Hi, Has anybody had any experience setting up isolated nodes using awx-manage commands but specifying an alternative user for each isolated node.

---

## [When conditional not working when i use 'OR' for multiple confitions](https://forum.ansible.com/t/when-conditional-not-working-when-i-use-or-for-multiple-confitions/34809)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 7\
**Last updated:** [March 22, 2021, 5:38am UTC](https://forum.ansible.com/t/when-conditional-not-working-when-i-use-or-for-multiple-confitions/34809 "2021-03-22T05:38:10Z")

</div>

I have wrriten below script to check if switch is in state mentioned in WHEN condition and to end playbook if so. But when condition doesn’t work when i use ‘OR’ conditional to check for multiple conditions. I tried dif…

---

## [Lineinfile creates duplicates entries when running playbook multiple times](https://forum.ansible.com/t/lineinfile-creates-duplicates-entries-when-running-playbook-multiple-times/34822)

<div class="topic-metadata">

**Author:** [@janaki\_raman](https://forum.ansible.com/u/janaki_raman)\
**Replies:** 1\
**Last updated:** [March 22, 2021, 4:43am UTC](https://forum.ansible.com/t/lineinfile-creates-duplicates-entries-when-running-playbook-multiple-times/34822 "2021-03-22T04:43:02Z")

</div>

Hi All, lineinfile duplicates the entry… I am trying to append a line based on the regex… but if i run the playbook again, it keeps adding the lines… name: “Updating /etc/default/grub with security parameters” linein…

---

## [How to verify boot statement for ALL member switches in stacked switch?](https://forum.ansible.com/t/how-to-verify-boot-statement-for-all-member-switches-in-stacked-switch/34717)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 4\
**Last updated:** [March 21, 2021, 5:22pm UTC](https://forum.ansible.com/t/how-to-verify-boot-statement-for-all-member-switches-in-stacked-switch/34717 "2021-03-21T17:22:12Z")

</div>

When i use below command, it automatically copies image to ALL member switches and sets boot statement by itself. archive download-sw /leave-old-sw ftp://username:password@10.4.1.104/c2960x-universalk9-tar.154-4.E4.tar …

---

## [New beta release: ansible-core 2.11.0b3](https://forum.ansible.com/t/new-beta-release-ansible-core-2-11-0b3/34820)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [March 21, 2021, 5:09am UTC](https://forum.ansible.com/t/new-beta-release-ansible-core-2-11-0b3/34820 "2021-03-21T05:09:20Z")

</div>

Hi all- we're happy to announce that the beta release of ansible-core 2.11.0b3 is available! ansible-core 2.11 is a rename of ansible-base. As with ansible-base, it includes only a minimal, vetted set of modules and p…

---

## [cisco show int status on CSV with ansible](https://forum.ansible.com/t/cisco-show-int-status-on-csv-with-ansible/34818)

<div class="topic-metadata">

**Author:** [@Three\_PaX](https://forum.ansible.com/u/Three_PaX)\
**Replies:** 0\
**Last updated:** [March 20, 2021, 8:31pm UTC](https://forum.ansible.com/t/cisco-show-int-status-on-csv-with-ansible/34818 "2021-03-20T20:31:43Z")

</div>

Hello guz did somebody knows how can i put a “show interface status” cisco on csv file . i try to install textfsm but doesn’t work . something like PORT\> NAME\>STATUS\>VLAN\>DUPLEX\>SPEED\> regards

---

## [ansible playbook/role to check system health](https://forum.ansible.com/t/ansible-playbook-role-to-check-system-health/34812)

<div class="topic-metadata">

**Author:** [@Eric\_Herberholz](https://forum.ansible.com/u/Eric_Herberholz)\
**Replies:** 2\
**Last updated:** [March 20, 2021, 1:32pm UTC](https://forum.ansible.com/t/ansible-playbook-role-to-check-system-health/34812 "2021-03-20T13:32:23Z")

</div>

Newbie question… Does anyone have an ansible playbook/role to check system health? That I could re-use (i.e. not write from scratch). Kind Regards, Eric Herberholz - www.linkedin.com/in/herberholz | about.me/ericherb…

---

## [Fetch AWS Secret in playbook](https://forum.ansible.com/t/fetch-aws-secret-in-playbook/34815)

<div class="topic-metadata">

**Author:** [@amkur\_p](https://forum.ansible.com/u/amkur_p)\
**Replies:** 5\
**Last updated:** [March 20, 2021, 1:11pm UTC](https://forum.ansible.com/t/fetch-aws-secret-in-playbook/34815 "2021-03-20T13:11:30Z")

</div>

Hi Community I wrote the below playbook to fetch an aws secret, but it says syntax error. So can anyone please advise as what might be going wrong ? Playbook

---

## [\[ HELP \] Ansible Module Error \[ Parameter format not correct - \>nul\\r\\n \]](https://forum.ansible.com/t/help-ansible-module-error-parameter-format-not-correct-nul-r-n/34693)

<div class="topic-metadata">

**Author:** [@Richard\_Rittu](https://forum.ansible.com/u/Richard_Rittu)\
**Replies:** 7\
**Last updated:** [March 20, 2021, 11:34am UTC](https://forum.ansible.com/t/help-ansible-module-error-parameter-format-not-correct-nul-r-n/34693 "2021-03-20T11:34:41Z")

</div>

Hi Team, Good day, I am trying to deploy the app to the Windows server from redhat. Actually, it was successfully running for several weeks but Since Yesterday morning I am facing this strange issue after running the …

---

## [TASK \[Connect to ECS | create new Object User "newuser" in NameSpace "132602781347206615"\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*](https://forum.ansible.com/t/task-connect-to-ecs-create-new-object-user-newuser-in-namespace-132602781347206615/34813)

<div class="topic-metadata">

**Author:** [@Mohamed\_Rahiman](https://forum.ansible.com/u/Mohamed_Rahiman)\
**Replies:** 1\
**Last updated:** [March 19, 2021, 11:12pm UTC](https://forum.ansible.com/t/task-connect-to-ecs-create-new-object-user-newuser-in-namespace-132602781347206615/34813 "2021-03-19T23:12:47Z")

</div>

Guys Im making good progress working all day all night I am trying to run an ansible playbook to create an object user within ECS - however i get the following error TASK \[Connect to ECS | create new Object User “newu…

---

## [unable to ssh host from ansible with "ansible\_ssh\_common\_arg"](https://forum.ansible.com/t/unable-to-ssh-host-from-ansible-with-ansible-ssh-common-arg/34806)

<div class="topic-metadata">

**Author:** [@Bharath\_Achar](https://forum.ansible.com/u/Bharath_Achar)\
**Replies:** 1\
**Last updated:** [March 19, 2021, 2:32pm UTC](https://forum.ansible.com/t/unable-to-ssh-host-from-ansible-with-ansible-ssh-common-arg/34806 "2021-03-19T14:32:25Z")

</div>

Hi, cat /etc/ansible/hosts | grep dummy | grep ssh dummy ansible\_host=10.xx.xx.xx ansible\_ssh\_common\_arg=“-o HostKeyAlgorithms=+ssh-dss” when i try to execute against this host, I get this error. ansible-playbook pre…

---

## [How to fetch dict data from a list item](https://forum.ansible.com/t/how-to-fetch-dict-data-from-a-list-item/34811)

<div class="topic-metadata">

**Author:** [@chtsalid](https://forum.ansible.com/u/chtsalid)\
**Replies:** 0\
**Last updated:** [March 19, 2021, 1:45pm UTC](https://forum.ansible.com/t/how-to-fetch-dict-data-from-a-list-item/34811 "2021-03-19T13:45:30Z")

</div>

Hi all, I am having a problem to fetch dict from a list in this example list item lldpNeighbors. How can we achieve this? Here is the output I am getting. ok: \[vEOS1\] =\> { “lldp\_output.stdout”: \[ { “lldpNeighbors”:…

---

## [Why does the apt module remove hold on packages!?](https://forum.ansible.com/t/why-does-the-apt-module-remove-hold-on-packages/34807)

<div class="topic-metadata">

**Author:** [@Goran](https://forum.ansible.com/u/Goran)\
**Replies:** 1\
**Last updated:** [March 19, 2021, 9:16am UTC](https://forum.ansible.com/t/why-does-the-apt-module-remove-hold-on-packages/34807 "2021-03-19T09:16:50Z")

</div>

I have a playbook that starts out with a task that holds a number of packages on debian machines relating to postgres and java stuff, and that part works well… I know that for sure. And then when I perform a general upg…

---

## [ERROR! this task 'ansible.windows.win\_command' has extra params](https://forum.ansible.com/t/error-this-task-ansible-windows-win-command-has-extra-params/34805)

<div class="topic-metadata">

**Author:** [@jayant\_yadav](https://forum.ansible.com/u/jayant_yadav)\
**Replies:** 1\
**Last updated:** [March 18, 2021, 9:18pm UTC](https://forum.ansible.com/t/error-this-task-ansible-windows-win-command-has-extra-params/34805 "2021-03-18T21:18:52Z")

</div>

Hi Everyone, I’m getting this error, I’ve added the playbook below. Please let me know how to fix this error jayantyadav@DESKTOP-40L7UNL:/etc/ansible$ ansible-playbook editfile.yml ERROR! this task ‘ansible.windows.wi…

---

## [AWX Kubenetes Deployment (17.1.0), how to implement isolated instance groups?](https://forum.ansible.com/t/awx-kubenetes-deployment-17-1-0-how-to-implement-isolated-instance-groups/34804)

<div class="topic-metadata">

**Author:** [@Yehonatan\_G](https://forum.ansible.com/u/Yehonatan_G)\
**Replies:** 0\
**Last updated:** [March 18, 2021, 3:08pm UTC](https://forum.ansible.com/t/awx-kubenetes-deployment-17-1-0-how-to-implement-isolated-instance-groups/34804 "2021-03-18T15:08:00Z")

</div>

Hey everyone, I’ve tried searching for it in the last few days but found absolutely nothing that will help my case. I want to implement the following architecture: I want to have my users access the AWX UI, run a j…

---

## [How to improve the readability of block scalars when used with jinja](https://forum.ansible.com/t/how-to-improve-the-readability-of-block-scalars-when-used-with-jinja/34801)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 2\
**Last updated:** [March 18, 2021, 12:06pm UTC](https://forum.ansible.com/t/how-to-improve-the-readability-of-block-scalars-when-used-with-jinja/34801 "2021-03-18T12:06:05Z")

</div>

Hello everyone. Block scalars are described here. The goal is to be improve the readability of the following block scalar example and obtain the intended value for the variable: - set\_fact: variable: "{% if condition…

---

## [How do i export the ansible output of a playbook TASK to a excel sheet or table?](https://forum.ansible.com/t/how-do-i-export-the-ansible-output-of-a-playbook-task-to-a-excel-sheet-or-table/34783)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 4\
**Last updated:** [March 18, 2021, 7:58am UTC](https://forum.ansible.com/t/how-do-i-export-the-ansible-output-of-a-playbook-task-to-a-excel-sheet-or-table/34783 "2021-03-18T07:58:38Z")

</div>

I am writing a script for IOS upgrade in switches and script involves multiple TASKS like checking copying image, settings boot statement, etc. The final task would be to check if IOS upgrade was successful or not and di…

---

## ['Odd' Behavior with Role Dependencies when using import\_role](https://forum.ansible.com/t/odd-behavior-with-role-dependencies-when-using-import-role/34803)

<div class="topic-metadata">

**Author:** [@Todd\_Beauchemin](https://forum.ansible.com/u/Todd_Beauchemin)\
**Replies:** 1\
**Last updated:** [March 17, 2021, 8:53pm UTC](https://forum.ansible.com/t/odd-behavior-with-role-dependencies-when-using-import-role/34803 "2021-03-17T20:53:51Z")

</div>

We’ve seen what we’d classify as odd behavior when using import\_role with roles that have dependencies defined under the meta directory. The version of Ansible we are running is 2.9.10. We have a few roles setup as fol…

---

## [Handling Oracle Dataguard failover/failback](https://forum.ansible.com/t/handling-oracle-dataguard-failover-failback/34799)

<div class="topic-metadata">

**Author:** [@Alex\_Wanderley](https://forum.ansible.com/u/Alex_Wanderley)\
**Replies:** 0\
**Last updated:** [March 17, 2021, 5:03pm UTC](https://forum.ansible.com/t/handling-oracle-dataguard-failover-failback/34799 "2021-03-17T17:03:04Z")

</div>

Hello, Is there anybody out there using Ansible playbooks to handle Oracle Dataguard’s failover and failback operations? We are working on automating the OS update process of Linux servers that host Dataguard pairs (th…

---

## [get variables after a job is finished](https://forum.ansible.com/t/get-variables-after-a-job-is-finished/34798)

<div class="topic-metadata">

**Author:** [@Manuel\_Sopena\_Balles](https://forum.ansible.com/u/Manuel_Sopena_Balles)\
**Replies:** 2\
**Last updated:** [March 17, 2021, 2:45pm UTC](https://forum.ansible.com/t/get-variables-after-a-job-is-finished/34798 "2021-03-17T14:45:03Z")

</div>

Hi, I am new to AWX, I have a template which runs through a job submission. This templates runs a playbook which setups some nodes and generates a random ssh port to connect to the nodes. I need to get this port number …

---

## [ssh root access remain closed](https://forum.ansible.com/t/ssh-root-access-remain-closed/34796)

<div class="topic-metadata">

**Author:** [@reredok](https://forum.ansible.com/u/reredok)\
**Replies:** 6\
**Last updated:** [March 17, 2021, 2:12pm UTC](https://forum.ansible.com/t/ssh-root-access-remain-closed/34796 "2021-03-17T14:12:18Z")

</div>

Hello all, one thing is not clear to me about ansible. On all my Linux VM the root ssh access, for security reasons, is blocked. So the ad-hoc, playbook access only works via a non-administrative user. But then, for exa…

---

## [Inject vault password with plugin](https://forum.ansible.com/t/inject-vault-password-with-plugin/33013)

<div class="topic-metadata">

**Author:** [@FERREIRA\_CHRISTOPHE](https://forum.ansible.com/u/FERREIRA_CHRISTOPHE)\
**Replies:** 5\
**Last updated:** [March 17, 2021, 10:26am UTC](https://forum.ansible.com/t/inject-vault-password-with-plugin/33013 "2021-03-17T10:26:55Z")

</div>

Hello it's possible to inject vault password with custom plugin vars or action ? I would like put password in vault hashicorp and i would't put script in host because is executable by user I have try loader.set\_vault\_se…

---

## [Inventory in ansible tower](https://forum.ansible.com/t/inventory-in-ansible-tower/34795)

<div class="topic-metadata">

**Author:** [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Replies:** 2\
**Last updated:** [March 17, 2021, 9:46am UTC](https://forum.ansible.com/t/inventory-in-ansible-tower/34795 "2021-03-17T09:46:35Z")

</div>

Hello everyone, How r u doing all? i have host.yml where this is my inventory how to upload my host from this file to inventories in ansible tower. thank you, please reply Regards Razzaq

---

## [Coordinating with Ansible running on separate machine.](https://forum.ansible.com/t/coordinating-with-ansible-running-on-separate-machine/34789)

<div class="topic-metadata">

**Author:** [@Yogi](https://forum.ansible.com/u/Yogi)\
**Replies:** 1\
**Last updated:** [March 17, 2021, 9:30am UTC](https://forum.ansible.com/t/coordinating-with-ansible-running-on-separate-machine/34789 "2021-03-17T09:30:56Z")

</div>

Hallo Everyone, We have ansible running on an Ubuntu 18.04 Machine and AWX installed as a Kubernetes Services on another machine. But these two machine are in the same Azure network. When we have these two on same mach…

---

## [Need help in adding ssh\_port dynamically](https://forum.ansible.com/t/need-help-in-adding-ssh-port-dynamically/34777)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 3\
**Last updated:** [March 17, 2021, 9:28am UTC](https://forum.ansible.com/t/need-help-in-adding-ssh-port-dynamically/34777 "2021-03-17T09:28:47Z")

</div>

Hi All, The dynamic inventory has been implemented with servicenow collections however few servers we are using custom ssh\_port rest all servers uses default port 22.Since it’s dynamic inventory is there way to add ssh\_…

---

## [script execution is failed in ansible](https://forum.ansible.com/t/script-execution-is-failed-in-ansible/28651)

<div class="topic-metadata">

**Author:** [@Makesh](https://forum.ansible.com/u/Makesh)\
**Replies:** 2\
**Last updated:** [March 17, 2021, 6:59am UTC](https://forum.ansible.com/t/script-execution-is-failed-in-ansible/28651 "2021-03-17T06:59:41Z")

</div>

Hi Team, Am automating my TIbco EMS restart service using Ansible. I have tried to execute the shell script from the server where ansible installed and also remote server but the service is not coming up also not gettin…

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

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