# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=97

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

**Page:** 98

---

## [Is it possible to SKIP task programmatically? Using callback module?](https://forum.ansible.com/t/is-it-possible-to-skip-task-programmatically-using-callback-module/34140)

<div class="topic-metadata">

**Author:** [@Luke\_C](https://forum.ansible.com/u/Luke_C)\
**Replies:** 9\
**Last updated:** [November 3, 2020, 3:38pm UTC](https://forum.ansible.com/t/is-it-possible-to-skip-task-programmatically-using-callback-module/34140 "2020-11-03T15:38:47Z")

</div>

Hey guys I would like to ask whether it’s possible to SKIP task programmatically, using python & callback module? I’ve been trying to do this for 3 days and I still don’t know how. Is there some special variable which…

---

## [Issue creating a basic ansible dynamic inventory](https://forum.ansible.com/t/issue-creating-a-basic-ansible-dynamic-inventory/34149)

<div class="topic-metadata">

**Author:** [@Dennis\_McCarthy1](https://forum.ansible.com/u/Dennis_McCarthy1)\
**Replies:** 5\
**Last updated:** [November 3, 2020, 2:11pm UTC](https://forum.ansible.com/t/issue-creating-a-basic-ansible-dynamic-inventory/34149 "2020-11-03T14:11:40Z")

</div>

I’m trying to create a basic dynamic inventory script for ansible based on json output. I’m new to jq but I’ve hit an issue where the dynamic script on ansible v2.9.14 & 2.9.15 doesn’t like the output, but if I send the …

---

## [New release: ansible-base 2.10.3](https://forum.ansible.com/t/new-release-ansible-base-2-10-3/34146)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [November 3, 2020, 2:15am UTC](https://forum.ansible.com/t/new-release-ansible-base-2-10-3/34146 "2020-11-03T02:15:01Z")

</div>

Hi all- we're happy to announce that the general release of ansible-base 2.10.3 is now available! How to get it

---

## [New Ansible releases 2.8.17 and 2.9.15](https://forum.ansible.com/t/new-ansible-releases-2-8-17-and-2-9-15/34145)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [November 3, 2020, 2:13am UTC](https://forum.ansible.com/t/new-ansible-releases-2-8-17-and-2-9-15/34145 "2020-11-03T02:13:09Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.8.17 and 2.9.15 are now available! How do you get it?

---

## [Upgrade To Windows 20H2](https://forum.ansible.com/t/upgrade-to-windows-20h2/34143)

<div class="topic-metadata">

**Author:** [@Ryan\_Zore](https://forum.ansible.com/u/Ryan_Zore)\
**Replies:** 1\
**Last updated:** [November 3, 2020, 12:11am UTC](https://forum.ansible.com/t/upgrade-to-windows-20h2/34143 "2020-11-03T00:11:38Z")

</div>

Is it possible to do a full Windows Feature Update? It doesnt appear these have a KB attached to them and I dont see a way to specify GUID. Thanks in advance Ryan

---

## [Ansible not installing msi through shared drive](https://forum.ansible.com/t/ansible-not-installing-msi-through-shared-drive/34134)

<div class="topic-metadata">

**Author:** [@smart\_aquarius](https://forum.ansible.com/u/smart_aquarius)\
**Replies:** 1\
**Last updated:** [November 2, 2020, 8:09pm UTC](https://forum.ansible.com/t/ansible-not-installing-msi-through-shared-drive/34134 "2020-11-02T20:09:11Z")

</div>

Team, My ansible version is 2.9.1. Here I’m trying to install a msi, placed in a shared drive, on windows 10 VDI. These are 2 play books I’ve tried

---

## [does control box need access to domain controller](https://forum.ansible.com/t/does-control-box-need-access-to-domain-controller/34131)

<div class="topic-metadata">

**Author:** [@John\_Veliss](https://forum.ansible.com/u/John_Veliss)\
**Replies:** 1\
**Last updated:** [November 2, 2020, 8:04pm UTC](https://forum.ansible.com/t/does-control-box-need-access-to-domain-controller/34131 "2020-11-02T20:04:41Z")

</div>

I have a ansible control box and have configured it to manage windows servers. Using NTLM it seems to work fine and can join servers to the domain and also can change local group membership, all using NTLM, but my group…

---

## [Error while fetching server API version: ('Connection aborted.', error(111, 'Connection refused'))](https://forum.ansible.com/t/error-while-fetching-server-api-version-connection-aborted-error-111-connection-refused/34129)

<div class="topic-metadata">

**Author:** [@Bhagyashri\_Shewale](https://forum.ansible.com/u/Bhagyashri_Shewale)\
**Replies:** 3\
**Last updated:** [November 1, 2020, 3:12pm UTC](https://forum.ansible.com/t/error-while-fetching-server-api-version-connection-aborted-error-111-connection-refused/34129 "2020-11-01T15:12:01Z")

</div>

I don’t want to pass docker tls variables to individual ansible roles instead I want to pass as environment variables. Where I can exactly define these variable. I tried to set host environment variable but still defaul…

---

## [Ansible Galaxy is not responding](https://forum.ansible.com/t/ansible-galaxy-is-not-responding/34126)

<div class="topic-metadata">

**Author:** [@hofitz0r](https://forum.ansible.com/u/hofitz0r)\
**Replies:** 1\
**Last updated:** [October 30, 2020, 4:55pm UTC](https://forum.ansible.com/t/ansible-galaxy-is-not-responding/34126 "2020-10-30T16:55:45Z")

</div>

Hi all, I hope that it’s the right group to post this. When I try to use ansible galaxy in my ansible script I receive an error: “…Unknown error\\nwhen attempting to call Galaxy at ‘https://galaxy.ansible.com/api/’: Th…

---

## [Dynamically set ansible\_network\_os inside playbook fails](https://forum.ansible.com/t/dynamically-set-ansible-network-os-inside-playbook-fails/33817)

<div class="topic-metadata">

**Author:** [@Matt\_Miller](https://forum.ansible.com/u/Matt_Miller)\
**Replies:** 3\
**Last updated:** [October 30, 2020, 4:15pm UTC](https://forum.ansible.com/t/dynamically-set-ansible-network-os-inside-playbook-fails/33817 "2020-10-30T16:15:43Z")

</div>

In the playbook below, I dynamically add\_host and attempt to set ansible\_network\_os for the newly added host. The variable gets set if I use a vars file, but I can’t get it set from within the playbook. Not sure why this…

---

## [Using when module with variables/template](https://forum.ansible.com/t/using-when-module-with-variables-template/34132)

<div class="topic-metadata">

**Author:** [@Pravin\_V](https://forum.ansible.com/u/Pravin_V)\
**Replies:** 2\
**Last updated:** [October 30, 2020, 11:01am UTC](https://forum.ansible.com/t/using-when-module-with-variables-template/34132 "2020-10-30T11:01:20Z")

</div>

Hello Everyone, I have a playbook name: Test uri: url: https://192.168.1.1 method: POST body: “IPADDRESS={{ item.address }}” body\_format: “form-urlencoded” when: item.device\_type.model == “2921” or item.device…

---

## [Open Source .net App for Ansible](https://forum.ansible.com/t/open-source-net-app-for-ansible/34124)

<div class="topic-metadata">

**Author:** [@Gavin\_Landon](https://forum.ansible.com/u/Gavin_Landon)\
**Replies:** 0\
**Last updated:** [October 29, 2020, 12:21am UTC](https://forum.ansible.com/t/open-source-net-app-for-ansible/34124 "2020-10-29T00:21:31Z")

</div>

I’ve started an open source .net app using SSH.net with Ansible installation for CentOS. Could use some help as its pretty basic at the moment. Comes with ansible demo code. As an Ansible developer I needed something I c…

---

## [Advice on build Immutable VM's ( VMware )](https://forum.ansible.com/t/advice-on-build-immutable-vms-vmware/34096)

<div class="topic-metadata">

**Author:** [@SP1](https://forum.ansible.com/u/SP1)\
**Replies:** 10\
**Last updated:** [October 28, 2020, 11:18pm UTC](https://forum.ansible.com/t/advice-on-build-immutable-vms-vmware/34096 "2020-10-28T23:18:37Z")

</div>

Hi, Advice on build Immutable VM’s ( VMware ) and is that possible using Ansible ? What is the best way to do?

---

## [cisco ios\_config](https://forum.ansible.com/t/cisco-ios-config/34123)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 0\
**Last updated:** [October 28, 2020, 9:22pm UTC](https://forum.ansible.com/t/cisco-ios-config/34123 "2020-10-28T21:22:35Z")

</div>

Hi, I am trying to get some experience using the cisco ios\_config module. I want to get a diff between the running config and a master config. playbook snippet is: tasks: name: Check running config against master c…

---

## [Test on ansible facts sda size](https://forum.ansible.com/t/test-on-ansible-facts-sda-size/34120)

<div class="topic-metadata">

**Author:** [@Bill\_Price](https://forum.ansible.com/u/Bill_Price)\
**Replies:** 2\
**Last updated:** [October 28, 2020, 12:34pm UTC](https://forum.ansible.com/t/test-on-ansible-facts-sda-size/34120 "2020-10-28T12:34:40Z")

</div>

Can someone point me in the right direction ansible\_devices\[‘sda’\]\[‘size’\] returns “X GB” How can I use a when statement to perform something when: x\> variable Do I need to convert “X GB” to a number

---

## [template error: Encountered unknown tag 'Y'](https://forum.ansible.com/t/template-error-encountered-unknown-tag-y/34119)

<div class="topic-metadata">

**Author:** [@Roy\_Lenferink](https://forum.ansible.com/u/Roy_Lenferink)\
**Replies:** 5\
**Last updated:** [October 28, 2020, 10:01am UTC](https://forum.ansible.com/t/template-error-encountered-unknown-tag-y/34119 "2020-10-28T10:01:06Z")

</div>

Hello everyone, I am having a problem with defining a string variable in Ansible (v2.9.9) The string I want to define (for the geerlingguy.apache role): apache\_global\_vhost\_settings: | LogFormat “\<%%JSON:httpd\_access…

---

## [inventory host problem](https://forum.ansible.com/t/inventory-host-problem/34117)

<div class="topic-metadata">

**Author:** [@AnsibleJunior](https://forum.ansible.com/u/AnsibleJunior)\
**Replies:** 2\
**Last updated:** [October 28, 2020, 9:47am UTC](https://forum.ansible.com/t/inventory-host-problem/34117 "2020-10-28T09:47:38Z")

</div>

Hi everybody, I hope this the good place to post my problem. I have declared this inventory in yml all: children: server\_country\_prod: hosts: server1.com: vars: … server\_country\_preprod: hosts: server2.com: …

---

## [Basic "json\_query" features with yaml structures](https://forum.ansible.com/t/basic-json-query-features-with-yaml-structures/34122)

<div class="topic-metadata">

**Author:** [@P\_Larsen](https://forum.ansible.com/u/P_Larsen)\
**Replies:** 0\
**Last updated:** [October 28, 2020, 3:33am UTC](https://forum.ansible.com/t/basic-json-query-features-with-yaml-structures/34122 "2020-10-28T03:33:59Z")

</div>

Hello - i’m trying to figure out how to do this if the data isn’t JSON: json\_query(host\[?name==‘webserver’\].ipaddress) In other words, I want to return an attribute from a list based on a condition. I’m trying to combi…

---

## [delegate\_to and when](https://forum.ansible.com/t/delegate-to-and-when/34121)

<div class="topic-metadata">

**Author:** [@Spiro\_Mitsialis](https://forum.ansible.com/u/Spiro_Mitsialis)\
**Replies:** 1\
**Last updated:** [October 27, 2020, 8:57pm UTC](https://forum.ansible.com/t/delegate-to-and-when/34121 "2020-10-27T20:57:33Z")

</div>

I have a playbook that executes a command on a set of routers (inventory hosts) looking for a specific IP address. The playbook uses the “meta: end\_host” on hosts that do not return a desired result. This works fine. A r…

---

## [Using set\_stats](https://forum.ansible.com/t/using-set-stats/34115)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 3\
**Last updated:** [October 27, 2020, 2:31pm UTC](https://forum.ansible.com/t/using-set-stats/34115 "2020-10-27T14:31:54Z")

</div>

Hi all, Before using set\_stats in Ansible Tower, I’m doing some test to understand it. I’m taking the hostname in playbook via set\_stats but I cannot check if my variable are correct. Here’s my script portion:

---

## [Query related to junipernetworks.junos.junos\_interfaces](https://forum.ansible.com/t/query-related-to-junipernetworks-junos-junos-interfaces/34113)

<div class="topic-metadata">

**Author:** [@debasmita\_hazra](https://forum.ansible.com/u/debasmita_hazra)\
**Replies:** 2\
**Last updated:** [October 27, 2020, 1:27pm UTC](https://forum.ansible.com/t/query-related-to-junipernetworks-junos-junos-interfaces/34113 "2020-10-27T13:27:47Z")

</div>

Hello All, I am just starting out with working on Ansible. Hence, my query might be very elementary in nature but I cannot seem to get over it. I am trying to basically disable a port on a Juniper switch using the junos…

---

## [change root password - ned help](https://forum.ansible.com/t/change-root-password-ned-help/34108)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 3\
**Last updated:** [October 27, 2020, 1:26pm UTC](https://forum.ansible.com/t/change-root-password-ned-help/34108 "2020-10-27T13:26:48Z")

</div>

inventory file \[esx\] esx1 esx2 esx3 \[esx:vars\] ansible\_python\_interpreter=/usr/bin/python3

---

## [Installing AWX](https://forum.ansible.com/t/installing-awx/34116)

<div class="topic-metadata">

**Author:** [@JK11](https://forum.ansible.com/u/JK11)\
**Replies:** 1\
**Last updated:** [October 27, 2020, 11:34am UTC](https://forum.ansible.com/t/installing-awx/34116 "2020-10-27T11:34:52Z")

</div>

Hi everyone, I"m new to whole cloud thing, but have already started writing Ansible playbooks for our automation. I’d like to start with AWX since our automations are now growing and AWX is the perfect tool. However, …

---

## [Limit Log Output](https://forum.ansible.com/t/limit-log-output/34109)

<div class="topic-metadata">

**Author:** [@Troy\_Fine](https://forum.ansible.com/u/Troy_Fine)\
**Replies:** 1\
**Last updated:** [October 27, 2020, 7:10am UTC](https://forum.ansible.com/t/limit-log-output/34109 "2020-10-27T07:10:25Z")

</div>

Hello, I was wondering is there a way I can drastically reduce the amount of logging that is output while a set of tasks is running? At the very least we’d like to try to limit/eliminate the ‘info’ logging, would be even…

---

## [Any possible way to setup Ansible on windows 10 without WSL](https://forum.ansible.com/t/any-possible-way-to-setup-ansible-on-windows-10-without-wsl/34103)

<div class="topic-metadata">

**Author:** [@smart\_aquarius](https://forum.ansible.com/u/smart_aquarius)\
**Replies:** 3\
**Last updated:** [October 26, 2020, 5:18pm UTC](https://forum.ansible.com/t/any-possible-way-to-setup-ansible-on-windows-10-without-wsl/34103 "2020-10-26T17:18:01Z")

</div>

Team, I have few windows 10 production machines and python/pip is already installed in them. Is there any way to setup ansible in the machines without enabling windows subsytem for linux. Please suggest! Thank you

---

## [need a playbook to change esxi root pass](https://forum.ansible.com/t/need-a-playbook-to-change-esxi-root-pass/34097)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 7\
**Last updated:** [October 26, 2020, 2:58pm UTC](https://forum.ansible.com/t/need-a-playbook-to-change-esxi-root-pass/34097 "2020-10-26T14:58:26Z")

</div>

How do I change the root password on all esxi hosts with a pb?

---

## [Ansible ping unable to SSH to target host met error: "module\_stderr": "OpenSSH\_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\\r\\ndebug1: Reading configuration data](https://forum.ansible.com/t/ansible-ping-unable-to-ssh-to-target-host-met-error-module-stderr-openssh-7-4p1-openssl-1-0-2k-fips-26-jan-2017-r-ndebug1-reading-configuration-data/34104)

<div class="topic-metadata">

**Author:** [@Ethan\_Shen](https://forum.ansible.com/u/Ethan_Shen)\
**Replies:** 0\
**Last updated:** [October 25, 2020, 11:05pm UTC](https://forum.ansible.com/t/ansible-ping-unable-to-ssh-to-target-host-met-error-module-stderr-openssh-7-4p1-openssl-1-0-2k-fips-26-jan-2017-r-ndebug1-reading-configuration-data/34104 "2020-10-25T23:05:56Z")

</div>

SUMMARY Ansible ping unable to SSH to the target host source host ins on centos7 target host is rhel8 ISSUE TYPE- Bug Report COMPONENT NAME ping module ANSIBLE VERSION 2.1 OS / ENVIRONMENT Centos7 STEPS TO REPR…

---

## [Any alternative to WinRM listener](https://forum.ansible.com/t/any-alternative-to-winrm-listener/34102)

<div class="topic-metadata">

**Author:** [@smart\_aquarius](https://forum.ansible.com/u/smart_aquarius)\
**Replies:** 2\
**Last updated:** [October 25, 2020, 6:26pm UTC](https://forum.ansible.com/t/any-alternative-to-winrm-listener/34102 "2020-10-25T18:26:37Z")

</div>

Hello, I need to perform installation of msi file on windows 10 machines. But my organization is not allowing to enable WinRM listener on remote production machines. Do we any alternative or planning other options in f…

---

## [Ansible playbook - ned help](https://forum.ansible.com/t/ansible-playbook-ned-help/34100)

<div class="topic-metadata">

**Author:** [@AharonuReddy](https://forum.ansible.com/u/AharonuReddy)\
**Replies:** 1\
**Last updated:** [October 25, 2020, 11:29am UTC](https://forum.ansible.com/t/ansible-playbook-ned-help/34100 "2020-10-25T11:29:44Z")

</div>

Hello mates, I have an issue with below corsern. I would be thankful if anyone of help me over here. I have a list as below which I stored in one variable, example svm1\_v1 svm1\_v2 svm1\_v3 svm1\_v5 svm1\_v4 When I r…

---

## [Failed to validate GPG signature for mysql-community-release-el7-5.noarch - reg](https://forum.ansible.com/t/failed-to-validate-gpg-signature-for-mysql-community-release-el7-5-noarch-reg/34098)

<div class="topic-metadata">

**Author:** [@Prabhakaran\_Karuppai](https://forum.ansible.com/u/Prabhakaran_Karuppai)\
**Replies:** 4\
**Last updated:** [October 24, 2020, 11:14pm UTC](https://forum.ansible.com/t/failed-to-validate-gpg-signature-for-mysql-community-release-el7-5-noarch-reg/34098 "2020-10-24T23:14:46Z")

</div>

name: Install the MySQL repo. dnf: name: http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm state: present Error: TASK \[Install the MySQL repo.\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=96)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=98)
