# Latest

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

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

**Page:** 372

---

## [Getting the version of an Ansible Galaxy role](https://forum.ansible.com/t/getting-the-version-of-an-ansible-galaxy-role/32971)

<div class="topic-metadata">

**Author:** [@Pablo\_Baeyens](https://forum.ansible.com/u/Pablo_Baeyens)\
**Replies:** 3\
**Last updated:** [June 3, 2020, 2:15pm UTC](https://forum.ansible.com/t/getting-the-version-of-an-ansible-galaxy-role/32971 "2020-06-03T14:15:17Z")

</div>

Hi, I want to know the version of a role (from Galaxy) from inside that role (versions correspond to git tags in the source repo). Is there any special variable I can get with the version of a role being executed? Any…

---

## [What is the default user when running job/playbook from AWX?](https://forum.ansible.com/t/what-is-the-default-user-when-running-job-playbook-from-awx/33047)

<div class="topic-metadata">

**Author:** [@karol\_sipos](https://forum.ansible.com/u/karol_sipos)\
**Replies:** 6\
**Last updated:** [June 3, 2020, 8:16am UTC](https://forum.ansible.com/t/what-is-the-default-user-when-running-job-playbook-from-awx/33047 "2020-06-03T08:16:56Z")

</div>

I am running a job/playbook (git source) from AWX GUI, but it keeps connecting over ssh to managed hosts as a root user. In credentials I filled SSH PRIVATE KEY, USERNAME is blank and the default configuration /etc/ansi…

---

## [Parse uri content for filename, save as variable](https://forum.ansible.com/t/parse-uri-content-for-filename-save-as-variable/33077)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 0\
**Last updated:** [June 2, 2020, 10:32pm UTC](https://forum.ansible.com/t/parse-uri-content-for-filename-save-as-variable/33077 "2020-06-02T22:32:42Z")

</div>

Hello All, I have a command using uri that gives me data from a url “msg”: “An item: \<td valign="top"\>\<img src="/icons/unknown.gif" alt=""\>\<a href="errata-20200601.iso"\>errata-20200601.iso \<td align="right"\>2020-06-01 …

---

## [Choosing Cipher In openssl\_privatekey Module With Cryptography Back End](https://forum.ansible.com/t/choosing-cipher-in-openssl-privatekey-module-with-cryptography-back-end/33076)

<div class="topic-metadata">

**Author:** [@B.H](https://forum.ansible.com/u/B.H)\
**Replies:** 4\
**Last updated:** [June 2, 2020, 10:06pm UTC](https://forum.ansible.com/t/choosing-cipher-in-openssl-privatekey-module-with-cryptography-back-end/33076 "2020-06-02T22:06:45Z")

</div>

With the pyOpenSSL back end of the openssl\_privatekey module deprecated in Ansible 2.9, a colleague started looking at the cryptography back end. According to the documentation: openssl\_privatekey – Generate OpenSSL pri…

---

## [how to use ansible tags with conditional includes?](https://forum.ansible.com/t/how-to-use-ansible-tags-with-conditional-includes/33052)

<div class="topic-metadata">

**Author:** [@Tony\_Walsh](https://forum.ansible.com/u/Tony_Walsh)\
**Replies:** 2\
**Last updated:** [June 2, 2020, 7:01pm UTC](https://forum.ansible.com/t/how-to-use-ansible-tags-with-conditional-includes/33052 "2020-06-02T19:01:39Z")

</div>

Hey folks, I have run into a problem that I have not been able to solve – I hope somebody out there has had better luck than I have. Here’s the setup: At the top level directory there is an executive shell script that …

---

## [Problem with DOCUMENTATION.version\_added value in sanity tests](https://forum.ansible.com/t/problem-with-documentation-version-added-value-in-sanity-tests/33075)

<div class="topic-metadata">

**Author:** [@rhysmeister](https://forum.ansible.com/u/rhysmeister)\
**Replies:** 2\
**Last updated:** [June 2, 2020, 5:49pm UTC](https://forum.ansible.com/t/problem-with-documentation-version-added-value-in-sanity-tests/33075 "2020-06-02T17:49:27Z")

</div>

Hello All, For a couple of days I’ve been getting the following error in the Ansible sanity tests… ERROR: plugins/modules/cassandra\_autocompaction.py:0:0: module-invalid-version-added: DOCUMENTATION.version\_added: inva…

---

## [How to connect to cdh docker image using Ansible](https://forum.ansible.com/t/how-to-connect-to-cdh-docker-image-using-ansible/32974)

<div class="topic-metadata">

**Author:** [@Galena\_Teneva](https://forum.ansible.com/u/Galena_Teneva)\
**Replies:** 1\
**Last updated:** [June 2, 2020, 5:13pm UTC](https://forum.ansible.com/t/how-to-connect-to-cdh-docker-image-using-ansible/32974 "2020-06-02T17:13:33Z")

</div>

I want to use Hadoop from CDH docker image. CDH image is already installed on my machine and I can run it. docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS…

---

## [Localhost unreachable on Windows Subsystem for Linux (WSL2, Ubuntu) (Git Issue #: 69765)](https://forum.ansible.com/t/localhost-unreachable-on-windows-subsystem-for-linux-wsl2-ubuntu-git-issue-69765/33069)

<div class="topic-metadata">

**Author:** [@Leo2](https://forum.ansible.com/u/Leo2)\
**Replies:** 2\
**Last updated:** [June 2, 2020, 3:02pm UTC](https://forum.ansible.com/t/localhost-unreachable-on-windows-subsystem-for-linux-wsl2-ubuntu-git-issue-69765/33069 "2020-06-02T15:02:16Z")

</div>

Hi everyone, I opened an issue at Github project but unfortunately got closed unexpectedly. I still believe the there are some compatibility problems between Ansible and WSL, because the scenario I described in the issu…

---

## [An exception occurred during task execution.](https://forum.ansible.com/t/an-exception-occurred-during-task-execution/33066)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 10\
**Last updated:** [June 2, 2020, 2:54pm UTC](https://forum.ansible.com/t/an-exception-occurred-during-task-execution/33066 "2020-06-02T14:54:26Z")

</div>

I am trying to deploy new vmware vcsa appliance from iso usibg ansible below is playbook

---

## [How can i get ip addresses of group hostnames](https://forum.ansible.com/t/how-can-i-get-ip-addresses-of-group-hostnames/33073)

<div class="topic-metadata">

**Author:** [@Arko\_Kost](https://forum.ansible.com/u/Arko_Kost)\
**Replies:** 6\
**Last updated:** [June 2, 2020, 11:29am UTC](https://forum.ansible.com/t/how-can-i-get-ip-addresses-of-group-hostnames/33073 "2020-06-02T11:29:31Z")

</div>

I can’t find anywhere, how can i get ip addresses of hosts in specific group - hosts: opmon tasks: - lineinfile: create: true line: "host\\t'op-monitor'\\topmonitor\\t{{ item}}/24\\t\\tmd5" dest: /…

---

## ["kerberos: HTTPSConnectionPool(host='win-xx.ca.local', port=5986): Max retries exceeded with url: /wsman (Caused by SSLError(SSLError(1, u'\[SSL: CERTIFICATE\_VERIFY\_FAILED\] certificate verify failed (\_ssl.c:618)'),))"](https://forum.ansible.com/t/kerberos-httpsconnectionpool-host-win-xx-ca-local-port-5986-max-retries-exceeded-with-url-wsman-caused-by-sslerror-sslerror-1-u-ssl-certificate-verify-failed-certificate-verify-failed-ssl-c-618/33072)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 2\
**Last updated:** [June 2, 2020, 8:18am UTC](https://forum.ansible.com/t/kerberos-httpsconnectionpool-host-win-xx-ca-local-port-5986-max-retries-exceeded-with-url-wsman-caused-by-sslerror-sslerror-1-u-ssl-certificate-verify-failed-certificate-verify-failed-ssl-c-618/33072 "2020-06-02T08:18:33Z")

</div>

Hello I am getting error below “msg”: “kerberos: HTTPSConnectionPool(host=‘win-xx.ca.local’, port=5986): Max retries exceeded with url: /wsman (Caused by SSLError(SSLError(1, u’\[SSL: CERTIFICATE\_VERIFY\_FAILED\] certific…

---

## [PHPIPAM](https://forum.ansible.com/t/phpipam/33061)

<div class="topic-metadata">

**Author:** [@Naresh\_Kasula](https://forum.ansible.com/u/Naresh_Kasula)\
**Replies:** 3\
**Last updated:** [June 2, 2020, 7:50am UTC](https://forum.ansible.com/t/phpipam/33061 "2020-06-02T07:50:15Z")

</div>

Hi Team, I have installed PHPIPAM on linux centos server now want retrieve the subnet/ipaddress details using Ansible scripts. Can someone please guide to get the details. PHPIPAM is basically IPAddress management too…

---

## [mso\_schema\_site\_anp\_epg\_domain module issue?](https://forum.ansible.com/t/mso-schema-site-anp-epg-domain-module-issue/33063)

<div class="topic-metadata">

**Author:** [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Replies:** 4\
**Last updated:** [June 2, 2020, 5:55am UTC](https://forum.ansible.com/t/mso-schema-site-anp-epg-domain-module-issue/33063 "2020-06-02T05:55:00Z")

</div>

Hello all, I have tried using the mso\_schema\_site\_anp\_epg\_domain module today with the code syntax below but keep getting the following error message. Any ideas on what the issues? Or has someone else seen this before? …

---

## [src module not working as mentioned/expected.](https://forum.ansible.com/t/src-module-not-working-as-mentioned-expected/33068)

<div class="topic-metadata">

**Author:** [@SUNU](https://forum.ansible.com/u/SUNU)\
**Replies:** 2\
**Last updated:** [June 2, 2020, 5:02am UTC](https://forum.ansible.com/t/src-module-not-working-as-mentioned-expected/33068 "2020-06-02T05:02:47Z")

</div>

As per the definition src module will deploy the local file, but it doesn’t do the same and getting file not available/file reallt exist ? exception. Instead lookup and templates have to be used. Please remove src from t…

---

## [Molecule Testing for multiple roles](https://forum.ansible.com/t/molecule-testing-for-multiple-roles/33071)

<div class="topic-metadata">

**Author:** [@JDM](https://forum.ansible.com/u/JDM)\
**Replies:** 0\
**Last updated:** [June 2, 2020, 4:45am UTC](https://forum.ansible.com/t/molecule-testing-for-multiple-roles/33071 "2020-06-02T04:45:42Z")

</div>

Hi Guys, Has anyone tried testing multiple ansible roles together. Best Regards, Jagdish

---

## [ec2 instance launch failing with error subnet id does not exit](https://forum.ansible.com/t/ec2-instance-launch-failing-with-error-subnet-id-does-not-exit/33070)

<div class="topic-metadata">

**Author:** [@Sanjay\_Chakraborty](https://forum.ansible.com/u/Sanjay_Chakraborty)\
**Replies:** 2\
**Last updated:** [June 2, 2020, 4:23am UTC](https://forum.ansible.com/t/ec2-instance-launch-failing-with-error-subnet-id-does-not-exit/33070 "2020-06-02T04:23:42Z")

</div>

Hi there, Can anyone please let me know what should be the correct syntax for defining vpc subnet id ? This is my playbook:

---

## [Setting Variable across multiple hosts blocks](https://forum.ansible.com/t/setting-variable-across-multiple-hosts-blocks/33058)

<div class="topic-metadata">

**Author:** [@Andrew\_Morgan](https://forum.ansible.com/u/Andrew_Morgan)\
**Replies:** 6\
**Last updated:** [June 1, 2020, 10:51pm UTC](https://forum.ansible.com/t/setting-variable-across-multiple-hosts-blocks/33058 "2020-06-01T22:51:50Z")

</div>

Hello All, I am having an issue when I set a fact, I am not able to see that fact after I have another host block in my playbook. I get the error variable is undefined. The issue occurs in my - name: Launch instance

---

## [Which module can I use to run command on command prompt on all my hosts ?](https://forum.ansible.com/t/which-module-can-i-use-to-run-command-on-command-prompt-on-all-my-hosts/33067)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 3\
**Last updated:** [June 1, 2020, 7:07pm UTC](https://forum.ansible.com/t/which-module-can-i-use-to-run-command-on-command-prompt-on-all-my-hosts/33067 "2020-06-01T19:07:09Z")

</div>

Hi, Which module can I use as a task to run a command on the command prompt on all my hosts? example - cmd: gpupdate/force Thanks,

---

## [Where is the source of the alternatives module](https://forum.ansible.com/t/where-is-the-source-of-the-alternatives-module/33035)

<div class="topic-metadata">

**Author:** [@Gunther\_Grill](https://forum.ansible.com/u/Gunther_Grill)\
**Replies:** 1\
**Last updated:** [June 1, 2020, 5:46pm UTC](https://forum.ansible.com/t/where-is-the-source-of-the-alternatives-module/33035 "2020-06-01T17:46:41Z")

</div>

Hi, a coupe of month ago, the source code of the alternatives module was in the ansibel-modules-extra (or something similar) repo. Then it as moved to the core ansible repo. But now, I can’t find it anymore. Was it mov…

---

## [partial dictionary merge available?](https://forum.ansible.com/t/partial-dictionary-merge-available/33065)

<div class="topic-metadata">

**Author:** [@Toni\_Mueller](https://forum.ansible.com/u/Toni_Mueller)\
**Replies:** 2\
**Last updated:** [June 1, 2020, 5:07pm UTC](https://forum.ansible.com/t/partial-dictionary-merge-available/33065 "2020-06-01T17:07:27Z")

</div>

Hi, I've just read that there is a way to merge dictionaries, to accumulate values across the variable hierarchy, but it is supposed to be a very bad idea. Would it be difficult to allow this merge feature on just a …

---

## [How to efficiently 'delegate\_to'?](https://forum.ansible.com/t/how-to-efficiently-delegate-to/33064)

<div class="topic-metadata">

**Author:** [@Toni\_Mueller](https://forum.ansible.com/u/Toni_Mueller)\
**Replies:** 1\
**Last updated:** [June 1, 2020, 3:59pm UTC](https://forum.ansible.com/t/how-to-efficiently-delegate-to/33064 "2020-06-01T15:59:22Z")

</div>

Hi, in a project to provision stuff, I would like to set a lot of variables on a host, which I want to use in a playbook, but take the values for that variable from the host I am delegating to. Ie, in my inventory, I …

---

## [Making an unsafe variable safe](https://forum.ansible.com/t/making-an-unsafe-variable-safe/33059)

<div class="topic-metadata">

**Author:** [@Vadim\_Eisenberg](https://forum.ansible.com/u/Vadim_Eisenberg)\
**Replies:** 1\
**Last updated:** [June 1, 2020, 3:51pm UTC](https://forum.ansible.com/t/making-an-unsafe-variable-safe/33059 "2020-06-01T15:51:10Z")

</div>

Hello, I have the following use case: I want to read a string from some source into a variable, marking it unsafe. Then I want to perform my own sanitation checks and then make the variable safe so I could use Jinja2 te…

---

## [How to copy directory recursively using pattern to remote machine?](https://forum.ansible.com/t/how-to-copy-directory-recursively-using-pattern-to-remote-machine/33062)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 3\
**Last updated:** [June 1, 2020, 3:38pm UTC](https://forum.ansible.com/t/how-to-copy-directory-recursively-using-pattern-to-remote-machine/33062 "2020-06-01T15:38:58Z")

</div>

Hello All, I have got the following playbooks where i am trying to copy directories and all its contents recursively which is present in project repo. For identifying the correct directory, i am using a variable which h…

---

## [How to manage different SSH keys in local Vs AWX deployment](https://forum.ansible.com/t/how-to-manage-different-ssh-keys-in-local-vs-awx-deployment/33060)

<div class="topic-metadata">

**Author:** [@Anurag\_Bhatia](https://forum.ansible.com/u/Anurag_Bhatia)\
**Replies:** 0\
**Last updated:** [May 31, 2020, 7:24pm UTC](https://forum.ansible.com/t/how-to-manage-different-ssh-keys-in-local-vs-awx-deployment/33060 "2020-05-31T19:24:06Z")

</div>

Hello, I was wondering how can one manage inventory seamlessly when SSH keys are referred in those? So say I have an inventory file and it says: \[location1\] vm1 vm2 vm3 \[location1:vars\] ansible\_ssh\_private\_key\_fi…

---

## [loop query](https://forum.ansible.com/t/loop-query/33057)

<div class="topic-metadata">

**Author:** [@kanna3k6](https://forum.ansible.com/u/kanna3k6)\
**Replies:** 3\
**Last updated:** [May 30, 2020, 8:01pm UTC](https://forum.ansible.com/t/loop-query/33057 "2020-05-30T20:01:55Z")

</div>

Hi Team, Recently i came to know that with.list is getting retired , so what it is the replacement of it. For eg using the filesystem module i need to format the list of disc please let me know which format is correct …

---

## [How to over come the password prompts while installing packages](https://forum.ansible.com/t/how-to-over-come-the-password-prompts-while-installing-packages/32894)

<div class="topic-metadata">

**Author:** [@jayanth\_reddy](https://forum.ansible.com/u/jayanth_reddy)\
**Replies:** 2\
**Last updated:** [May 30, 2020, 6:07pm UTC](https://forum.ansible.com/t/how-to-over-come-the-password-prompts-while-installing-packages/32894 "2020-05-30T18:07:14Z")

</div>

Hello, Hope you are doing safe and well. While I’m running apt-get install mythtv-database package I’m getting one pop-up screen (as attached)where I need to enter my database password. How can I overcome that using An…

---

## [Unable to run command on windows. Please explain!](https://forum.ansible.com/t/unable-to-run-command-on-windows-please-explain/33056)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 1\
**Last updated:** [May 30, 2020, 5:45am UTC](https://forum.ansible.com/t/unable-to-run-command-on-windows-please-explain/33056 "2020-05-30T05:45:36Z")

</div>

Hi, I am unable to run command and throws an error. What am I doing wrong? Please explain! Thanks “ansible\_facts”: { “discovered\_interpreter\_python”: “/usr/bin/python” }, “changed”: false, “module\_stderr”: "Exceptio…

---

## [ansible-base 2.10 beta 1 delayed](https://forum.ansible.com/t/ansible-base-2-10-beta-1-delayed/33055)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [May 29, 2020, 9:23pm UTC](https://forum.ansible.com/t/ansible-base-2-10-beta-1-delayed/33055 "2020-05-29T21:23:10Z")

</div>

Hi all, The release of ansible-base 2.10 beta 1 (and the associated freeze) will be delayed by two weeks to Monday, June 15. There are a few features and infrastructure bits we want to make sure are included that just a…

---

## [reuse of paramter value inside configuration file](https://forum.ansible.com/t/reuse-of-paramter-value-inside-configuration-file/33054)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 1\
**Last updated:** [May 29, 2020, 8:50pm UTC](https://forum.ansible.com/t/reuse-of-paramter-value-inside-configuration-file/33054 "2020-05-29T20:50:09Z")

</div>

Hi, I’m running a playbook that create a user on remote server and also, generate keytab file for that user based on domain properties. I have a configuration file that holds the username , uid and some other informati…

---

## [Executing a role dependency on all hosts in a list before executing main role](https://forum.ansible.com/t/executing-a-role-dependency-on-all-hosts-in-a-list-before-executing-main-role/33053)

<div class="topic-metadata">

**Author:** [@quaffles](https://forum.ansible.com/u/quaffles)\
**Replies:** 0\
**Last updated:** [May 29, 2020, 8:10pm UTC](https://forum.ansible.com/t/executing-a-role-dependency-on-all-hosts-in-a-list-before-executing-main-role/33053 "2020-05-29T20:10:15Z")

</div>

I’m relatively new to Ansible and I have a question about role dependencies. Is it possible to have a dependency execute on all hosts in a hostList before proceeding to perform the tasks of the given role Just a sudo c…

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

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