# Archives

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

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

**Page:** 174

---

## [Usage of a registered variable in "when" condition](https://forum.ansible.com/t/usage-of-a-registered-variable-in-when-condition/33762)

<div class="topic-metadata">

**Author:** [@Peter\_Gebirgslok](https://forum.ansible.com/u/Peter_Gebirgslok)\
**Replies:** 7\
**Last updated:** [September 8, 2020, 12:44pm UTC](https://forum.ansible.com/t/usage-of-a-registered-variable-in-when-condition/33762 "2020-09-08T12:44:50Z")

</div>

Hello guys, I have the following problem: I’m reading a simple json file which contains some names of my hosts. The file looks like this: { “redundancynode”: “node4”, “service”: “dhcp”, “servicenode” “node1” } Now i…

---

## [Need Guidance](https://forum.ansible.com/t/need-guidance/33761)

<div class="topic-metadata">

**Author:** [@Kundan\_Singh](https://forum.ansible.com/u/Kundan_Singh)\
**Replies:** 4\
**Last updated:** [September 8, 2020, 12:06pm UTC](https://forum.ansible.com/t/need-guidance/33761 "2020-09-08T12:06:11Z")

</div>

Hi All, Need your Guidance to achieve the milestone. I am creating a playbook to validate the user password expiry date . if it expires withing 15 days it should send a mail to user mail id. but not sure how to enable…

---

## [Ansible access on Gitlab](https://forum.ansible.com/t/ansible-access-on-gitlab/33760)

<div class="topic-metadata">

**Author:** [@Aden\_Fissihaie](https://forum.ansible.com/u/Aden_Fissihaie)\
**Replies:** 1\
**Last updated:** [September 8, 2020, 8:23am UTC](https://forum.ansible.com/t/ansible-access-on-gitlab/33760 "2020-09-08T08:23:12Z")

</div>

Hello all, I have a lab that is trying to integrate with Ansible and the lab participants need a way to all access Gitlab without having to give each member ssh keys, but rather a service account that allows all users a…

---

## [Deploy flask application](https://forum.ansible.com/t/deploy-flask-application/33755)

<div class="topic-metadata">

**Author:** [@Pavithra\_Chellakumar](https://forum.ansible.com/u/Pavithra_Chellakumar)\
**Replies:** 3\
**Last updated:** [September 8, 2020, 7:24am UTC](https://forum.ansible.com/t/deploy-flask-application/33755 "2020-09-08T07:24:52Z")

</div>

How to deploy python-flask application using ansible?

---

## [Unhandled error in Python interpreter discovery for host](https://forum.ansible.com/t/unhandled-error-in-python-interpreter-discovery-for-host/33759)

<div class="topic-metadata">

**Author:** [@Edwin\_Cabarique](https://forum.ansible.com/u/Edwin_Cabarique)\
**Replies:** 0\
**Last updated:** [September 8, 2020, 4:36am UTC](https://forum.ansible.com/t/unhandled-error-in-python-interpreter-discovery-for-host/33759 "2020-09-08T04:36:24Z")

</div>

Hello team. I wanted to ask you for some help with this error when trying to connect to a cisco router from Ansible. either by console or by means of AWX. \[root@centos7 home\]# ansible all -m ping \[WARNING\]: Unhandled …

---

## [Copy module cannot find any remote files](https://forum.ansible.com/t/copy-module-cannot-find-any-remote-files/33758)

<div class="topic-metadata">

**Author:** [@shane.do](https://forum.ansible.com/u/shane.do)\
**Replies:** 0\
**Last updated:** [September 7, 2020, 11:50pm UTC](https://forum.ansible.com/t/copy-module-cannot-find-any-remote-files/33758 "2020-09-07T23:50:57Z")

</div>

I’m trying to use the copy module for the first time and can’t get it to work no matter what I do. I need to copy files from one locations to another on the remote host so I’m using this playbook.

---

## [AWX won't write rendered j2 template to directory](https://forum.ansible.com/t/awx-wont-write-rendered-j2-template-to-directory/33757)

<div class="topic-metadata">

**Author:** [@Jason\_Whiteaker](https://forum.ansible.com/u/Jason_Whiteaker)\
**Replies:** 0\
**Last updated:** [September 7, 2020, 10:25pm UTC](https://forum.ansible.com/t/awx-wont-write-rendered-j2-template-to-directory/33757 "2020-09-07T22:25:23Z")

</div>

Hello, I’ve got an issue that makes no sense to me. I have a Playbook that renders a j2 template into a config file. If I run the Playbook from the CLI (ansible-playbook file.yaml), the template is rendered and written …

---

## [New release: ansible-base 2.10.1rc3](https://forum.ansible.com/t/new-release-ansible-base-2-10-1rc3/33756)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [September 7, 2020, 8:18pm UTC](https://forum.ansible.com/t/new-release-ansible-base-2-10-1rc3/33756 "2020-09-07T20:18:00Z")

</div>

Hi all- we're happy to announce that the general release of ansible-base 2.10.1rc3 is now available! This is a release candidate of the next version of the ansible-base 2.10 series, which will be 2.10.1. Note that 2.1…

---

## [Replacing variable in multiple file](https://forum.ansible.com/t/replacing-variable-in-multiple-file/33752)

<div class="topic-metadata">

**Author:** [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Replies:** 1\
**Last updated:** [September 7, 2020, 5:50am UTC](https://forum.ansible.com/t/replacing-variable-in-multiple-file/33752 "2020-09-07T05:50:57Z")

</div>

vars: MACHINE: gpack.tmt.com AMSPORT: 9933 ENVIRONMENT: ‘PRD’ PROJECT: ‘GTA’ AMSPORT: ‘333’ MACHINE\_LOG: ’ gpack ’ STOREFILE\_PATH: ‘/home/linux/store’ AMS\_VERSION: ‘1.5’ I have few file in the node need to change all …

---

## [ansible delegate\_to behaving absurd when used inside a loop](https://forum.ansible.com/t/ansible-delegate-to-behaving-absurd-when-used-inside-a-loop/33753)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 0\
**Last updated:** [September 7, 2020, 4:04am UTC](https://forum.ansible.com/t/ansible-delegate-to-behaving-absurd-when-used-inside-a-loop/33753 "2020-09-07T04:04:38Z")

</div>

Sharing my testcase below demonstrating the problem that one can replicate: I have ssh connectivity from ansible host to JUMP Servers with root user as below: anuser1@ANSIBLE\_HOST# ssh root@10.0.0.1 ----------\> success…

---

## [Ansible can send mail from Macbook](https://forum.ansible.com/t/ansible-can-send-mail-from-macbook/33751)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [September 6, 2020, 5:53pm UTC](https://forum.ansible.com/t/ansible-can-send-mail-from-macbook/33751 "2020-09-06T17:53:43Z")

</div>

$ ansible --version ansible 2.9.13 config file = /Users/user/.ansible.cfg configured module search path = \[‘/Users/user/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’\] ansible python module location …

---

## [How to set Python interpreter?](https://forum.ansible.com/t/how-to-set-python-interpreter/33749)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 4\
**Last updated:** [September 6, 2020, 4:51pm UTC](https://forum.ansible.com/t/how-to-set-python-interpreter/33749 "2020-09-06T16:51:05Z")

</div>

I get warning when I execute an ansible command, for example. (Macbook Pro) $ ansible --version /Library/Python/2.7/site-packages/cryptography/init.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported…

---

## ["Unexpected parameter type in action" error](https://forum.ansible.com/t/unexpected-parameter-type-in-action-error/33750)

<div class="topic-metadata">

**Author:** [@WideOldElf](https://forum.ansible.com/u/WideOldElf)\
**Replies:** 0\
**Last updated:** [September 6, 2020, 5:54am UTC](https://forum.ansible.com/t/unexpected-parameter-type-in-action-error/33750 "2020-09-06T05:54:55Z")

</div>

Hi all I’ve been bashing my head against this problem for several days. I have a playbook that is called as part of an Ansible Tower workflow. The playbook calls another ansible playbook and its this second playbook t…

---

## [installing/upgrading vmwasre tools windows](https://forum.ansible.com/t/installing-upgrading-vmwasre-tools-windows/33587)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 4\
**Last updated:** [September 5, 2020, 8:09am UTC](https://forum.ansible.com/t/installing-upgrading-vmwasre-tools-windows/33587 "2020-09-05T08:09:29Z")

</div>

can someone help me improve this playbook. downloading the executable for each vm is not what i want to do

---

## [Query on AD LDAP authentication](https://forum.ansible.com/t/query-on-ad-ldap-authentication/33295)

<div class="topic-metadata">

**Author:** [@Vibin](https://forum.ansible.com/u/Vibin)\
**Replies:** 6\
**Last updated:** [September 5, 2020, 6:41am UTC](https://forum.ansible.com/t/query-on-ad-ldap-authentication/33295 "2020-09-05T06:41:31Z")

</div>

Hello, Got a query on AD LDAP authentication. Let me explain my current setup Nd requirement. We’ve deployed AWX version 12 on Kubernertes cluster. Got multiple instances of the application running on multiple worker …

---

## [Missing python modules in container\_group triggered pods](https://forum.ansible.com/t/missing-python-modules-in-container-group-triggered-pods/33694)

<div class="topic-metadata">

**Author:** [@Vibin](https://forum.ansible.com/u/Vibin)\
**Replies:** 3\
**Last updated:** [September 5, 2020, 6:40am UTC](https://forum.ansible.com/t/missing-python-modules-in-container-group-triggered-pods/33694 "2020-09-05T06:40:10Z")

</div>

Hello Team, I’m trying to make use of the container\_groups feature in my AWX project on K8s. Found out that the normal tower instance uses two python virtual environments (/var/lib/awx/venv/awx and /var/lib/awx/venv/an…

---

## [fact\_caching override in playbook?](https://forum.ansible.com/t/fact-caching-override-in-playbook/33740)

<div class="topic-metadata">

**Author:** [@Aprameya\_NDS](https://forum.ansible.com/u/Aprameya_NDS)\
**Replies:** 2\
**Last updated:** [September 5, 2020, 4:10am UTC](https://forum.ansible.com/t/fact-caching-override-in-playbook/33740 "2020-09-05T04:10:08Z")

</div>

Hi Team, I have a project which uses ansible to run traffic tools on a given set of hosts. I have fact\_caching enabled. While configuring and starting the traffic there are at times where the facts in the system chang…

---

## [Job is Failing With 'Server not found in Kerberos database' Error ?](https://forum.ansible.com/t/job-is-failing-with-server-not-found-in-kerberos-database-error/33748)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 0\
**Last updated:** [September 5, 2020, 3:58am UTC](https://forum.ansible.com/t/job-is-failing-with-server-not-found-in-kerberos-database-error/33748 "2020-09-05T03:58:05Z")

</div>

Hello Team I am creating new windows virtual machine using VMware\_guest module. Once vm creation completed I am adding server name in inventory group(window) using add host command Next task is to connect to newly bu…

---

## [Pgsql HA on kubernetes](https://forum.ansible.com/t/pgsql-ha-on-kubernetes/33747)

<div class="topic-metadata">

**Author:** [@Sajin\_A](https://forum.ansible.com/u/Sajin_A)\
**Replies:** 0\
**Last updated:** [September 5, 2020, 2:27am UTC](https://forum.ansible.com/t/pgsql-ha-on-kubernetes/33747 "2020-09-05T02:27:57Z")

</div>

Hi, I am deploying awx project on the k8s platform with pgsql master and slave. I am facing issues on HA part, When i stopped the Master pgsql pod, the awx stopped working. Here is my pgsql value file postgresqlUserna…

---

## [writing output to a csv file](https://forum.ansible.com/t/writing-output-to-a-csv-file/33736)

<div class="topic-metadata">

**Author:** [@SK11](https://forum.ansible.com/u/SK11)\
**Replies:** 3\
**Last updated:** [September 5, 2020, 1:54am UTC](https://forum.ansible.com/t/writing-output-to-a-csv-file/33736 "2020-09-05T01:54:11Z")

</div>

Hi, Ansible version - 2.9 Facing issue in writing output to a csv file, its not writing the output consistently into the file. Having an inventory file with three server IPs, script will execute command to check the d…

---

## [Changes to the ansible-2.10.0 pre-release schedule](https://forum.ansible.com/t/changes-to-the-ansible-2-10-0-pre-release-schedule/33746)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 5, 2020, 1:12am UTC](https://forum.ansible.com/t/changes-to-the-ansible-2-10-0-pre-release-schedule/33746 "2020-09-05T01:12:45Z")

</div>

Hi all, Due to the one week slip in ansible-base-2.10.0, there will be some changes to the ansible-2.10.0 pre-release schedule. At this time, the ansible-2.10.0 final release will still occur on September 22. Here a…

---

## [Slight changes to RC schedule for 2.10.1 and 2.10.2](https://forum.ansible.com/t/slight-changes-to-rc-schedule-for-2-10-1-and-2-10-2/33745)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [September 4, 2020, 9:58pm UTC](https://forum.ansible.com/t/slight-changes-to-rc-schedule-for-2-10-1-and-2-10-2/33745 "2020-09-04T21:58:51Z")

</div>

Hi all, You might recall an email I sent to the list on August 27th about RCs for minor versions. There has been a slight change to the schedule, though most of it remains unchanged. This Monday (September 7th), we …

---

## [saving command output from a loop in different variables](https://forum.ansible.com/t/saving-command-output-from-a-loop-in-different-variables/33731)

<div class="topic-metadata">

**Author:** [@Kevin\_Hoyt](https://forum.ansible.com/u/Kevin_Hoyt)\
**Replies:** 4\
**Last updated:** [September 4, 2020, 6:28pm UTC](https://forum.ansible.com/t/saving-command-output-from-a-loop-in-different-variables/33731 "2020-09-04T18:28:33Z")

</div>

Hi, I’m trying to run a command on a remote server, multiple times and need to set a fact or register different names for each. Here’s the code I have for running the command: name: ‘run opctest status on PG’ win\_com…

---

## [openssl\_csr, what bit encryption?](https://forum.ansible.com/t/openssl-csr-what-bit-encryption/33743)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [September 4, 2020, 5:23pm UTC](https://forum.ansible.com/t/openssl-csr-what-bit-encryption/33743 "2020-09-04T17:23:13Z")

</div>

https://docs.ansible.com/ansible/latest/modules/openssl\_csr\_module.html#notes I don’t see an option to set either a 2048- or 4096-bit encryption for this module. What does it use? Thanks, Chris

---

## [LIMIT as extra\_vars](https://forum.ansible.com/t/limit-as-extra-vars/33742)

<div class="topic-metadata">

**Author:** [@Jerry\_Hwang](https://forum.ansible.com/u/Jerry_Hwang)\
**Replies:** 3\
**Last updated:** [September 4, 2020, 1:22pm UTC](https://forum.ansible.com/t/limit-as-extra-vars/33742 "2020-09-04T13:22:30Z")

</div>

In AWX, you can pop-up ‘LIMIT’ option to limit the host list for playbook run. Is it possible to take the value of LIMIT like --extra-vars I have a python script to take the value from --extra-vars on playbook running …

---

## [playbook to compare and update hostvars in host file](https://forum.ansible.com/t/playbook-to-compare-and-update-hostvars-in-host-file/33733)

<div class="topic-metadata">

**Author:** [@harsh\_chawda](https://forum.ansible.com/u/harsh_chawda)\
**Replies:** 4\
**Last updated:** [September 4, 2020, 7:59am UTC](https://forum.ansible.com/t/playbook-to-compare-and-update-hostvars-in-host-file/33733 "2020-09-04T07:59:04Z")

</div>

Hello All, I am trying to update /etc/hosts file if there is any changes in the host extra variables by comparing it from a csv file \[windows\] Server01.test.com ansible\_user=“admin” ansible\_password=“password” Server…

---

## [Host SSH key not recognized when trying to SSH into remote repository using Ansible playbook](https://forum.ansible.com/t/host-ssh-key-not-recognized-when-trying-to-ssh-into-remote-repository-using-ansible-playbook/33721)

<div class="topic-metadata">

**Author:** [@Erick\_Sun](https://forum.ansible.com/u/Erick_Sun)\
**Replies:** 6\
**Last updated:** [September 4, 2020, 7:26am UTC](https://forum.ansible.com/t/host-ssh-key-not-recognized-when-trying-to-ssh-into-remote-repository-using-ansible-playbook/33721 "2020-09-04T07:26:17Z")

</div>

Host SSH key not recognized when trying to SSH into remote repository using Ansible playbook. Remote repository was verified to have the correct SSH key from host, but still wouldn’t recognize host when trying to clone f…

---

## [Help - generating a table of task results in ansible](https://forum.ansible.com/t/help-generating-a-table-of-task-results-in-ansible/33741)

<div class="topic-metadata">

**Author:** [@Piya\_Attapatto](https://forum.ansible.com/u/Piya_Attapatto)\
**Replies:** 2\
**Last updated:** [September 4, 2020, 4:58am UTC](https://forum.ansible.com/t/help-generating-a-table-of-task-results-in-ansible/33741 "2020-09-04T04:58:50Z")

</div>

Hello devs, First time posting here, apologies if not the done thing or the wrong place to post. I’m not looking for a fix to an issue I’ve run into, rather I’m interested to know whether a strategy I’m thinking about …

---

## [unable to install applications after downloading in VM using ansible](https://forum.ansible.com/t/unable-to-install-applications-after-downloading-in-vm-using-ansible/33584)

<div class="topic-metadata">

**Author:** [@Mahmood\_Ali](https://forum.ansible.com/u/Mahmood_Ali)\
**Replies:** 1\
**Last updated:** [September 4, 2020, 4:23am UTC](https://forum.ansible.com/t/unable-to-install-applications-after-downloading-in-vm-using-ansible/33584 "2020-09-04T04:23:04Z")

</div>

Hi I am having an issue in installing an application using ansible automation. I tried to deploy an application from ansible server to the windows virtual machine in the same vnet. I tried to install git.exe and notepad…

---

## [Trying to background a start up script](https://forum.ansible.com/t/trying-to-background-a-start-up-script/33738)

<div class="topic-metadata">

**Author:** [@Jonin](https://forum.ansible.com/u/Jonin)\
**Replies:** 6\
**Last updated:** [September 3, 2020, 10:51pm UTC](https://forum.ansible.com/t/trying-to-background-a-start-up-script/33738 "2020-09-03T22:51:03Z")

</div>

Hi, I have this task and I can’t for the life of me get it to keep the process running. I have added in some debug and it shows me the process is getting shutdown almost immediately after it is started up as can be seen…

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

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