# Archives

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

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

**Page:** 278

---

## [ESXi patch by using playbook](https://forum.ansible.com/t/esxi-patch-by-using-playbook/28030)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 10:46am UTC](https://forum.ansible.com/t/esxi-patch-by-using-playbook/28030 "2019-07-05T10:46:55Z")

</div>

Hi Ansible / VMware experts, Can you guys help me esxi host patching by using ansible playbook. It will really helpful me to learn and study new stuffs .

---

## [Ansible Win\_command](https://forum.ansible.com/t/ansible-win-command/30663)

<div class="topic-metadata">

**Author:** [@sindhu\_shree](https://forum.ansible.com/u/sindhu_shree)\
**Replies:** 4\
**Last updated:** [July 5, 2019, 5:26am UTC](https://forum.ansible.com/t/ansible-win-command/30663 "2019-07-05T05:26:12Z")

</div>

Hi All, I need help in executing batch file which has some prompts. Am using following lines of script name: run an executable with custom working dir win\_command: pisrvstop.bat /argument1 “/argument 2 with space” …

---

## [How to insert value of variable in conditional statement in Playbook](https://forum.ansible.com/t/how-to-insert-value-of-variable-in-conditional-statement-in-playbook/30700)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 5\
**Last updated:** [July 5, 2019, 3:11am UTC](https://forum.ansible.com/t/how-to-insert-value-of-variable-in-conditional-statement-in-playbook/30700 "2019-07-05T03:11:02Z")

</div>

How can i insert value of variables using with items in conditional checks name: system\_ipaddress\_mac\_combinations present inside fact debug: msg : The system\_ip-MAC combinations “{{ item }}” is present in teh fact w…

---

## [Anyone successfully use python to generate a password hash and pass it into a usable variable in a playbook?](https://forum.ansible.com/t/anyone-successfully-use-python-to-generate-a-password-hash-and-pass-it-into-a-usable-variable-in-a-playbook/30702)

<div class="topic-metadata">

**Author:** [@Paul\_Shulz](https://forum.ansible.com/u/Paul_Shulz)\
**Replies:** 2\
**Last updated:** [July 5, 2019, 1:02am UTC](https://forum.ansible.com/t/anyone-successfully-use-python-to-generate-a-password-hash-and-pass-it-into-a-usable-variable-in-a-playbook/30702 "2019-07-05T01:02:30Z")

</div>

Wondering if anyone has tried this or is ansible just intentionally designed to to allow you to do it? Below is the normal output from creating a hash at the command line as an example of manually hashing a password. \[…

---

## [Pending jobs](https://forum.ansible.com/t/pending-jobs/30712)

<div class="topic-metadata">

**Author:** [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Replies:** 2\
**Last updated:** [July 5, 2019, 12:52am UTC](https://forum.ansible.com/t/pending-jobs/30712 "2019-07-05T00:52:06Z")

</div>

Hello guys: Under which conditions a job is queued in Pending status? Is this because of a job from the same template is already running? Hope someone can help me with this question. Thanks in advance

---

## [winrm send\_input failed. help needed.](https://forum.ansible.com/t/winrm-send-input-failed-help-needed/30703)

<div class="topic-metadata">

**Author:** [@Chris\_Jackson](https://forum.ansible.com/u/Chris_Jackson)\
**Replies:** 5\
**Last updated:** [July 4, 2019, 6:17pm UTC](https://forum.ansible.com/t/winrm-send-input-failed-help-needed/30703 "2019-07-04T18:17:08Z")

</div>

Hello, My playbook is failing with a long error: winrm send\_input failed; \\nstdout: Unable to initialize device PRN\\r\\nUnable to initialize device PRN\\r\\nUnable to initialize device PRN\\r\\nUnable to initialize device P…

---

## [Create module ansible](https://forum.ansible.com/t/create-module-ansible/30717)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 0\
**Last updated:** [July 4, 2019, 2:40pm UTC](https://forum.ansible.com/t/create-module-ansible/30717 "2019-07-04T14:40:18Z")

</div>

Hi guys, I maned be creating ansible module for generating name my resources a cloud, but need before defined fields know this type of resource. I wanna valid field type before declared other fields. Ex.: fields = {“…

---

## [firewalld loop through services/ports/sources within zones](https://forum.ansible.com/t/firewalld-loop-through-services-ports-sources-within-zones/30704)

<div class="topic-metadata">

**Author:** [@kingfisher77](https://forum.ansible.com/u/kingfisher77)\
**Replies:** 1\
**Last updated:** [July 4, 2019, 7:24am UTC](https://forum.ansible.com/t/firewalld-loop-through-services-ports-sources-within-zones/30704 "2019-07-04T07:24:07Z")

</div>

Hi, we aim for a scenario which seems to be not so easy achievable. We would like to kind of reset/automate the setup of firewalld on CentOS7. With walking through defined zones setting services/ports/sources. What we …

---

## [Signature based authentication](https://forum.ansible.com/t/signature-based-authentication/30701)

<div class="topic-metadata">

**Author:** [@Tariq\_Iqbal](https://forum.ansible.com/u/Tariq_Iqbal)\
**Replies:** 4\
**Last updated:** [July 4, 2019, 12:18am UTC](https://forum.ansible.com/t/signature-based-authentication/30701 "2019-07-04T00:18:15Z")

</div>

Hello All, I am trying to follow this process outlined below for Ansible to authenicate to APIC controller using signature based authentication. https://docs.ansible.com/ansible/latest/scenario\_guides/guide\_aci.html#si…

---

## [New Ansible releases 2.8.2, 2.7.12, and 2.6.18](https://forum.ansible.com/t/new-ansible-releases-2-8-2-2-7-12-and-2-6-18/30710)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 1\
**Last updated:** [July 3, 2019, 9:05pm UTC](https://forum.ansible.com/t/new-ansible-releases-2-8-2-2-7-12-and-2-6-18/30710 "2019-07-03T21:05:13Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.8.2, 2.7.12, and 2.6.18 are now available! How do you get it?

---

## [unable to copy large no.of files using win\_copy module](https://forum.ansible.com/t/unable-to-copy-large-no-of-files-using-win-copy-module/30708)

<div class="topic-metadata">

**Author:** [@shyam.rpms](https://forum.ansible.com/u/shyam.rpms)\
**Replies:** 0\
**Last updated:** [July 3, 2019, 5:59pm UTC](https://forum.ansible.com/t/unable-to-copy-large-no-of-files-using-win-copy-module/30708 "2019-07-03T17:59:55Z")

</div>

Hi, I tried to copy files between network shares on windows machines and the size of the folder is 19GB. After copying 5GB of data getting the following error. “Exception calling "Invoke" with \\r\\n"0" argument(s): "The…

---

## [Dynamic inventory using VMware vSphere](https://forum.ansible.com/t/dynamic-inventory-using-vmware-vsphere/30706)

<div class="topic-metadata">

**Author:** [@Vicente\_Juan\_Tomas\_M](https://forum.ansible.com/u/Vicente_Juan_Tomas_M)\
**Replies:** 0\
**Last updated:** [July 3, 2019, 3:34pm UTC](https://forum.ansible.com/t/dynamic-inventory-using-vmware-vsphere/30706 "2019-07-03T15:34:30Z")

</div>

Hi everyone, We’ve been using Ansible since v2.1 and using static inventory since then. At v2.7 now. The infra has grown quite a lot and we would like to use dynamic inventory. I tried the configuration as it says here…

---

## [vmdk already exists error](https://forum.ansible.com/t/vmdk-already-exists-error/30705)

<div class="topic-metadata">

**Author:** [@Raoul](https://forum.ansible.com/u/Raoul)\
**Replies:** 1\
**Last updated:** [July 3, 2019, 2:53pm UTC](https://forum.ansible.com/t/vmdk-already-exists-error/30705 "2019-07-03T14:53:32Z")

</div>

Hi, I am currently trying to deploy new VM’s from an existing template, but I do receive an error on every try: Failed to create a virtual machine : Cannot complete the operation because the file or folder \[LAB-GRPDC1…

---

## [Problem in updating the navigation menus using layout.partial.html](https://forum.ansible.com/t/problem-in-updating-the-navigation-menus-using-layout-partial-html/30560)

<div class="topic-metadata">

**Author:** [@Narayan\_G\_Maharjan](https://forum.ansible.com/u/Narayan_G_Maharjan)\
**Replies:** 6\
**Last updated:** [July 3, 2019, 2:45pm UTC](https://forum.ansible.com/t/problem-in-updating-the-navigation-menus-using-layout-partial-html/30560 "2019-07-03T14:45:51Z")

</div>

Hi , I have been trying to edit some menus and custom page inside AWX . I do have average knowledge of Angular 1.x and webpack. I am able to update the content of existing dashboard, home page contents , after getting i…

---

## [Failed to find file, with shared vars](https://forum.ansible.com/t/failed-to-find-file-with-shared-vars/30661)

<div class="topic-metadata">

**Author:** [@Michael\_Raugh\_NOAA\_A](https://forum.ansible.com/u/Michael_Raugh_NOAA_A)\
**Replies:** 5\
**Last updated:** [July 3, 2019, 2:40pm UTC](https://forum.ansible.com/t/failed-to-find-file-with-shared-vars/30661 "2019-07-03T14:40:18Z")

</div>

I am hoping to leverage the wisdom of the group here. For over a year, I have been running a playbook that starts out by pulling variables from a separate role: Load required variables import\_role: name: sitevars tag…

---

## [How to rollback the ansible-playbook tasks ?](https://forum.ansible.com/t/how-to-rollback-the-ansible-playbook-tasks/30673)

<div class="topic-metadata">

**Author:** [@Stefano\_Leandro](https://forum.ansible.com/u/Stefano_Leandro)\
**Replies:** 1\
**Last updated:** [July 3, 2019, 9:30am UTC](https://forum.ansible.com/t/how-to-rollback-the-ansible-playbook-tasks/30673 "2019-07-03T09:30:58Z")

</div>

Hi Folks, I would to ask some suggestions for controlling a state rollback of ansible-plyabook tasks . Are there some best practice to follow ? Thank you, Steano L.

---

## [LDAPS confguration issue](https://forum.ansible.com/t/ldaps-confguration-issue/30686)

<div class="topic-metadata">

**Author:** [@Nilesh\_Jaiswal](https://forum.ansible.com/u/Nilesh_Jaiswal)\
**Replies:** 4\
**Last updated:** [July 2, 2019, 10:58pm UTC](https://forum.ansible.com/t/ldaps-confguration-issue/30686 "2019-07-02T22:58:15Z")

</div>

Dear All, I followed complete documentation to configure LDAP it’s working fine, But when I change the TLS setting ON I am getting connection error for that server. 2019-06-28 17:37:43,200 DEBUG django\_auth\_ldap Initia…

---

## [regarding unknown error](https://forum.ansible.com/t/regarding-unknown-error/30696)

<div class="topic-metadata">

**Author:** [@Ajay\_Kannan](https://forum.ansible.com/u/Ajay_Kannan)\
**Replies:** 3\
**Last updated:** [July 2, 2019, 4:47pm UTC](https://forum.ansible.com/t/regarding-unknown-error/30696 "2019-07-02T16:47:43Z")

</div>

Hi team, am new to anisble and currently stuck up with one issue. have developed script for maintenance mode and it was working fine. But for few time it skips the tasks often. Can anyone guide me from here. Thanks …

---

## [AWX 6.0.0](https://forum.ansible.com/t/awx-6-0-0/30698)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 1\
**Last updated:** [July 2, 2019, 1:45pm UTC](https://forum.ansible.com/t/awx-6-0-0/30698 "2019-07-02T13:45:58Z")

</div>

Hey everyone, We’ve released a new version of AWX, 6.0.0. Here’s the highlight reel: Removed support for “Any” notification templates and their API endpoints e.g., /api/v2/job\_templates/N/notification\_templates/any/ …

---

## [looping through list of dictionaries](https://forum.ansible.com/t/looping-through-list-of-dictionaries/30693)

<div class="topic-metadata">

**Author:** [@Brian\_Goulet](https://forum.ansible.com/u/Brian_Goulet)\
**Replies:** 2\
**Last updated:** [July 2, 2019, 1:38pm UTC](https://forum.ansible.com/t/looping-through-list-of-dictionaries/30693 "2019-07-02T13:38:54Z")

</div>

my playbook grabs show command output from a cisco switch and then reformats that output into structured data thanks to a parsing script written by someone smarter than me. i’m pretty new to ansible data structures but I…

---

## [AWX and vsphere VM tags](https://forum.ansible.com/t/awx-and-vsphere-vm-tags/30697)

<div class="topic-metadata">

**Author:** [@Daniel\_Nanboe](https://forum.ansible.com/u/Daniel_Nanboe)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 11:54am UTC](https://forum.ansible.com/t/awx-and-vsphere-vm-tags/30697 "2019-07-02T11:54:25Z")

</div>

I have a Vsphere inventory. I sync all the host and is fine. But I wonder if is possible to get the tags from Vmware and create dynamic inventory based on the tags. Right now I can see that there are some related groups…

---

## [custom filter used in aggregate doesn't receive the correct list.](https://forum.ansible.com/t/custom-filter-used-in-aggregate-doesnt-receive-the-correct-list/30583)

<div class="topic-metadata">

**Author:** [@Fernando\_Garcia\_Fern](https://forum.ansible.com/u/Fernando_Garcia_Fern)\
**Replies:** 1\
**Last updated:** [July 2, 2019, 7:30am UTC](https://forum.ansible.com/t/custom-filter-used-in-aggregate-doesnt-receive-the-correct-list/30583 "2019-07-02T07:30:11Z")

</div>

Hello I’m trying to use aggregates to speed up configuration of my Nexus switches. I’m using a custom filter to generate a customized list of interfaces based on a “interfaces” list, defined in the group\_vars and host\_…

---

## [Synchronize from control machine to remote host not working](https://forum.ansible.com/t/synchronize-from-control-machine-to-remote-host-not-working/30666)

<div class="topic-metadata">

**Author:** [@furstenheim](https://forum.ansible.com/u/furstenheim)\
**Replies:** 4\
**Last updated:** [July 2, 2019, 6:07am UTC](https://forum.ansible.com/t/synchronize-from-control-machine-to-remote-host-not-working/30666 "2019-07-02T06:07:36Z")

</div>

SUMMARY ISSUE TYPE Bug Report / Issue workaround - hosts: somehost tasks: - name: Synchronize synchronize: src: README.md dest: /tmp/ COMPONENT NAME synchronize ANSIBLE VERSION ansible 2.7.10 CONFIGURATION OS /…

---

## [Unknown runtime specified docker-runc](https://forum.ansible.com/t/unknown-runtime-specified-docker-runc/30695)

<div class="topic-metadata">

**Author:** [@Nilesh\_Jaiswal](https://forum.ansible.com/u/Nilesh_Jaiswal)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 4:27am UTC](https://forum.ansible.com/t/unknown-runtime-specified-docker-runc/30695 "2019-07-02T04:27:22Z")

</div>

Hi, I tried to find solution for the below issue in group but didn’t find it. I am trying to install docker version of AWX 5.0.0 and I am getting this error. “ERROR: for awx\_rabbitmq Cannot start service rabbitmq: b’U…

---

## [CSV item validation through loop](https://forum.ansible.com/t/csv-item-validation-through-loop/30689)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 3\
**Last updated:** [July 2, 2019, 4:00am UTC](https://forum.ansible.com/t/csv-item-validation-through-loop/30689 "2019-07-02T04:00:00Z")

</div>

Hi, I have a csv file which has all the ip address and the mac address in column (as shown below): VM1 | TBD | | | | x.x.x.x | 02:07:C0:A8:06:04 | x1.x1.x1.x1 | 02:07:0A:AE:CC:54 | x2.x2.x2.x2 | 02:07:0A:91:10:BB |…

---

## [Question on PR  adding module for ibm dmgr #56945](https://forum.ansible.com/t/question-on-pr-adding-module-for-ibm-dmgr-56945/30694)

<div class="topic-metadata">

**Author:** [@td784](https://forum.ansible.com/u/td784)\
**Replies:** 0\
**Last updated:** [July 2, 2019, 1:25am UTC](https://forum.ansible.com/t/question-on-pr-adding-module-for-ibm-dmgr-56945/30694 "2019-07-02T01:25:40Z")

</div>

Hi everyone, I have had a PR in for quite some time in the ansible.modules.web\_infrastucture project namespace. It is known that the maintainers of that project area get the final call on merging a new module into it. I…

---

## [AWX 5.0.0](https://forum.ansible.com/t/awx-5-0-0/30601)

<div class="topic-metadata">

**Author:** [@shanemcd](https://forum.ansible.com/u/shanemcd)\
**Replies:** 5\
**Last updated:** [July 1, 2019, 10:48pm UTC](https://forum.ansible.com/t/awx-5-0-0/30601 "2019-07-01T22:48:24Z")

</div>

Hello everyone. As some of you have already noticed, we pushed AWX 5.0.0 yesterday. We’re mainly bumping the major version due to the removal of /api/v1. Some other notable changes and fixes are: Bump Django Rest Fra…

---

## [Used variable groups and users in iventory](https://forum.ansible.com/t/used-variable-groups-and-users-in-iventory/30692)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 3\
**Last updated:** [July 1, 2019, 6:55pm UTC](https://forum.ansible.com/t/used-variable-groups-and-users-in-iventory/30692 "2019-07-01T18:55:47Z")

</div>

Dears, I am using Ansible Tower for management ansible. I am with a problem because put variables (groups and hosts) in inventory but not load in jobs. How can loaded variables in groups and hosts from inventory?

---

## [copy files from remote to local](https://forum.ansible.com/t/copy-files-from-remote-to-local/30690)

<div class="topic-metadata">

**Author:** [@Rahul\_Kolan](https://forum.ansible.com/u/Rahul_Kolan)\
**Replies:** 3\
**Last updated:** [July 1, 2019, 4:29pm UTC](https://forum.ansible.com/t/copy-files-from-remote-to-local/30690 "2019-07-01T16:29:12Z")

</div>

Team, Can someone provide me solution to copy all source /tmp/\*.exe files to local Ansible machine. I tried below solution but its not working. name: example copying file with owner and permissions fetch: src: /tmp…

---

## [regex\_search](https://forum.ansible.com/t/regex-search/30688)

<div class="topic-metadata">

**Author:** [@apple.talk](https://forum.ansible.com/u/apple.talk)\
**Replies:** 0\
**Last updated:** [July 1, 2019, 6:34am UTC](https://forum.ansible.com/t/regex-search/30688 "2019-07-01T06:34:53Z")

</div>

Hi, when I use regex\_search in my playbook, then I get this error message: task \[Output to file\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* #fatal: \[R34-N5696Q-1\]: FAILED! =\> {“msg”: “Unexpected templa…

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

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