# Archives

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

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

**Page:** 137

---

## [Can't filter Find togheter with with\_sequence](https://forum.ansible.com/t/cant-filter-find-togheter-with-with-sequence/34854)

<div class="topic-metadata">

**Author:** [@Cornelis\_van\_Ginkel](https://forum.ansible.com/u/Cornelis_van_Ginkel)\
**Replies:** 2\
**Last updated:** [March 27, 2021, 7:14pm UTC](https://forum.ansible.com/t/cant-filter-find-togheter-with-with-sequence/34854 "2021-03-27T19:14:09Z")

</div>

Hi All, I’m new here and have an issue that gives me a headache :wink: I’m pretty new to ansible although I did the RH294 course. Here’s my playbook:

---

## [Uses SysPrep for Windows VM (depends on ‘guest\_id’ parameter match ‘win’) with PyVmomi.](https://forum.ansible.com/t/uses-sysprep-for-windows-vm-depends-on-guest-id-parameter-match-win-with-pyvmomi/34873)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 0\
**Last updated:** [March 27, 2021, 7:01pm UTC](https://forum.ansible.com/t/uses-sysprep-for-windows-vm-depends-on-guest-id-parameter-match-win-with-pyvmomi/34873 "2021-03-27T19:01:43Z")

</div>

Hello Below is my playbook for the vm creation with template which is windows server 2019 I saw notes for the module wrt sysprep in : https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware\_guest\_m…

---

## [how to use mutiple with\_items together in ansible](https://forum.ansible.com/t/how-to-use-mutiple-with-items-together-in-ansible/34872)

<div class="topic-metadata">

**Author:** [@Sanoj\_Thampi](https://forum.ansible.com/u/Sanoj_Thampi)\
**Replies:** 0\
**Last updated:** [March 27, 2021, 6:26pm UTC](https://forum.ansible.com/t/how-to-use-mutiple-with-items-together-in-ansible/34872 "2021-03-27T18:26:52Z")

</div>

Here I have attached the input format of Json which consists of two arrays, objects and targets, I try to use the Ansible with\_item module to loop objects into the Uri module. this concept is working with a single array…

---

## [Help to do MSI automation](https://forum.ansible.com/t/help-to-do-msi-automation/34870)

<div class="topic-metadata">

**Author:** [@Somasundaram\_R](https://forum.ansible.com/u/Somasundaram_R)\
**Replies:** 2\
**Last updated:** [March 27, 2021, 4:49pm UTC](https://forum.ansible.com/t/help-to-do-msi-automation/34870 "2021-03-27T16:49:20Z")

</div>

Hi, I am newbie to windows automation. I am planning to do MSI automation through win\_package. But how to retrieve public properties of MSI file. I am planning to collect public properties of MSI packages by installing…

---

## [New AWX install suggestion](https://forum.ansible.com/t/new-awx-install-suggestion/34868)

<div class="topic-metadata">

**Author:** [@hashtagsandro](https://forum.ansible.com/u/hashtagsandro)\
**Replies:** 1\
**Last updated:** [March 27, 2021, 2:50pm UTC](https://forum.ansible.com/t/new-awx-install-suggestion/34868 "2021-03-27T14:50:39Z")

</div>

Hi to everyone, can I make a question? I’ve read that only tower is stable but if I would try awx who will be a relative “stable” build? I’ve read that for install a brand new server the awx operator is suggested but I’v…

---

## [facts to txt file](https://forum.ansible.com/t/facts-to-txt-file/34866)

<div class="topic-metadata">

**Author:** [@Marcio\_Xavier](https://forum.ansible.com/u/Marcio_Xavier)\
**Replies:** 4\
**Last updated:** [March 26, 2021, 6:24pm UTC](https://forum.ansible.com/t/facts-to-txt-file/34866 "2021-03-26T18:24:57Z")

</div>

Hi all Is there a way to store facts like (mem,CPU,HD etc ) to a txt file ? Thanks ! Marcio X

---

## [AWX - Project SCM Branch/Tag](https://forum.ansible.com/t/awx-project-scm-branch-tag/34867)

<div class="topic-metadata">

**Author:** [@Paul\_Manno](https://forum.ansible.com/u/Paul_Manno)\
**Replies:** 0\
**Last updated:** [March 26, 2021, 5:57pm UTC](https://forum.ansible.com/t/awx-project-scm-branch-tag/34867 "2021-03-26T17:57:26Z")

</div>

Hello. I have a case where I have a project with a bunch of ansible roles, all in their own repos, and they are referenced in roles/requirements.yml via scm. I have setup a new repo that is all submodules, including the…

---

## [url lookup fails on my Apple M1](https://forum.ansible.com/t/url-lookup-fails-on-my-apple-m1/34863)

<div class="topic-metadata">

**Author:** [@Julien\_Tognazzi](https://forum.ansible.com/u/Julien_Tognazzi)\
**Replies:** 2\
**Last updated:** [March 26, 2021, 1:44pm UTC](https://forum.ansible.com/t/url-lookup-fails-on-my-apple-m1/34863 "2021-03-26T13:44:04Z")

</div>

Dear list, The following play fails on my ansible installation: hosts: localhost gather\_facts: false tasks: set\_fact: toto: “{{ lookup(‘url’, ‘https://google.ch’) }}” The error is objc\[57643\]: +\[\_\_NSCFConstantS…

---

## [Need assistance in Regex](https://forum.ansible.com/t/need-assistance-in-regex/34862)

<div class="topic-metadata">

**Author:** [@Devops\_testing](https://forum.ansible.com/u/Devops_testing)\
**Replies:** 3\
**Last updated:** [March 26, 2021, 1:23pm UTC](https://forum.ansible.com/t/need-assistance-in-regex/34862 "2021-03-26T13:23:17Z")

</div>

I’m trying to add new IP address (10.97.6.12) in firewall, Before adding, I’m validating whether the new IP already exists in firewall or not. Task: set\_fact: existing: “{{ result | json\_query(‘objects\[\*\].value’) | s…

---

## [AzureRM / azcollection ARM Zip file](https://forum.ansible.com/t/azurerm-azcollection-arm-zip-file/34860)

<div class="topic-metadata">

**Author:** [@tlourey](https://forum.ansible.com/u/tlourey)\
**Replies:** 2\
**Last updated:** [March 26, 2021, 9:46am UTC](https://forum.ansible.com/t/azurerm-azcollection-arm-zip-file/34860 "2021-03-26T09:46:45Z")

</div>

Hi, From various playing around and troubleshooting over the last year or two I think Ansible takes a playbook with plays using azure\_rm modules from azcollection then, creates an Azure ARM Template (and maybe parameter…

---

## [Assistance With ternary and use of Jinja substitution for variable](https://forum.ansible.com/t/assistance-with-ternary-and-use-of-jinja-substitution-for-variable/34861)

<div class="topic-metadata">

**Author:** [@Clint\_Denham](https://forum.ansible.com/u/Clint_Denham)\
**Replies:** 2\
**Last updated:** [March 26, 2021, 7:09am UTC](https://forum.ansible.com/t/assistance-with-ternary-and-use-of-jinja-substitution-for-variable/34861 "2021-03-26T07:09:51Z")

</div>

The main point of this I am having difficulty in using ternary in conjunction with a variable and would like to see if this is even possible? The ternary doesn’t seem to like the use of variable substitution inside its s…

---

## [how to loop inventory groups in ansible](https://forum.ansible.com/t/how-to-loop-inventory-groups-in-ansible/34816)

<div class="topic-metadata">

**Author:** [@Chetan\_Kumar\_Sriram](https://forum.ansible.com/u/Chetan_Kumar_Sriram)\
**Replies:** 2\
**Last updated:** [March 26, 2021, 1:56am UTC](https://forum.ansible.com/t/how-to-loop-inventory-groups-in-ansible/34816 "2021-03-26T01:56:38Z")

</div>

Hi I am struck with looping for below requirement. The mail section has to loop over first group in inventory, check the uptime with the condition of more than 200 days and send mail to only the lab\_email with lab serve…

---

## [deploy windows server playbook](https://forum.ansible.com/t/deploy-windows-server-playbook/34859)

<div class="topic-metadata">

**Author:** [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Replies:** 0\
**Last updated:** [March 25, 2021, 7:35pm UTC](https://forum.ansible.com/t/deploy-windows-server-playbook/34859 "2021-03-25T19:35:40Z")

</div>

Currently on ansible version 2.10.6 with the latest vmware.commumity.vmware\_guest package and dependcies. I am trying to deploy a windows server from template using the following playbook. The issue I have is when the se…

---

## [\[WARNING\]: module winrm not found in:](https://forum.ansible.com/t/warning-module-winrm-not-found-in/34855)

<div class="topic-metadata">

**Author:** [@Olariu\_Irinel](https://forum.ansible.com/u/Olariu_Irinel)\
**Replies:** 1\
**Last updated:** [March 25, 2021, 5:11pm UTC](https://forum.ansible.com/t/warning-module-winrm-not-found-in/34855 "2021-03-25T17:11:48Z")

</div>

Hello I’m trying to use winrm module but even if I installed it : \[centos@ip-172-17-0-84 site-packages\]$ pip list Package Version ansible 3.1.0 ansible-base 2.10.7 certifi 2020.12.5 cffi 1.14.5 chardet 4.0.0 cr…

---

## [Ansible 2.5.3 to Ansible 2.9.9 upgrade steps and dependancies](https://forum.ansible.com/t/ansible-2-5-3-to-ansible-2-9-9-upgrade-steps-and-dependancies/34858)

<div class="topic-metadata">

**Author:** [@manohar\_joshi](https://forum.ansible.com/u/manohar_joshi)\
**Replies:** 0\
**Last updated:** [March 25, 2021, 4:24pm UTC](https://forum.ansible.com/t/ansible-2-5-3-to-ansible-2-9-9-upgrade-steps-and-dependancies/34858 "2021-03-25T16:24:44Z")

</div>

Hello All, I have ansible 2.5.3 and Python 2.7.5 , I need to upgrade Ansible to 2.9.9. Can someone please guide me on what the dependant packages or Python libraries I should upgrade while upgrading to Ansible 2.9.9. T…

---

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

---

## [stale tags/groups after changing tag values (dynamic inventory)](https://forum.ansible.com/t/stale-tags-groups-after-changing-tag-values-dynamic-inventory/34837)

<div class="topic-metadata">

**Author:** [@Fraz\_Mahmud](https://forum.ansible.com/u/Fraz_Mahmud)\
**Replies:** 3\
**Last updated:** [March 25, 2021, 10:11am UTC](https://forum.ansible.com/t/stale-tags-groups-after-changing-tag-values-dynamic-inventory/34837 "2021-03-25T10:11:14Z")

</div>

Hi Folks, Dynamic inventory initially works great and creates host groups based on the AWS tags assigned to the ec2 hosts in y AWS account. However, if I then make a change to the tag value in AWS e.g. change from DEV t…

---

## [Convert a kubectl command to ansible equivalent command](https://forum.ansible.com/t/convert-a-kubectl-command-to-ansible-equivalent-command/34851)

<div class="topic-metadata">

**Author:** [@George\_Tsoumplekas](https://forum.ansible.com/u/George_Tsoumplekas)\
**Replies:** 0\
**Last updated:** [March 25, 2021, 9:55am UTC](https://forum.ansible.com/t/convert-a-kubectl-command-to-ansible-equivalent-command/34851 "2021-03-25T09:55:53Z")

</div>

I am using helm operators and I would like to convert the following command kubectl patch deployment -n my\_namespace myoperator-operator --type=‘json’ -p=‘\[ {“op”: “replace”, “path”: “/spec/template/spec/containers/0/im…

---

## [AWX Installation In HA on kubernetes](https://forum.ansible.com/t/awx-installation-in-ha-on-kubernetes/34850)

<div class="topic-metadata">

**Author:** [@Vinod\_Kumar5](https://forum.ansible.com/u/Vinod_Kumar5)\
**Replies:** 0\
**Last updated:** [March 25, 2021, 9:06am UTC](https://forum.ansible.com/t/awx-installation-in-ha-on-kubernetes/34850 "2021-03-25T09:06:22Z")

</div>

Hi Team, Can you please refer some document on AWX installation in High Availability on kubernetes pod Regards, Vinod

---

## [Rollback in existing deployment fails](https://forum.ansible.com/t/rollback-in-existing-deployment-fails/34849)

<div class="topic-metadata">

**Author:** [@George\_Tsoumplekas](https://forum.ansible.com/u/George_Tsoumplekas)\
**Replies:** 0\
**Last updated:** [March 25, 2021, 9:00am UTC](https://forum.ansible.com/t/rollback-in-existing-deployment-fails/34849 "2021-03-25T09:00:49Z")

</div>

Hello all I am using ansible and helm operators in order to rollback a current deployment The content of the path is simiral to the following { “spec”: { “template”: { “spec”: { “containers”: \[ { “name”: “patch-…

---

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

---

## [Do we need StrageyBase.\_results\_lock?](https://forum.ansible.com/t/do-we-need-strageybase-results-lock/34814)

<div class="topic-metadata">

**Author:** [@moreati](https://forum.ansible.com/u/moreati)\
**Replies:** 6\
**Last updated:** [March 24, 2021, 5:47pm UTC](https://forum.ansible.com/t/do-we-need-strageybase-results-lock/34814 "2021-03-24T17:47:47Z")

</div>

ansible.plugins.strategy.StrategyBase.\_results\_lock is acquired to control access to StrategyBase.\_results and StrategyBase.\_handler\_results. Specifically in ansible.plugins.strategy.results\_thread\_main() before append…

---

## [ansible-4.0.0 alpha2](https://forum.ansible.com/t/ansible-4-0-0-alpha2/34846)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [March 24, 2021, 4:05pm UTC](https://forum.ansible.com/t/ansible-4-0-0-alpha2/34846 "2021-03-24T16:05:29Z")

</div>

Hi all, We're happy to announce that the Ansible-4.0.0 alpha2 package is now available! This update is based on the Ansible-core-2.11.x package which is a major update from the Ansible-3 package (Ansible-3 was based …

---

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

---

## [AWX 17.1.0 Default Credential types not available](https://forum.ansible.com/t/awx-17-1-0-default-credential-types-not-available/34844)

<div class="topic-metadata">

**Author:** [@Danny\_van\_der\_Aa](https://forum.ansible.com/u/Danny_van_der_Aa)\
**Replies:** 0\
**Last updated:** [March 24, 2021, 1:01pm UTC](https://forum.ansible.com/t/awx-17-1-0-default-credential-types-not-available/34844 "2021-03-24T13:01:14Z")

</div>

Hi, I am missing default credential types when adding a credential like network, machine and source control. Do you know a way how to fix this?

---

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

---

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

<div class="topic-metadata">

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

</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 …

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

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