# Ansible Project

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

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

**Page:** 181

---

## [Setting up a local ansible galaxy with gitlab](https://forum.ansible.com/t/setting-up-a-local-ansible-galaxy-with-gitlab/30699)

<div class="topic-metadata">

**Author:** [@Junn\_Sorran](https://forum.ansible.com/u/Junn_Sorran)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 2:06pm UTC](https://forum.ansible.com/t/setting-up-a-local-ansible-galaxy-with-gitlab/30699 "2019-07-05T14:06:18Z")

</div>

Hello, I’m currently trying to set up a internal ansible galaxy linked to our own internal gitlab. but I can’ set up the login part. I followed the contributor guide and galaxy work fine and is accessible, but there is…

---

## [plugin with side effects vs module](https://forum.ansible.com/t/plugin-with-side-effects-vs-module/30651)

<div class="topic-metadata">

**Author:** [@rjwagner.dba](https://forum.ansible.com/u/rjwagner.dba)\
**Replies:** 2\
**Last updated:** [July 5, 2019, 1:54pm UTC](https://forum.ansible.com/t/plugin-with-side-effects-vs-module/30651 "2019-07-05T13:54:02Z")

</div>

Hey all - looking for some advice. I need to write either a plugin or a module to interact with Thycotic Secret Server. In most cases, my code will simply retrieve a credential from Thycotic, so a lookup plugin makes per…

---

## [List of files managed by ansible](https://forum.ansible.com/t/list-of-files-managed-by-ansible/30656)

<div class="topic-metadata">

**Author:** [@Claudius\_Heine](https://forum.ansible.com/u/Claudius_Heine)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 1:50pm UTC](https://forum.ansible.com/t/list-of-files-managed-by-ansible/30656 "2019-07-05T13:50:48Z")

</div>

Hi, I am quite new to Ansible and look forward to use it to manage some of our servers. We are a small company with only ~10 virtual servers hosting each a different service and have multiple admins for those. For us…

---

## [Logging of all variables, but without those which originated from vault files](https://forum.ansible.com/t/logging-of-all-variables-but-without-those-which-originated-from-vault-files/30591)

<div class="topic-metadata">

**Author:** [@Ron\_Castel](https://forum.ansible.com/u/Ron_Castel)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 1:49pm UTC](https://forum.ansible.com/t/logging-of-all-variables-but-without-those-which-originated-from-vault-files/30591 "2019-07-05T13:49:25Z")

</div>

There are several ways to “log” variables - some are planned and some are not planned, like here: https://github.com/ansible/ansible/issues/10194 https://github.com/ansible/ansible/issues/18184 I am referring to this …

---

## [Do you have an example for use a playbook with Python API ?](https://forum.ansible.com/t/do-you-have-an-example-for-use-a-playbook-with-python-api/30711)

<div class="topic-metadata">

**Author:** [@Bruno\_Selva](https://forum.ansible.com/u/Bruno_Selva)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 1:47pm UTC](https://forum.ansible.com/t/do-you-have-an-example-for-use-a-playbook-with-python-api/30711 "2019-07-05T13:47:04Z")

</div>

I am trying hard to create a simple script to execute a playbook with python \` from ansible.parsing.dataloader import DataLoader from ansible.vars.manager import VariableManager from ansible.inventory.manager import …

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

## [Help required for extracting Interface mac address](https://forum.ansible.com/t/help-required-for-extracting-interface-mac-address/30679)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 3\
**Last updated:** [July 1, 2019, 4:42am UTC](https://forum.ansible.com/t/help-required-for-extracting-interface-mac-address/30679 "2019-07-01T04:42:12Z")

</div>

Hi , My VM has 4 ip-interfaces . I want to extract a data as below using ansible. Interface1: macaddress Interface2: macaddress Interface3: macaddress Interface4: macaddress Kindly help.

---

## [Unexpected RC while uninstallaing a package using win\_package](https://forum.ansible.com/t/unexpected-rc-while-uninstallaing-a-package-using-win-package/30687)

<div class="topic-metadata">

**Author:** [@shyam.rpms](https://forum.ansible.com/u/shyam.rpms)\
**Replies:** 2\
**Last updated:** [June 30, 2019, 9:31pm UTC](https://forum.ansible.com/t/unexpected-rc-while-uninstallaing-a-package-using-win-package/30687 "2019-06-30T21:31:56Z")

</div>

Hi All, Im trying to uninstall a package using win\_package but getting the following error, Playbook is able to remove the software from the server but at the end Im getting this error. “msg”: “unexpected rc from insta…

---

## [Mitigate very long ansible-playbook runs](https://forum.ansible.com/t/mitigate-very-long-ansible-playbook-runs/30683)

<div class="topic-metadata">

**Author:** [@jepper](https://forum.ansible.com/u/jepper)\
**Replies:** 2\
**Last updated:** [June 28, 2019, 5:06pm UTC](https://forum.ansible.com/t/mitigate-very-long-ansible-playbook-runs/30683 "2019-06-28T17:06:45Z")

</div>

I’m working on a project where typical ansible-playbook runs take a considerable amount of time - 3 hours at least, to refresh a small test environment. Be under no illusion we’re “doing it right” - we’re not. None the l…

---

## [ansible playbook in json format not working](https://forum.ansible.com/t/ansible-playbook-in-json-format-not-working/30662)

<div class="topic-metadata">

**Author:** [@Narahari\_n\_Savitha](https://forum.ansible.com/u/Narahari_n_Savitha)\
**Replies:** 7\
**Last updated:** [June 28, 2019, 5:04pm UTC](https://forum.ansible.com/t/ansible-playbook-in-json-format-not-working/30662 "2019-06-28T17:04:13Z")

</div>

Hello Folkds: Thank you in advance for your time and attention. I wrote a playbook in the json format. \[ { “name”: “Test the json mode” “hosts”: “cool\_columbus”, “tasks”: \[ { “name”: “First task” “shell”: { “…

---

## [Jobs hanging in tower](https://forum.ansible.com/t/jobs-hanging-in-tower/30685)

<div class="topic-metadata">

**Author:** [@Sindhuja\_Koneru](https://forum.ansible.com/u/Sindhuja_Koneru)\
**Replies:** 2\
**Last updated:** [June 28, 2019, 4:55pm UTC](https://forum.ansible.com/t/jobs-hanging-in-tower/30685 "2019-06-28T16:55:22Z")

</div>

Hello, I’m looking for some suggestions or guidance. We are running on ansible tower version 3.3.3 and core 2.7.0 and all of the sudden have observed that jobs are hanging without any stdout or anything. Tried to looku…

---

## [Can lock\_timeout be applied to a role that uses package module?](https://forum.ansible.com/t/can-lock-timeout-be-applied-to-a-role-that-uses-package-module/30677)

<div class="topic-metadata">

**Author:** [@Scott\_Lundgren](https://forum.ansible.com/u/Scott_Lundgren)\
**Replies:** 3\
**Last updated:** [June 28, 2019, 2:24pm UTC](https://forum.ansible.com/t/can-lock-timeout-be-applied-to-a-role-that-uses-package-module/30677 "2019-06-28T14:24:19Z")

</div>

If I’m calling the role newrelic.newrelic-infra that uses the package module, is there a way to set or override lock\_timeout’s default value of 0 ? Can you suggest another solution than forking the role, rewriting the t…

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

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