# Latest

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

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

**Page:** 374

---

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

---

## [Comparing two files registering the difference](https://forum.ansible.com/t/comparing-two-files-registering-the-difference/32994)

<div class="topic-metadata">

**Author:** [@Sivakumar\_Saravanamu](https://forum.ansible.com/u/Sivakumar_Saravanamu)\
**Replies:** 3\
**Last updated:** [May 22, 2020, 3:10am UTC](https://forum.ansible.com/t/comparing-two-files-registering-the-difference/32994 "2020-05-22T03:10:57Z")

</div>

hi I have requirement to compare local file with remote file. Example I have a copy of standard /etc/hosts file and I need to compare that file with remote host /etc/hosts file to check the difference. If there is diffe…

---

## [WINRM CONNECTION ERROR: function takes at most 2 arguments (3 given)](https://forum.ansible.com/t/winrm-connection-error-function-takes-at-most-2-arguments-3-given/33002)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 5\
**Last updated:** [May 22, 2020, 2:16am UTC](https://forum.ansible.com/t/winrm-connection-error-function-takes-at-most-2-arguments-3-given/33002 "2020-05-22T02:16:38Z")

</div>

Hi, Goal : Use Linux centos 7.8 server with ansible version 2.9.7 to manage windows 2019 server Error : WINRM CONNECTION ERROR: function takes at most 2 arguments (3 given)

---

## [How to check process running time](https://forum.ansible.com/t/how-to-check-process-running-time/32980)

<div class="topic-metadata">

**Author:** [@Jenisha\_T](https://forum.ansible.com/u/Jenisha_T)\
**Replies:** 3\
**Last updated:** [May 21, 2020, 11:41pm UTC](https://forum.ansible.com/t/how-to-check-process-running-time/32980 "2020-05-21T23:41:11Z")

</div>

I need to kill a process if its older than 1 hour. I have process id how to check if its older than 1 hour

---

## [expected \<block end\>, but found '-'](https://forum.ansible.com/t/expected-block-end-but-found/25568)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 4\
**Last updated:** [May 21, 2020, 10:36pm UTC](https://forum.ansible.com/t/expected-block-end-but-found/25568 "2020-05-21T22:36:02Z")

</div>

I’m following this post, https://www.ibm.com/developerworks/cloud/library/cl-provision-docker-containers-ansible/index.html, and Listing 11 \`

---

## [is there security related scan/analysis/evaluation of AWX](https://forum.ansible.com/t/is-there-security-related-scan-analysis-evaluation-of-awx/33001)

<div class="topic-metadata">

**Author:** [@Test1](https://forum.ansible.com/u/Test1)\
**Replies:** 0\
**Last updated:** [May 21, 2020, 10:26pm UTC](https://forum.ansible.com/t/is-there-security-related-scan-analysis-evaluation-of-awx/33001 "2020-05-21T22:26:47Z")

</div>

is there security related scan/analysis/evaluation of AWX, thanks Xiancui

---

## [If there are no nodes active to execute in the current play then "meta : clear\_host\_errors" won't actually work](https://forum.ansible.com/t/if-there-are-no-nodes-active-to-execute-in-the-current-play-then-meta-clear-host-errors-wont-actually-work/32998)

<div class="topic-metadata">

**Author:** [@Ashwin\_Regi](https://forum.ansible.com/u/Ashwin_Regi)\
**Replies:** 0\
**Last updated:** [May 21, 2020, 7:18pm UTC](https://forum.ansible.com/t/if-there-are-no-nodes-active-to-execute-in-the-current-play-then-meta-clear-host-errors-wont-actually-work/32998 "2020-05-21T19:18:44Z")

</div>

If there are no nodes active to execute in the current play then “meta : clear\_host\_errors” won’t actually work. To elaborate on the issue, if during the current play if ‘all’ the hosts fail and are moved to the failed l…

---

## [Handling password prompt -- IOS\_command module](https://forum.ansible.com/t/handling-password-prompt-ios-command-module/32995)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 1\
**Last updated:** [May 21, 2020, 6:23pm UTC](https://forum.ansible.com/t/handling-password-prompt-ios-command-module/32995 "2020-05-21T18:23:09Z")

</div>

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

---

## [problem passing var between tasks.](https://forum.ansible.com/t/problem-passing-var-between-tasks/32997)

<div class="topic-metadata">

**Author:** [@Jeremy\_Hobbs](https://forum.ansible.com/u/Jeremy_Hobbs)\
**Replies:** 6\
**Last updated:** [May 21, 2020, 6:14pm UTC](https://forum.ansible.com/t/problem-passing-var-between-tasks/32997 "2020-05-21T18:14:47Z")

</div>

I have a problem passing a variable between playbooks that are chained together. Any thoughts? Playbook - audit\_hardware\_inventory.yml

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

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