# Archives

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

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

**Page:** 90

---

## [New releases: ansible-core 2.12.2, ansible-core 2.11.8, ansible-base 2.10.17](https://forum.ansible.com/t/new-releases-ansible-core-2-12-2-ansible-core-2-11-8-ansible-base-2-10-17/36269)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [February 1, 2022, 2:52pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-12-2-ansible-core-2-11-8-ansible-base-2-10-17/36269 "2022-02-01T14:52:14Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.12.2 ansible-core 2.11.8 ansible-base 2.10.17 How to get it

---

## [Shell pre check command](https://forum.ansible.com/t/shell-pre-check-command/36268)

<div class="topic-metadata">

**Author:** [@Omar](https://forum.ansible.com/u/Omar)\
**Replies:** 0\
**Last updated:** [February 1, 2022, 2:33pm UTC](https://forum.ansible.com/t/shell-pre-check-command/36268 "2022-02-01T14:33:43Z")

</div>

When working with tools that don’t have an Ansible module/roles and only have shell commands to interact with. I find my self writing the following: shell: pre\_check\_command || command Where ‘pre\_check\_command’ exits …

---

## [Is it possible to copy objects from one AWX environment to another AWX environment  using rest api](https://forum.ansible.com/t/is-it-possible-to-copy-objects-from-one-awx-environment-to-another-awx-environment-using-rest-api/36259)

<div class="topic-metadata">

**Author:** [@Kannan\_Somaiah](https://forum.ansible.com/u/Kannan_Somaiah)\
**Replies:** 3\
**Last updated:** [February 1, 2022, 1:20pm UTC](https://forum.ansible.com/t/is-it-possible-to-copy-objects-from-one-awx-environment-to-another-awx-environment-using-rest-api/36259 "2022-02-01T13:20:25Z")

</div>

I tired and encountered problems as there are many objects linked to schedule and similar objects have to be available in the destination environment. Any suggestion on this please? Regards, Kannan Somaiah

---

## [AWX sync job related issue](https://forum.ansible.com/t/awx-sync-job-related-issue/36267)

<div class="topic-metadata">

**Author:** [@Kannan\_Somaiah](https://forum.ansible.com/u/Kannan_Somaiah)\
**Replies:** 0\
**Last updated:** [February 1, 2022, 1:19pm UTC](https://forum.ansible.com/t/awx-sync-job-related-issue/36267 "2022-02-01T13:19:48Z")

</div>

Hi All, We have a Linux script is written in such a way it will run for 90 minutes. When we synchronously call this script from AWX, AWX job runs for more than 2 hours and terminates with an error as sync jobs cannot r…

---

## [Error reading SSH protocol banner\[Errno 104\] Connection reset by peer](https://forum.ansible.com/t/error-reading-ssh-protocol-banner-errno-104-connection-reset-by-peer/36231)

<div class="topic-metadata">

**Author:** [@Klien\_Menard\_Luminar](https://forum.ansible.com/u/Klien_Menard_Luminar)\
**Replies:** 1\
**Last updated:** [January 31, 2022, 7:18pm UTC](https://forum.ansible.com/t/error-reading-ssh-protocol-banner-errno-104-connection-reset-by-peer/36231 "2022-01-31T19:18:03Z")

</div>

Is there a way to add -oKexAlgorithms=+diffie-hellman-group1-sha1 as an option when ansible is trying to connect to an cisco router? I am having Error reading SSH protocol banner\[Errno 104\] Connection reset by peer every…

---

## [Update awx-operator to the latest version](https://forum.ansible.com/t/update-awx-operator-to-the-latest-version/36245)

<div class="topic-metadata">

**Author:** [@Niko\_Wang](https://forum.ansible.com/u/Niko_Wang)\
**Replies:** 1\
**Last updated:** [January 31, 2022, 6:23pm UTC](https://forum.ansible.com/t/update-awx-operator-to-the-latest-version/36245 "2022-01-31T18:23:04Z")

</div>

Hello AWX, Is that possible to keep https://raw.githubusercontent.com/ansible/awx-operator/0.13.0/deploy/awx-operator.yaml update with the github? The official version now is 0.16.0 . Thanks.

---

## [Sending the list of available updates via email](https://forum.ansible.com/t/sending-the-list-of-available-updates-via-email/36258)

<div class="topic-metadata">

**Author:** [@Raza\_Suleman](https://forum.ansible.com/u/Raza_Suleman)\
**Replies:** 1\
**Last updated:** [January 31, 2022, 3:16pm UTC](https://forum.ansible.com/t/sending-the-list-of-available-updates-via-email/36258 "2022-01-31T15:16:10Z")

</div>

HI, I would like to create a playbook that will send a list of available yum updates in the message body. How do I do that? my play book has two parts. first it collects a list of available packages and then 2nd it send…

---

## [A basic ansible command cannot go through](https://forum.ansible.com/t/a-basic-ansible-command-cannot-go-through/36220)

<div class="topic-metadata">

**Author:** [@Kevin\_Y](https://forum.ansible.com/u/Kevin_Y)\
**Replies:** 6\
**Last updated:** [January 31, 2022, 6:59am UTC](https://forum.ansible.com/t/a-basic-ansible-command-cannot-go-through/36220 "2022-01-31T06:59:27Z")

</div>

Hi I am a little new to ansible. Anyone can take a look at the below why the command cannot go through? Thank you! admin1@Len:~$ ansible lab-hosts -m raw -a “show run” -u admin -k | grep ‘hostname| system mtu’ Tracebac…

---

## [Error running resource module builder](https://forum.ansible.com/t/error-running-resource-module-builder/36218)

<div class="topic-metadata">

**Author:** [@nitesh\_shet](https://forum.ansible.com/u/nitesh_shet)\
**Replies:** 1\
**Last updated:** [January 31, 2022, 6:51am UTC](https://forum.ansible.com/t/error-running-resource-module-builder/36218 "2022-01-31T06:51:19Z")

</div>

Hi, While running a resource module builder to create a skeleton of collection , raised with exception. The error is attached as a file. Please help me in overcoming this problem. Thanks, Nitesh (attachments)errorf…

---

## [when condition based on software version](https://forum.ansible.com/t/when-condition-based-on-software-version/36262)

<div class="topic-metadata">

**Author:** [@John\_Veliss](https://forum.ansible.com/u/John_Veliss)\
**Replies:** 2\
**Last updated:** [January 31, 2022, 4:19am UTC](https://forum.ansible.com/t/when-condition-based-on-software-version/36262 "2022-01-31T04:19:18Z")

</div>

I would like to include some ansible “when” conditions based on if a software package is greater than a value, ie when a package is greater than 8.2, perform a task such as stop a service, uninstall the package, copy a f…

---

## [Parse a variable using a regex and use parsed variable in a "when"](https://forum.ansible.com/t/parse-a-variable-using-a-regex-and-use-parsed-variable-in-a-when/36257)

<div class="topic-metadata">

**Author:** [@o\_haya1](https://forum.ansible.com/u/o_haya1)\
**Replies:** 2\
**Last updated:** [January 30, 2022, 6:37pm UTC](https://forum.ansible.com/t/parse-a-variable-using-a-regex-and-use-parsed-variable-in-a-when/36257 "2022-01-30T18:37:01Z")

</div>

Hi, I am just starting working with Ansible, and am trying to modify an existing playbook that is used to install MySQL. I need to have it check a Mysql version string, and if it is greater than or equal to a specific v…

---

## [Gathering facts failing](https://forum.ansible.com/t/gathering-facts-failing/36263)

<div class="topic-metadata">

**Author:** [@omoeko](https://forum.ansible.com/u/omoeko)\
**Replies:** 0\
**Last updated:** [January 30, 2022, 5:38pm UTC](https://forum.ansible.com/t/gathering-facts-failing/36263 "2022-01-30T17:38:38Z")

</div>

Hi All. I have a list of hosts that I am trying to check connectivity and ensure that ansible tower can connect to it with the defined credential, so we are checking 2 things here. Connectivity to ensure that the host …

---

## [Migrating jobs from one AWX to another AWX, but on K8s](https://forum.ansible.com/t/migrating-jobs-from-one-awx-to-another-awx-but-on-k8s/36255)

<div class="topic-metadata">

**Author:** [@Matt1](https://forum.ansible.com/u/Matt1)\
**Replies:** 2\
**Last updated:** [January 29, 2022, 4:42pm UTC](https://forum.ansible.com/t/migrating-jobs-from-one-awx-to-another-awx-but-on-k8s/36255 "2022-01-29T16:42:13Z")

</div>

Hi, I’ve got plenty of jobs on AWX (19.2.2) running on Docker (20.10.9) on the 1st VM. I need to move/migrate/clone them to the AWX running on Kubernetes on the 2nd VM. Can’t find right instructions, 99% of articles ar…

---

## [Make an SSH connection and run a command from within the playbook](https://forum.ansible.com/t/make-an-ssh-connection-and-run-a-command-from-within-the-playbook/36256)

<div class="topic-metadata">

**Author:** [@Daniel\_Bianco](https://forum.ansible.com/u/Daniel_Bianco)\
**Replies:** 3\
**Last updated:** [January 29, 2022, 12:08am UTC](https://forum.ansible.com/t/make-an-ssh-connection-and-run-a-command-from-within-the-playbook/36256 "2022-01-29T00:08:46Z")

</div>

I’m working on an automation to create/delete users on storage devices. I have been only provided with the commands that the storage admin use and users that can ssh to the storage devices. My first attempt was to crea…

---

## [gather fact module on Cisco Catalyst 9300](https://forum.ansible.com/t/gather-fact-module-on-cisco-catalyst-9300/36260)

<div class="topic-metadata">

**Author:** [@L\_Jankok](https://forum.ansible.com/u/L_Jankok)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 3:03pm UTC](https://forum.ansible.com/t/gather-fact-module-on-cisco-catalyst-9300/36260 "2022-01-28T15:03:41Z")

</div>

Hi, When I use the gather fact module and choose to get the l2\_interfaces, it doesn’t return the l2\_interfaces properties. When I use the same playbook on catalyst 3650 (also ios-xe) I get the l2\_interfaces properties. …

---

## [Better way to reference SSH Identity Key?](https://forum.ansible.com/t/better-way-to-reference-ssh-identity-key/36253)

<div class="topic-metadata">

**Author:** [@Jason\_Wood](https://forum.ansible.com/u/Jason_Wood)\
**Replies:** 3\
**Last updated:** [January 27, 2022, 2:08pm UTC](https://forum.ansible.com/t/better-way-to-reference-ssh-identity-key/36253 "2022-01-27T14:08:50Z")

</div>

Right now I have in ansible.cfg: \[ssh\_connection\] ssh\_args = -F ssh\_config scp\_if\_ssh = True And in ssh\_config: Host sub.domain.com Hostname sub.domain.com User ubuntu IdentityFile ~/mykeyfile.pem Right now I’m …

---

## [Creating a string, containg a ':'](https://forum.ansible.com/t/creating-a-string-containg-a/36252)

<div class="topic-metadata">

**Author:** [@Axel\_Rau](https://forum.ansible.com/u/Axel_Rau)\
**Replies:** 2\
**Last updated:** [January 27, 2022, 10:35am UTC](https://forum.ansible.com/t/creating-a-string-containg-a/36252 "2022-01-27T10:35:27Z")

</div>

Hi all, seems to be an FAQ item but I can’t find the solution. (Try to create sorce args for rsync): set\_fact: the\_arg: ':{{ some\_var }}' Any help welcome, Axel

---

## [Add Windows-Control Node support](https://forum.ansible.com/t/add-windows-control-node-support/36248)

<div class="topic-metadata">

**Author:** [@Arpad\_Toth](https://forum.ansible.com/u/Arpad_Toth)\
**Replies:** 3\
**Last updated:** [January 26, 2022, 8:38pm UTC](https://forum.ansible.com/t/add-windows-control-node-support/36248 "2022-01-26T20:38:03Z")

</div>

Hi All, Love the idea of ansible, but why can’t we support Windows 7/10 Control Nodes? What’s the point of using python in non portable way? I can simply do Putty into linux client, Windows can also be ansible receiva…

---

## [How to check if a role changed something inside a play?](https://forum.ansible.com/t/how-to-check-if-a-role-changed-something-inside-a-play/36254)

<div class="topic-metadata">

**Author:** [@Richard\_Megginson](https://forum.ansible.com/u/Richard_Megginson)\
**Replies:** 1\
**Last updated:** [January 26, 2022, 7:06pm UTC](https://forum.ansible.com/t/how-to-check-if-a-role-changed-something-inside-a-play/36254 "2022-01-26T19:06:44Z")

</div>

Is there some way inside of a playbook to see if a role changed something? The use case is this: tests\_of\_my\_role.yml: name: call role to see if working include\_role: name: my\_role vars: my role vars set\_fac…

---

## [Adhoc commands hang when connecting to Juniper devices](https://forum.ansible.com/t/adhoc-commands-hang-when-connecting-to-juniper-devices/36251)

<div class="topic-metadata">

**Author:** [@Thomas\_Whittle](https://forum.ansible.com/u/Thomas_Whittle)\
**Replies:** 0\
**Last updated:** [January 26, 2022, 5:00pm UTC](https://forum.ansible.com/t/adhoc-commands-hang-when-connecting-to-juniper-devices/36251 "2022-01-26T17:00:08Z")

</div>

Hi all, I’m new to Ansible and I’m trying to get started connecting to the devices in my lab. I’m starting with adhoc commands and will move onto playbooks as soon as I’m confortable with Adhoc. When I run the below c…

---

## [Best practice for extra variables interpolation via ansible-inventory?](https://forum.ansible.com/t/best-practice-for-extra-variables-interpolation-via-ansible-inventory/36169)

<div class="topic-metadata">

**Author:** [@Vincent\_Rubiolo](https://forum.ansible.com/u/Vincent_Rubiolo)\
**Replies:** 8\
**Last updated:** [January 25, 2022, 2:33pm UTC](https://forum.ansible.com/t/best-practice-for-extra-variables-interpolation-via-ansible-inventory/36169 "2022-01-25T14:33:10Z")

</div>

Hi everyone and Happy New Year 2022! I am turning to you for a “best practice” question about inventory variables as I am experimenting w/ AWX to run our playbooks. Let me know if this is best suited for the general Ans…

---

## [Correct Login link for Ansible Galaxy](https://forum.ansible.com/t/correct-login-link-for-ansible-galaxy/36171)

<div class="topic-metadata">

**Author:** [@lee](https://forum.ansible.com/u/lee)\
**Replies:** 6\
**Last updated:** [January 25, 2022, 9:15am UTC](https://forum.ansible.com/t/correct-login-link-for-ansible-galaxy/36171 "2022-01-25T09:15:00Z")

</div>

Hi, What is the correct login link for Ansible Galaxy? This one https://galaxy.ansible.com/accounts/login/ is giving Server Error (500) Thanks

---

## [ActiveState of a systemd service](https://forum.ansible.com/t/activestate-of-a-systemd-service/36156)

<div class="topic-metadata">

**Author:** [@lee](https://forum.ansible.com/u/lee)\
**Replies:** 14\
**Last updated:** [January 25, 2022, 7:30am UTC](https://forum.ansible.com/t/activestate-of-a-systemd-service/36156 "2022-01-25T07:30:00Z")

</div>

Hi, I am trying to write a playbook that displays the ActiveState of some services on a machine. I tried various tips from google but could not get the information I wanted, which is the "service.ActiveState" . Below…

---

## [Callback provisioning no matching hosts. Already HTTP\_X\_FORWARDED\_FOR](https://forum.ansible.com/t/callback-provisioning-no-matching-hosts-already-http-x-forwarded-for/36249)

<div class="topic-metadata">

**Author:** [@Barry\_Obie](https://forum.ansible.com/u/Barry_Obie)\
**Replies:** 0\
**Last updated:** [January 25, 2022, 5:28am UTC](https://forum.ansible.com/t/callback-provisioning-no-matching-hosts-already-http-x-forwarded-for/36249 "2022-01-25T05:28:55Z")

</div>

I’m trying to get callback provisioning working to AWX. But keep getting {“msg”:“No matching host could be found!”}. I’ve had this working before, but not in my current environment. So I’m not sure if something has chang…

---

## [Obtaining software versions of Windows servers](https://forum.ansible.com/t/obtaining-software-versions-of-windows-servers/36238)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 4\
**Last updated:** [January 24, 2022, 7:40pm UTC](https://forum.ansible.com/t/obtaining-software-versions-of-windows-servers/36238 "2022-01-24T19:40:42Z")

</div>

Occassionally, at my office, we get security alerts for vulnerabilities. I have a playbook that will get run “rpm -q” on the package name and it returns the version installed. For example, google-chrome-stable. How can …

---

## [New release candidates: ansible-core 2.12.2rc1, ansible-core 2.11.8rc1, ansible-base 2.10.17rc1](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-2rc1-ansible-core-2-11-8rc1-ansible-base-2-10-17rc1/36247)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [January 24, 2022, 5:24pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-12-2rc1-ansible-core-2-11-8rc1-ansible-base-2-10-17rc1/36247 "2022-01-24T17:24:03Z")

</div>

Hi all- we’re happy to announce the following release candidates: ansible-core 2.12.2rc1 ansible-core 2.11.8rc1 ansible-base 2.10.17rc1 How to get it

---

## [How to test if playbook is being run interactively](https://forum.ansible.com/t/how-to-test-if-playbook-is-being-run-interactively/36241)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [January 24, 2022, 3:07pm UTC](https://forum.ansible.com/t/how-to-test-if-playbook-is-being-run-interactively/36241 "2022-01-24T15:07:31Z")

</div>

Hi Somewhere halfway through one of our playbooks there is a ‘pause’ task that prompts for input: name: Database restoration - timestamp selection pause: prompt: | Select the number of a backup date to restore from…

---

## [How to create Custom EE for Netapp -- Detailed instruction](https://forum.ansible.com/t/how-to-create-custom-ee-for-netapp-detailed-instruction/36246)

<div class="topic-metadata">

**Author:** [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Replies:** 1\
**Last updated:** [January 24, 2022, 9:11am UTC](https://forum.ansible.com/t/how-to-create-custom-ee-for-netapp-detailed-instruction/36246 "2022-01-24T09:11:45Z")

</div>

As you upgrade the awx version from you will need to increment the ansible-builder version as well install ansible-runner==2.1.1

---

## [AWX Netapp Custom EE - Installation and configuration procedure](https://forum.ansible.com/t/awx-netapp-custom-ee-installation-and-configuration-procedure/36244)

<div class="topic-metadata">

**Author:** [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Replies:** 0\
**Last updated:** [January 24, 2022, 5:56am UTC](https://forum.ansible.com/t/awx-netapp-custom-ee-installation-and-configuration-procedure/36244 "2022-01-24T05:56:34Z")

</div>

Hi! Please find the below instructions to create a custom EE in awx 19.x to integrate with Netpp storage to run jobs on the netapp storage system. It helps others to save time. Prerequisite: You should have awx 19.x …

---

## [Assign different variables to each server from vmware dynamic inventory](https://forum.ansible.com/t/assign-different-variables-to-each-server-from-vmware-dynamic-inventory/36243)

<div class="topic-metadata">

**Author:** [@Amjad\_Saleem1](https://forum.ansible.com/u/Amjad_Saleem1)\
**Replies:** 0\
**Last updated:** [January 23, 2022, 7:13pm UTC](https://forum.ansible.com/t/assign-different-variables-to-each-server-from-vmware-dynamic-inventory/36243 "2022-01-23T19:13:10Z")

</div>

I am getting vms from vcenter using vmware inventory plugin. The vms are mix of windows and linux. I want to assign ansible\_connection: ssh if the vm is linux and ansible\_connection: winrm if windows. Using compose as be…

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

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