# Ansible Project

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

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

**Page:** 38

---

## [Ansible 6.3.0 has been Released!](https://forum.ansible.com/t/ansible-6-3-0-has-been-released/37028)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 1\
**Last updated:** [August 24, 2022, 12:28pm UTC](https://forum.ansible.com/t/ansible-6-3-0-has-been-released/37028 "2022-08-24T12:28:43Z")

</div>

Hi all, We’re happy to announce that the Ansible 6.3.0 package has been released! Ansible 6.3.0 will include ansible-core 2.13.3 as well as a curated set of Ansible collections to provide a vast number of modules and …

---

## [Automated Server Provisioning with ServiceNow and Ansible Tower](https://forum.ansible.com/t/automated-server-provisioning-with-servicenow-and-ansible-tower/37032)

<div class="topic-metadata">

**Author:** [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Replies:** 3\
**Last updated:** [August 24, 2022, 12:12pm UTC](https://forum.ansible.com/t/automated-server-provisioning-with-servicenow-and-ansible-tower/37032 "2022-08-24T12:12:17Z")

</div>

At NIST we developed a pretty nice server provisioning service. It provisions Windows and Linux machines, and it provisions to VMware and AWS. I've been asked by Red Hat if I would be interested in presenting at AnsibleF…

---

## [Undefined variable](https://forum.ansible.com/t/undefined-variable/37014)

<div class="topic-metadata">

**Author:** [@Carm](https://forum.ansible.com/u/Carm)\
**Replies:** 11\
**Last updated:** [August 23, 2022, 8:25pm UTC](https://forum.ansible.com/t/undefined-variable/37014 "2022-08-23T20:25:32Z")

</div>

Can anyone shed some light into this? I’m using the aws\_ec2 plugin I can launch an ec2 instance successfully and run commands post launch My issue comes in when I reference the {{ tags\[‘Name’\] }} to pull from AWS tag …

---

## [How to nested loop with list](https://forum.ansible.com/t/how-to-nested-loop-with-list/37025)

<div class="topic-metadata">

**Author:** [@Jin\_M](https://forum.ansible.com/u/Jin_M)\
**Replies:** 0\
**Last updated:** [August 23, 2022, 6:21pm UTC](https://forum.ansible.com/t/how-to-nested-loop-with-list/37025 "2022-08-23T18:21:11Z")

</div>

I am looking for a solution to handle something like this: roles: role1 role2 configuration: role: role1: domain: “\*” limit\_type: hard limit\_item: nproc value: 40960 domain: “\*” limit\_type: soft limit\_it…

---

## [Ansible vmware playbooks](https://forum.ansible.com/t/ansible-vmware-playbooks/36888)

<div class="topic-metadata">

**Author:** [@TheReal\_MVP](https://forum.ansible.com/u/TheReal_MVP)\
**Replies:** 2\
**Last updated:** [August 23, 2022, 2:37pm UTC](https://forum.ansible.com/t/ansible-vmware-playbooks/36888 "2022-08-23T14:37:57Z")

</div>

Hi there, In a playbook, what is the different between host all and host localhost? I have a playbook that simply won’t perform the tasks and i suspect this setting might be what’s wrong. Thanks!

---

## [I am curious about ~/.ansible vs ~/ansible - why was that done?](https://forum.ansible.com/t/i-am-curious-about-ansible-vs-ansible-why-was-that-done/37021)

<div class="topic-metadata">

**Author:** [@Jeff\_Silverman](https://forum.ansible.com/u/Jeff_Silverman)\
**Replies:** 2\
**Last updated:** [August 23, 2022, 9:22am UTC](https://forum.ansible.com/t/i-am-curious-about-ansible-vs-ansible-why-was-that-done/37021 "2022-08-23T09:22:31Z")

</div>

In Storing and finding roles and elsewhere, it says that one of the places ansible looks for .yml files is ~/.ansible/roles . Why .ansible, which is hidden, and not ansible, which is not hidden? Of course, I can change i…

---

## [finding a specific port on a list of servers](https://forum.ansible.com/t/finding-a-specific-port-on-a-list-of-servers/37015)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 4\
**Last updated:** [August 22, 2022, 11:19am UTC](https://forum.ansible.com/t/finding-a-specific-port-on-a-list-of-servers/37015 "2022-08-22T11:19:27Z")

</div>

HI, I have a list of servers that only part of them are running port 9090. I need to create two tasks, each should loop the server’s hostnames. the first task should define inside a register the first server hostname t…

---

## [Default function treating variable as a string.](https://forum.ansible.com/t/default-function-treating-variable-as-a-string/37010)

<div class="topic-metadata">

**Author:** [@farrukh\_ahmed](https://forum.ansible.com/u/farrukh_ahmed)\
**Replies:** 5\
**Last updated:** [August 22, 2022, 7:04am UTC](https://forum.ansible.com/t/default-function-treating-variable-as-a-string/37010 "2022-08-22T07:04:02Z")

</div>

Hello Team, Hope you all are doing well. Here is a case: Templates/php\_app.conf.j2 ;# MANAGED BLOCK ### php\_admin\_flag\[display\_errors\] = {{server\_config.display\_errors}} php\_admin\_value\[error\_log\] = {{ server\_config…

---

## [Updating CentOS Linux release 7.9.2009 (Core) using yum module](https://forum.ansible.com/t/updating-centos-linux-release-7-9-2009-core-using-yum-module/37017)

<div class="topic-metadata">

**Author:** [@Kaushal\_Shriyan](https://forum.ansible.com/u/Kaushal_Shriyan)\
**Replies:** 2\
**Last updated:** [August 21, 2022, 8:38am UTC](https://forum.ansible.com/t/updating-centos-linux-release-7-9-2009-core-using-yum-module/37017 "2022-08-21T08:38:40Z")

</div>

Hi, I am facing the below issue while updating CentOS Linux release 7.9.2009 (Core) ➜ ~ cat /Users/kaushal/hosts \[yum\] 192.168.0.112 ansible\_ssh\_user=root ➜ ~ cat pkg\_update.yml

---

## [Ansible roles in ec2 machine creation and Code Deployement](https://forum.ansible.com/t/ansible-roles-in-ec2-machine-creation-and-code-deployement/37016)

<div class="topic-metadata">

**Author:** [@Jay\_Jain](https://forum.ansible.com/u/Jay_Jain)\
**Replies:** 0\
**Last updated:** [August 20, 2022, 8:01pm UTC](https://forum.ansible.com/t/ansible-roles-in-ec2-machine-creation-and-code-deployement/37016 "2022-08-20T20:01:58Z")

</div>

I am working on a use case where I am creating ec2 machine and then deploying code on that machine . I have monolith playbook for the same (all tasks in same playbook) I am looking for a case where I create roles for e…

---

## [keycloak\_client\_rolemapping does nothing?](https://forum.ansible.com/t/keycloak-client-rolemapping-does-nothing/37012)

<div class="topic-metadata">

**Author:** [@M\_Foster](https://forum.ansible.com/u/M_Foster)\
**Replies:** 3\
**Last updated:** [August 19, 2022, 8:27pm UTC](https://forum.ansible.com/t/keycloak-client-rolemapping-does-nothing/37012 "2022-08-19T20:27:53Z")

</div>

I’m trying to map client roles to Keycloak groups using the keycloak\_client\_rolemapping module, but everytime I run it even with the simplest config it returns the following: “end\_state”: {}, “msg”: "Nothing to do, rol…

---

## [I need assistance with vars, lists, and apt](https://forum.ansible.com/t/i-need-assistance-with-vars-lists-and-apt/37011)

<div class="topic-metadata">

**Author:** [@Kevin\_Shumaker](https://forum.ansible.com/u/Kevin_Shumaker)\
**Replies:** 6\
**Last updated:** [August 19, 2022, 3:29pm UTC](https://forum.ansible.com/t/i-need-assistance-with-vars-lists-and-apt/37011 "2022-08-19T15:29:38Z")

</div>

New user of ansible. I’ve tried several playbooks to use as templates. My goal is to create a vars.yml with the following: = = = = =

---

## [sshpass: Failed to set controlling terminal in child (TIOCSCTTY)](https://forum.ansible.com/t/sshpass-failed-to-set-controlling-terminal-in-child-tiocsctty/37009)

<div class="topic-metadata">

**Author:** [@Matt\_Page](https://forum.ansible.com/u/Matt_Page)\
**Replies:** 0\
**Last updated:** [August 19, 2022, 10:38am UTC](https://forum.ansible.com/t/sshpass-failed-to-set-controlling-terminal-in-child-tiocsctty/37009 "2022-08-19T10:38:38Z")

</div>

I’m getting somewhat frustrated with this, I’ve all of a sudden started getting the below error on several servers, other servers do not have the issue (they are all running the same package versions/kernel). sshpass: F…

---

## [Error- When Condition](https://forum.ansible.com/t/error-when-condition/36982)

<div class="topic-metadata">

**Author:** [@farrukh\_ahmed](https://forum.ansible.com/u/farrukh_ahmed)\
**Replies:** 14\
**Last updated:** [August 19, 2022, 8:16am UTC](https://forum.ansible.com/t/error-when-condition/36982 "2022-08-19T08:16:00Z")

</div>

Hello Team, Hope you all are doing well. Here is my case: Tasks \> remove.yml - name: "Check if any job is running" shell: | supervisorctl status "{{ job\_name }}:\*" register: job\_check - debug: msg: "{{ j…

---

## [\[ Ansible-Fortinet\] Fortinet issue with ansible](https://forum.ansible.com/t/ansible-fortinet-fortinet-issue-with-ansible/37005)

<div class="topic-metadata">

**Author:** [@ibrahim\_camara](https://forum.ansible.com/u/ibrahim_camara)\
**Replies:** 1\
**Last updated:** [August 18, 2022, 6:49pm UTC](https://forum.ansible.com/t/ansible-fortinet-fortinet-issue-with-ansible/37005 "2022-08-18T18:49:04Z")

</div>

Hello, I need help with an ansible deployment I would like to create a user account (admin) on fortinet. but when I play the playbook I have an error that I can’t debug if someone in the group has already encountered t…

---

## [Dynamic/complex inventory - Specific reboot order](https://forum.ansible.com/t/dynamic-complex-inventory-specific-reboot-order/37001)

<div class="topic-metadata">

**Author:** [@Black\_Patrick\_Nashvi](https://forum.ansible.com/u/Black_Patrick_Nashvi)\
**Replies:** 10\
**Last updated:** [August 18, 2022, 6:16pm UTC](https://forum.ansible.com/t/dynamic-complex-inventory-specific-reboot-order/37001 "2022-08-18T18:16:42Z")

</div>

So this is a pretty specific case but I am pretty lost on the best way to approach it. Hopefully the hive mind can give me some guidance here. I work for an MSP and each customer has specific reboot order requirements d…

---

## [Understanding block and rescue](https://forum.ansible.com/t/understanding-block-and-rescue/37004)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 2\
**Last updated:** [August 18, 2022, 6:05pm UTC](https://forum.ansible.com/t/understanding-block-and-rescue/37004 "2022-08-18T18:05:55Z")

</div>

Hi, sorry for my english, i still learning. I need to understand, how its works the blocks and rescue mode in ansible. I create a playbook similar like this: name: “status systemd-resolved” shell: cmd: | systemct…

---

## [CronJobs - Azure Pipelines](https://forum.ansible.com/t/cronjobs-azure-pipelines/37003)

<div class="topic-metadata">

**Author:** [@madan\_gopal](https://forum.ansible.com/u/madan_gopal)\
**Replies:** 1\
**Last updated:** [August 18, 2022, 12:47pm UTC](https://forum.ansible.com/t/cronjobs-azure-pipelines/37003 "2022-08-18T12:47:37Z")

</div>

Hi Team, I need your assistance to configure a pipeline in Azure, I have a YAML cronjob running inside the Azure pipeline to schedule triggers at regular intervals, everything is working fine till now. But, I found an …

---

## [EVAL OF Variable](https://forum.ansible.com/t/eval-of-variable/36997)

<div class="topic-metadata">

**Author:** [@Michael\_Burch](https://forum.ansible.com/u/Michael_Burch)\
**Replies:** 2\
**Last updated:** [August 17, 2022, 6:54pm UTC](https://forum.ansible.com/t/eval-of-variable/36997 "2022-08-17T18:54:14Z")

</div>

Good afternoon Group. Any help is appreciated. I have a survey that collects the name of a project (project\_name). Lets call it SKILL I have variables set in the playbook for all the projects to save their USER and Pas…

---

## [Ansible Kerboros authentication](https://forum.ansible.com/t/ansible-kerboros-authentication/36994)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 10\
**Last updated:** [August 17, 2022, 2:05pm UTC](https://forum.ansible.com/t/ansible-kerboros-authentication/36994 "2022-08-17T14:05:31Z")

</div>

Our ansible box isnt domain joined, and we build alot of VMs from a template, that has an account part of the image, that is local admin. I was reading more into kerboros authentication, and setup my var file as this: \[…

---

## [Setup vcloud director](https://forum.ansible.com/t/setup-vcloud-director/36989)

<div class="topic-metadata">

**Author:** [@Vichu1](https://forum.ansible.com/u/Vichu1)\
**Replies:** 6\
**Last updated:** [August 17, 2022, 1:44am UTC](https://forum.ansible.com/t/setup-vcloud-director/36989 "2022-08-17T01:44:08Z")

</div>

Hello there, Has anyone configured vcloud director using ansible api module? The requirements are here, Deploy vcloud OVA - Done Setup a NFS transfer storage and db password using URL http://:5480/setup – How do we ac…

---

## [New releases: ansible-core 2.13.3, ansible-core 2.12.8](https://forum.ansible.com/t/new-releases-ansible-core-2-13-3-ansible-core-2-12-8/36993)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [August 16, 2022, 12:57pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-13-3-ansible-core-2-12-8/36993 "2022-08-16T12:57:44Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.13.3 ansible-core 2.12.8 How to get it

---

## [Ansible Inventory Issue: $PWD appended ahead of inventory file](https://forum.ansible.com/t/ansible-inventory-issue-pwd-appended-ahead-of-inventory-file/36980)

<div class="topic-metadata">

**Author:** [@Justin\_Nelson](https://forum.ansible.com/u/Justin_Nelson)\
**Replies:** 3\
**Last updated:** [August 15, 2022, 12:11pm UTC](https://forum.ansible.com/t/ansible-inventory-issue-pwd-appended-ahead-of-inventory-file/36980 "2022-08-15T12:11:55Z")

</div>

I’ve got a very odd issue with my Ansible inventory that has just started and I cannot find the culprit. This script is one that we’ve run for years. It collects some data from the user and then runs the ansible playbook…

---

## [Work around needed for possible bug.](https://forum.ansible.com/t/work-around-needed-for-possible-bug/36986)

<div class="topic-metadata">

**Author:** [@HobsonI](https://forum.ansible.com/u/HobsonI)\
**Replies:** 3\
**Last updated:** [August 15, 2022, 12:08pm UTC](https://forum.ansible.com/t/work-around-needed-for-possible-bug/36986 "2022-08-15T12:08:27Z")

</div>

Hi, I have a playbook, with a task that reads: # set up ssh access to bitbucket - name: setup access to bitbucket import\_role: name: bitbucketSetup creates: /home/ian/.ssh/id\_rsa.pub # so skipped if exe…

---

## [conditional error in playbook](https://forum.ansible.com/t/conditional-error-in-playbook/36983)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 6\
**Last updated:** [August 12, 2022, 6:36pm UTC](https://forum.ansible.com/t/conditional-error-in-playbook/36983 "2022-08-12T18:36:13Z")

</div>

Hi, i create a playbook to remove a yum package:

---

## [fetching VMs Info via Anisble](https://forum.ansible.com/t/fetching-vms-info-via-anisble/36981)

<div class="topic-metadata">

**Author:** [@karun\_pruthi](https://forum.ansible.com/u/karun_pruthi)\
**Replies:** 2\
**Last updated:** [August 12, 2022, 6:03pm UTC](https://forum.ansible.com/t/fetching-vms-info-via-anisble/36981 "2022-08-12T18:03:32Z")

</div>

Hi Team I am trying to fetch different VMs info using vminfo module nd my Yaml looks like below: ===============playbook yaml============= hosts: Web gather\_facts: false become: false vars: vcenter\_hostname: x.x…

---

## [AWX Azure AZ team and organization map](https://forum.ansible.com/t/awx-azure-az-team-and-organization-map/36978)

<div class="topic-metadata">

**Author:** [@OM\_Nachiketa](https://forum.ansible.com/u/OM_Nachiketa)\
**Replies:** 1\
**Last updated:** [August 12, 2022, 4:43am UTC](https://forum.ansible.com/t/awx-azure-az-team-and-organization-map/36978 "2022-08-12T04:43:24Z")

</div>

Hi all, I am trying to figure out how to use Azure AD for auth with awx. could anyone share a sample team and organization map. I am a bit confused following these links: https://docs.ansible.com/ansible-tower/3.1.3/h…

---

## [Unarchive module](https://forum.ansible.com/t/unarchive-module/36941)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 4\
**Last updated:** [August 12, 2022, 3:54am UTC](https://forum.ansible.com/t/unarchive-module/36941 "2022-08-12T03:54:09Z")

</div>

Hi Team, below code failing. Any help would be appreciated name: unarchive the patch unarchive: src: \*\*\*\*\*\*\*\*\*\*\* dest: \*\*\*\*\*\*\*\*\*\* remote\_src: yes zip file is 1.5 gb error is msg: “fail to connect host to host vi…

---

## [json stdout](https://forum.ansible.com/t/json-stdout/36976)

<div class="topic-metadata">

**Author:** [@mdidomenico](https://forum.ansible.com/u/mdidomenico)\
**Replies:** 1\
**Last updated:** [August 11, 2022, 6:27pm UTC](https://forum.ansible.com/t/json-stdout/36976 "2022-08-11T18:27:44Z")

</div>

i'm working with the json callback, specifically it's use with ANSIBLE\_STDOUT\_CALLBACK. it's logging all it's output to json, so that's great, but it also includes all the gathering facts play data play as well. is …

---

## [In a pickle...](https://forum.ansible.com/t/in-a-pickle/36970)

<div class="topic-metadata">

**Author:** [@chrisjx](https://forum.ansible.com/u/chrisjx)\
**Replies:** 7\
**Last updated:** [August 10, 2022, 11:22pm UTC](https://forum.ansible.com/t/in-a-pickle/36970 "2022-08-10T23:22:56Z")

</div>

The error message: ERROR! Unexpected Exception, this is probably a bug: cannot pickle ‘module’ object I was accessing a new collection, icinga.icinga, and it complained so I decided to update… huge mistake. Now I can’t…

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

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