# Archives

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

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

**Page:** 286

---

## [Slowness changing VM port group with vmware\_guest module](https://forum.ansible.com/t/slowness-changing-vm-port-group-with-vmware-guest-module/30471)

<div class="topic-metadata">

**Author:** [@mamullen13316](https://forum.ansible.com/u/mamullen13316)\
**Replies:** 0\
**Last updated:** [June 2, 2019, 5:41pm UTC](https://forum.ansible.com/t/slowness-changing-vm-port-group-with-vmware-guest-module/30471 "2019-06-02T17:41:39Z")

</div>

Hello, I am using the vmware\_guest module to change a port group on a VM and it is taking over a minute to change the port group for each VM. Below is the playbook: name: “Change VM port group in vCenter DC {{ item\[‘v…

---

## [Which plugin to write?](https://forum.ansible.com/t/which-plugin-to-write/30468)

<div class="topic-metadata">

**Author:** [@Lassi\_Polonen](https://forum.ansible.com/u/Lassi_Polonen)\
**Replies:** 0\
**Last updated:** [June 1, 2019, 11:22am UTC](https://forum.ansible.com/t/which-plugin-to-write/30468 "2019-06-01T11:22:50Z")

</div>

Hi, I’m considering of writing a plugin, but would need some pointers/tips what’s the best way to achieve what I’m after. Basically I do a lot of firewall rules for host to host connections (based on groups), so I’ve c…

---

## [Module to gather all VCS Datacenters names](https://forum.ansible.com/t/module-to-gather-all-vcs-datacenters-names/30466)

<div class="topic-metadata">

**Author:** [@markatbkk](https://forum.ansible.com/u/markatbkk)\
**Replies:** 0\
**Last updated:** [June 1, 2019, 8:59am UTC](https://forum.ansible.com/t/module-to-gather-all-vcs-datacenters-names/30466 "2019-06-01T08:59:40Z")

</div>

hi, is there a vmware module which can gather list of all datacenters under VCS? similar to Powercli: Get-Datacenter ?

---

## [serious issues with autoescaping quotes in variables with output](https://forum.ansible.com/t/serious-issues-with-autoescaping-quotes-in-variables-with-output/30451)

<div class="topic-metadata">

**Author:** [@erik\_clark](https://forum.ansible.com/u/erik_clark)\
**Replies:** 14\
**Last updated:** [June 1, 2019, 8:17am UTC](https://forum.ansible.com/t/serious-issues-with-autoescaping-quotes-in-variables-with-output/30451 "2019-06-01T08:17:21Z")

</div>

Simple problem, apparently not a simple solution. tasks: name: packages shell: dpkg -l | awk -F ’ ’ ‘{print “{"package":"”$1"", “"version":"”$2""}"}’ register: bleh ignore\_errors: yes set\_fact: packages: “{{ b…

---

## [Trying to use inventory scripts](https://forum.ansible.com/t/trying-to-use-inventory-scripts/30464)

<div class="topic-metadata">

**Author:** [@Josh\_Goldman](https://forum.ansible.com/u/Josh_Goldman)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 9:14pm UTC](https://forum.ansible.com/t/trying-to-use-inventory-scripts/30464 "2019-05-31T21:14:46Z")

</div>

Fairly new to AMX and Ansible so bare with me. I’m trying to run an inventory script I setup. However, when I run the job it says it cannot find that inventory script. I cannot find how to use the inventory script. Is th…

---

## [Docker issue while running Awx installer](https://forum.ansible.com/t/docker-issue-while-running-awx-installer/30402)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar](https://forum.ansible.com/u/Praveen_Kumar)\
**Replies:** 5\
**Last updated:** [May 31, 2019, 6:10pm UTC](https://forum.ansible.com/t/docker-issue-while-running-awx-installer/30402 "2019-05-31T18:10:10Z")

</div>

Hi, My Installer fails with the error message below . The message in itself is clear that the server can’t reach out to docker hub. Our environment has it’s own docker registry and we block access to Internet from the c…

---

## [Update project using git](https://forum.ansible.com/t/update-project-using-git/30463)

<div class="topic-metadata">

**Author:** [@matburt](https://forum.ansible.com/u/matburt)\
**Replies:** 0\
**Last updated:** [May 31, 2019, 6:07pm UTC](https://forum.ansible.com/t/update-project-using-git/30463 "2019-05-31T18:07:58Z")

</div>

“Failed to connect… No route to host”. Your awx\_task container can’t reach 172.30.10.169 (attachments)

---

## [Ansible Error: dict object has no attribute 'json'"}](https://forum.ansible.com/t/ansible-error-dict-object-has-no-attribute-json/30436)

<div class="topic-metadata">

**Author:** [@Deva\_Krishnan](https://forum.ansible.com/u/Deva_Krishnan)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 6:06pm UTC](https://forum.ansible.com/t/ansible-error-dict-object-has-no-attribute-json/30436 "2019-05-31T18:06:21Z")

</div>

Hi @all Recently I found an Ansible error while installing Opnfv-Apex. I’m getting the below error message while deploying. It seems to be Ansible playbook failed error. Error Message : 2019-05-27 20:45:16,635 INFO: T…

---

## [Patching using local repository](https://forum.ansible.com/t/patching-using-local-repository/30461)

<div class="topic-metadata">

**Author:** [@Dung\_Do](https://forum.ansible.com/u/Dung_Do)\
**Replies:** 3\
**Last updated:** [May 31, 2019, 5:25pm UTC](https://forum.ansible.com/t/patching-using-local-repository/30461 "2019-05-31T17:25:48Z")

</div>

I am thinking about pointing Ansible to my local repository for updates. How do I accomplish the task? And more importantly, is pointing Ansible to local repository the right way to design Ansible patching architect?

---

## [Anyone have success installing on RHEL8?](https://forum.ansible.com/t/anyone-have-success-installing-on-rhel8/30462)

<div class="topic-metadata">

**Author:** [@wmedley](https://forum.ansible.com/u/wmedley)\
**Replies:** 0\
**Last updated:** [May 31, 2019, 4:43pm UTC](https://forum.ansible.com/t/anyone-have-success-installing-on-rhel8/30462 "2019-05-31T16:43:13Z")

</div>

Anyone have success on RHEL8?

---

## [same variable on different roles](https://forum.ansible.com/t/same-variable-on-different-roles/30459)

<div class="topic-metadata">

**Author:** [@Omer\_Sen](https://forum.ansible.com/u/Omer_Sen)\
**Replies:** 3\
**Last updated:** [May 31, 2019, 12:11pm UTC](https://forum.ansible.com/t/same-variable-on-different-roles/30459 "2019-05-31T12:11:08Z")

</div>

Hi I want to ask what is expected behaviour on variables. So for example I have two roles and on vars i have same variable name like tmp\_dir but pointing on different directories role1/vars/ role2/vars/ and what happ…

---

## [PRINT THE STRING 'kb' from windows updates](https://forum.ansible.com/t/print-the-string-kb-from-windows-updates/30458)

<div class="topic-metadata">

**Author:** [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 11:05am UTC](https://forum.ansible.com/t/print-the-string-kb-from-windows-updates/30458 "2019-05-31T11:05:23Z")

</div>

I am doing windows patching with selected kb article. I am trying to see that the kb article as extra variable should be in the searched updates. Now i want to 1) print the kb article ID from below o/p ok: \[vuhplabgtd…

---

## [Interests in an Ansible Lookup Plugin for Thycotic Secret Server Professional](https://forum.ansible.com/t/interests-in-an-ansible-lookup-plugin-for-thycotic-secret-server-professional/27897)

<div class="topic-metadata">

**Author:** [@mscholl.corp](https://forum.ansible.com/u/mscholl.corp)\
**Replies:** 4\
**Last updated:** [May 31, 2019, 9:56am UTC](https://forum.ansible.com/t/interests-in-an-ansible-lookup-plugin-for-thycotic-secret-server-professional/27897 "2019-05-31T09:56:44Z")

</div>

Hi, we’re using ansible for quite some time now as well as Thycotic Secret Server (TSS). Recently, we thought it would be a good idea to be able to use TSS as a global password storage for any ansible related stuff, too…

---

## [script finished while get share connection close error](https://forum.ansible.com/t/script-finished-while-get-share-connection-close-error/30456)

<div class="topic-metadata">

**Author:** [@denny\_X](https://forum.ansible.com/u/denny_X)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 7:25am UTC](https://forum.ansible.com/t/script-finished-while-get-share-connection-close-error/30456 "2019-05-31T07:25:30Z")

</div>

Dears, I customized a python module to help on dcos package installation, the package installed successfully(per checking in dcos), while ansible fails with share connection close error, may u kindly help on this, thank…

---

## [How do command scp -rp in Ansible ?](https://forum.ansible.com/t/how-do-command-scp-rp-in-ansible/30397)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 5\
**Last updated:** [May 31, 2019, 5:55am UTC](https://forum.ansible.com/t/how-do-command-scp-rp-in-ansible/30397 "2019-05-31T05:55:06Z")

</div>

Hey, I want can execut this command : scp -rp /somerepertory/myrepertory1/… /some\_repertory/myrepertory1/ How can i do it please ? I know the module copy : name: “task for copy” copy: src: /somerepertory/myreperto…

---

## [Using Ansible copy module for remote to remote file transfer (same remote host)](https://forum.ansible.com/t/using-ansible-copy-module-for-remote-to-remote-file-transfer-same-remote-host/30457)

<div class="topic-metadata">

**Author:** [@vinod93pop](https://forum.ansible.com/u/vinod93pop)\
**Replies:** 0\
**Last updated:** [May 31, 2019, 5:15am UTC](https://forum.ansible.com/t/using-ansible-copy-module-for-remote-to-remote-file-transfer-same-remote-host/30457 "2019-05-31T05:15:03Z")

</div>

Why don’t you use rsync module which will work good in directory and remote hosts. I think cp module will not work recursively.

---

## [New Tower Installation - No Default Credentials Type](https://forum.ansible.com/t/new-tower-installation-no-default-credentials-type/30453)

<div class="topic-metadata">

**Author:** [@Tim\_Carr](https://forum.ansible.com/u/Tim_Carr)\
**Replies:** 3\
**Last updated:** [May 31, 2019, 4:02am UTC](https://forum.ansible.com/t/new-tower-installation-no-default-credentials-type/30453 "2019-05-31T04:02:53Z")

</div>

Hello - just installed my first Ansible Tower instance (Ansible 2.8.0, Tower 3.4.3) on a fresh install of RHEL 7.6. Everything seems normal - creating users, inventories, hosts, etc. The one problem I’ve run into is when…

---

## [Need help create framework web to python](https://forum.ansible.com/t/need-help-create-framework-web-to-python/30455)

<div class="topic-metadata">

**Author:** [@Felipe\_Catao](https://forum.ansible.com/u/Felipe_Catao)\
**Replies:** 0\
**Last updated:** [May 30, 2019, 11:46pm UTC](https://forum.ansible.com/t/need-help-create-framework-web-to-python/30455 "2019-05-30T23:46:12Z")

</div>

Hello guys Repository link: Py.Html Project I am developing a python framework where the goal is to create a complete website, with systems of Css and Js implemented, through a few lines in python generate an HTML, CSS…

---

## [any\_errors\_fatal play option should mark all hosts as failed if any fails](https://forum.ansible.com/t/any-errors-fatal-play-option-should-mark-all-hosts-as-failed-if-any-fails/30454)

<div class="topic-metadata">

**Author:** [@Joel\_Griffiths](https://forum.ansible.com/u/Joel_Griffiths)\
**Replies:** 0\
**Last updated:** [May 30, 2019, 7:44pm UTC](https://forum.ansible.com/t/any-errors-fatal-play-option-should-mark-all-hosts-as-failed-if-any-fails/30454 "2019-05-30T19:44:25Z")

</div>

The Ansible documentation says this: The any\_errors\_fatal play option will mark all hosts as failed if any fails, causing an immediate abort When I opened a ticket about this, it was closed as a documentation bug. h…

---

## [Reviewers wanted for Cassandra modules](https://forum.ansible.com/t/reviewers-wanted-for-cassandra-modules/30452)

<div class="topic-metadata">

**Author:** [@rhysmeister](https://forum.ansible.com/u/rhysmeister)\
**Replies:** 0\
**Last updated:** [May 30, 2019, 4:50pm UTC](https://forum.ansible.com/t/reviewers-wanted-for-cassandra-modules/30452 "2019-05-30T16:50:43Z")

</div>

Hello All, I’ve got a series of more than 10 cassandra modules that I’ve developed (including integration tests). The first one is here… https://github.com/ansible/ansible/pull/56332 As the ‘cassandra’ namespace doesn…

---

## [Scale node  error "AnsibleUndefinedVariable: 'dict object' has no attribute 'address'"](https://forum.ansible.com/t/scale-node-error-ansibleundefinedvariable-dict-object-has-no-attribute-address/30450)

<div class="topic-metadata">

**Author:** [@Van\_Nguyen\_Hoang](https://forum.ansible.com/u/Van_Nguyen_Hoang)\
**Replies:** 1\
**Last updated:** [May 30, 2019, 4:26pm UTC](https://forum.ansible.com/t/scale-node-error-ansibleundefinedvariable-dict-object-has-no-attribute-address/30450 "2019-05-30T16:26:46Z")

</div>

Dear All, I’m newbie kubernetes and kubespray. When i add new node to cluster, i had error message: TASK \[etcd : Gen\_certs | write openssl config\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Writing to csv file](https://forum.ansible.com/t/writing-to-csv-file/30444)

<div class="topic-metadata">

**Author:** [@Asha\_Omanakuttan](https://forum.ansible.com/u/Asha_Omanakuttan)\
**Replies:** 5\
**Last updated:** [May 30, 2019, 1:12pm UTC](https://forum.ansible.com/t/writing-to-csv-file/30444 "2019-05-30T13:12:57Z")

</div>

I need some contents to be written in csv format to a file. shell: ps -ef | grep java | awk '{print $1}' register: username shell: ps -ef | grep java | awk '{print $2}' register: id The output for username will be s…

---

## [New network\_cli platform](https://forum.ansible.com/t/new-network-cli-platform/30449)

<div class="topic-metadata">

**Author:** [@Chiu\_Hsia\_Peng](https://forum.ansible.com/u/Chiu_Hsia_Peng)\
**Replies:** 1\
**Last updated:** [May 30, 2019, 8:26am UTC](https://forum.ansible.com/t/new-network-cli-platform/30449 "2019-05-30T08:26:15Z")

</div>

Hi team, I’m developing a new network\_cli platform for Quanta Switches. The CLI is very Ciscoish so I adopted the code of ios (e.g. plugins/cliconf/ios.py, plugins/terminal/ios.py, module\_utils/network/ios/ios.py, modu…

---

## [Failed to resolve remote temporary directory from ansible-tmp...](https://forum.ansible.com/t/failed-to-resolve-remote-temporary-directory-from-ansible-tmp/30412)

<div class="topic-metadata">

**Author:** [@Adam\_Shand](https://forum.ansible.com/u/Adam_Shand)\
**Replies:** 2\
**Last updated:** [May 30, 2019, 3:23am UTC](https://forum.ansible.com/t/failed-to-resolve-remote-temporary-directory-from-ansible-tmp/30412 "2019-05-30T03:23:21Z")

</div>

Enter code here... Hey, I submitted a bug but got told “it wasn’t a bug” and to ask here. So I’m asking here. :slight\_smile: I’m an Ansible newbie, I’ve just setup some playbooks to manage about a dozen Linux servers.…

---

## [Galaxy 3.2 release scheduled for Monday, 3 June](https://forum.ansible.com/t/galaxy-3-2-release-scheduled-for-monday-3-june/30448)

<div class="topic-metadata">

**Author:** [@chousekn](https://forum.ansible.com/u/chousekn)\
**Replies:** 0\
**Last updated:** [May 29, 2019, 5:55pm UTC](https://forum.ansible.com/t/galaxy-3-2-release-scheduled-for-monday-3-june/30448 "2019-05-29T17:55:08Z")

</div>

The Galaxy team will be deploying version 3.2 this coming Monday, 3 June 2019. The release process will begin at 4 AM Eastern on Monday and complete no later than 6 AM. We don’t anticipate any significant downtime, but s…

---

## [Galaxy 3.2 release scheduled for Monday, 3 June](https://forum.ansible.com/t/galaxy-3-2-release-scheduled-for-monday-3-june/30447)

<div class="topic-metadata">

**Author:** [@chousekn](https://forum.ansible.com/u/chousekn)\
**Replies:** 0\
**Last updated:** [May 29, 2019, 5:54pm UTC](https://forum.ansible.com/t/galaxy-3-2-release-scheduled-for-monday-3-june/30447 "2019-05-29T17:54:07Z")

</div>

The Galaxy team will be deploying version 3.2 this coming Monday, 3 June 2019. The release process will begin at 4 AM Eastern on Monday and complete no later than 6 AM. We don’t anticipate any significant downtime, but s…

---

## [Ansible  yum module  arguement equivalent for  repolist.](https://forum.ansible.com/t/ansible-yum-module-arguement-equivalent-for-repolist/30445)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 1\
**Last updated:** [May 29, 2019, 4:19pm UTC](https://forum.ansible.com/t/ansible-yum-module-arguement-equivalent-for-repolist/30445 "2019-05-29T16:19:34Z")

</div>

Hi, I am using the following snippet as part of a play. I have to refresh the yum repository list as I will replace the repository file every time I run the playbook . So , After having a successful play to copy my te…

---

## [Unable to run Python script with Script module](https://forum.ansible.com/t/unable-to-run-python-script-with-script-module/30446)

<div class="topic-metadata">

**Author:** [@magnani95](https://forum.ansible.com/u/magnani95)\
**Replies:** 0\
**Last updated:** [May 29, 2019, 4:00pm UTC](https://forum.ansible.com/t/unable-to-run-python-script-with-script-module/30446 "2019-05-29T16:00:33Z")

</div>

Hi, I want to run a python script on remote, so I tried to use script, but when I launched playbook, it stucks in that tasks. I test python script by coping it on remote and it works fine. (yes, obviously I waited mor…

---

## [Parallelization for with\_ loops](https://forum.ansible.com/t/parallelization-for-with-loops/30426)

<div class="topic-metadata">

**Author:** [@P\_S](https://forum.ansible.com/u/P_S)\
**Replies:** 1\
**Last updated:** [May 29, 2019, 1:20pm UTC](https://forum.ansible.com/t/parallelization-for-with-loops/30426 "2019-05-29T13:20:37Z")

</div>

Hello everyone, I am using delegate\_to in combination with nested loop in order to create a custom distribution system between a group of hosts. The problem is that the nested loop is running sequentially, meaning that…

---

## [Ansible parallel task execution failing(async)](https://forum.ansible.com/t/ansible-parallel-task-execution-failing-async/30434)

<div class="topic-metadata">

**Author:** [@CORLEONE](https://forum.ansible.com/u/CORLEONE)\
**Replies:** 2\
**Last updated:** [May 29, 2019, 1:17pm UTC](https://forum.ansible.com/t/ansible-parallel-task-execution-failing-async/30434 "2019-05-29T13:17:22Z")

</div>

Hello guys , i am trying to run 2 tasks (both are import\_tasks) parallely using async and poll but it is not running as expected. Tried async with invoking cmd or commands simply and that worked. Can you guys give some …

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

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