# Archives

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

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

**Page:** 89

---

## [ssh issues](https://forum.ansible.com/t/ssh-issues/36301)

<div class="topic-metadata">

**Author:** [@prasanna\_kumar1](https://forum.ansible.com/u/prasanna_kumar1)\
**Replies:** 1\
**Last updated:** [February 8, 2022, 4:03pm UTC](https://forum.ansible.com/t/ssh-issues/36301 "2022-02-08T16:03:28Z")

</div>

Dear Team Kindly help me I am unable to log in to my master server to client-server.

---

## [Copy files between GCP buckets using gsutil](https://forum.ansible.com/t/copy-files-between-gcp-buckets-using-gsutil/36303)

<div class="topic-metadata">

**Author:** [@Aditya\_PUROHIT](https://forum.ansible.com/u/Aditya_PUROHIT)\
**Replies:** 0\
**Last updated:** [February 8, 2022, 3:35pm UTC](https://forum.ansible.com/t/copy-files-between-gcp-buckets-using-gsutil/36303 "2022-02-08T15:35:39Z")

</div>

Hello Ansible Community , I am working on a job to do a point in time recovery of HANA database. As we use different buckets for full/differential/log backups , I will need to copy all the required files for recovery un…

---

## [Access group members of a variable group name](https://forum.ansible.com/t/access-group-members-of-a-variable-group-name/36250)

<div class="topic-metadata">

**Author:** [@Roshani](https://forum.ansible.com/u/Roshani)\
**Replies:** 2\
**Last updated:** [February 8, 2022, 12:44pm UTC](https://forum.ansible.com/t/access-group-members-of-a-variable-group-name/36250 "2022-02-08T12:44:02Z")

</div>

Hi everyone, I have many groups in my inventory like this: \[website-front-lb\] 192.168.1.2 192.168.1.3 \[proj1-subproj1-lb\] 192.168.1.22 192.168.1.33 etc. Now I want to access members of a specific group in my pla…

---

## [Adding if statement inside a task](https://forum.ansible.com/t/adding-if-statement-inside-a-task/36300)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 2\
**Last updated:** [February 7, 2022, 2:43pm UTC](https://forum.ansible.com/t/adding-if-statement-inside-a-task/36300 "2022-02-07T14:43:50Z")

</div>

Hi I have the following playbook. In the environment.yml file I have a parameter “tls=true” In the below task , In tghe URL I would put https if tls=true and http if false. hosts: manager vars\_files: ./environm…

---

## [How to extract a list of values of a field within a list of dictionaries when a key matches another list of values](https://forum.ansible.com/t/how-to-extract-a-list-of-values-of-a-field-within-a-list-of-dictionaries-when-a-key-matches-another-list-of-values/36296)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 3\
**Last updated:** [February 7, 2022, 8:52am UTC](https://forum.ansible.com/t/how-to-extract-a-list-of-values-of-a-field-within-a-list-of-dictionaries-when-a-key-matches-another-list-of-values/36296 "2022-02-07T08:52:47Z")

</div>

Let’s assume the following fictional list of dictionaries: domain\_definition: name: server11 cluster: cluster1 db\_servers: server12 server21 port: ‘8080’ name: server12 cluster: cluster1 db\_servers: server22 por…

---

## [SQL MI Auditing using ODBC module](https://forum.ansible.com/t/sql-mi-auditing-using-odbc-module/36299)

<div class="topic-metadata">

**Author:** [@Gowtham\_SM](https://forum.ansible.com/u/Gowtham_SM)\
**Replies:** 0\
**Last updated:** [February 7, 2022, 8:19am UTC](https://forum.ansible.com/t/sql-mi-auditing-using-odbc-module/36299 "2022-02-07T08:19:04Z")

</div>

Dear Team, I am trying to configure auditing in Azure SQL managed instance server as per below article, https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/auditing-configure But facing an issue that ALT…

---

## [Connection to windows hosts via ansible](https://forum.ansible.com/t/connection-to-windows-hosts-via-ansible/36298)

<div class="topic-metadata">

**Author:** [@Akshay\_Jadhav](https://forum.ansible.com/u/Akshay_Jadhav)\
**Replies:** 1\
**Last updated:** [February 7, 2022, 6:50am UTC](https://forum.ansible.com/t/connection-to-windows-hosts-via-ansible/36298 "2022-02-07T06:50:33Z")

</div>

Hi Guys, Do we need to do any set up on windows host to connect via ansible winrm module or is it by default enabled .Thanks in advance.

---

## [awx (19.5) fresh install by awx-operator (0.15.0) does not connect to external DB](https://forum.ansible.com/t/awx-19-5-fresh-install-by-awx-operator-0-15-0-does-not-connect-to-external-db/36216)

<div class="topic-metadata">

**Author:** [@JS\_G](https://forum.ansible.com/u/JS_G)\
**Replies:** 6\
**Last updated:** [February 6, 2022, 10:16pm UTC](https://forum.ansible.com/t/awx-19-5-fresh-install-by-awx-operator-0-15-0-does-not-connect-to-external-db/36216 "2022-02-06T22:16:33Z")

</div>

Hello, I have a problem with AWX installation by awx-operator on kubernetes with external database (postgres). Awx is deployed, but they are no database connection. Secret for database is OK, i verified that with psql…

---

## [Ansible 5.3.0 has been released](https://forum.ansible.com/t/ansible-5-3-0-has-been-released/36271)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 3\
**Last updated:** [February 6, 2022, 4:05pm UTC](https://forum.ansible.com/t/ansible-5-3-0-has-been-released/36271 "2022-02-06T16:05:25Z")

</div>

Hi all, We're happy to announce that the Ansible 5.3.0 package has been released ! Ansible 5.3.0 includes the newly released ansible-core 2.12.2 as well as a curated set of Ansible collections to provide a vast number…

---

## [Ansible + Cisco - Sending a Ctrl+V / Question Mark ?](https://forum.ansible.com/t/ansible-cisco-sending-a-ctrl-v-question-mark/36297)

<div class="topic-metadata">

**Author:** [@Matthew\_H](https://forum.ansible.com/u/Matthew_H)\
**Replies:** 0\
**Last updated:** [February 6, 2022, 2:31am UTC](https://forum.ansible.com/t/ansible-cisco-sending-a-ctrl-v-question-mark/36297 "2022-02-06T02:31:23Z")

</div>

Hello I’m using Ansible to push config to some Cisco routers and have hit an issue, I need to send a ? as part of a URL for dynamic DNS, but entering a question marks shows the help. If I manually use the console I can …

---

## [issue in installation of ansible](https://forum.ansible.com/t/issue-in-installation-of-ansible/36289)

<div class="topic-metadata">

**Author:** [@Kevin\_Y](https://forum.ansible.com/u/Kevin_Y)\
**Replies:** 6\
**Last updated:** [February 5, 2022, 1:31am UTC](https://forum.ansible.com/t/issue-in-installation-of-ansible/36289 "2022-02-05T01:31:04Z")

</div>

Hi Ubuntu is installed at windows10 and then the below commands are entered in the Ubunto. It looks like the installing ansible is successful without error message. $ sudo apt-get update $ sudo apt-get install software…

---

## [Could not find the requested service ntpd: host](https://forum.ansible.com/t/could-not-find-the-requested-service-ntpd-host/36293)

<div class="topic-metadata">

**Author:** [@arjungoel\_1995](https://forum.ansible.com/u/arjungoel_1995)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 3:54pm UTC](https://forum.ansible.com/t/could-not-find-the-requested-service-ntpd-host/36293 "2022-02-04T15:54:59Z")

</div>

I am getting the above error while running this ansible playbook: \`

---

## [Changing serial mode per task in playbook?](https://forum.ansible.com/t/changing-serial-mode-per-task-in-playbook/36284)

<div class="topic-metadata">

**Author:** [@Martin\_Bozic](https://forum.ansible.com/u/Martin_Bozic)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 1:30pm UTC](https://forum.ansible.com/t/changing-serial-mode-per-task-in-playbook/36284 "2022-02-04T13:30:03Z")

</div>

Hi everyone, I’d like do a following scenario: commit a change in Puppet repo which has config for servers before this commit gets pulled in by Puppet daemons on servers I want to force run the Ansible playbook task1:…

---

## [XML to Datetime](https://forum.ansible.com/t/xml-to-datetime/36287)

<div class="topic-metadata">

**Author:** [@Amarpreet\_Singh](https://forum.ansible.com/u/Amarpreet_Singh)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 10:41pm UTC](https://forum.ansible.com/t/xml-to-datetime/36287 "2022-02-03T22:41:44Z")

</div>

Looking for help to convert XML output of a ssl certificate and get date out of it. Then compare and check if that cert has expired or not. output “stdout”: “{"not-valid-after": "Apr 20 17:36:03 2022 GMT"}”, “stdout\_…

---

## [Getting Timed Out Error when running the playbook using \`vagrant provision\`](https://forum.ansible.com/t/getting-timed-out-error-when-running-the-playbook-using-vagrant-provision/36279)

<div class="topic-metadata">

**Author:** [@arjungoel\_1995](https://forum.ansible.com/u/arjungoel_1995)\
**Replies:** 9\
**Last updated:** [February 3, 2022, 5:50pm UTC](https://forum.ansible.com/t/getting-timed-out-error-when-running-the-playbook-using-vagrant-provision/36279 "2022-02-03T17:50:51Z")

</div>

Hi, I am trying to run a basic ansible playbook using vagrant provision but while doing so experiencing this error: I even added the ip in my Vagrantfile: -- mode: ruby -- vi: set ft=ruby : Vagrant.configure(“2”) do |…

---

## [built-in method values of dict object a](https://forum.ansible.com/t/built-in-method-values-of-dict-object-a/36285)

<div class="topic-metadata">

**Author:** [@Kumarswamy\_veeranna](https://forum.ansible.com/u/Kumarswamy_veeranna)\
**Replies:** 1\
**Last updated:** [February 3, 2022, 4:16pm UTC](https://forum.ansible.com/t/built-in-method-values-of-dict-object-a/36285 "2022-02-03T16:16:41Z")

</div>

Hi All, I’m facing an issue with extract the value from the below ansible code item.content.values() \[‘sp.\*.cpu.summary.utilization’, ‘2022-02-02T10:30:00.000Z’, 300, {‘spa’: 10.777033477143537}\] but fetching the SPA…

---

## [Failed to find exact match for v1.Namespace](https://forum.ansible.com/t/failed-to-find-exact-match-for-v1-namespace/36265)

<div class="topic-metadata">

**Author:** [@\_rabin](https://forum.ansible.com/u/_rabin)\
**Replies:** 1\
**Last updated:** [February 3, 2022, 3:23pm UTC](https://forum.ansible.com/t/failed-to-find-exact-match-for-v1-namespace/36265 "2022-02-03T15:23:12Z")

</div>

I’m having a weird problem with Ansible and OpenShift, on my Fedora node the playbook succeed, but on my RHEL node, the operation fails with the message: fatal: \[localhost\]: FAILED! =\> changed=false msg: Failed to fin…

---

## [The lookup \`vars\` was found, however lookups were disabled from templating](https://forum.ansible.com/t/the-lookup-vars-was-found-however-lookups-were-disabled-from-templating/36286)

<div class="topic-metadata">

**Author:** [@n-du\_fox](https://forum.ansible.com/u/n-du_fox)\
**Replies:** 0\
**Last updated:** [February 3, 2022, 2:51pm UTC](https://forum.ansible.com/t/the-lookup-vars-was-found-however-lookups-were-disabled-from-templating/36286 "2022-02-03T14:51:59Z")

</div>

Hi Im using a constructed inventory to create some groups, based on data from a dynamic inventory while this works: plugin: constructed strict: True groups: linux: “‘linux’ in (RuntimeSystem | lower)” windows: “‘w…

---

## [Ansible Cant find Debian Apt Package for Multi Playbook/Tasks Runs with Galaxy FreeIPA Install](https://forum.ansible.com/t/ansible-cant-find-debian-apt-package-for-multi-playbook-tasks-runs-with-galaxy-freeipa-install/36277)

<div class="topic-metadata">

**Author:** [@Martin\_Sharp](https://forum.ansible.com/u/Martin_Sharp)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 1:18pm UTC](https://forum.ansible.com/t/ansible-cant-find-debian-apt-package-for-multi-playbook-tasks-runs-with-galaxy-freeipa-install/36277 "2022-02-03T13:18:12Z")

</div>

I have a single node deployment anisble playbook that runs via rundeck to stage cloud-init, pxe installed, 20.04 Ubuntu systems with ubuntu desktop for an idm domain with a standard configuration. The issue I am having i…

---

## [Failed to import the required Python library (python-ldap)](https://forum.ansible.com/t/failed-to-import-the-required-python-library-python-ldap/32742)

<div class="topic-metadata">

**Author:** [@Javi\_Legido](https://forum.ansible.com/u/Javi_Legido)\
**Replies:** 3\
**Last updated:** [February 3, 2022, 11:21am UTC](https://forum.ansible.com/t/failed-to-import-the-required-python-library-python-ldap/32742 "2022-02-03T11:21:02Z")

</div>

Hi there. First of all many thanks to all the people involved in this project for their time. I’m facing an issue with ldap\_entry, details here. Error message: Failed to import the required Python library (python-lda…

---

## [Role Dependency hell?](https://forum.ansible.com/t/role-dependency-hell/36283)

<div class="topic-metadata">

**Author:** [@Larry\_Gadallah](https://forum.ansible.com/u/Larry_Gadallah)\
**Replies:** 1\
**Last updated:** [February 3, 2022, 6:25am UTC](https://forum.ansible.com/t/role-dependency-hell/36283 "2022-02-03T06:25:55Z")

</div>

Short version: I have a subordinate role that works fine in it’s own CI and test, for all tested distros. I have a superior role that is dependent on the subordinate role, and is tested for all of the same distros. I get…

---

## [Playbook error -  ansibleundefinedvariable 'str object' has no attribute 'device\_name'](https://forum.ansible.com/t/playbook-error-ansibleundefinedvariable-str-object-has-no-attribute-device-name/36275)

<div class="topic-metadata">

**Author:** [@Shivani\_Arora](https://forum.ansible.com/u/Shivani_Arora)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 2:52am UTC](https://forum.ansible.com/t/playbook-error-ansibleundefinedvariable-str-object-has-no-attribute-device-name/36275 "2022-02-03T02:52:46Z")

</div>

Hi, I’m trying to create aws launch template using ansible module - " community.aws.ec2\_launch\_template". I have different types of nodes and want to map different volumes (according to node type) in the launch template…

---

## [Dummies guide, or troubleshooting assistance needed](https://forum.ansible.com/t/dummies-guide-or-troubleshooting-assistance-needed/36282)

<div class="topic-metadata">

**Author:** [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 12:58am UTC](https://forum.ansible.com/t/dummies-guide-or-troubleshooting-assistance-needed/36282 "2022-02-03T00:58:57Z")

</div>

Have you looked at the docker logs?

---

## [multiple vm playbook](https://forum.ansible.com/t/multiple-vm-playbook/36281)

<div class="topic-metadata">

**Author:** [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Replies:** 1\
**Last updated:** [February 2, 2022, 6:56pm UTC](https://forum.ansible.com/t/multiple-vm-playbook/36281 "2022-02-02T18:56:51Z")

</div>

I am attempting to create a playbook to deploy multiple linux VMs from a template and assigning a static ip and I am running into issues. My playbook:

---

## [How to get ansible-pull with chroot connection to work?](https://forum.ansible.com/t/how-to-get-ansible-pull-with-chroot-connection-to-work/36280)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 0\
**Last updated:** [February 2, 2022, 6:37pm UTC](https://forum.ansible.com/t/how-to-get-ansible-pull-with-chroot-connection-to-work/36280 "2022-02-02T18:37:40Z")

</div>

Try to get ansible-pull -c chroot to work and I keep getting warnings and the playbooks are not run. ansible-pull -vv -c chroot --accept-host-key -U git@xxx:ansible-roles/chroot-bootstrap.git \[WARNING\]: No inventory was…

---

## [docker\_image/docker\_container not working - The error was: SyntaxError: invalid syntax](https://forum.ansible.com/t/docker-image-docker-container-not-working-the-error-was-syntaxerror-invalid-syntax/36272)

<div class="topic-metadata">

**Author:** [@Randeepak\_Sandhu](https://forum.ansible.com/u/Randeepak_Sandhu)\
**Replies:** 2\
**Last updated:** [February 2, 2022, 6:35pm UTC](https://forum.ansible.com/t/docker-image-docker-container-not-working-the-error-was-syntaxerror-invalid-syntax/36272 "2022-02-02T18:35:55Z")

</div>

Hi, Can someone please help me resolving this issue. Summary I am trying to build docker image passing in Dockerfile on the same host where Dockerfile and other related project files resides. Without using ansible, I …

---

## [cached code? modified code is not used](https://forum.ansible.com/t/cached-code-modified-code-is-not-used/36264)

<div class="topic-metadata">

**Author:** [@adriansev](https://forum.ansible.com/u/adriansev)\
**Replies:** 2\
**Last updated:** [February 2, 2022, 6:02pm UTC](https://forum.ansible.com/t/cached-code-modified-code-is-not-used/36264 "2022-02-02T18:02:36Z")

</div>

Hi! I have a weird situation and i’m not sure if this should be reported as a bug: I installed with galaxy a collection which i modified quite a lot. (a collection that add some facts). The really weird thing is that so…

---

## [Getting jsondiff is not installed error even though jsondiff is installed](https://forum.ansible.com/t/getting-jsondiff-is-not-installed-error-even-though-jsondiff-is-installed/36278)

<div class="topic-metadata">

**Author:** [@Nick\_Plichta](https://forum.ansible.com/u/Nick_Plichta)\
**Replies:** 1\
**Last updated:** [February 2, 2022, 6:01pm UTC](https://forum.ansible.com/t/getting-jsondiff-is-not-installed-error-even-though-jsondiff-is-installed/36278 "2022-02-02T18:01:12Z")

</div>

Getting fatal: \[192.168.0.51\]: FAILED! =\> {“changed”: false, “msg”: “jsondiff is not installed, try ‘pip install jsondiff’”} error on fresh ansible install on ubuntu 20.04 via apt. Additionally I installed python3-jsondi…

---

## [Specify vault secret using variables](https://forum.ansible.com/t/specify-vault-secret-using-variables/36276)

<div class="topic-metadata">

**Author:** [@orgabeke](https://forum.ansible.com/u/orgabeke)\
**Replies:** 2\
**Last updated:** [February 2, 2022, 5:46pm UTC](https://forum.ansible.com/t/specify-vault-secret-using-variables/36276 "2022-02-02T17:46:38Z")

</div>

Hi all, I’m new to Ansible and use it to add servers deployed using vRealize Automation 8 to AD domain. When the user deploys a new server they select which domain the server belongs to. Based on the domain selected I n…

---

## [Learning Ansible with single host](https://forum.ansible.com/t/learning-ansible-with-single-host/36266)

<div class="topic-metadata">

**Author:** [@gene\_golub](https://forum.ansible.com/u/gene_golub)\
**Replies:** 2\
**Last updated:** [February 1, 2022, 7:11pm UTC](https://forum.ansible.com/t/learning-ansible-with-single-host/36266 "2022-02-01T19:11:33Z")

</div>

Hello Forum, I was wondering if i could install Ansible on Ubuntu 20 host and try to use for learning purpose. Is it recommended or there are better way to learn it?

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

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