# Ansible Project

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

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

**Page:** 107

---

## [Ansible can send mail from Macbook](https://forum.ansible.com/t/ansible-can-send-mail-from-macbook/33751)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [September 6, 2020, 5:53pm UTC](https://forum.ansible.com/t/ansible-can-send-mail-from-macbook/33751 "2020-09-06T17:53:43Z")

</div>

$ ansible --version ansible 2.9.13 config file = /Users/user/.ansible.cfg configured module search path = \[‘/Users/user/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’\] ansible python module location …

---

## [How to set Python interpreter?](https://forum.ansible.com/t/how-to-set-python-interpreter/33749)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 4\
**Last updated:** [September 6, 2020, 4:51pm UTC](https://forum.ansible.com/t/how-to-set-python-interpreter/33749 "2020-09-06T16:51:05Z")

</div>

I get warning when I execute an ansible command, for example. (Macbook Pro) $ ansible --version /Library/Python/2.7/site-packages/cryptography/init.py:39: CryptographyDeprecationWarning: Python 2 is no longer supported…

---

## ["Unexpected parameter type in action" error](https://forum.ansible.com/t/unexpected-parameter-type-in-action-error/33750)

<div class="topic-metadata">

**Author:** [@WideOldElf](https://forum.ansible.com/u/WideOldElf)\
**Replies:** 0\
**Last updated:** [September 6, 2020, 5:54am UTC](https://forum.ansible.com/t/unexpected-parameter-type-in-action-error/33750 "2020-09-06T05:54:55Z")

</div>

Hi all I’ve been bashing my head against this problem for several days. I have a playbook that is called as part of an Ansible Tower workflow. The playbook calls another ansible playbook and its this second playbook t…

---

## [installing/upgrading vmwasre tools windows](https://forum.ansible.com/t/installing-upgrading-vmwasre-tools-windows/33587)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 4\
**Last updated:** [September 5, 2020, 8:09am UTC](https://forum.ansible.com/t/installing-upgrading-vmwasre-tools-windows/33587 "2020-09-05T08:09:29Z")

</div>

can someone help me improve this playbook. downloading the executable for each vm is not what i want to do

---

## [fact\_caching override in playbook?](https://forum.ansible.com/t/fact-caching-override-in-playbook/33740)

<div class="topic-metadata">

**Author:** [@Aprameya\_NDS](https://forum.ansible.com/u/Aprameya_NDS)\
**Replies:** 2\
**Last updated:** [September 5, 2020, 4:10am UTC](https://forum.ansible.com/t/fact-caching-override-in-playbook/33740 "2020-09-05T04:10:08Z")

</div>

Hi Team, I have a project which uses ansible to run traffic tools on a given set of hosts. I have fact\_caching enabled. While configuring and starting the traffic there are at times where the facts in the system chang…

---

## [Job is Failing With 'Server not found in Kerberos database' Error ?](https://forum.ansible.com/t/job-is-failing-with-server-not-found-in-kerberos-database-error/33748)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 0\
**Last updated:** [September 5, 2020, 3:58am UTC](https://forum.ansible.com/t/job-is-failing-with-server-not-found-in-kerberos-database-error/33748 "2020-09-05T03:58:05Z")

</div>

Hello Team I am creating new windows virtual machine using VMware\_guest module. Once vm creation completed I am adding server name in inventory group(window) using add host command Next task is to connect to newly bu…

---

## [writing output to a csv file](https://forum.ansible.com/t/writing-output-to-a-csv-file/33736)

<div class="topic-metadata">

**Author:** [@SK11](https://forum.ansible.com/u/SK11)\
**Replies:** 3\
**Last updated:** [September 5, 2020, 1:54am UTC](https://forum.ansible.com/t/writing-output-to-a-csv-file/33736 "2020-09-05T01:54:11Z")

</div>

Hi, Ansible version - 2.9 Facing issue in writing output to a csv file, its not writing the output consistently into the file. Having an inventory file with three server IPs, script will execute command to check the d…

---

## [Changes to the ansible-2.10.0 pre-release schedule](https://forum.ansible.com/t/changes-to-the-ansible-2-10-0-pre-release-schedule/33746)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 5, 2020, 1:12am UTC](https://forum.ansible.com/t/changes-to-the-ansible-2-10-0-pre-release-schedule/33746 "2020-09-05T01:12:45Z")

</div>

Hi all, Due to the one week slip in ansible-base-2.10.0, there will be some changes to the ansible-2.10.0 pre-release schedule. At this time, the ansible-2.10.0 final release will still occur on September 22. Here a…

---

## [openssl\_csr, what bit encryption?](https://forum.ansible.com/t/openssl-csr-what-bit-encryption/33743)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [September 4, 2020, 5:23pm UTC](https://forum.ansible.com/t/openssl-csr-what-bit-encryption/33743 "2020-09-04T17:23:13Z")

</div>

https://docs.ansible.com/ansible/latest/modules/openssl\_csr\_module.html#notes I don’t see an option to set either a 2048- or 4096-bit encryption for this module. What does it use? Thanks, Chris

---

## [playbook to compare and update hostvars in host file](https://forum.ansible.com/t/playbook-to-compare-and-update-hostvars-in-host-file/33733)

<div class="topic-metadata">

**Author:** [@harsh\_chawda](https://forum.ansible.com/u/harsh_chawda)\
**Replies:** 4\
**Last updated:** [September 4, 2020, 7:59am UTC](https://forum.ansible.com/t/playbook-to-compare-and-update-hostvars-in-host-file/33733 "2020-09-04T07:59:04Z")

</div>

Hello All, I am trying to update /etc/hosts file if there is any changes in the host extra variables by comparing it from a csv file \[windows\] Server01.test.com ansible\_user=“admin” ansible\_password=“password” Server…

---

## [Host SSH key not recognized when trying to SSH into remote repository using Ansible playbook](https://forum.ansible.com/t/host-ssh-key-not-recognized-when-trying-to-ssh-into-remote-repository-using-ansible-playbook/33721)

<div class="topic-metadata">

**Author:** [@Erick\_Sun](https://forum.ansible.com/u/Erick_Sun)\
**Replies:** 6\
**Last updated:** [September 4, 2020, 7:26am UTC](https://forum.ansible.com/t/host-ssh-key-not-recognized-when-trying-to-ssh-into-remote-repository-using-ansible-playbook/33721 "2020-09-04T07:26:17Z")

</div>

Host SSH key not recognized when trying to SSH into remote repository using Ansible playbook. Remote repository was verified to have the correct SSH key from host, but still wouldn’t recognize host when trying to clone f…

---

## [Help - generating a table of task results in ansible](https://forum.ansible.com/t/help-generating-a-table-of-task-results-in-ansible/33741)

<div class="topic-metadata">

**Author:** [@Piya\_Attapatto](https://forum.ansible.com/u/Piya_Attapatto)\
**Replies:** 2\
**Last updated:** [September 4, 2020, 4:58am UTC](https://forum.ansible.com/t/help-generating-a-table-of-task-results-in-ansible/33741 "2020-09-04T04:58:50Z")

</div>

Hello devs, First time posting here, apologies if not the done thing or the wrong place to post. I’m not looking for a fix to an issue I’ve run into, rather I’m interested to know whether a strategy I’m thinking about …

---

## [unable to install applications after downloading in VM using ansible](https://forum.ansible.com/t/unable-to-install-applications-after-downloading-in-vm-using-ansible/33584)

<div class="topic-metadata">

**Author:** [@Mahmood\_Ali](https://forum.ansible.com/u/Mahmood_Ali)\
**Replies:** 1\
**Last updated:** [September 4, 2020, 4:23am UTC](https://forum.ansible.com/t/unable-to-install-applications-after-downloading-in-vm-using-ansible/33584 "2020-09-04T04:23:04Z")

</div>

Hi I am having an issue in installing an application using ansible automation. I tried to deploy an application from ansible server to the windows virtual machine in the same vnet. I tried to install git.exe and notepad…

---

## [Trying to background a start up script](https://forum.ansible.com/t/trying-to-background-a-start-up-script/33738)

<div class="topic-metadata">

**Author:** [@Jonin](https://forum.ansible.com/u/Jonin)\
**Replies:** 6\
**Last updated:** [September 3, 2020, 10:51pm UTC](https://forum.ansible.com/t/trying-to-background-a-start-up-script/33738 "2020-09-03T22:51:03Z")

</div>

Hi, I have this task and I can’t for the life of me get it to keep the process running. I have added in some debug and it shows me the process is getting shutdown almost immediately after it is started up as can be seen…

---

## [Copy condition based on presence in playbook templates folder](https://forum.ansible.com/t/copy-condition-based-on-presence-in-playbook-templates-folder/33715)

<div class="topic-metadata">

**Author:** [@LUCA\_CARANGELO](https://forum.ansible.com/u/LUCA_CARANGELO)\
**Replies:** 3\
**Last updated:** [September 3, 2020, 6:19pm UTC](https://forum.ansible.com/t/copy-condition-based-on-presence-in-playbook-templates-folder/33715 "2020-09-03T18:19:21Z")

</div>

I need to copy a configuration file to hosts based on its custom presence in playbook templates folder. As example : CONSIDER TO APPLY TO AN INVENTORY My hostname is HOST001 {{ inventory\_hostname }} if in my playbook…

---

## [How should I properly configure inventories that query VMWare vSphere for node information?](https://forum.ansible.com/t/how-should-i-properly-configure-inventories-that-query-vmware-vsphere-for-node-information/25744)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 3\
**Last updated:** [September 3, 2020, 3:12pm UTC](https://forum.ansible.com/t/how-should-i-properly-configure-inventories-that-query-vmware-vsphere-for-node-information/25744 "2020-09-03T15:12:25Z")

</div>

Also posted here: How should I properly configure inventories that query VMWare vSphere for node information? · Issue #386 · ansible/awx · GitHub SUMMARY What I want to do is create an inventory of all vm’s on my vSpher…

---

## [net\_neighbors](https://forum.ansible.com/t/net-neighbors/33735)

<div class="topic-metadata">

**Author:** [@Jaime\_Jaca](https://forum.ansible.com/u/Jaime_Jaca)\
**Replies:** 2\
**Last updated:** [September 3, 2020, 10:25am UTC](https://forum.ansible.com/t/net-neighbors/33735 "2020-09-03T10:25:50Z")

</div>

I would like to filter the neighbors to only show switches and routers

---

## [Help with async tasks.](https://forum.ansible.com/t/help-with-async-tasks/33704)

<div class="topic-metadata">

**Author:** [@Guannan\_Sun](https://forum.ansible.com/u/Guannan_Sun)\
**Replies:** 6\
**Last updated:** [September 3, 2020, 1:31am UTC](https://forum.ansible.com/t/help-with-async-tasks/33704 "2020-09-03T01:31:39Z")

</div>

Dear Tech Team, I’m Guannan from China. I’m new to Ansible and looking for some technical help. Actually I’m looking for a method to execute one role in parallel with loops of different configuration files. For example…

---

## [Error:a bug: 'utf8' codec can't decode byte 0xa0 in position 588](https://forum.ansible.com/t/error-a-bug-utf8-codec-cant-decode-byte-0xa0-in-position-588/33712)

<div class="topic-metadata">

**Author:** [@erdivay\_singhal](https://forum.ansible.com/u/erdivay_singhal)\
**Replies:** 5\
**Last updated:** [September 2, 2020, 6:19pm UTC](https://forum.ansible.com/t/error-a-bug-utf8-codec-cant-decode-byte-0xa0-in-position-588/33712 "2020-09-02T18:19:07Z")

</div>

Hi Team, Any idea for the below mentioned error Error:a bug: ‘utf8’ codec can’t decode byte 0xa0 in position 588

---

## [find\_output with filter](https://forum.ansible.com/t/find-output-with-filter/33723)

<div class="topic-metadata">

**Author:** [@Nagesh\_sheregar](https://forum.ansible.com/u/Nagesh_sheregar)\
**Replies:** 3\
**Last updated:** [September 2, 2020, 5:37pm UTC](https://forum.ansible.com/t/find-output-with-filter/33723 "2020-09-02T17:37:41Z")

</div>

Hi Team, i would like to see only GREEN/RED in out put, can you please let me know how i can filter it? Playbook: name: sddc health command: /opt/vmware/sddc-support/sos --health-check register: find\_output debug: …

---

## [Using the filter\_plugins in conditional when](https://forum.ansible.com/t/using-the-filter-plugins-in-conditional-when/33729)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 1\
**Last updated:** [September 2, 2020, 5:27pm UTC](https://forum.ansible.com/t/using-the-filter-plugins-in-conditional-when/33729 "2020-09-02T17:27:14Z")

</div>

Hi dear, I created the filter\_plugin that check if running process and return true or false. This is an example: process\_name|get\_processes I want to create this task: - name: start service shell: /usr/local/bin/my\_…

---

## [Getting syntax error](https://forum.ansible.com/t/getting-syntax-error/33710)

<div class="topic-metadata">

**Author:** [@Ramu\_Mathi](https://forum.ansible.com/u/Ramu_Mathi)\
**Replies:** 5\
**Last updated:** [September 2, 2020, 5:18pm UTC](https://forum.ansible.com/t/getting-syntax-error/33710 "2020-09-02T17:18:04Z")

</div>

I am getting the following the error with my config ERROR! The field ‘hosts’ has an invalid value, which includes an undefined variable. The error was: list object has no element 0 The error appears to be in ‘/Users/ra…

---

## [Generate HTML Table from Ansible Inventory File](https://forum.ansible.com/t/generate-html-table-from-ansible-inventory-file/33697)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 2\
**Last updated:** [September 2, 2020, 3:45pm UTC](https://forum.ansible.com/t/generate-html-table-from-ansible-inventory-file/33697 "2020-09-02T15:45:31Z")

</div>

Hello, I have an inventory file like below: \[group1\] server1.example.com server2.example.com \[group2\] server3.example.com server4.example.com \[group1:vars\] field1=a1 field2=a2 \[group2:vars\] field1=a3 field2=…

---

## [unzip to unarchive](https://forum.ansible.com/t/unzip-to-unarchive/33696)

<div class="topic-metadata">

**Author:** [@lpescatore](https://forum.ansible.com/u/lpescatore)\
**Replies:** 3\
**Last updated:** [September 2, 2020, 3:18pm UTC](https://forum.ansible.com/t/unzip-to-unarchive/33696 "2020-09-02T15:18:49Z")

</div>

Hi all, I want to change this to unarchive: name: unpack-protos-bin shell: unzip -o /root/.ansible-management/file.zip -d /usr/local bin/protoc args: executable: /bin/bash notify: unpack-proto-includes name…

---

## [copy file to host not in inventory](https://forum.ansible.com/t/copy-file-to-host-not-in-inventory/33714)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 3\
**Last updated:** [September 2, 2020, 2:29pm UTC](https://forum.ansible.com/t/copy-file-to-host-not-in-inventory/33714 "2020-09-02T14:29:20Z")

</div>

Hi, sorry, I can’t quite get my head around the last bit of my playbook. I have a playbook that is doing ssh key rotations - it is pretty much all working other than once it has generated the keys and used authorized\_ke…

---

## [Permission issue with become](https://forum.ansible.com/t/permission-issue-with-become/33722)

<div class="topic-metadata">

**Author:** [@Mahesh\_N](https://forum.ansible.com/u/Mahesh_N)\
**Replies:** 1\
**Last updated:** [September 2, 2020, 9:43am UTC](https://forum.ansible.com/t/permission-issue-with-become/33722 "2020-09-02T09:43:12Z")

</div>

Having the same issue here: Any help is appreciated. Using ansible --version ansible 2.5.2 config file = /etc/ansible/ansible.cfg python version = 2.6.6 site.yml name: Live patch hosts: all become: yes tasks: …

---

## ["Tuning the External Inventory Script"](https://forum.ansible.com/t/tuning-the-external-inventory-script/18995)

<div class="topic-metadata">

**Author:** [@Andy\_Baker](https://forum.ansible.com/u/Andy_Baker)\
**Replies:** 3\
**Last updated:** [September 1, 2020, 11:33pm UTC](https://forum.ansible.com/t/tuning-the-external-inventory-script/18995 "2020-09-01T23:33:51Z")

</div>

This passage: http://docs.ansible.com/ansible/developing\_inventory.html#tuning-the-external-inventory-script seems to say you have two options: Return a list of groups when called with --list and then return all the v…

---

## [Host is unreachable by SSH while running Ansible playbook](https://forum.ansible.com/t/host-is-unreachable-by-ssh-while-running-ansible-playbook/33720)

<div class="topic-metadata">

**Author:** [@Erick\_Sun](https://forum.ansible.com/u/Erick_Sun)\
**Replies:** 0\
**Last updated:** [September 1, 2020, 9:46pm UTC](https://forum.ansible.com/t/host-is-unreachable-by-ssh-while-running-ansible-playbook/33720 "2020-09-01T21:46:44Z")

</div>

Host is unreachable by SSH while running Ansible playbook. Ran Ansible playbook on 15 hosts, 13 were provisioned successfully, 1 was unreachable even though they were configured the same. Here is the actual error receive…

---

## [Multiple ansible-vault encrypted ssh private keys](https://forum.ansible.com/t/multiple-ansible-vault-encrypted-ssh-private-keys/33718)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 0\
**Last updated:** [September 1, 2020, 9:15pm UTC](https://forum.ansible.com/t/multiple-ansible-vault-encrypted-ssh-private-keys/33718 "2020-09-01T21:15:55Z")

</div>

Hi, I’ve been wrangling around this all afternoon. First of all, is it ok to have two ansible-vault encrypted files (containing ssh private keys) with the same password and use them in one playbook? I ask because when…

---

## [pass module args as extra variable](https://forum.ansible.com/t/pass-module-args-as-extra-variable/33717)

<div class="topic-metadata">

**Author:** [@Nic\_H](https://forum.ansible.com/u/Nic_H)\
**Replies:** 0\
**Last updated:** [September 1, 2020, 7:15pm UTC](https://forum.ansible.com/t/pass-module-args-as-extra-variable/33717 "2020-09-01T19:15:54Z")

</div>

Hi, in order to debug a playbook , I need to pass some value to a module\_arg at run time . I thought using extra-variables but it doesn’t work, args still show ‘null’ The module is elasticache and I need to try a run …

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

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