# Archives

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

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

**Page:** 211

---

## [REmote script does not run on some hosts](https://forum.ansible.com/t/remote-script-does-not-run-on-some-hosts/32689)

<div class="topic-metadata">

**Author:** [@Pooja](https://forum.ansible.com/u/Pooja)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 8:11am UTC](https://forum.ansible.com/t/remote-script-does-not-run-on-some-hosts/32689 "2020-04-15T08:11:06Z")

</div>

Hello , I am new to Ansible and not sure if am doing anything wrong. I have an ansible playbook to start the cassandra process. I see that the remote init script runs perfectly on some hosts and does not on other. The s…

---

## [Login/Password encryption in host file](https://forum.ansible.com/t/login-password-encryption-in-host-file/32609)

<div class="topic-metadata">

**Author:** [@Ashish\_Sagar](https://forum.ansible.com/u/Ashish_Sagar)\
**Replies:** 2\
**Last updated:** [April 14, 2020, 11:20pm UTC](https://forum.ansible.com/t/login-password-encryption-in-host-file/32609 "2020-04-14T23:20:43Z")

</div>

Hi, Is there anyway to only encrypt Device login/password credentials in hosts file ? If so, Where should encryption key be saved and how to use it for decrypt ? Thanks in Advace. -Ashish

---

## [Export workflows](https://forum.ansible.com/t/export-workflows/32686)

<div class="topic-metadata">

**Author:** [@Manish\_Oberai](https://forum.ansible.com/u/Manish_Oberai)\
**Replies:** 0\
**Last updated:** [April 14, 2020, 6:22pm UTC](https://forum.ansible.com/t/export-workflows/32686 "2020-04-14T18:22:18Z")

</div>

Hi Is it possible to export the created workflow from one instance of awx and import into other instance of awx ? //Manish

---

## [Awx 9.3.0 dockerfile for sles 15](https://forum.ansible.com/t/awx-9-3-0-dockerfile-for-sles-15/32684)

<div class="topic-metadata">

**Author:** [@Manish\_Oberai](https://forum.ansible.com/u/Manish_Oberai)\
**Replies:** 0\
**Last updated:** [April 14, 2020, 6:18pm UTC](https://forum.ansible.com/t/awx-9-3-0-dockerfile-for-sles-15/32684 "2020-04-14T18:18:41Z")

</div>

Hi All, I am trying to build awx 9.3.0 over sles 15 inside container. I have sles 15 base os and trying to build awx 9.3.0 using a docker file. I am getting lots of errors while starting the awx-web pod over kubernetes. …

---

## [Ansible mattermost custom icon\_url](https://forum.ansible.com/t/ansible-mattermost-custom-icon-url/32682)

<div class="topic-metadata">

**Author:** [@Michael3](https://forum.ansible.com/u/Michael3)\
**Replies:** 0\
**Last updated:** [April 14, 2020, 5:02pm UTC](https://forum.ansible.com/t/ansible-mattermost-custom-icon-url/32682 "2020-04-14T17:02:34Z")

</div>

According to the Ansible mattermost module documentation; the mattermost message sender’s icon is a url that defaults to the redhat icon. It can be customized but a url to the to the image needed should be provided. I d…

---

## [need assistance with this playbook](https://forum.ansible.com/t/need-assistance-with-this-playbook/32676)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 6\
**Last updated:** [April 14, 2020, 4:19pm UTC](https://forum.ansible.com/t/need-assistance-with-this-playbook/32676 "2020-04-14T16:19:11Z")

</div>

how do i create a ansible vmware playbook with following join esx host to domain setup ntp with - 0.pool.ntp.org, 1.pool.ntp.org set advance settings on host : VMkernel.Boot.hyperthreadingMitigation to True reboot host …

---

## [Ansible With\_Item as Variable](https://forum.ansible.com/t/ansible-with-item-as-variable/32681)

<div class="topic-metadata">

**Author:** [@David\_Foley](https://forum.ansible.com/u/David_Foley)\
**Replies:** 0\
**Last updated:** [April 14, 2020, 3:53pm UTC](https://forum.ansible.com/t/ansible-with-item-as-variable/32681 "2020-04-14T15:53:42Z")

</div>

Hi All, Could do with some Help with this issue: I am trying to get the Powerstate of a Virtual Machine and power off when powerstate != poweroff and looking at a way to copy the copy the Cluster variable to a Text Fi…

---

## [AWX 10 stuck at migration screen](https://forum.ansible.com/t/awx-10-stuck-at-migration-screen/32588)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 2\
**Last updated:** [April 14, 2020, 3:30pm UTC](https://forum.ansible.com/t/awx-10-stuck-at-migration-screen/32588 "2020-04-14T15:30:09Z")

</div>

Hi All, I was testing the latest AWX 10.0.0 and getting stuck at the following migration screen. I have tried cleaning everything and re-installing but not getting past the following. Can anyone please suggest a fix fo…

---

## [Unable to copy file at remote location through awx](https://forum.ansible.com/t/unable-to-copy-file-at-remote-location-through-awx/32677)

<div class="topic-metadata">

**Author:** [@rishabh\_gupta](https://forum.ansible.com/u/rishabh_gupta)\
**Replies:** 3\
**Last updated:** [April 14, 2020, 2:41pm UTC](https://forum.ansible.com/t/unable-to-copy-file-at-remote-location-through-awx/32677 "2020-04-14T14:41:14Z")

</div>

ISSUE TYPE FIle is not copying to remote location Any help will be much appreciated. I tried ping module for the same host and it is working fine. SUMMARY I am trying to copy a file to a remote host. However, it seems…

---

## [Ansible Tower error message when running jobs](https://forum.ansible.com/t/ansible-tower-error-message-when-running-jobs/32672)

<div class="topic-metadata">

**Author:** [@gefela](https://forum.ansible.com/u/gefela)\
**Replies:** 1\
**Last updated:** [April 14, 2020, 1:58pm UTC](https://forum.ansible.com/t/ansible-tower-error-message-when-running-jobs/32672 "2020-04-14T13:58:47Z")

</div>

Hi I get this error message when I tried to run jobs call to api/v2job\_templates/10/launch failed POST returned status 504 It was working some months ago (attachments)

---

## [Connecting to Linux and Windows hosts](https://forum.ansible.com/t/connecting-to-linux-and-windows-hosts/32643)

<div class="topic-metadata">

**Author:** [@PH1](https://forum.ansible.com/u/PH1)\
**Replies:** 1\
**Last updated:** [April 14, 2020, 12:38pm UTC](https://forum.ansible.com/t/connecting-to-linux-and-windows-hosts/32643 "2020-04-14T12:38:22Z")

</div>

Please, help me to understand, how fill hosts file. Now i have linux hosts and it’s work’s fine. Exaple, how host file look’s like: \[all:vars\] ansible\_connection=ssh ansible\_ssh\_user=user ansible\_ssh\_pass=user\_pass …

---

## [ansible add esxi host to datacenter or folder](https://forum.ansible.com/t/ansible-add-esxi-host-to-datacenter-or-folder/32673)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 9\
**Last updated:** [April 14, 2020, 12:49am UTC](https://forum.ansible.com/t/ansible-add-esxi-host-to-datacenter-or-folder/32673 "2020-04-14T00:49:52Z")

</div>

I am new to ansible and want to know how to add a esxi host to vcenter in a datacenter I have the following in a yml file but not sure what else to do hosts: localhost connection: local tasks: name: include vars …

---

## [Iterating ansible\_mounts and adding items to a list](https://forum.ansible.com/t/iterating-ansible-mounts-and-adding-items-to-a-list/32674)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 0\
**Last updated:** [April 13, 2020, 6:15pm UTC](https://forum.ansible.com/t/iterating-ansible-mounts-and-adding-items-to-a-list/32674 "2020-04-13T18:15:52Z")

</div>

I’m trying to come up a way to iterate through ansible\_mounts and, if one of the mounts is over 80% used, add that to a list that i can print out later and possibly email it. Here’s what I have so far:

---

## [Encryption algorithm details required](https://forum.ansible.com/t/encryption-algorithm-details-required/32666)

<div class="topic-metadata">

**Author:** [@Amit\_Bhatia](https://forum.ansible.com/u/Amit_Bhatia)\
**Replies:** 1\
**Last updated:** [April 13, 2020, 2:02pm UTC](https://forum.ansible.com/t/encryption-algorithm-details-required/32666 "2020-04-13T14:02:11Z")

</div>

Hi Team, Could you please confirm which encryption algorithm is used in AWX for encrypting User Passwords and Server Passwords. Regards, Amit

---

## [strategy=free with adhoc?](https://forum.ansible.com/t/strategy-free-with-adhoc/32669)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [April 13, 2020, 10:53am UTC](https://forum.ansible.com/t/strategy-free-with-adhoc/32669 "2020-04-13T10:53:06Z")

</div>

Hi For simple fire & forget commands with ansible there is no requirement to go over the hosts sequentially. Ideally i'd use strategy=free - but that doesn't seem to be possible with ansible, only with ansible-playbo…

---

## [Problem Role Mysql](https://forum.ansible.com/t/problem-role-mysql/32670)

<div class="topic-metadata">

**Author:** [@marcksonjr](https://forum.ansible.com/u/marcksonjr)\
**Replies:** 0\
**Last updated:** [April 13, 2020, 10:51am UTC](https://forum.ansible.com/t/problem-role-mysql/32670 "2020-04-13T10:51:36Z")

</div>

Hi guys, Im having a problem when i run one playbook with my role to install and create a database inside mysql. The first time i run the playbook it finishes successfully. But when i run again i get an error saying a…

---

## [Ansible netconf module supporting netconf notifications](https://forum.ansible.com/t/ansible-netconf-module-supporting-netconf-notifications/32642)

<div class="topic-metadata">

**Author:** [@Senthil\_Jayakumar](https://forum.ansible.com/u/Senthil_Jayakumar)\
**Replies:** 3\
**Last updated:** [April 13, 2020, 9:21am UTC](https://forum.ansible.com/t/ansible-netconf-module-supporting-netconf-notifications/32642 "2020-04-13T09:21:14Z")

</div>

Hi There, I’m newbie to Ansible and would like to know if Ansible netconf module supports subscribing and processing of netconf notifications? Please confirm and redirect me to appropriate documentation and samples. T…

---

## [Change hosts variable when including another playbook](https://forum.ansible.com/t/change-hosts-variable-when-including-another-playbook/22634)

<div class="topic-metadata">

**Author:** [@Tristan\_Muntsinger](https://forum.ansible.com/u/Tristan_Muntsinger)\
**Replies:** 10\
**Last updated:** [April 13, 2020, 7:10am UTC](https://forum.ansible.com/t/change-hosts-variable-when-including-another-playbook/22634 "2020-04-13T07:10:50Z")

</div>

How do I change hosts when including tasks from another playbook? I’ve tried both methods I could find below, but neither seems to work: \` name: example hosts: localhost tasks: name: execute this task include: task…

---

## [Installing the node\_modules](https://forum.ansible.com/t/installing-the-node-modules/32665)

<div class="topic-metadata">

**Author:** [@sai\_kumar](https://forum.ansible.com/u/sai_kumar)\
**Replies:** 0\
**Last updated:** [April 13, 2020, 12:10am UTC](https://forum.ansible.com/t/installing-the-node-modules/32665 "2020-04-13T00:10:02Z")

</div>

I did the node package managers with nvm nvm is installed in usr profile directory ~/.nvm node is installed at ~/.nvm/versions/v10.19.0 , v13.10.0 now i need to install the node modules I tried with command: bash -c …

---

## [ansible updating vmware tools on windows vms](https://forum.ansible.com/t/ansible-updating-vmware-tools-on-windows-vms/32662)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 2\
**Last updated:** [April 12, 2020, 10:20pm UTC](https://forum.ansible.com/t/ansible-updating-vmware-tools-on-windows-vms/32662 "2020-04-12T22:20:26Z")

</div>

does anyone have a playbook or how do i get started with a playbook updating vmwasr tools on windows guests?

---

## [json\_query & regular expression](https://forum.ansible.com/t/json-query-regular-expression/32658)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 8\
**Last updated:** [April 12, 2020, 9:08pm UTC](https://forum.ansible.com/t/json-query-regular-expression/32658 "2020-04-12T21:08:57Z")

</div>

In jason query how can i add regular expression ? eg if have vm1, vm2,vm3 below query can be adjusted ? eg query: “\[?guest\_name == ‘vm\*’ \]” , seems does not work in below case https://jmespath.org/specification.html#fil…

---

## [Hosts File - Get group name , only one item from group based on lookup](https://forum.ansible.com/t/hosts-file-get-group-name-only-one-item-from-group-based-on-lookup/32659)

<div class="topic-metadata">

**Author:** [@Adam\_McGill](https://forum.ansible.com/u/Adam_McGill)\
**Replies:** 4\
**Last updated:** [April 12, 2020, 8:09pm UTC](https://forum.ansible.com/t/hosts-file-get-group-name-only-one-item-from-group-based-on-lookup/32659 "2020-04-12T20:09:00Z")

</div>

Is it possible to specify in a playbook hosts value to be a group item from hosts file? example: Hosts file contains: \[groupone\] comname1 comname2 comname3 in the playbook would like it to grab the group (groupone…

---

## [Ansible managed host issue](https://forum.ansible.com/t/ansible-managed-host-issue/32664)

<div class="topic-metadata">

**Author:** [@Orkhan\_Mammadov](https://forum.ansible.com/u/Orkhan_Mammadov)\
**Replies:** 2\
**Last updated:** [April 12, 2020, 6:42pm UTC](https://forum.ansible.com/t/ansible-managed-host-issue/32664 "2020-04-12T18:42:52Z")

</div>

Hi guys, Could you please help me regarding to the following issue? I have setup a control host and 2 managed host, IP Addresses are static and dns is over /etc/hosts file. SSH Keygen is created and copied to managed h…

---

## [How do I find which community a module has moved to?](https://forum.ansible.com/t/how-do-i-find-which-community-a-module-has-moved-to/32663)

<div class="topic-metadata">

**Author:** [@Ben\_Coleman](https://forum.ansible.com/u/Ben_Coleman)\
**Replies:** 0\
**Last updated:** [April 12, 2020, 5:17pm UTC](https://forum.ansible.com/t/how-do-i-find-which-community-a-module-has-moved-to/32663 "2020-04-12T17:17:09Z")

</div>

Just looked over the structure changes for Ansible 2.10, and I'm left with one question - how do I figure out which community a module has moved to? E.g., I was wanting to find where the linode\_v4 module went to, and…

---

## [Pass output result from variable in playbook using notification or webhook](https://forum.ansible.com/t/pass-output-result-from-variable-in-playbook-using-notification-or-webhook/32655)

<div class="topic-metadata">

**Author:** [@jesty\_sam](https://forum.ansible.com/u/jesty_sam)\
**Replies:** 1\
**Last updated:** [April 12, 2020, 11:39am UTC](https://forum.ansible.com/t/pass-output-result-from-variable-in-playbook-using-notification-or-webhook/32655 "2020-04-12T11:39:17Z")

</div>

Hi all I have been trying to get a custom message or variable value from a runtime playbook and send them through email via notification. I tried them but it only allows me to get the job metadata and AWX details. Has s…

---

## [file not found](https://forum.ansible.com/t/file-not-found/32422)

<div class="topic-metadata">

**Author:** [@eddie\_eakemu1](https://forum.ansible.com/u/eddie_eakemu1)\
**Replies:** 2\
**Last updated:** [April 12, 2020, 9:34am UTC](https://forum.ansible.com/t/file-not-found/32422 "2020-04-12T09:34:26Z")

</div>

I am trying to run a playbook and the details come from a file but it is giving me an error message ansible-playbook -i inventory junos\_config.yml PLAY \[Juniper SRX configuration compliance checks\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Manage Windows Patching with Ansible](https://forum.ansible.com/t/manage-windows-patching-with-ansible/32661)

<div class="topic-metadata">

**Author:** [@Thanh\_Nguyen\_Duc](https://forum.ansible.com/u/Thanh_Nguyen_Duc)\
**Replies:** 0\
**Last updated:** [April 12, 2020, 7:31am UTC](https://forum.ansible.com/t/manage-windows-patching-with-ansible/32661 "2020-04-12T07:31:24Z")

</div>

Currently, i am setting up an Ansible Engine server to manage the Window Patching in my test environment, i tried with the attached playbook but somehow ansible not able to complete it and always stuck at: META: ran hand…

---

## [Task duplication issue](https://forum.ansible.com/t/task-duplication-issue/32660)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 0\
**Last updated:** [April 12, 2020, 7:05am UTC](https://forum.ansible.com/t/task-duplication-issue/32660 "2020-04-12T07:05:12Z")

</div>

I have a playbook that requires to run disk format on 3 servers. The servers are under a worker group In my main playbook, I’m calling to “disk\_managment” playbook and I’m reading variables from an external file Main P…

---

## [Where to place j2 templates / files to copy?](https://forum.ansible.com/t/where-to-place-j2-templates-files-to-copy/27976)

<div class="topic-metadata">

**Author:** [@Reece\_Webb1](https://forum.ansible.com/u/Reece_Webb1)\
**Replies:** 2\
**Last updated:** [April 12, 2020, 7:02am UTC](https://forum.ansible.com/t/where-to-place-j2-templates-files-to-copy/27976 "2020-04-12T07:02:40Z")

</div>

I’m not sure if this is a bug or I’m doing something wrong. I opened a github issue, but they closed the issue without confirming one way or the other. I’m using SCM to import project playbooks. My test playbook copies …

---

## [using vars\_prompt in a vars file being addressed by include\_vars](https://forum.ansible.com/t/using-vars-prompt-in-a-vars-file-being-addressed-by-include-vars/32647)

<div class="topic-metadata">

**Author:** [@Dave\_Zarei](https://forum.ansible.com/u/Dave_Zarei)\
**Replies:** 2\
**Last updated:** [April 11, 2020, 4:19pm UTC](https://forum.ansible.com/t/using-vars-prompt-in-a-vars-file-being-addressed-by-include-vars/32647 "2020-04-11T16:19:47Z")

</div>

HI, Got a quick question, I’m trying to use include\_vars in a main play which addresses a vars file in which there is vars\_prompt (i also have an include\_tasks in the same main play which uses the variables being addres…

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

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