# Latest

**URL:** https://forum.ansible.com/latest.md?page=447

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

**Page:** 448

---

## [ansible 2.4 set\_fact with regex\_replace Quote issue](https://forum.ansible.com/t/ansible-2-4-set-fact-with-regex-replace-quote-issue/30733)

<div class="topic-metadata">

**Author:** [@fabien\_T](https://forum.ansible.com/u/fabien_T)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 1:46pm UTC](https://forum.ansible.com/t/ansible-2-4-set-fact-with-regex-replace-quote-issue/30733 "2019-07-09T13:46:31Z")

</div>

hi everybody, i try to make a string transformation with regex\_replace for construct my array. i use ansible 2.4, i try many variation, but i don’t find the right syntax with double quote and simple quote… someone can h…

---

## ["No matching host could be found!" - All host are connect to one ssh server with different port](https://forum.ansible.com/t/no-matching-host-could-be-found-all-host-are-connect-to-one-ssh-server-with-different-port/30730)

<div class="topic-metadata">

**Author:** [@Ondrej\_Fuchs](https://forum.ansible.com/u/Ondrej_Fuchs)\
**Replies:** 2\
**Last updated:** [July 9, 2019, 1:13pm UTC](https://forum.ansible.com/t/no-matching-host-could-be-found-all-host-are-connect-to-one-ssh-server-with-different-port/30730 "2019-07-09T13:13:43Z")

</div>

SUMMARY If I ask to AWX server to PROVISIONING CALLBACK by host1 with curl (curl -vv --data “host\_config\_key=aec14601575ea619a149ec1d59b72686” http://IP\_address:80/api/v2/job\_templates/8/callback/), I get {“msg”:“No ma…

---

## [Append hostname to all lines in a file on a windows remote server](https://forum.ansible.com/t/append-hostname-to-all-lines-in-a-file-on-a-windows-remote-server/30731)

<div class="topic-metadata">

**Author:** [@Asha\_Omanakuttan](https://forum.ansible.com/u/Asha_Omanakuttan)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 11:43am UTC](https://forum.ansible.com/t/append-hostname-to-all-lines-in-a-file-on-a-windows-remote-server/30731 "2019-07-09T11:43:27Z")

</div>

Hi all, I have a csv file as below admin\_server, id:1, /tmp admin\_group, id:3, /home user\_group, id:5, /root The number of lines in the file might vary. I need to append hostname to every lines in the file. i.e. I …

---

## [How to use ansible inventory plugins in awx](https://forum.ansible.com/t/how-to-use-ansible-inventory-plugins-in-awx/30727)

<div class="topic-metadata">

**Author:** [@Daniel\_Bacher](https://forum.ansible.com/u/Daniel_Bacher)\
**Replies:** 1\
**Last updated:** [July 9, 2019, 11:40am UTC](https://forum.ansible.com/t/how-to-use-ansible-inventory-plugins-in-awx/30727 "2019-07-09T11:40:14Z")

</div>

Hi, i want to import my inventory from my netbox instance. Ansible has a good plugin for that. How can I use this plugin with awx? Regards Daniel

---

## [Issue : Regarding "Add ability to rate limit data transfer #12684"](https://forum.ansible.com/t/issue-regarding-add-ability-to-rate-limit-data-transfer-12684/30729)

<div class="topic-metadata">

**Author:** [@Uday\_Kulkarni](https://forum.ansible.com/u/Uday_Kulkarni)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 4:36am UTC](https://forum.ansible.com/t/issue-regarding-add-ability-to-rate-limit-data-transfer-12684/30729 "2019-07-09T04:36:27Z")

</div>

Hi, I have installed ansible version 2.7.8 on Redhat Linux 7.4 and have noticed following issue, If I use “scp-extra-args” with option “-l” within playbook this option is not getting into effect. Which means if I menti…

---

## [Win\_wait\_for arbitrary results](https://forum.ansible.com/t/win-wait-for-arbitrary-results/30715)

<div class="topic-metadata">

**Author:** [@ground7612](https://forum.ansible.com/u/ground7612)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 7:59pm UTC](https://forum.ansible.com/t/win-wait-for-arbitrary-results/30715 "2019-07-08T19:59:52Z")

</div>

Hi All, We are evaluating options for a playbook with a very specific use case. We would like to monitor certain processes and / or services and depending on the state we would like Ansible to register the change and tr…

---

## [cert\_file error with aws\_ec2 inventory plugin](https://forum.ansible.com/t/cert-file-error-with-aws-ec2-inventory-plugin/30726)

<div class="topic-metadata">

**Author:** [@James\_Wallace](https://forum.ansible.com/u/James_Wallace)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 3:43pm UTC](https://forum.ansible.com/t/cert-file-error-with-aws-ec2-inventory-plugin/30726 "2019-07-08T15:43:43Z")

</div>

Hey all, I’m having an issue using the aws\_ec2 inventory plugin and I can’t seem to find a solution. \` ansible 2.8.1 config file = /home/jwallace/nxt-devops/ansible/ansible.cfg configured module search path = \[u’/ho…

---

## [How to adapt tempfile to cfg](https://forum.ansible.com/t/how-to-adapt-tempfile-to-cfg/30723)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 3:36pm UTC](https://forum.ansible.com/t/how-to-adapt-tempfile-to-cfg/30723 "2019-07-08T15:36:22Z")

</div>

Hey guys, I use the following template file .j2 to update config file on remote host. Template file: pg\_hba.conf.j2 {% for slave in groups\[‘slaves’\] %} host replication {{ postgresql\_streaming\_user.name }} {{ hostvar…

---

## ['ShellModule' object has no attribute 'ECHO'](https://forum.ansible.com/t/shellmodule-object-has-no-attribute-echo/30725)

<div class="topic-metadata">

**Author:** [@Matt\_McElreath](https://forum.ansible.com/u/Matt_McElreath)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 3:25pm UTC](https://forum.ansible.com/t/shellmodule-object-has-no-attribute-echo/30725 "2019-07-08T15:25:09Z")

</div>

We’re new to AWX. We set it up in containers and it was running well against our Windows servers. Then we had an issue where something got corrupt so we rebuilt the containers and started over. Now when I try to run my W…

---

## [RE: \[ansible-project\] Ansible NTP Roles](https://forum.ansible.com/t/re-ansible-project-ansible-ntp-roles/30724)

<div class="topic-metadata">

**Author:** [@P.Cookson](https://forum.ansible.com/u/P.Cookson)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 2:16pm UTC](https://forum.ansible.com/t/re-ansible-project-ansible-ntp-roles/30724 "2019-07-08T14:16:36Z")

</div>

Hi Keith Might be worth looking into Ansible Galaxy Roles – following Link actually gives NTP as an example too: https://www.linuxtechi.com/use-ansible-galaxy-roles-ansible-playbook/ Regards Phil

---

## [\[Best Practices\] Deprovisioning Resources](https://forum.ansible.com/t/best-practices-deprovisioning-resources/30718)

<div class="topic-metadata">

**Author:** [@Jimmyscene](https://forum.ansible.com/u/Jimmyscene)\
**Replies:** 1\
**Last updated:** [July 6, 2019, 6:11pm UTC](https://forum.ansible.com/t/best-practices-deprovisioning-resources/30718 "2019-07-06T18:11:31Z")

</div>

Hey guys, I was wondering how most people are handling deprovisioning resources like Virtual Machines, etc once they are no longer used/needed in your ansible playbooks. I understand you can set the state=absent flag i…

---

## [How to use Custom Module in sub directory of library folder (git submodule)](https://forum.ansible.com/t/how-to-use-custom-module-in-sub-directory-of-library-folder-git-submodule/30630)

<div class="topic-metadata">

**Author:** [@Jacob\_Snapp](https://forum.ansible.com/u/Jacob_Snapp)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 2:23pm UTC](https://forum.ansible.com/t/how-to-use-custom-module-in-sub-directory-of-library-folder-git-submodule/30630 "2019-07-05T14:23:03Z")

</div>

Hi, I would like to use git submodules to import custom modules into my roles. However, I am having difficulties in getting Ansible to find my nested module. In this issue on https://github.com/ansible/ansible/issues/1…

---

## [Error-- missing documentation (or could not parse documentation): expected string or buffer](https://forum.ansible.com/t/error-missing-documentation-or-could-not-parse-documentation-expected-string-or-buffer/30691)

<div class="topic-metadata">

**Author:** [@Tanisha\_Mishra](https://forum.ansible.com/u/Tanisha_Mishra)\
**Replies:** 1\
**Last updated:** [July 5, 2019, 2:12pm UTC](https://forum.ansible.com/t/error-missing-documentation-or-could-not-parse-documentation-expected-string-or-buffer/30691 "2019-07-05T14:12:42Z")

</div>

Hi guys, I am trying to import a custom python module. It is listing successfully in “ansible-doc --list” but shows documentation error. ERROR! module eip\_solid\_server missing documentation (or could not parse documen…

---

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

---

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

[Previous page](https://forum.ansible.com/latest.md?page=446)

[Next page](https://forum.ansible.com/latest.md?page=448)
