# Latest

**URL:** https://forum.ansible.com/latest.md?page=351

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

**Page:** 352

---

## [hostvars\[inventory\_hostname\]\[ansible\_facts\] when host unreachable?](https://forum.ansible.com/t/hostvars-inventory-hostname-ansible-facts-when-host-unreachable/33667)

<div class="topic-metadata">

**Author:** [@Trammael](https://forum.ansible.com/u/Trammael)\
**Replies:** 1\
**Last updated:** [August 25, 2020, 11:05am UTC](https://forum.ansible.com/t/hostvars-inventory-hostname-ansible-facts-when-host-unreachable/33667 "2020-08-25T11:05:17Z")

</div>

I’ve been trying to loop on a fact for all hosts (‘distribution’) and encountered an error to the effect of ‘dict is undefined’ . It took a while to realize that ‘ansible\_facts:’ exists but is unpopulated on unreachable …

---

## [Issue with 2019 server and Ansible](https://forum.ansible.com/t/issue-with-2019-server-and-ansible/33666)

<div class="topic-metadata">

**Author:** [@George\_E](https://forum.ansible.com/u/George_E)\
**Replies:** 2\
**Last updated:** [August 24, 2020, 5:51pm UTC](https://forum.ansible.com/t/issue-with-2019-server-and-ansible/33666 "2020-08-24T17:51:22Z")

</div>

We have: Tower 3.6.4 Ansible 2.9.6 Server is 2019, time is correct, getting this error: • Server: xxxxxxxx {‘msg’: u’kerberos: HTTPSConnectionPool(host='xxxxxxl', port=5986): Max retries exceeded with url: /wsman (Ca…

---

## [Configuration file does not specify default realm](https://forum.ansible.com/t/configuration-file-does-not-specify-default-realm/33665)

<div class="topic-metadata">

**Author:** [@Marian\_Danisek](https://forum.ansible.com/u/Marian_Danisek)\
**Replies:** 0\
**Last updated:** [August 24, 2020, 1:00pm UTC](https://forum.ansible.com/t/configuration-file-does-not-specify-default-realm/33665 "2020-08-24T13:00:02Z")

</div>

Hello, I’m using ansible for managing Windows server in AD environment by winrm. From command every think work fine : \[win\] srv01.domain.com srv02.domain.com \[win:vars\] ansible\_user=admusr@DOMAIN.COM ansible\_passw…

---

## [correct csv format](https://forum.ansible.com/t/correct-csv-format/33664)

<div class="topic-metadata">

**Author:** [@vbotka](https://forum.ansible.com/u/vbotka)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 11:01am UTC](https://forum.ansible.com/t/correct-csv-format/33664 "2020-08-24T11:01:26Z")

</div>

server1 server2 server3 PermitEmptyPasswords no PermitEmptyPasswords no PermitEmptyPasswords no Found Not Found Not Found \*But I want output in this format-:\* server1, PermitEmptyPasswords no , Found serv…

---

## [New Ansible releases 2.9.12 and 2.8.14](https://forum.ansible.com/t/new-ansible-releases-2-9-12-and-2-8-14/33580)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 6\
**Last updated:** [August 24, 2020, 10:32am UTC](https://forum.ansible.com/t/new-ansible-releases-2-9-12-and-2-8-14/33580 "2020-08-24T10:32:39Z")

</div>

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

---

## [correct csv format](https://forum.ansible.com/t/correct-csv-format/33662)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 0\
**Last updated:** [August 24, 2020, 9:22am UTC](https://forum.ansible.com/t/correct-csv-format/33662 "2020-08-24T09:22:31Z")

</div>

Hullo Monica I’m not sure, but I seem to remember there is a CSV filter of some sort in Ansible, you could try looking for that. Without knowing the format of the input you are using, it’s hard to advise, but one optio…

---

## [GIT configuration using ansible](https://forum.ansible.com/t/git-configuration-using-ansible/33661)

<div class="topic-metadata">

**Author:** [@surabhy\_vaishakh](https://forum.ansible.com/u/surabhy_vaishakh)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 6:17am UTC](https://forum.ansible.com/t/git-configuration-using-ansible/33661 "2020-08-24T06:17:06Z")

</div>

Hello Team, I want to install git using ansible and try to configure using below commands. git config --global user.name “Your Name” (Choose a proper name. Eg: surabhy.mr) git config --global user.email “surabhymr@gma…

---

## [skip role if condition are not meet](https://forum.ansible.com/t/skip-role-if-condition-are-not-meet/33639)

<div class="topic-metadata">

**Author:** [@morten\_hoffmann](https://forum.ansible.com/u/morten_hoffmann)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 6:11am UTC](https://forum.ansible.com/t/skip-role-if-condition-are-not-meet/33639 "2020-08-24T06:11:19Z")

</div>

hi I need to skip a role in my playbook if a server doesn’t exist inside hosts file hosts file: \[webserver\] server1.domain server2.domain \[machine01\] server1.domain \[machine02\] server2.domain play: name: Scal…

---

## [Using group vars and vars from vars prompt](https://forum.ansible.com/t/using-group-vars-and-vars-from-vars-prompt/33608)

<div class="topic-metadata">

**Author:** [@Sarvani\_Vadali](https://forum.ansible.com/u/Sarvani_Vadali)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 6:04am UTC](https://forum.ansible.com/t/using-group-vars-and-vars-from-vars-prompt/33608 "2020-08-24T06:04:04Z")

</div>

I am trying to get a value through vars prompt in my playbook and writing a task in a role to see if the value == foo or if value == bar if the value == foo ,i want to get values from the vars.yaml file which has a sect…

---

## [Issue with loop index number.](https://forum.ansible.com/t/issue-with-loop-index-number/33647)

<div class="topic-metadata">

**Author:** [@soumya\_dutta](https://forum.ansible.com/u/soumya_dutta)\
**Replies:** 4\
**Last updated:** [August 23, 2020, 3:41pm UTC](https://forum.ansible.com/t/issue-with-loop-index-number/33647 "2020-08-23T15:41:05Z")

</div>

Hi, I have a situation where I have few servers and there are different artifacts or rpms are installed. I am getting all data for all servers in a clubbed list and based on that I am creating files for each server and …

---

## [skipping: no hosts matched](https://forum.ansible.com/t/skipping-no-hosts-matched/33659)

<div class="topic-metadata">

**Author:** [@Andrew\_Morgan](https://forum.ansible.com/u/Andrew_Morgan)\
**Replies:** 0\
**Last updated:** [August 23, 2020, 3:46am UTC](https://forum.ansible.com/t/skipping-no-hosts-matched/33659 "2020-08-23T03:46:19Z")

</div>

hello all, my ansible.cfg is \[defaults\] host\_key\_checking = False #hostfile=ec2.py deprecation\_warnings=False interpreter\_python = auto\_silent Use the YAML callback plugin. stdout\_callback = yaml Use the stdout\_c…

---

## [Same playbook executed locally and remotely](https://forum.ansible.com/t/same-playbook-executed-locally-and-remotely/33658)

<div class="topic-metadata">

**Author:** [@mhalano](https://forum.ansible.com/u/mhalano)\
**Replies:** 0\
**Last updated:** [August 22, 2020, 5:44pm UTC](https://forum.ansible.com/t/same-playbook-executed-locally-and-remotely/33658 "2020-08-22T17:44:27Z")

</div>

Hi fellows! I’m trying to build a playbook for my infrastructure but I would like to be able to do something like this: ansible-playbook -i hosts site.yml This playbook is quite simple, just some lines like this: im…

---

## [Ansible for Windows Server DHCP feature (dhcpmgmt.msc)](https://forum.ansible.com/t/ansible-for-windows-server-dhcp-feature-dhcpmgmt-msc/32062)

<div class="topic-metadata">

**Author:** [@Yehuda\_Pinhas](https://forum.ansible.com/u/Yehuda_Pinhas)\
**Replies:** 1\
**Last updated:** [August 22, 2020, 2:52pm UTC](https://forum.ansible.com/t/ansible-for-windows-server-dhcp-feature-dhcpmgmt-msc/32062 "2020-08-22T14:52:17Z")

</div>

Hi, I want to create ansible automation for create IPv4 pools on Windows Server 2019 operating system. This is where I want to add the pool: From what I understand I have two options I could do that: Is to the fin…

---

## [How to run entire playbook sequential against inventory](https://forum.ansible.com/t/how-to-run-entire-playbook-sequential-against-inventory/33657)

<div class="topic-metadata">

**Author:** [@Mike\_Sawyers](https://forum.ansible.com/u/Mike_Sawyers)\
**Replies:** 0\
**Last updated:** [August 22, 2020, 12:13pm UTC](https://forum.ansible.com/t/how-to-run-entire-playbook-sequential-against-inventory/33657 "2020-08-22T12:13:51Z")

</div>

Hi Jonin, Sound like you have something like this and you want to group and batch the hosts?

---

## [question about mode=preserve with file module](https://forum.ansible.com/t/question-about-mode-preserve-with-file-module/33649)

<div class="topic-metadata">

**Author:** [@Martey\_Dodoo](https://forum.ansible.com/u/Martey_Dodoo)\
**Replies:** 6\
**Last updated:** [August 21, 2020, 9:14pm UTC](https://forum.ansible.com/t/question-about-mode-preserve-with-file-module/33649 "2020-08-21T21:14:37Z")

</div>

Hi everyone, I’m having some issues using the “mode” parameter on the file module to change ownership of an existing directory without modifying its permissions. For example: name: use preserve mode file: path=/t…

---

## [How To Add Debug Messages To Ansible Tower Email Notification?](https://forum.ansible.com/t/how-to-add-debug-messages-to-ansible-tower-email-notification/33362)

<div class="topic-metadata">

**Author:** [@Marcus\_Hayhurst](https://forum.ansible.com/u/Marcus_Hayhurst)\
**Replies:** 17\
**Last updated:** [August 21, 2020, 1:51pm UTC](https://forum.ansible.com/t/how-to-add-debug-messages-to-ansible-tower-email-notification/33362 "2020-08-21T13:51:48Z")

</div>

Hello everyone! Is it possible to add a debug message to the Tower 3.7.0 email notification? For example, I have a Play that shows a certain package if it was found and then displays the version of said package via the …

---

## [vmware inventory group by tags](https://forum.ansible.com/t/vmware-inventory-group-by-tags/29790)

<div class="topic-metadata">

**Author:** [@cedlerouge](https://forum.ansible.com/u/cedlerouge)\
**Replies:** 2\
**Last updated:** [August 21, 2020, 1:05pm UTC](https://forum.ansible.com/t/vmware-inventory-group-by-tags/29790 "2020-08-21T13:05:26Z")

</div>

Hi, I use awx to manage vmware instances. I want to use vmware tags to group my instances. I’m able to generate an inventory with instances in tag groups with the following command : ansible-inventory -i ./tag\_vmware…

---

## [EKS Deployment of AWX 14 fails](https://forum.ansible.com/t/eks-deployment-of-awx-14-fails/33656)

<div class="topic-metadata">

**Author:** [@Staggerlee011](https://forum.ansible.com/u/Staggerlee011)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 12:36pm UTC](https://forum.ansible.com/t/eks-deployment-of-awx-14-fails/33656 "2020-08-21T12:36:48Z")

</div>

Hi, Trying to deploy to EKS (2 node t3.xlarge nodegroup). But it keeps failing on the task: TASK \[kubernetes : Record deployment size\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [win\_shell Command Errors out;](https://forum.ansible.com/t/win-shell-command-errors-out/33655)

<div class="topic-metadata">

**Author:** [@David\_Foley](https://forum.ansible.com/u/David_Foley)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 11:21am UTC](https://forum.ansible.com/t/win-shell-command-errors-out/33655 "2020-08-21T11:21:11Z")

</div>

Hi All, getting the Following Error when trying to Run a Win\_Shell Command: fatal: \[localhost\]: FAILED! =\> {“changed”: false, “module\_stderr”: “”, “module\_stdout”: “”, “msg”: “MODULE FAILURE\\nSee stdout/stderr for the …

---

## [Template fields grayed out for user who is Template admin](https://forum.ansible.com/t/template-fields-grayed-out-for-user-who-is-template-admin/33648)

<div class="topic-metadata">

**Author:** [@Ivan\_Todorovic](https://forum.ansible.com/u/Ivan_Todorovic)\
**Replies:** 2\
**Last updated:** [August 21, 2020, 10:00am UTC](https://forum.ansible.com/t/template-fields-grayed-out-for-user-who-is-template-admin/33648 "2020-08-21T10:00:30Z")

</div>

Hello, I have a strange problem for one of the AWX users on our installation: Although he is given Admin permissions on the Template, he has “Inventory”, “Project” and “Playbook” drop-box controls grayed-out in GUI, and…

---

## [Is callback function is thread safe?](https://forum.ansible.com/t/is-callback-function-is-thread-safe/33654)

<div class="topic-metadata">

**Author:** [@Nihanth\_Joseph](https://forum.ansible.com/u/Nihanth_Joseph)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 8:46am UTC](https://forum.ansible.com/t/is-callback-function-is-thread-safe/33654 "2020-08-21T08:46:24Z")

</div>

I have written playbooks to manage 100s of machines and i am using callback plugins to capture the output of each task and generate reports at the end. Since I am using forks (eg. 20) do i have to handle each output in t…

---

## [Is callback function is thread safe?](https://forum.ansible.com/t/is-callback-function-is-thread-safe/33653)

<div class="topic-metadata">

**Author:** [@Nihanth\_Joseph](https://forum.ansible.com/u/Nihanth_Joseph)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 8:34am UTC](https://forum.ansible.com/t/is-callback-function-is-thread-safe/33653 "2020-08-21T08:34:44Z")

</div>

I have written playbooks to manage 100s of machines and i am using callback plugins to capture the output of each task and generate reports at the end. Since I am using forks (eg. 20) do i have to handle each output in t…

---

## [Fetching directories](https://forum.ansible.com/t/fetching-directories/33652)

<div class="topic-metadata">

**Author:** [@Go\_Away](https://forum.ansible.com/u/Go_Away)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 7:45am UTC](https://forum.ansible.com/t/fetching-directories/33652 "2020-08-21T07:45:02Z")

</div>

Usually Ansible is used for managing remote hosts but I thought I used it to “monitor” some hosts I have. In normal circumstances I’d just loop over a list of hosts and run a simple script over ssh but I have a quite ann…

---

## [ansible](https://forum.ansible.com/t/ansible/33651)

<div class="topic-metadata">

**Author:** [@P\_R\_Music\_video\_s](https://forum.ansible.com/u/P_R_Music_video_s)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 6:11am UTC](https://forum.ansible.com/t/ansible/33651 "2020-08-21T06:11:39Z")

</div>

how can i connect to telnet server through ansible please replay as soon as possible thanks&regards prajwal h g

---

## [Ease of ansible debugging](https://forum.ansible.com/t/ease-of-ansible-debugging/33650)

<div class="topic-metadata">

**Author:** [@Markus\_Fischbacher](https://forum.ansible.com/u/Markus_Fischbacher)\
**Replies:** 0\
**Last updated:** [August 21, 2020, 5:54am UTC](https://forum.ansible.com/t/ease-of-ansible-debugging/33650 "2020-08-21T05:54:45Z")

</div>

https://github.com/ansible/ansible/issues/71369 I found it pretty sad, that this issue was closed with so less effort. Also imo the mentioned section “simple debugging” isn’t simple at all. Well it is simple but not eas…

---

## [Openssh Issues in Ansible](https://forum.ansible.com/t/openssh-issues-in-ansible/33509)

<div class="topic-metadata">

**Author:** [@miqdad\_patwa](https://forum.ansible.com/u/miqdad_patwa)\
**Replies:** 4\
**Last updated:** [August 21, 2020, 4:35am UTC](https://forum.ansible.com/t/openssh-issues-in-ansible/33509 "2020-08-21T04:35:54Z")

</div>

can you please confirm what should we use for HP comware blade switches I used comware module but still it gives me Openssh error fatal: \[BC1-ESM-A\]: UNREACHABLE! =\> { “changed”: false, “msg”: “Failed to connect to t…

---

## [Inventory source "update on project update" with multiple Git repos](https://forum.ansible.com/t/inventory-source-update-on-project-update-with-multiple-git-repos/33646)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 0\
**Last updated:** [August 20, 2020, 9:21am UTC](https://forum.ansible.com/t/inventory-source-update-on-project-update-with-multiple-git-repos/33646 "2020-08-20T09:21:28Z")

</div>

I use an inventory which has multiple (7) sources from Git. The number of sources is such because different teams have co-responsibility over the content of the repositories that are the Git sources. I use tags in the Gi…

---

## [module 'platform' has no attribute 'dist' on Ubuntu 20.04](https://forum.ansible.com/t/module-platform-has-no-attribute-dist-on-ubuntu-20-04/33640)

<div class="topic-metadata">

**Author:** [@Jeff\_Dickens](https://forum.ansible.com/u/Jeff_Dickens)\
**Replies:** 2\
**Last updated:** [August 20, 2020, 4:38am UTC](https://forum.ansible.com/t/module-platform-has-no-attribute-dist-on-ubuntu-20-04/33640 "2020-08-20T04:38:34Z")

</div>

When I try to use the user module with a Ubuntu 20 host, I get a failure as follows: jeff@ansible:~$ ansible-playbook -l owl j\_ansible\_user.yaml PLAY \[create ansible user\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible playbook to automatically create VMware snapshots](https://forum.ansible.com/t/ansible-playbook-to-automatically-create-vmware-snapshots/33638)

<div class="topic-metadata">

**Author:** [@Quad\_Zero](https://forum.ansible.com/u/Quad_Zero)\
**Replies:** 1\
**Last updated:** [August 20, 2020, 4:11am UTC](https://forum.ansible.com/t/ansible-playbook-to-automatically-create-vmware-snapshots/33638 "2020-08-20T04:11:33Z")

</div>

G’day, Could someone please point me in the direction of automated creation of vmware snapshots? Scenario: Plan to update a series virtual machine hosts through yum update Create snapshots for each vm Confirmation th…

---

## [callback plugin or python script to access template name and description](https://forum.ansible.com/t/callback-plugin-or-python-script-to-access-template-name-and-description/33645)

<div class="topic-metadata">

**Author:** [@Jerry\_Hwang](https://forum.ansible.com/u/Jerry_Hwang)\
**Replies:** 0\
**Last updated:** [August 20, 2020, 3:04am UTC](https://forum.ansible.com/t/callback-plugin-or-python-script-to-access-template-name-and-description/33645 "2020-08-20T03:04:45Z")

</div>

Hi, I am looking for a way a callback plugin (or python script) to extract the name and description of a job template is run. https://docs.ansible.com/ansible/latest/plugins/callback.html https://docs.ansible.com/ansi…

[Previous page](https://forum.ansible.com/latest.md?page=350)

[Next page](https://forum.ansible.com/latest.md?page=352)
