# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=137

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

**Page:** 138

---

## [extract stdout value](https://forum.ansible.com/t/extract-stdout-value/34840)

<div class="topic-metadata">

**Author:** [@Heman\_Malve](https://forum.ansible.com/u/Heman_Malve)\
**Replies:** 0\
**Last updated:** [March 24, 2021, 4:30am UTC](https://forum.ansible.com/t/extract-stdout-value/34840 "2021-03-24T04:30:46Z")

</div>

Team, stdout line as shown below. “stdout”: “var1:value1, var2:value2, var3:value3” I Would like to extract value3 from stdout , does it works with regexp or any other way to do this? pls suggest …

---

## [Playbook output is not saved properly in file, please guide](https://forum.ansible.com/t/playbook-output-is-not-saved-properly-in-file-please-guide/34586)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 5\
**Last updated:** [March 24, 2021, 2:13am UTC](https://forum.ansible.com/t/playbook-output-is-not-saved-properly-in-file-please-guide/34586 "2021-03-24T02:13:35Z")

</div>

I am practising writing ansible playbook using Network automation docker container in GNS3. After running below playbook, only the output of first command is saved (show version) and i don’t see the 2nd command’s output …

---

## [How to manage multiple private keys in AWX](https://forum.ansible.com/t/how-to-manage-multiple-private-keys-in-awx/34808)

<div class="topic-metadata">

**Author:** [@Fraz\_Mahmud](https://forum.ansible.com/u/Fraz_Mahmud)\
**Replies:** 3\
**Last updated:** [March 23, 2021, 4:33pm UTC](https://forum.ansible.com/t/how-to-manage-multiple-private-keys-in-awx/34808 "2021-03-23T16:33:24Z")

</div>

Hi Folks, I have just imported 150+ hosts from Amazon Web Services into AWX. We have multiple private keys (PEM) for servers e.g. db servers, web servers, file servers all have their own private keys. However, when cre…

---

## [Announcing AWX 18](https://forum.ansible.com/t/announcing-awx-18/34838)

<div class="topic-metadata">

**Author:** [@shanemcd](https://forum.ansible.com/u/shanemcd)\
**Replies:** 0\
**Last updated:** [March 23, 2021, 4:23pm UTC](https://forum.ansible.com/t/announcing-awx-18/34838 "2021-03-23T16:23:05Z")

</div>

Hello friends, Late last year, we announced some upcoming changes to the AWX Project… and that day is finally here. This release is the single biggest change to our application’s architecture and deployment model since …

---

## [Hi guys bit lost with this can anyone help](https://forum.ansible.com/t/hi-guys-bit-lost-with-this-can-anyone-help/34836)

<div class="topic-metadata">

**Author:** [@Mohamed\_Rahiman](https://forum.ansible.com/u/Mohamed_Rahiman)\
**Replies:** 1\
**Last updated:** [March 23, 2021, 4:13pm UTC](https://forum.ansible.com/t/hi-guys-bit-lost-with-this-can-anyone-help/34836 "2021-03-23T16:13:49Z")

</div>

\[root@sc-centos-1-2-1-build-1 ~\]# ansible-playbook delete.yml PLAY \[ECS delete S3 bucket and all objects\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* TASK \[Con…

---

## [return code as the input value for another play](https://forum.ansible.com/t/return-code-as-the-input-value-for-another-play/34821)

<div class="topic-metadata">

**Author:** [@danish09](https://forum.ansible.com/u/danish09)\
**Replies:** 4\
**Last updated:** [March 23, 2021, 11:54am UTC](https://forum.ansible.com/t/return-code-as-the-input-value-for-another-play/34821 "2021-03-23T11:54:19Z")

</div>

Hi, My goal is to implement 2 separate playbooks from the root main.yml, however, I would like to execute the 2nd playbook only when the 1st gives a return code of 0.

---

## [ovirt upload iso](https://forum.ansible.com/t/ovirt-upload-iso/34834)

<div class="topic-metadata">

**Author:** [@Jost](https://forum.ansible.com/u/Jost)\
**Replies:** 0\
**Last updated:** [March 23, 2021, 10:11am UTC](https://forum.ansible.com/t/ovirt-upload-iso/34834 "2021-03-23T10:11:58Z")

</div>

I would like to upload iso to ovirt, but I’m getting error: OSError: \[Errno 2\] No such file or directory: ‘/rear/olrearc’ fatal: \[olvman\]: FAILED! =\> { How that ansible can’t find iso image? If I change upload\_image\_p…

---

## [macOS Install with pip vs homebrew](https://forum.ansible.com/t/macos-install-with-pip-vs-homebrew/34833)

<div class="topic-metadata">

**Author:** [@Logan\_L](https://forum.ansible.com/u/Logan_L)\
**Replies:** 0\
**Last updated:** [March 23, 2021, 6:25am UTC](https://forum.ansible.com/t/macos-install-with-pip-vs-homebrew/34833 "2021-03-23T06:25:43Z")

</div>

Spent way too much time trying to figure this out. Hopefully someone here can help. In order to get ansible on the CLI, I must install with homebrew. pip install does not work. Python Setup

---

## [run powershell command via ansible playbook](https://forum.ansible.com/t/run-powershell-command-via-ansible-playbook/34831)

<div class="topic-metadata">

**Author:** [@John\_Veliss](https://forum.ansible.com/u/John_Veliss)\
**Replies:** 1\
**Last updated:** [March 23, 2021, 4:34am UTC](https://forum.ansible.com/t/run-powershell-command-via-ansible-playbook/34831 "2021-03-23T04:34:01Z")

</div>

Can anyone tell me how I would add the below powershell command into a playbook PowerShell.exe (New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow()

---

## [windows command via playbook](https://forum.ansible.com/t/windows-command-via-playbook/34832)

<div class="topic-metadata">

**Author:** [@John\_Veliss](https://forum.ansible.com/u/John_Veliss)\
**Replies:** 0\
**Last updated:** [March 23, 2021, 3:30am UTC](https://forum.ansible.com/t/windows-command-via-playbook/34832 "2021-03-23T03:30:36Z")

</div>

Can anyone tell me how I would execute the below command via a playbook wuauclt /resetauthorization /detectnow Wuauclt /reportnow

---

## [All site API requests return Error 400.](https://forum.ansible.com/t/all-site-api-requests-return-error-400/34817)

<div class="topic-metadata">

**Author:** [@James\_Hunt](https://forum.ansible.com/u/James_Hunt)\
**Replies:** 1\
**Last updated:** [March 22, 2021, 11:11pm UTC](https://forum.ansible.com/t/all-site-api-requests-return-error-400/34817 "2021-03-22T23:11:14Z")

</div>

Hi everyone, Just installed the latest version of AWX (17.1.0) and I have it behind a Nginx reverse proxy and Cloudflare access, the problem is whenever I open up the AWX site, login and try to go to any of the submenus,…

---

## [How do I start using IRC to join the #ANSIBLE channel](https://forum.ansible.com/t/how-do-i-start-using-irc-to-join-the-ansible-channel/34830)

<div class="topic-metadata">

**Author:** [@dimndskier](https://forum.ansible.com/u/dimndskier)\
**Replies:** 2\
**Last updated:** [March 22, 2021, 10:07pm UTC](https://forum.ansible.com/t/how-do-i-start-using-irc-to-join-the-ansible-channel/34830 "2021-03-22T22:07:24Z")

</div>

Nothing I have tried for the last several hours has worked. I am new to ansible and really need a good foundation and support community, like I had with Puppet. Can someone give me the first few steps spelled out explic…

---

## [Is there any slack ansible community channel ?](https://forum.ansible.com/t/is-there-any-slack-ansible-community-channel/32891)

<div class="topic-metadata">

**Author:** [@vinod\_devops](https://forum.ansible.com/u/vinod_devops)\
**Replies:** 4\
**Last updated:** [March 22, 2021, 8:17pm UTC](https://forum.ansible.com/t/is-there-any-slack-ansible-community-channel/32891 "2021-03-22T20:17:49Z")

</div>

Hi Friends, Thanks, Vinod

---

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

[Previous page](https://forum.ansible.com/c/archives/31.md?page=136)

[Next page](https://forum.ansible.com/c/archives/31.md?page=138)
