# Ansible Project

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

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

**Page:** 83

---

## [vmware template deployment issue](https://forum.ansible.com/t/vmware-template-deployment-issue/34857)

<div class="topic-metadata">

**Author:** [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Replies:** 2\
**Last updated:** [March 25, 2021, 3:38pm UTC](https://forum.ansible.com/t/vmware-template-deployment-issue/34857 "2021-03-25T15:38:24Z")

</div>

Currently on version 2.10.6 and installed the community vmware collection and dependencies. I am running the playbook below and getting this error: “msg”: “TypeError was returned, please ensure to give correct inputs. F…

---

## [dynamic inventory creation for complex json file](https://forum.ansible.com/t/dynamic-inventory-creation-for-complex-json-file/34843)

<div class="topic-metadata">

**Author:** [@Sakshi\_Rathore](https://forum.ansible.com/u/Sakshi_Rathore)\
**Replies:** 5\
**Last updated:** [March 25, 2021, 10:47am UTC](https://forum.ansible.com/t/dynamic-inventory-creation-for-complex-json-file/34843 "2021-03-25T10:47:14Z")

</div>

hi all, i am having a complex json file with nested json structure. how can i create dynamic inventory using json file into ansible. i have tried many tutorials but due to compley json structure i am not getting it com…

---

## [Why is ansible so buggy?](https://forum.ansible.com/t/why-is-ansible-so-buggy/34853)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 1\
**Last updated:** [March 25, 2021, 10:39am UTC](https://forum.ansible.com/t/why-is-ansible-so-buggy/34853 "2021-03-25T10:39:52Z")

</div>

Ansible sometimes behaves differently when i execute the same script multiple times. Examples: Once, name for TASKS were not shown when script was run 1st time. Name was shown the 2nd time. It showed command timeoput o…

---

## [import\_playbook?](https://forum.ansible.com/t/import-playbook/34848)

<div class="topic-metadata">

**Author:** [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Replies:** 1\
**Last updated:** [March 24, 2021, 7:25pm UTC](https://forum.ansible.com/t/import-playbook/34848 "2021-03-24T19:25:40Z")

</div>

I want to provision my servers. I have a provision-1.yml that is run as root and a provision-2.yml that is run as a regular user. The sub playbooks are individually tested. I did this once before, but I forget how I did …

---

## [Upgraded Ansible to 2.9.9 on RHEL 7.5 and Host issues](https://forum.ansible.com/t/upgraded-ansible-to-2-9-9-on-rhel-7-5-and-host-issues/34845)

<div class="topic-metadata">

**Author:** [@manohar\_joshi](https://forum.ansible.com/u/manohar_joshi)\
**Replies:** 0\
**Last updated:** [March 24, 2021, 2:52pm UTC](https://forum.ansible.com/t/upgraded-ansible-to-2-9-9-on-rhel-7-5-and-host-issues/34845 "2021-03-24T14:52:41Z")

</div>

Hello Everyone , I upgraded the Ansible from 2.5.3 to 2.9.9 , Facing these issues blank \<\> suggest that it couldnt find the host and hence it cannot reach the Windows Host. Am I missing anything. Using module file /…

---

## [merge json\_query output](https://forum.ansible.com/t/merge-json-query-output/34835)

<div class="topic-metadata">

**Author:** [@Sakshi\_Rathore](https://forum.ansible.com/u/Sakshi_Rathore)\
**Replies:** 4\
**Last updated:** [March 24, 2021, 11:56am UTC](https://forum.ansible.com/t/merge-json-query-output/34835 "2021-03-24T11:56:32Z")

</div>

hello all, i am getting 2 array of ips from 2 different json queries in ansible-playbook. how can i merge these 2 json queries? in below example i want to merge jmesquery and jmesquery1 name: master ip list from jso…

---

## [Getting Error while Installing Oracle 18c XE RPM package](https://forum.ansible.com/t/getting-error-while-installing-oracle-18c-xe-rpm-package/34839)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar\_Singh](https://forum.ansible.com/u/Praveen_Kumar_Singh)\
**Replies:** 3\
**Last updated:** [March 24, 2021, 4:34am UTC](https://forum.ansible.com/t/getting-error-while-installing-oracle-18c-xe-rpm-package/34839 "2021-03-24T04:34:13Z")

</div>

Hello Guys, I am getting below error while installing Oracle 18c express edition RPM package. So can someone please help. Thanks and Regards, Praveen Singh

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

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

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

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