# Archives

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

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

**Page:** 199

---

## [VMFS Backing device number](https://forum.ansible.com/t/vmfs-backing-device-number/33032)

<div class="topic-metadata">

**Author:** [@Sadanand\_Alegaonkar](https://forum.ansible.com/u/Sadanand_Alegaonkar)\
**Replies:** 0\
**Last updated:** [May 27, 2020, 11:12am UTC](https://forum.ansible.com/t/vmfs-backing-device-number/33032 "2020-05-27T11:12:42Z")

</div>

Hello All, I am trying to find out vmfs device name i.e. storage Lun number or WWPN (naa.60002ac0000000000000000000000000 ) I searched in vmware datastore facts module not able to get the exact result. Please help me …

---

## [How to pass hostname to playbook in ansible playbook](https://forum.ansible.com/t/how-to-pass-hostname-to-playbook-in-ansible-playbook/33028)

<div class="topic-metadata">

**Author:** [@Swordfish\_Binary](https://forum.ansible.com/u/Swordfish_Binary)\
**Replies:** 0\
**Last updated:** [May 27, 2020, 5:55am UTC](https://forum.ansible.com/t/how-to-pass-hostname-to-playbook-in-ansible-playbook/33028 "2020-05-27T05:55:59Z")

</div>

I have a requirement where I need to pass a hostname so that the ansible playbook can take the hostname and do the necessary actions like stopping and starting the service of a application. How can I pass hostname that…

---

## [Vm mount iso and install vmware tools](https://forum.ansible.com/t/vm-mount-iso-and-install-vmware-tools/32972)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 15\
**Last updated:** [May 26, 2020, 10:33pm UTC](https://forum.ansible.com/t/vm-mount-iso-and-install-vmware-tools/32972 "2020-05-26T22:33:39Z")

</div>

IS there a playbook or how do i start with installing and upgrading vmware tools on windows vm for VM with no tools installed I need to mount the vmware tools iso run the setup64.exe /S /v “/qn REBOOT=R ADDLOCAL=ALL” …

---

## [Need help on using a variable in when condition](https://forum.ansible.com/t/need-help-on-using-a-variable-in-when-condition/33027)

<div class="topic-metadata">

**Author:** [@Pandu\_jh](https://forum.ansible.com/u/Pandu_jh)\
**Replies:** 1\
**Last updated:** [May 26, 2020, 6:56pm UTC](https://forum.ansible.com/t/need-help-on-using-a-variable-in-when-condition/33027 "2020-05-26T18:56:52Z")

</div>

I have a below task in my playbook. It checks the desired count of the process specified in vars. If a task returned 50 value and since it has 0. my condition gets satisfied which is incorrect. vars: sap\_process\_cou…

---

## [satellite6\_want\_hostcollection not working](https://forum.ansible.com/t/satellite6-want-hostcollection-not-working/32927)

<div class="topic-metadata">

**Author:** [@Kaleb\_S](https://forum.ansible.com/u/Kaleb_S)\
**Replies:** 9\
**Last updated:** [May 26, 2020, 4:21pm UTC](https://forum.ansible.com/t/satellite6-want-hostcollection-not-working/32927 "2020-05-26T16:21:13Z")

</div>

Good day, I’m trying to synchronize my host collections from Satellite6.6 to AWX 11.2, using Ansible 2.9.7. I’ve set inventory source variable satellite6\_want\_hostcollections: true, but I get no host collections, and I…

---

## [ansible kerberos library is not installed](https://forum.ansible.com/t/ansible-kerberos-library-is-not-installed/33021)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 10\
**Last updated:** [May 26, 2020, 1:45pm UTC](https://forum.ansible.com/t/ansible-kerberos-library-is-not-installed/33021 "2020-05-26T13:45:17Z")

</div>

not sure what happened but this was working last week. now I am getting this error tony@ubuntu:~/windows$ ansible windows -i hosts -m win\_ping -vvvvvvvvv ansible 2.9.0 config file = /etc/ansible/ansible.cfg configur…

---

## [Append to var in group or host var when defined in role default var](https://forum.ansible.com/t/append-to-var-in-group-or-host-var-when-defined-in-role-default-var/33026)

<div class="topic-metadata">

**Author:** [@Laurent\_HENSSEN](https://forum.ansible.com/u/Laurent_HENSSEN)\
**Replies:** 0\
**Last updated:** [May 26, 2020, 11:48am UTC](https://forum.ansible.com/t/append-to-var-in-group-or-host-var-when-defined-in-role-default-var/33026 "2020-05-26T11:48:34Z")

</div>

Hi, I’m trying something which is currently failing. I have a role using a list defined in its default vars. My objective is to use the same var but to be able to “add” more item into the list at group / host var defi…

---

## [how to  divide bulk dynamic  chunk data in to small chunks and pass  from ansible to API](https://forum.ansible.com/t/how-to-divide-bulk-dynamic-chunk-data-in-to-small-chunks-and-pass-from-ansible-to-api/33005)

<div class="topic-metadata">

**Author:** [@Diyawary](https://forum.ansible.com/u/Diyawary)\
**Replies:** 1\
**Last updated:** [May 26, 2020, 10:49am UTC](https://forum.ansible.com/t/how-to-divide-bulk-dynamic-chunk-data-in-to-small-chunks-and-pass-from-ansible-to-api/33005 "2020-05-26T10:49:15Z")

</div>

Hi Team Please help me how to divide bulk chunk data in to small chunks so small chunks update to the snow api. below is my playbook and my data is in EPG\_all variable there would be some 5000 lines of data . how i ca…

---

## [facing the problem in mapping network drive](https://forum.ansible.com/t/facing-the-problem-in-mapping-network-drive/32931)

<div class="topic-metadata">

**Author:** [@mahesh\_g\_o](https://forum.ansible.com/u/mahesh_g_o)\
**Replies:** 7\
**Last updated:** [May 26, 2020, 8:44am UTC](https://forum.ansible.com/t/facing-the-problem-in-mapping-network-drive/32931 "2020-05-26T08:44:11Z")

</div>

Hi , help is appreciated playbook:mount.yml hosts: localhost gather\_facts: false vars\_files: /etc/ansible/group\_vars/host\_vars tasks: name: create a mapped drive under Z win\_mapped\_drive: letter: Z path: \\10.23…

---

## [Read the values from file and store in variable.](https://forum.ansible.com/t/read-the-values-from-file-and-store-in-variable/33025)

<div class="topic-metadata">

**Author:** [@Akshay\_Bora](https://forum.ansible.com/u/Akshay_Bora)\
**Replies:** 2\
**Last updated:** [May 26, 2020, 6:53am UTC](https://forum.ansible.com/t/read-the-values-from-file-and-store-in-variable/33025 "2020-05-26T06:53:15Z")

</div>

Hi All, I have a file named as /etc/oraInst.loc. The file contents are as below. inventory\_loc=/u01/app/oraInventory inst\_group=oinstall I need to store the value of inventory\_loc , that is ,/u01/app/oraInventory in …

---

## [ansible shell variable](https://forum.ansible.com/t/ansible-shell-variable/33019)

<div class="topic-metadata">

**Author:** [@Andrew\_Morgan](https://forum.ansible.com/u/Andrew_Morgan)\
**Replies:** 4\
**Last updated:** [May 25, 2020, 11:57pm UTC](https://forum.ansible.com/t/ansible-shell-variable/33019 "2020-05-25T23:57:19Z")

</div>

Hello All, I have an ansible script that I am writing to use meta data from an aws ec2 instance. I want to create and image of a list og servers from my inventory file them launch each one, then perform a function then …

---

## [How to handle password prompt when doing scp file transfer.](https://forum.ansible.com/t/how-to-handle-password-prompt-when-doing-scp-file-transfer/33022)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 1\
**Last updated:** [May 25, 2020, 4:32pm UTC](https://forum.ansible.com/t/how-to-handle-password-prompt-when-doing-scp-file-transfer/33022 "2020-05-25T16:32:06Z")

</div>

Hi Team, How to handle password prompt when doing scp file transfer. Actually target scp server is generating banner message along with password prompt. Please help how to resolve the issue. name: transfer the image …

---

## [\[WARNING\]: provided hosts list is empty, only localhost is available](https://forum.ansible.com/t/warning-provided-hosts-list-is-empty-only-localhost-is-available/33018)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 8\
**Last updated:** [May 25, 2020, 1:12pm UTC](https://forum.ansible.com/t/warning-provided-hosts-list-is-empty-only-localhost-is-available/33018 "2020-05-25T13:12:02Z")

</div>

---

## [unable to generate backup file with registered variable in ansible](https://forum.ansible.com/t/unable-to-generate-backup-file-with-registered-variable-in-ansible/33012)

<div class="topic-metadata">

**Author:** [@Sadanand\_Alegaonkar](https://forum.ansible.com/u/Sadanand_Alegaonkar)\
**Replies:** 9\
**Last updated:** [May 25, 2020, 12:16pm UTC](https://forum.ansible.com/t/unable-to-generate-backup-file-with-registered-variable-in-ansible/33012 "2020-05-25T12:16:29Z")

</div>

SUMMARY I trynig to take backup of existing file. reported below error ERROR! failed at splitting arguments, either an unbalanced jinja2 block or quotes: cp “{{file.stdout}” “{{file.stdout}}”\_bkp ansible-playbook pb\_D…

---

## [Merge Dictionary](https://forum.ansible.com/t/merge-dictionary/33006)

<div class="topic-metadata">

**Author:** [@Isa](https://forum.ansible.com/u/Isa)\
**Replies:** 6\
**Last updated:** [May 25, 2020, 9:25am UTC](https://forum.ansible.com/t/merge-dictionary/33006 "2020-05-25T09:25:38Z")

</div>

Hi All How can I merge dictionary with the same name. Example: groups\_vars/all \` users: name: jsmith comment: ‘John Smith’ shell: /bin/bash groups: wheel \`\` \` group\_vars/postgresql.yml users: - name: tdoe c…

---

## [AWX (ansible tower) yum module extra variables](https://forum.ansible.com/t/awx-ansible-tower-yum-module-extra-variables/33017)

<div class="topic-metadata">

**Author:** [@Jerry\_Hwang](https://forum.ansible.com/u/Jerry_Hwang)\
**Replies:** 1\
**Last updated:** [May 25, 2020, 5:20am UTC](https://forum.ansible.com/t/awx-ansible-tower-yum-module-extra-variables/33017 "2020-05-25T05:20:39Z")

</div>

Hi, I am trying yum module on AWX (ansible tower). AWX → Inventories → Run command → select module: yum etc. In the “EXTRA VARIABLES” section on AWX WebUI, what I should put in yaml if I want to install wget for examp…

---

## [Ansible and Service Now](https://forum.ansible.com/t/ansible-and-service-now/33020)

<div class="topic-metadata">

**Author:** [@varsha\_Choudhary](https://forum.ansible.com/u/varsha_Choudhary)\
**Replies:** 0\
**Last updated:** [May 25, 2020, 4:40am UTC](https://forum.ansible.com/t/ansible-and-service-now/33020 "2020-05-25T04:40:48Z")

</div>

Hi Guys I am working on Service Asset and Configuration Management and the tool which I use is Service Now We have also integrated BMC discovery with Service Now to discover CIs and relationship between them. But we d…

---

## [Join two variables](https://forum.ansible.com/t/join-two-variables/33015)

<div class="topic-metadata">

**Author:** [@Geo\_P.C](https://forum.ansible.com/u/Geo_P.C)\
**Replies:** 2\
**Last updated:** [May 25, 2020, 4:23am UTC](https://forum.ansible.com/t/join-two-variables/33015 "2020-05-25T04:23:07Z")

</div>

I have two variable definition files as follows \*vars.yml\* aws\_common\_tags: Project: "{{ project\_name }}" Application: "{{ application\_name }}" Region: "{{ aws\_region }}" Ansible: "Yes" \*instance.yml\* ec2\_instanc…

---

## [Removing a deep nested element from dict (json structure)](https://forum.ansible.com/t/removing-a-deep-nested-element-from-dict-json-structure/33014)

<div class="topic-metadata">

**Author:** [@sebastien\_Morissette](https://forum.ansible.com/u/sebastien_Morissette)\
**Replies:** 7\
**Last updated:** [May 24, 2020, 7:05pm UTC](https://forum.ansible.com/t/removing-a-deep-nested-element-from-dict-json-structure/33014 "2020-05-24T19:05:15Z")

</div>

Hi, i’ve been at this for several hours and i’m going in circles so I would like to see if someone can help me get it right. Given a dict structure which is a json array, I am looking to modify only the deeply nested u…

---

## [awx throwing Failed to get dashboard job templates list: 500 A server error has occurred.](https://forum.ansible.com/t/awx-throwing-failed-to-get-dashboard-job-templates-list-500-a-server-error-has-occurred/33009)

<div class="topic-metadata">

**Author:** [@Nasir\_Nasir](https://forum.ansible.com/u/Nasir_Nasir)\
**Replies:** 2\
**Last updated:** [May 24, 2020, 10:30am UTC](https://forum.ansible.com/t/awx-throwing-failed-to-get-dashboard-job-templates-list-500-a-server-error-has-occurred/33009 "2020-05-24T10:30:58Z")

</div>

Hi i am getting Failed to get dashboard job templates list: 500 A server error has occurred. after i login to awx please help

---

## [What are the possible setups for ansible in the cloud to configure on premise devices?](https://forum.ansible.com/t/what-are-the-possible-setups-for-ansible-in-the-cloud-to-configure-on-premise-devices/32952)

<div class="topic-metadata">

**Author:** [@Nicolas\_Charalambous](https://forum.ansible.com/u/Nicolas_Charalambous)\
**Replies:** 4\
**Last updated:** [May 23, 2020, 3:59pm UTC](https://forum.ansible.com/t/what-are-the-possible-setups-for-ansible-in-the-cloud-to-configure-on-premise-devices/32952 "2020-05-23T15:59:36Z")

</div>

Hello guys, I’m in the last year of my studies and the question in the title is to help me write my bachelor thesis. My bachelor thesis is part a technical research(make a proof of concept.) and literature study. The r…

---

## [SCM job fails (usually can't reach github or such) but then all subsequent (non SCM) Jobs fail](https://forum.ansible.com/t/scm-job-fails-usually-cant-reach-github-or-such-but-then-all-subsequent-non-scm-jobs-fail/33011)

<div class="topic-metadata">

**Author:** [@Michael\_Cook](https://forum.ansible.com/u/Michael_Cook)\
**Replies:** 1\
**Last updated:** [May 23, 2020, 2:36pm UTC](https://forum.ansible.com/t/scm-job-fails-usually-cant-reach-github-or-such-but-then-all-subsequent-non-scm-jobs-fail/33011 "2020-05-23T14:36:17Z")

</div>

Problem… Occasionally, GitHub has problems and after some retries, can clear up and work for weeks fine.2. When the SCM job update failed in AWX all subsequent jobs start failing which then sets of a slew of alarms. Ma…

---

## [how to install esxi ssl certificate for Ansible in linux server](https://forum.ansible.com/t/how-to-install-esxi-ssl-certificate-for-ansible-in-linux-server/33007)

<div class="topic-metadata">

**Author:** [@Naresh\_Kasula](https://forum.ansible.com/u/Naresh_Kasula)\
**Replies:** 2\
**Last updated:** [May 23, 2020, 12:00am UTC](https://forum.ansible.com/t/how-to-install-esxi-ssl-certificate-for-ansible-in-linux-server/33007 "2020-05-23T00:00:51Z")

</div>

I have downloaded ssl certificate from Vcenter "Download trusted root CA certificates”. Now want install in Ansible server, this server is linux Can anyone please guide me to install. Regards, Naresh K

---

## [failed to get dashboard job templates lest: 500 A server error has occurred](https://forum.ansible.com/t/failed-to-get-dashboard-job-templates-lest-500-a-server-error-has-occurred/33010)

<div class="topic-metadata">

**Author:** [@Nasir\_Nasir](https://forum.ansible.com/u/Nasir_Nasir)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 6:29pm UTC](https://forum.ansible.com/t/failed-to-get-dashboard-job-templates-lest-500-a-server-error-has-occurred/33010 "2020-05-22T18:29:43Z")

</div>

Hi All getting awx failed to get dashboard job templates lest: 500 A server error has occurred what is the reason i am getting this after login

---

## [Error while reading ansible vaults](https://forum.ansible.com/t/error-while-reading-ansible-vaults/33008)

<div class="topic-metadata">

**Author:** [@sv1](https://forum.ansible.com/u/sv1)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 4:52pm UTC](https://forum.ansible.com/t/error-while-reading-ansible-vaults/33008 "2020-05-22T16:52:55Z")

</div>

Hi Team, While im running below command im getting below error. vagrant@ubuntu:~/git/ansible-playbooks/playbooks/elasticsearch$ ansible-playbook -i zurich\_test\_vm -e @variables.yaml -u ansible -e “ansible\_ssh\_private\_k…

---

## [Cannot access /var/lib/awx/projects](https://forum.ansible.com/t/cannot-access-var-lib-awx-projects/32992)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 12:08pm UTC](https://forum.ansible.com/t/cannot-access-var-lib-awx-projects/32992 "2020-05-22T12:08:59Z")

</div>

Hello All, I am new (3 days) to attempting to use AWX. I know this is most likely a duplicate post, but have not really found the answer yet. Forgive the duplicate post. Environment: Ubuntu 19.10, docker, docker-compo…

---

## [how to solve it Ansible 2.9 git Permission denied (publickey).\\r\\nfatal: The remote end hung up unexpectedly](https://forum.ansible.com/t/how-to-solve-it-ansible-2-9-git-permission-denied-publickey-r-nfatal-the-remote-end-hung-up-unexpectedly/33004)

<div class="topic-metadata">

**Author:** [@racke](https://forum.ansible.com/u/racke)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 9:07am UTC](https://forum.ansible.com/t/how-to-solve-it-ansible-2-9-git-permission-denied-publickey-r-nfatal-the-remote-end-hung-up-unexpectedly/33004 "2020-05-22T09:07:48Z")

</div>

Here is my ansible Version \> ansible 2.9.7 config file =/Users/jeongwookko/git/ansible.cfg configured modulesearch path =\['/Users/jeongwookko/.ansible/plugins/modules','/usr/share/ansible/plugins/modules'\] ansible …

---

## [Process Monitoring in Ansible](https://forum.ansible.com/t/process-monitoring-in-ansible/33003)

<div class="topic-metadata">

**Author:** [@Jenisha\_T](https://forum.ansible.com/u/Jenisha_T)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 5:39am UTC](https://forum.ansible.com/t/process-monitoring-in-ansible/33003 "2020-05-22T05:39:36Z")

</div>

Is there a way in Ansible to find if process complete. I m running an os-copy process. How to check if the process completed. The hard way is to wait for 2hrs and read logs to find the word in the log is there a sentence …

---

## [how to run specific task locally on ansible ?](https://forum.ansible.com/t/how-to-run-specific-task-locally-on-ansible/32996)

<div class="topic-metadata">

**Author:** [@vinod\_devops](https://forum.ansible.com/u/vinod_devops)\
**Replies:** 5\
**Last updated:** [May 22, 2020, 4:21am UTC](https://forum.ansible.com/t/how-to-run-specific-task-locally-on-ansible/32996 "2020-05-22T04:21:08Z")

</div>

there are no of tasks in play book, all tasks are running remotely on host. I want to run only one task locally. How do I do that ? Thanks

---

## [win\_domain\_computer module](https://forum.ansible.com/t/win-domain-computer-module/32999)

<div class="topic-metadata">

**Author:** [@Ramakrishnan\_M](https://forum.ansible.com/u/Ramakrishnan_M)\
**Replies:** 5\
**Last updated:** [May 22, 2020, 3:55am UTC](https://forum.ansible.com/t/win-domain-computer-module/32999 "2020-05-22T03:55:29Z")

</div>

Hi Guys, Why would I get missing parameter error when I use win\_domain\_computer module when the parameter is set as optional. win\_domain\_computer: name: ‘{{ hostname }}’ register: computer\_account Errors as… FAILED…

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

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