# Ansible Project

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

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

**Page:** 44

---

## [servicenow.itsm collection and ansible inventory plugin](https://forum.ansible.com/t/servicenow-itsm-collection-and-ansible-inventory-plugin/36730)

<div class="topic-metadata">

**Author:** [@Glen\_Collins](https://forum.ansible.com/u/Glen_Collins)\
**Replies:** 1\
**Last updated:** [June 14, 2022, 2:32pm UTC](https://forum.ansible.com/t/servicenow-itsm-collection-and-ansible-inventory-plugin/36730 "2022-06-14T14:32:07Z")

</div>

Hello everyone. I have been working with the collection for ServiceNow and ansible for about a week or so and I’ve come across an issue I can’t seem to resolve. I’m using the ansible inventory plugin to get my inventory …

---

## [adding user@hostname in sshd config](https://forum.ansible.com/t/adding-user-hostname-in-sshd-config/36736)

<div class="topic-metadata">

**Author:** [@Amit\_Sharma1](https://forum.ansible.com/u/Amit_Sharma1)\
**Replies:** 0\
**Last updated:** [June 14, 2022, 1:52pm UTC](https://forum.ansible.com/t/adding-user-hostname-in-sshd-config/36736 "2022-06-14T13:52:36Z")

</div>

Hi Team, I am trying to create a playbook to add the allow users and hostname dynamically in SSHD config. Ansible playbook should check the entry and add it if its not exist. I have written the below code and it is dup…

---

## [VMware VM creation works but on boot the network adapter is disconnected](https://forum.ansible.com/t/vmware-vm-creation-works-but-on-boot-the-network-adapter-is-disconnected/34895)

<div class="topic-metadata">

**Author:** [@N\_Owens](https://forum.ansible.com/u/N_Owens)\
**Replies:** 12\
**Last updated:** [June 14, 2022, 1:45pm UTC](https://forum.ansible.com/t/vmware-vm-creation-works-but-on-boot-the-network-adapter-is-disconnected/34895 "2022-06-14T13:45:30Z")

</div>

I’m using Ansible Tower 3.8.2. Ansible core is 2.9.15 I’m using the vmware\_rest collection. I’m able to get the linux VM created from a template. And the VM does poweron. But when it comes up the network adapter does …

---

## [sudo privilege's are not working](https://forum.ansible.com/t/sudo-privileges-are-not-working/36732)

<div class="topic-metadata">

**Author:** [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Replies:** 8\
**Last updated:** [June 14, 2022, 11:57am UTC](https://forum.ansible.com/t/sudo-privileges-are-not-working/36732 "2022-06-14T11:57:24Z")

</div>

Hi team, look at my playbook

---

## [Problem with WinRM Connections](https://forum.ansible.com/t/problem-with-winrm-connections/36718)

<div class="topic-metadata">

**Author:** [@Michael\_Kennedy](https://forum.ansible.com/u/Michael_Kennedy)\
**Replies:** 9\
**Last updated:** [June 13, 2022, 10:50pm UTC](https://forum.ansible.com/t/problem-with-winrm-connections/36718 "2022-06-13T22:50:49Z")

</div>

I am having a problem running WinRM connections with both basic and kerberos auth. My Ansible is deployed with RedHat AAP 4.2.0 on RHEL 9. I setup a test Windows 2019 machine and ran the ConfigureRemotingForAnsible.ps1…

---

## [Naming convention for remote user](https://forum.ansible.com/t/naming-convention-for-remote-user/36716)

<div class="topic-metadata">

**Author:** [@Noah\_Walden](https://forum.ansible.com/u/Noah_Walden)\
**Replies:** 3\
**Last updated:** [June 13, 2022, 6:56pm UTC](https://forum.ansible.com/t/naming-convention-for-remote-user/36716 "2022-06-13T18:56:23Z")

</div>

Hi all, Is there a standard username and/or UID people tend to attach to the user ansible-playbook authenticates as on the remote host? We’d like to start creating a system user with sudo privileges on all hosts that An…

---

## [Get a list of ansible hosts](https://forum.ansible.com/t/get-a-list-of-ansible-hosts/36727)

<div class="topic-metadata">

**Author:** [@Tobi](https://forum.ansible.com/u/Tobi)\
**Replies:** 2\
**Last updated:** [June 13, 2022, 6:55pm UTC](https://forum.ansible.com/t/get-a-list-of-ansible-hosts/36727 "2022-06-13T18:55:41Z")

</div>

Hello everyone! I’m new here and also quiet new to ansible as well :slight\_smile: I will try to summarize: The goal: I wanna get a list of ansible hosts (could be made out of the ansible inv e.g.) and each element sh…

---

## [How to escape single quotes in ansible assertions?](https://forum.ansible.com/t/how-to-escape-single-quotes-in-ansible-assertions/36712)

<div class="topic-metadata">

**Author:** [@Neil\_Young](https://forum.ansible.com/u/Neil_Young)\
**Replies:** 6\
**Last updated:** [June 13, 2022, 6:53pm UTC](https://forum.ansible.com/t/how-to-escape-single-quotes-in-ansible-assertions/36712 "2022-06-13T18:53:09Z")

</div>

I need to check this console output: Kurento Media Server version: 6.16.0 Found modules: ‘core’ version 6.16.0 ‘elements’ version 6.16.0 ‘filters’ version 6.16.0 This assertion works: name: KURENTO-MEDIA-SERVER -…

---

## [.htaccess file for noindex](https://forum.ansible.com/t/htaccess-file-for-noindex/36728)

<div class="topic-metadata">

**Author:** [@xbldev](https://forum.ansible.com/u/xbldev)\
**Replies:** 1\
**Last updated:** [June 13, 2022, 4:17pm UTC](https://forum.ansible.com/t/htaccess-file-for-noindex/36728 "2022-06-13T16:17:32Z")

</div>

Hi All New to Ansible/Haproxy, need some help. I currently have my robots.txt on AWS S3 and have a backend that uses it: http-request set-path {{ robots\_url }} I also want to setup a htaccess file in a similar way if…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/36719)

<div class="topic-metadata">

**Author:** [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Replies:** 8\
**Last updated:** [June 13, 2022, 12:51pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/36719 "2022-06-13T12:51:25Z")

</div>

Hi team, I’m facing “Source /home/yum.repos.d not found” error while running playbook … my playbook view like this … please help out.

---

## [Passing set fact value to ami copy](https://forum.ansible.com/t/passing-set-fact-value-to-ami-copy/36726)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 1\
**Last updated:** [June 13, 2022, 11:39am UTC](https://forum.ansible.com/t/passing-set-fact-value-to-ami-copy/36726 "2022-06-13T11:39:53Z")

</div>

I don’t see a sort parameter documented for community.aws.ec2\_ami\_copy. What do you hope to accomplish by passing it a date and calling it sort?

---

## [Passing set fact value to ami copy](https://forum.ansible.com/t/passing-set-fact-value-to-ami-copy/36725)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 1\
**Last updated:** [June 13, 2022, 11:20am UTC](https://forum.ansible.com/t/passing-set-fact-value-to-ami-copy/36725 "2022-06-13T11:20:50Z")

</div>

You haven’t said what the problem is, or shown any results, neither correct nor errors. You have described what your three tasks are supposed to do, but with no indication as to which of those tasks are failing or why. W…

---

## [Howto teach my awx minikube cluster about my internal DNS resolvers at deployment time?](https://forum.ansible.com/t/howto-teach-my-awx-minikube-cluster-about-my-internal-dns-resolvers-at-deployment-time/36724)

<div class="topic-metadata">

**Author:** [@Urs\_Rau](https://forum.ansible.com/u/Urs_Rau)\
**Replies:** 1\
**Last updated:** [June 13, 2022, 10:45am UTC](https://forum.ansible.com/t/howto-teach-my-awx-minikube-cluster-about-my-internal-dns-resolvers-at-deployment-time/36724 "2022-06-13T10:45:10Z")

</div>

I am using the new operator (v 0.22.0) method to deploy awx 21.1.0 into a test minikuke Kubernetes cluster using the basic install as documented in https://github.com/ansible/awx-operator#basic-install How or where to …

---

## [Howto teach my awx minikube cluster about my internal DNS resolvers at deployment time?](https://forum.ansible.com/t/howto-teach-my-awx-minikube-cluster-about-my-internal-dns-resolvers-at-deployment-time/36720)

<div class="topic-metadata">

**Author:** [@Urs\_Rau](https://forum.ansible.com/u/Urs_Rau)\
**Replies:** 0\
**Last updated:** [June 13, 2022, 10:16am UTC](https://forum.ansible.com/t/howto-teach-my-awx-minikube-cluster-about-my-internal-dns-resolvers-at-deployment-time/36720 "2022-06-13T10:16:29Z")

</div>

I am using the new operator (v 0.22.0) method to deploy awx 21.1.0 into a test minikuke Kubernetes cluster using the basic install as documented in https://github.com/ansible/awx-operator#basic-install How or where to …

---

## [Running Ansible playbook using AWS Systems Manager (skipping: no hosts matched)](https://forum.ansible.com/t/running-ansible-playbook-using-aws-systems-manager-skipping-no-hosts-matched/36702)

<div class="topic-metadata">

**Author:** [@Prasanth\_S\_Nair](https://forum.ansible.com/u/Prasanth_S_Nair)\
**Replies:** 8\
**Last updated:** [June 13, 2022, 9:07am UTC](https://forum.ansible.com/t/running-ansible-playbook-using-aws-systems-manager-skipping-no-hosts-matched/36702 "2022-06-13T09:07:59Z")

</div>

Hi All, I’m not sure this is the right place to ask this question. I’m trying to run an ansible playbook from Github using AWS Systems Manager. My repo has a hosts (ini format) file as shown below: \[dev\] server.exampl…

---

## [Is Anyone Here Using Ansible with Cisco ACI on a Daily Basis?](https://forum.ansible.com/t/is-anyone-here-using-ansible-with-cisco-aci-on-a-daily-basis/36717)

<div class="topic-metadata">

**Author:** [@JohnT\_252](https://forum.ansible.com/u/JohnT_252)\
**Replies:** 0\
**Last updated:** [June 10, 2022, 10:00pm UTC](https://forum.ansible.com/t/is-anyone-here-using-ansible-with-cisco-aci-on-a-daily-basis/36717 "2022-06-10T22:00:26Z")

</div>

Is Anyone Here Using Ansible with Cisco ACI on a Daily Basis? I would like to collaborate with you and exchange ideas and playbooks. Regards, John…

---

## [ERROR! included task files must contain a list of tasks](https://forum.ansible.com/t/error-included-task-files-must-contain-a-list-of-tasks/36705)

<div class="topic-metadata">

**Author:** [@Yanga\_Zukelwa](https://forum.ansible.com/u/Yanga_Zukelwa)\
**Replies:** 2\
**Last updated:** [June 10, 2022, 3:16pm UTC](https://forum.ansible.com/t/error-included-task-files-must-contain-a-list-of-tasks/36705 "2022-06-10T15:16:26Z")

</div>

Morning - I’m currently running a test on the suing variable with the file. I’ve made my set-up for the playbook using galaxy-init Can someone help explain the error below? ERROR! included task files must contain a li…

---

## [vmware\_guest\_network - removing NIC - task completes but does not remove NIC](https://forum.ansible.com/t/vmware-guest-network-removing-nic-task-completes-but-does-not-remove-nic/36714)

<div class="topic-metadata">

**Author:** [@Jorge\_Rua1](https://forum.ansible.com/u/Jorge_Rua1)\
**Replies:** 0\
**Last updated:** [June 10, 2022, 2:59pm UTC](https://forum.ansible.com/t/vmware-guest-network-removing-nic-task-completes-but-does-not-remove-nic/36714 "2022-06-10T14:59:23Z")

</div>

I’d encourage you to this the other way around. First of all not sure why the ova is still using e1000 but that’s a separate issue. I’d say to modify your ova and reupload it with the vmxnet3 adapter already set up. And…

---

## [perl and perl package install??](https://forum.ansible.com/t/perl-and-perl-package-install/36713)

<div class="topic-metadata">

**Author:** [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Replies:** 1\
**Last updated:** [June 10, 2022, 12:38pm UTC](https://forum.ansible.com/t/perl-and-perl-package-install/36713 "2022-06-10T12:38:47Z")

</div>

Hii all… my playbook view like this…

---

## [Ansible  - KAFKA Integration](https://forum.ansible.com/t/ansible-kafka-integration/36707)

<div class="topic-metadata">

**Author:** [@Madhan\_Sagadevan](https://forum.ansible.com/u/Madhan_Sagadevan)\
**Replies:** 3\
**Last updated:** [June 10, 2022, 11:10am UTC](https://forum.ansible.com/t/ansible-kafka-integration/36707 "2022-06-10T11:10:12Z")

</div>

Hello, I understand we can install/deploy KAFKA using Ansible (Playbook). I am not sure if Ansible can be used as a PULL mechanism for fetching KAFKA (Consumer) Topic on quick interval like every 15 mins. Thanks, Madh…

---

## [LDAP setup??](https://forum.ansible.com/t/ldap-setup/36704)

<div class="topic-metadata">

**Author:** [@Shivakumar\_Venkatasw](https://forum.ansible.com/u/Shivakumar_Venkatasw)\
**Replies:** 6\
**Last updated:** [June 10, 2022, 5:22am UTC](https://forum.ansible.com/t/ldap-setup/36704 "2022-06-10T05:22:00Z")

</div>

Hi all, Any one can share the playbook for which are details mentioned below. Step1: yum -y install openldap-clients nss-pam-ldapd Step2: Execute below command authconfig --enableldap –enableldapauth –ldapserver=p…

---

## [Unexpected behaviour of "git" plugin](https://forum.ansible.com/t/unexpected-behaviour-of-git-plugin/36711)

<div class="topic-metadata">

**Author:** [@Neil\_Young](https://forum.ansible.com/u/Neil_Young)\
**Replies:** 3\
**Last updated:** [June 9, 2022, 8:55pm UTC](https://forum.ansible.com/t/unexpected-behaviour-of-git-plugin/36711 "2022-06-09T20:55:26Z")

</div>

I’m noticing a strange issue with the git plugin while attempting to checkout a special tag of that project. Doing the same for about 20 subprojects of the same project works fine. Also doing equivalent orders at conso…

---

## [Windows Update script fails](https://forum.ansible.com/t/windows-update-script-fails/36709)

<div class="topic-metadata">

**Author:** [@Stephen\_Hollyoak](https://forum.ansible.com/u/Stephen_Hollyoak)\
**Replies:** 1\
**Last updated:** [June 9, 2022, 4:36pm UTC](https://forum.ansible.com/t/windows-update-script-fails/36709 "2022-06-09T16:36:05Z")

</div>

I have a script which installs windows updates, but the script fails if there are no updates to be installed. Is there a way that the script can check to see if updates are needed and it not then just do nothing and the…

---

## [\[WARNING\]: The "winrm" connection plugin has an improperly configured remote target value, forcing "inventory\_hostname" templated value instead of the string](https://forum.ansible.com/t/warning-the-winrm-connection-plugin-has-an-improperly-configured-remote-target-value-forcing-inventory-hostname-templated-value-instead-of-the-string/36710)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 3\
**Last updated:** [June 9, 2022, 4:01pm UTC](https://forum.ansible.com/t/warning-the-winrm-connection-plugin-has-an-improperly-configured-remote-target-value-forcing-inventory-hostname-templated-value-instead-of-the-string/36710 "2022-06-09T16:01:37Z")

</div>

Upgraded from ansible-5.6 to ansible-5.9, along with all the package dependency that ansible-5.9 requires. Now all my windows playbooks throw this warning. \[WARNING\]: The “winrm” connection plugin has an improperly con…

---

## [Roles not found when executing include\_role within a "ansible-test integration" execution](https://forum.ansible.com/t/roles-not-found-when-executing-include-role-within-a-ansible-test-integration-execution/36708)

<div class="topic-metadata">

**Author:** [@Tom\_Bartsch](https://forum.ansible.com/u/Tom_Bartsch)\
**Replies:** 0\
**Last updated:** [June 9, 2022, 2:03pm UTC](https://forum.ansible.com/t/roles-not-found-when-executing-include-role-within-a-ansible-test-integration-execution/36708 "2022-06-09T14:03:54Z")

</div>

Hi there, I tried to start a integration test for my collection with “ansible-test integration”. Within the main.yml of my tests/integration/targets/logrotate\_test/tasks/ directory I use this ansible task: - name: Prep…

---

## [Custom linting settings for ansible-test sanity](https://forum.ansible.com/t/custom-linting-settings-for-ansible-test-sanity/36706)

<div class="topic-metadata">

**Author:** [@Tom\_Bartsch](https://forum.ansible.com/u/Tom_Bartsch)\
**Replies:** 0\
**Last updated:** [June 9, 2022, 11:39am UTC](https://forum.ansible.com/t/custom-linting-settings-for-ansible-test-sanity/36706 "2022-06-09T11:39:23Z")

</div>

Hi there, I started to use ansible-test sanity for testing my ansible code. I know I am able to ignore some of these tests for some parts of my ansible collection with a ignore.txt file within my tests/sanity directory. …

---

## [Ansible 6.0.0rc1 (including ansible-core 2.13) is available for testing!](https://forum.ansible.com/t/ansible-6-0-0rc1-including-ansible-core-2-13-is-available-for-testing/36698)

<div class="topic-metadata">

**Author:** [@Ompragash](https://forum.ansible.com/u/Ompragash)\
**Replies:** 1\
**Last updated:** [June 9, 2022, 4:41am UTC](https://forum.ansible.com/t/ansible-6-0-0rc1-including-ansible-core-2-13-is-available-for-testing/36698 "2022-06-09T04:41:50Z")

</div>

Hi all, We’re happy to announce that the first release candidate of Ansible 6.0.0 is now available for testing! Ansible 6.0.0rc1 will include ansible-core 2.13 as well as a curated set of Ansible collections to provi…

---

## [Using wsman in a proxy environment](https://forum.ansible.com/t/using-wsman-in-a-proxy-environment/36703)

<div class="topic-metadata">

**Author:** [@Adam\_Barnett](https://forum.ansible.com/u/Adam_Barnett)\
**Replies:** 2\
**Last updated:** [June 8, 2022, 8:24pm UTC](https://forum.ansible.com/t/using-wsman-in-a-proxy-environment/36703 "2022-06-08T20:24:44Z")

</div>

Hi All, we are running ansible on our network and have just deployed a proxy as we needed to cut off direct internet access. when trying to run a playbook that calls wsman i get this error fatal: \[10.22.0.109\]: UNREACH…

---

## [Ansible Ad-Hoc command - raw module not working on Cisco IOS devices](https://forum.ansible.com/t/ansible-ad-hoc-command-raw-module-not-working-on-cisco-ios-devices/36689)

<div class="topic-metadata">

**Author:** [@Abdellah\_Chadid](https://forum.ansible.com/u/Abdellah_Chadid)\
**Replies:** 3\
**Last updated:** [June 8, 2022, 5:01pm UTC](https://forum.ansible.com/t/ansible-ad-hoc-command-raw-module-not-working-on-cisco-ios-devices/36689 "2022-06-08T17:01:57Z")

</div>

trying to use Ad Hoc commands on both my Cisco ios Router and Switch with the -m raw Module. But getting the following error instead. $ansible -i inventory\_file02.ini netgrp -m raw -a “show version” -u abdo -K Error===…

---

## [Change files permissions with loop](https://forum.ansible.com/t/change-files-permissions-with-loop/34383)

<div class="topic-metadata">

**Author:** [@Thuan1](https://forum.ansible.com/u/Thuan1)\
**Replies:** 6\
**Last updated:** [June 7, 2022, 9:25pm UTC](https://forum.ansible.com/t/change-files-permissions-with-loop/34383 "2022-06-07T21:25:31Z")

</div>

Hi all, My playbook is working for single files but not for directories. It doesn’t check the folders permissions recursively.

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

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