# Archives

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

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

**Page:** 107

---

## [Getting ansible (not core) version in the playbook](https://forum.ansible.com/t/getting-ansible-not-core-version-in-the-playbook/35768)

<div class="topic-metadata">

**Author:** [@Piotr\_Kowalczyk](https://forum.ansible.com/u/Piotr_Kowalczyk)\
**Replies:** 2\
**Last updated:** [September 22, 2021, 1:08pm UTC](https://forum.ansible.com/t/getting-ansible-not-core-version-in-the-playbook/35768 "2021-09-22T13:08:02Z")

</div>

Good morning, Would you guys help me to understand how to get the Ansible correct version in the playbook? I have newest Ansible: (ansible) poe@lime:~$ pip3 freeze | grep ansible ansible==4.6.0 ansible-core==2.11.5 …

---

## [windows host automation](https://forum.ansible.com/t/windows-host-automation/35639)

<div class="topic-metadata">

**Author:** [@Sakshi\_Jain](https://forum.ansible.com/u/Sakshi_Jain)\
**Replies:** 1\
**Last updated:** [September 22, 2021, 10:36am UTC](https://forum.ansible.com/t/windows-host-automation/35639 "2021-09-22T10:36:13Z")

</div>

For windows host How to write tasks in ansible : Login into RDP machine Login into other machines from RDP machine Read email before starting the patching in the scheduled time Run any commands in rdp machine , like b…

---

## [Ansible 2.9 Playbook](https://forum.ansible.com/t/ansible-2-9-playbook/35732)

<div class="topic-metadata">

**Author:** [@Glenn\_Gabrielle](https://forum.ansible.com/u/Glenn_Gabrielle)\
**Replies:** 1\
**Last updated:** [September 22, 2021, 10:29am UTC](https://forum.ansible.com/t/ansible-2-9-playbook/35732 "2021-09-22T10:29:16Z")

</div>

Running Ansible 2.9 but having issues getting playbook to run, here is an example of the playbook hosts: switch01 gather\_facts: no Using merged Before state: -------------

---

## [Use Ansible to copy files to Windows NFS](https://forum.ansible.com/t/use-ansible-to-copy-files-to-windows-nfs/35759)

<div class="topic-metadata">

**Author:** [@user29032902](https://forum.ansible.com/u/user29032902)\
**Replies:** 1\
**Last updated:** [September 22, 2021, 10:26am UTC](https://forum.ansible.com/t/use-ansible-to-copy-files-to-windows-nfs/35759 "2021-09-22T10:26:12Z")

</div>

Overview: I have an Ansible node that has a number of files on it. I would like to copy those files over to a remote Network File Share (NFS). I’m trying to limit the number of Windows computers we WinRM into, and so wo…

---

## [Study on technical debt and source code commenting](https://forum.ansible.com/t/study-on-technical-debt-and-source-code-commenting/35767)

<div class="topic-metadata">

**Author:** [@Massimiliano\_Di\_Pent](https://forum.ansible.com/u/Massimiliano_Di_Pent)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 8:13am UTC](https://forum.ansible.com/t/study-on-technical-debt-and-source-code-commenting/35767 "2021-09-22T08:13:13Z")

</div>

Hello, We’re a team of Software Engineering researchers investigating technical debt. Technical debt refers to "not quite right code which we postpone making it right” (Cunningham) and this may often introduce a cost. M…

---

## [Ansible-4.6.0 release](https://forum.ansible.com/t/ansible-4-6-0-release/35766)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 21, 2021, 9:27pm UTC](https://forum.ansible.com/t/ansible-4-6-0-release/35766 "2021-09-21T21:27:44Z")

</div>

Hi all, We're happy to announce that the ansible-4.6.0 package has been released! The update contains bugfixes and new, backwards compatible features in the contained collections. How to get it

---

## [Pass 'ansible\_failed\_result' variable to Tower Notification](https://forum.ansible.com/t/pass-ansible-failed-result-variable-to-tower-notification/35765)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [September 21, 2021, 7:46pm UTC](https://forum.ansible.com/t/pass-ansible-failed-result-variable-to-tower-notification/35765 "2021-09-21T19:46:53Z")

</div>

best try on the dedicated awx-project list (this is the ansible-project list)

---

## [setup module is failing](https://forum.ansible.com/t/setup-module-is-failing/35761)

<div class="topic-metadata">

**Author:** [@Altif](https://forum.ansible.com/u/Altif)\
**Replies:** 9\
**Last updated:** [September 21, 2021, 6:42pm UTC](https://forum.ansible.com/t/setup-module-is-failing/35761 "2021-09-21T18:42:57Z")

</div>

Hello, I’ve ansible control node(CentOS 7) which is used to scp build image to target server(FreeBSD 11.04). It was just working fine last week. However, today I’d tried to run playbook, it got failed with below error m…

---

## [MYSQL failing on couple of servers](https://forum.ansible.com/t/mysql-failing-on-couple-of-servers/35764)

<div class="topic-metadata">

**Author:** [@Raj](https://forum.ansible.com/u/Raj)\
**Replies:** 4\
**Last updated:** [September 21, 2021, 3:56pm UTC](https://forum.ansible.com/t/mysql-failing-on-couple-of-servers/35764 "2021-09-21T15:56:39Z")

</div>

Hi All, My playbook is running good on 90 servers getting all information mysql. Issue is failing on 10 servers below is the error. Note: Our ansible id doesn’t have root access. The PyMySQL (Python 2.7 and Python 3.…

---

## [Inventory report](https://forum.ansible.com/t/inventory-report/35763)

<div class="topic-metadata">

**Author:** [@Pathi](https://forum.ansible.com/u/Pathi)\
**Replies:** 3\
**Last updated:** [September 21, 2021, 3:27pm UTC](https://forum.ansible.com/t/inventory-report/35763 "2021-09-21T15:27:53Z")

</div>

Hi Some one help me with report wrting with template .j2 hostname,CPU,MEM,SWAP… for multipple servers. Thanks Prabhakar

---

## [Issue with template module](https://forum.ansible.com/t/issue-with-template-module/35745)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 4\
**Last updated:** [September 20, 2021, 9:39pm UTC](https://forum.ansible.com/t/issue-with-template-module/35745 "2021-09-20T21:39:36Z")

</div>

We have a playbook that uses a jinja2 template to prepare a report and email us. For some reason, the template module is failing. Here’s what I’m calling in my playbook: name: Prepare report template: src: templates/…

---

## [awx migration 19.2.0 to 19.2.1 or higher](https://forum.ansible.com/t/awx-migration-19-2-0-to-19-2-1-or-higher/35742)

<div class="topic-metadata">

**Author:** [@Michael\_Nhan](https://forum.ansible.com/u/Michael_Nhan)\
**Replies:** 1\
**Last updated:** [September 20, 2021, 9:08pm UTC](https://forum.ansible.com/t/awx-migration-19-2-0-to-19-2-1-or-higher/35742 "2021-09-20T21:08:35Z")

</div>

All, Trying to migrate/upgrade an awx 19.2.0 installation with an external postgresql database but having no luck. The awx-operator and awx pods install fine, but its stuck at the db migration indefinitely. Attempting t…

---

## [AWX Operator and instance pods running as non root in OpenShift cluster with NFS PV/PVC](https://forum.ansible.com/t/awx-operator-and-instance-pods-running-as-non-root-in-openshift-cluster-with-nfs-pv-pvc/35748)

<div class="topic-metadata">

**Author:** [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Replies:** 1\
**Last updated:** [September 20, 2021, 2:51pm UTC](https://forum.ansible.com/t/awx-operator-and-instance-pods-running-as-non-root-in-openshift-cluster-with-nfs-pv-pvc/35748 "2021-09-20T14:51:36Z")

</div>

Hi, We’re using OpenShift Kubernetes platform and here is my AWX instance YAML. I have applied AWX Operator CRDs into the same namespace as the instance namespace, to keep all the configuration at ns scope. Using to us…

---

## [AWX EC2 Inventory Names](https://forum.ansible.com/t/awx-ec2-inventory-names/35747)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 2\
**Last updated:** [September 20, 2021, 11:15am UTC](https://forum.ansible.com/t/awx-ec2-inventory-names/35747 "2021-09-20T11:15:33Z")

</div>

Hi, I have an AWX inventory which syncs with AWS EC2. I would like the AWX Name of the host to match the value of the EC2 hosts tag “Name”. Otherwise the AWX host name will be the public DNS name. Can someone please h…

---

## [Deleting an element in namespace xml based on value](https://forum.ansible.com/t/deleting-an-element-in-namespace-xml-based-on-value/35746)

<div class="topic-metadata">

**Author:** [@Hasini\_P](https://forum.ansible.com/u/Hasini_P)\
**Replies:** 3\
**Last updated:** [September 20, 2021, 11:10am UTC](https://forum.ansible.com/t/deleting-an-element-in-namespace-xml-based-on-value/35746 "2021-09-20T11:10:32Z")

</div>

Hi, I am trying to delete an element in a namespace xml based on element value ; without namespace, deletion is working fine (as posted in ansible documentation of xml module)… Can someone help, please Example 1: xml wi…

---

## [Adding Arguments for win\_package](https://forum.ansible.com/t/adding-arguments-for-win-package/35758)

<div class="topic-metadata">

**Author:** [@Nidhi\_Prakash](https://forum.ansible.com/u/Nidhi_Prakash)\
**Replies:** 0\
**Last updated:** [September 20, 2021, 10:19am UTC](https://forum.ansible.com/t/adding-arguments-for-win-package/35758 "2021-09-20T10:19:39Z")

</div>

Can you please help how to pass the arguments for win\_package module for an exe installation using ansible playbook for A radio button selection Browsing License file option Enter a TextBox value

---

## [adding arguments for win\_package module](https://forum.ansible.com/t/adding-arguments-for-win-package-module/35757)

<div class="topic-metadata">

**Author:** [@Nidhi\_Prakash](https://forum.ansible.com/u/Nidhi_Prakash)\
**Replies:** 0\
**Last updated:** [September 20, 2021, 10:17am UTC](https://forum.ansible.com/t/adding-arguments-for-win-package-module/35757 "2021-09-20T10:17:41Z")

</div>

Can you please help how to pass the arguments for win\_package module for an exe installation using ansible playbook for A radio button selection Browsing License file option Enter a TextBox value

---

## [how to write playbook for this scenario](https://forum.ansible.com/t/how-to-write-playbook-for-this-scenario/35756)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [September 20, 2021, 7:17am UTC](https://forum.ansible.com/t/how-to-write-playbook-for-this-scenario/35756 "2021-09-20T07:17:31Z")

</div>

What did you try yourself yet?

---

## [yum state=absent leads to "you need to be root to perform this command"](https://forum.ansible.com/t/yum-state-absent-leads-to-you-need-to-be-root-to-perform-this-command/20215)

<div class="topic-metadata">

**Author:** [@Paul\_Davies](https://forum.ansible.com/u/Paul_Davies)\
**Replies:** 11\
**Last updated:** [September 19, 2021, 12:11pm UTC](https://forum.ansible.com/t/yum-state-absent-leads-to-you-need-to-be-root-to-perform-this-command/20215 "2021-09-19T12:11:39Z")

</div>

Hi - I’m new to Ansible and struggling I have 2 playbooks for training/demo purposes. One to install Tree and Nano and another to remove them again. My control and destination servers are both Centos7 My webservers\_lat…

---

## [Simple Playbook for mysql query](https://forum.ansible.com/t/simple-playbook-for-mysql-query/35755)

<div class="topic-metadata">

**Author:** [@Adam1](https://forum.ansible.com/u/Adam1)\
**Replies:** 21\
**Last updated:** [September 19, 2021, 11:58am UTC](https://forum.ansible.com/t/simple-playbook-for-mysql-query/35755 "2021-09-19T11:58:07Z")

</div>

Hello, I have been using Ansible for very basic playbooks. I now want to have a simply playbook that connected to my asterisk PBX, and lookup a value in the my SQL table. I have tried many various combinations to get th…

---

## [Understanding relationship between -K & become vs ansible\_ssh\_user & ansible\_ssh\_pass](https://forum.ansible.com/t/understanding-relationship-between-k-become-vs-ansible-ssh-user-ansible-ssh-pass/35713)

<div class="topic-metadata">

**Author:** [@Michelle\_Dupuis](https://forum.ansible.com/u/Michelle_Dupuis)\
**Replies:** 1\
**Last updated:** [September 19, 2021, 12:32am UTC](https://forum.ansible.com/t/understanding-relationship-between-k-become-vs-ansible-ssh-user-ansible-ssh-pass/35713 "2021-09-19T00:32:12Z")

</div>

I am creating a simple playbook to add the current user’s public key onto the remote host. My playbook fails with error “Failed to connect to the host via ssh: Permission denied”. I am running the playbook as non-root, …

---

## [Playbook not able to SSH to the hosts](https://forum.ansible.com/t/playbook-not-able-to-ssh-to-the-hosts/35752)

<div class="topic-metadata">

**Author:** [@janani\_Shri](https://forum.ansible.com/u/janani_Shri)\
**Replies:** 3\
**Last updated:** [September 18, 2021, 11:48pm UTC](https://forum.ansible.com/t/playbook-not-able-to-ssh-to-the-hosts/35752 "2021-09-18T23:48:56Z")

</div>

I see this error when running playbook against my hosts, please assist Failed to connect to the host via ssh: ssh: Could not resolve hostname hostname.acx: Name or service not known

---

## [Transfer files from Server A to Server B](https://forum.ansible.com/t/transfer-files-from-server-a-to-server-b/34933)

<div class="topic-metadata">

**Author:** [@Shivam\_Arora](https://forum.ansible.com/u/Shivam_Arora)\
**Replies:** 4\
**Last updated:** [September 18, 2021, 11:09pm UTC](https://forum.ansible.com/t/transfer-files-from-server-a-to-server-b/34933 "2021-09-18T23:09:11Z")

</div>

Hi Community Members, I am writing an Ansible playbook for which I want to copy files directly from Server A to Server B directly, skipping the Ansible node, i.e., I do not want to use Fetch and Copy module. I have trie…

---

## [Documentation on how to install AWX on AWS EKS?](https://forum.ansible.com/t/documentation-on-how-to-install-awx-on-aws-eks/35754)

<div class="topic-metadata">

**Author:** [@Daniel2](https://forum.ansible.com/u/Daniel2)\
**Replies:** 2\
**Last updated:** [September 18, 2021, 3:54pm UTC](https://forum.ansible.com/t/documentation-on-how-to-install-awx-on-aws-eks/35754 "2021-09-18T15:54:16Z")

</div>

We are an AWS client, since AWX is moving to Kubernetes, I was hoping to find someone that can assist with installing AWX on AWS EKS. I already have a remote/external AWS RDS DB, I did that from the beginning around vers…

---

## [How to deploy multiple image using Ansible on VMwar](https://forum.ansible.com/t/how-to-deploy-multiple-image-using-ansible-on-vmwar/35718)

<div class="topic-metadata">

**Author:** [@Ibrahim\_Salah](https://forum.ansible.com/u/Ibrahim_Salah)\
**Replies:** 2\
**Last updated:** [September 18, 2021, 2:36am UTC](https://forum.ansible.com/t/how-to-deploy-multiple-image-using-ansible-on-vmwar/35718 "2021-09-18T02:36:34Z")

</div>

Hello, I was using Ansible to deploy an image using the following code : \`— name: Create a VM from a template hosts: ‘192.168.0.110’ connection: local gather\_facts: no tasks: name: Clone the template vmware\_gue…

---

## [Running two versions of awx in the same K8s cluster?](https://forum.ansible.com/t/running-two-versions-of-awx-in-the-same-k8s-cluster/35566)

<div class="topic-metadata">

**Author:** [@howardjones](https://forum.ansible.com/u/howardjones)\
**Replies:** 18\
**Last updated:** [September 17, 2021, 1:10pm UTC](https://forum.ansible.com/t/running-two-versions-of-awx-in-the-same-k8s-cluster/35566 "2021-09-17T13:10:02Z")

</div>

We have awx 15.0.1 running, installed via AWX Operator 0.6.0. I’d like to run up an awx 19.2.2 instance to test before moving over. Is it possible to do this on the same cluster? Does the 0.12.0 operator understand the …

---

## [AWX 19.x operator based on Helm 3 Manifest from AWX 17.x](https://forum.ansible.com/t/awx-19-x-operator-based-on-helm-3-manifest-from-awx-17-x/35753)

<div class="topic-metadata">

**Author:** [@Nik\_Tetteh-Lartey](https://forum.ansible.com/u/Nik_Tetteh-Lartey)\
**Replies:** 0\
**Last updated:** [September 17, 2021, 7:08am UTC](https://forum.ansible.com/t/awx-19-x-operator-based-on-helm-3-manifest-from-awx-17-x/35753 "2021-09-17T07:08:43Z")

</div>

Hi Team, I’m thinking how to upgrade from AWX 17.x to AWX 19.x. I have my AWX 17.x deployments based on a Helm 3 Chart. So getting a AWX 19.x operator to deploy AWX with my particular customisations, I thought I could …

---

## [Aggregating debug msg output](https://forum.ansible.com/t/aggregating-debug-msg-output/35750)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 4\
**Last updated:** [September 17, 2021, 6:05am UTC](https://forum.ansible.com/t/aggregating-debug-msg-output/35750 "2021-09-17T06:05:43Z")

</div>

Taking, e.g., the following simple playbook:

---

## [Adding a nested xml element using ansible xml module fails](https://forum.ansible.com/t/adding-a-nested-xml-element-using-ansible-xml-module-fails/27138)

<div class="topic-metadata">

**Author:** [@Uvindra\_Dias\_Jayasin](https://forum.ansible.com/u/Uvindra_Dias_Jayasin)\
**Replies:** 5\
**Last updated:** [September 16, 2021, 1:12pm UTC](https://forum.ansible.com/t/adding-a-nested-xml-element-using-ansible-xml-module-fails/27138 "2021-09-16T13:12:52Z")

</div>

Im using Ansible 2.5 on Ubuntu 17.10 Given the following xml file Trying to add nested elements so that the file is changed to the following output fails. Old Rasputin 2000 Here is the playbook I used - nam…

---

## [Not able to create Ansible tower template job through an API call](https://forum.ansible.com/t/not-able-to-create-ansible-tower-template-job-through-an-api-call/35744)

<div class="topic-metadata">

**Author:** [@vivek\_kumar](https://forum.ansible.com/u/vivek_kumar)\
**Replies:** 0\
**Last updated:** [September 16, 2021, 8:53am UTC](https://forum.ansible.com/t/not-able-to-create-ansible-tower-template-job-through-an-api-call/35744 "2021-09-16T08:53:35Z")

</div>

Hi, I am trying to make an API call using curl command from my unix box to create template job in Ansible tower with my logincredentials/token. I am getting error “You do not have permission to perform this action”. Ho…

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

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