# Ansible Project

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

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

**Page:** 254

---

## [Authentication problem](https://forum.ansible.com/t/authentication-problem/27771)

<div class="topic-metadata">

**Author:** [@ankit1](https://forum.ansible.com/u/ankit1)\
**Replies:** 3\
**Last updated:** [June 14, 2018, 7:16am UTC](https://forum.ansible.com/t/authentication-problem/27771 "2018-06-14T07:16:14Z")

</div>

Hi, In our environment we have a tool which is used to fetch passwords for servers. Everytime you login, you will have to fetch a password which is randomly generated. As ansible works on ssh authentication model, is t…

---

## [Run ansible on SLES VM](https://forum.ansible.com/t/run-ansible-on-sles-vm/27794)

<div class="topic-metadata">

**Author:** [@sunguoguo0820](https://forum.ansible.com/u/sunguoguo0820)\
**Replies:** 2\
**Last updated:** [June 14, 2018, 6:47am UTC](https://forum.ansible.com/t/run-ansible-on-sles-vm/27794 "2018-06-14T06:47:20Z")

</div>

I have created a SLES VM on azure ,Create method as this link: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ansible-install-configure but, when ran ansible playbook to create a resource group ,it will m…

---

## [vsphere\_copy fails on Tuple value invalid](https://forum.ansible.com/t/vsphere-copy-fails-on-tuple-value-invalid/27786)

<div class="topic-metadata">

**Author:** [@Wendell\_MacKenzie](https://forum.ansible.com/u/Wendell_MacKenzie)\
**Replies:** 1\
**Last updated:** [June 14, 2018, 1:04am UTC](https://forum.ansible.com/t/vsphere-copy-fails-on-tuple-value-invalid/27786 "2018-06-14T01:04:33Z")

</div>

Trying to send a kickstart.iso file up the a vcenter host. Using Ansible 2.5.4 with PyVmomi plugin 6.7 on rhel 7.5. The ansible playbook is configured with a task that defines the path: and src: values but it’s complain…

---

## [ansible-pfsense modules](https://forum.ansible.com/t/ansible-pfsense-modules/27793)

<div class="topic-metadata">

**Author:** [@Orion\_Poplawski1](https://forum.ansible.com/u/Orion_Poplawski1)\
**Replies:** 0\
**Last updated:** [June 13, 2018, 11:08pm UTC](https://forum.ansible.com/t/ansible-pfsense-modules/27793 "2018-06-13T23:08:04Z")

</div>

I’ve just pushed my very raw ansible-pfsense modules for managing pfsense firewalls to https://github.com/opoplawski/ansible-pfsense/ There are at least somewhat functional and any feedback about style, design, etc. wou…

---

## [In praise of Mitogen (sped up our Ansible run from 14 minutes to 2 minutes)](https://forum.ansible.com/t/in-praise-of-mitogen-sped-up-our-ansible-run-from-14-minutes-to-2-minutes/27762)

<div class="topic-metadata">

**Author:** [@Daniel\_Compton](https://forum.ansible.com/u/Daniel_Compton)\
**Replies:** 1\
**Last updated:** [June 13, 2018, 4:23pm UTC](https://forum.ansible.com/t/in-praise-of-mitogen-sped-up-our-ansible-run-from-14-minutes-to-2-minutes/27762 "2018-06-13T16:23:24Z")

</div>

Hi folks I just wanted to drop a note of praise for Mitogen (http://mitogen.readthedocs.io/en/latest/ansible.html). It is a plugin for Ansible that adds a new execution strategy that gives dramatically faster performanc…

---

## [Suggest a patch automation solution for this architecture type](https://forum.ansible.com/t/suggest-a-patch-automation-solution-for-this-architecture-type/27787)

<div class="topic-metadata">

**Author:** [@Kanhaiya\_Ashtekar](https://forum.ansible.com/u/Kanhaiya_Ashtekar)\
**Replies:** 2\
**Last updated:** [June 13, 2018, 4:14pm UTC](https://forum.ansible.com/t/suggest-a-patch-automation-solution-for-this-architecture-type/27787 "2018-06-13T16:14:29Z")

</div>

Hello Ansible Enthusiasts, The scenario is: my organization has large internal server network that has Windows 2008/2008 R2/2012/2012 R2 and Linux flavors. distributed in 5 domains. these are on Internal Network and s…

---

## [error while running setup.](https://forum.ansible.com/t/error-while-running-setup/27792)

<div class="topic-metadata">

**Author:** [@VK12](https://forum.ansible.com/u/VK12)\
**Replies:** 1\
**Last updated:** [June 13, 2018, 2:49pm UTC](https://forum.ansible.com/t/error-while-running-setup/27792 "2018-06-13T14:49:54Z")

</div>

localhost : ok=18 changed=1 unreachable=0 failed=1 \[error\] Oops! An error occured while running setup. \[warn\] /var/log/tower does not exist. Setup log saved to setup.log.

---

## [Unable to get / load credentials](https://forum.ansible.com/t/unable-to-get-load-credentials/27788)

<div class="topic-metadata">

**Author:** [@Carlton\_Patterson1](https://forum.ansible.com/u/Carlton_Patterson1)\
**Replies:** 13\
**Last updated:** [June 13, 2018, 12:40pm UTC](https://forum.ansible.com/t/unable-to-get-load-credentials/27788 "2018-06-13T12:40:58Z")

</div>

Hello community, I have followed the document https://docs.ansible.com/ansible/latest/scenario\_guides/guide\_azure.html to authenticate with Azure. I have created two credential files on my Ansible host as follows: (ve…

---

## [Variable set as null](https://forum.ansible.com/t/variable-set-as-null/27790)

<div class="topic-metadata">

**Author:** [@Chiku](https://forum.ansible.com/u/Chiku)\
**Replies:** 1\
**Last updated:** [June 13, 2018, 11:22am UTC](https://forum.ansible.com/t/variable-set-as-null/27790 "2018-06-13T11:22:57Z")

</div>

Hello, I have this task: - os\_security\_group\_rule: cloud: "{{ cloud }}" security\_group: "{{ item.name }}" protocol: "{{ item.protocol }}" port\_range\_min: "{{ item.port\_range\_min }}" port\_range\_max: "{{ item.port\_r…

---

## [Creating a new plugin in Java](https://forum.ansible.com/t/creating-a-new-plugin-in-java/27791)

<div class="topic-metadata">

**Author:** [@Bobby\_Brockway](https://forum.ansible.com/u/Bobby_Brockway)\
**Replies:** 0\
**Last updated:** [June 13, 2018, 11:14am UTC](https://forum.ansible.com/t/creating-a-new-plugin-in-java/27791 "2018-06-13T11:14:25Z")

</div>

Hi all, I’m about to start developing a plugin for administering TIBCO Rendezvous Routing Daemons. Unfortunately they don’t have a Python API so I have to do this in Java. I’ve done a few searches and everything seems t…

---

## [Ansible Installation Disappears - No longer installed](https://forum.ansible.com/t/ansible-installation-disappears-no-longer-installed/27789)

<div class="topic-metadata">

**Author:** [@Carlton\_Patterson](https://forum.ansible.com/u/Carlton_Patterson)\
**Replies:** 7\
**Last updated:** [June 13, 2018, 10:34am UTC](https://forum.ansible.com/t/ansible-installation-disappears-no-longer-installed/27789 "2018-06-13T10:34:01Z")

</div>

Hello Community, I completed a full installation of Ansible on my ubuntu 16.04 machine. The installation was on Oracle Virtualbox. However, when I rebooted the machine Ansible was no longer installed. Can someone let m…

---

## [AnsibleFest is coming! And so should you. CFP is open now!](https://forum.ansible.com/t/ansiblefest-is-coming-and-so-should-you-cfp-is-open-now/27783)

<div class="topic-metadata">

**Author:** [@Robyn\_Bergeron](https://forum.ansible.com/u/Robyn_Bergeron)\
**Replies:** 0\
**Last updated:** [June 12, 2018, 7:31pm UTC](https://forum.ansible.com/t/ansiblefest-is-coming-and-so-should-you-cfp-is-open-now/27783 "2018-06-12T19:31:27Z")

</div>

Greetings! We are super excited to announce AnsibleFest Austin 2018! For the first time, AnsibleFest will span two days (October 2-3), and is expanding to six tracks of content, including the new Community and Culture t…

---

## [Reading excel file](https://forum.ansible.com/t/reading-excel-file/27776)

<div class="topic-metadata">

**Author:** [@SUMIT\_SAHAY](https://forum.ansible.com/u/SUMIT_SAHAY)\
**Replies:** 1\
**Last updated:** [June 12, 2018, 6:00pm UTC](https://forum.ansible.com/t/reading-excel-file/27776 "2018-06-12T18:00:37Z")

</div>

Hi All, Is there any module to read the excel data by using ansible playbook. Looking forward for your reply. Thanks & Regards Sumit Sahay

---

## [Order of evaluation of included tasks and loop](https://forum.ansible.com/t/order-of-evaluation-of-included-tasks-and-loop/27774)

<div class="topic-metadata">

**Author:** [@Harry\_Vennik](https://forum.ansible.com/u/Harry_Vennik)\
**Replies:** 2\
**Last updated:** [June 12, 2018, 5:39pm UTC](https://forum.ansible.com/t/order-of-evaluation-of-included-tasks-and-loop/27774 "2018-06-12T17:39:49Z")

</div>

I have a playbook that conditionally includes tasks within a loop. In my use-case, the execution of the tasks being included may influence the evaluation of the condition for the next iteration, however, Ansible seems to…

---

## [Ansible 2.2 - multi sysctl entry addition issue](https://forum.ansible.com/t/ansible-2-2-multi-sysctl-entry-addition-issue/27779)

<div class="topic-metadata">

**Author:** [@Colin\_Phillips](https://forum.ansible.com/u/Colin_Phillips)\
**Replies:** 1\
**Last updated:** [June 12, 2018, 5:20pm UTC](https://forum.ansible.com/t/ansible-2-2-multi-sysctl-entry-addition-issue/27779 "2018-06-12T17:20:00Z")

</div>

Hi, I’m trying to add the following to /etc/sysctl.conf vm.dirty\_ratio=10 vm.dirty\_background\_ratio=5 I am using the following code: - sysctl: with\_items: - { name: vm.dirty\_ratio, value: 10, state: presen…

---

## [How to trigger ansible playbook taks automatically based on template changes.](https://forum.ansible.com/t/how-to-trigger-ansible-playbook-taks-automatically-based-on-template-changes/27778)

<div class="topic-metadata">

**Author:** [@Atul\_Sharma](https://forum.ansible.com/u/Atul_Sharma)\
**Replies:** 2\
**Last updated:** [June 12, 2018, 3:38pm UTC](https://forum.ansible.com/t/how-to-trigger-ansible-playbook-taks-automatically-based-on-template-changes/27778 "2018-06-12T15:38:07Z")

</div>

Hello , I have daily task to build and deploy with ansible and we are looking for such configuration that in git repo something got change in template folder related playbook automatically trigger Please suggest if any…

---

## [ios\_config module - identifying differences between running & intended config](https://forum.ansible.com/t/ios-config-module-identifying-differences-between-running-intended-config/27781)

<div class="topic-metadata">

**Author:** [@rckd02](https://forum.ansible.com/u/rckd02)\
**Replies:** 0\
**Last updated:** [June 12, 2018, 3:35pm UTC](https://forum.ansible.com/t/ios-config-module-identifying-differences-between-running-intended-config/27781 "2018-06-12T15:35:04Z")

</div>

I have the following playbook and would like to know if it is expected behavior that ‘changed\_when:false’ would cause the the differences between the two files not to be shown in the output. My goal with this playbook i…

---

## [\[Ansible\]-Error while sending debug data though email module](https://forum.ansible.com/t/ansible-error-while-sending-debug-data-though-email-module/27780)

<div class="topic-metadata">

**Author:** [@devopsram2012](https://forum.ansible.com/u/devopsram2012)\
**Replies:** 0\
**Last updated:** [June 12, 2018, 3:04pm UTC](https://forum.ansible.com/t/ansible-error-while-sending-debug-data-though-email-module/27780 "2018-06-12T15:04:33Z")

</div>

Hi All, I’m new to Ansible. I’m using Ansible email module to send debug message but I’m getting error. Please find the below code and please guide me.

---

## [Ansible playbook ping conditional statement](https://forum.ansible.com/t/ansible-playbook-ping-conditional-statement/27743)

<div class="topic-metadata">

**Author:** [@Andrew\_Morgan](https://forum.ansible.com/u/Andrew_Morgan)\
**Replies:** 2\
**Last updated:** [June 12, 2018, 2:32pm UTC](https://forum.ansible.com/t/ansible-playbook-ping-conditional-statement/27743 "2018-06-12T14:32:16Z")

</div>

Hello all, I am trying to get this playbook to work where it runs a task based on the OS type, debian/ubuntu or centos/redhat .My ansible version is 2.4.2.0, I am using ubuntu. I have a mixture of OS in my environment …

---

## [required training on using AWX/Tower and GIt](https://forum.ansible.com/t/required-training-on-using-awx-tower-and-git/27772)

<div class="topic-metadata">

**Author:** [@Kallu\_Srikanth](https://forum.ansible.com/u/Kallu_Srikanth)\
**Replies:** 0\
**Last updated:** [June 12, 2018, 4:06am UTC](https://forum.ansible.com/t/required-training-on-using-awx-tower-and-git/27772 "2018-06-12T04:06:22Z")

</div>

Hi ALL looking for highly experienced Ansible user with very good skills in using AWX/tower and Git together and interested in paid training. Please let me know. Thanks, Srikanth

---

## [Help: ansible 2.5 and vmware\_guest](https://forum.ansible.com/t/help-ansible-2-5-and-vmware-guest/27726)

<div class="topic-metadata">

**Author:** [@Allan\_B](https://forum.ansible.com/u/Allan_B)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 4:21pm UTC](https://forum.ansible.com/t/help-ansible-2-5-and-vmware-guest/27726 "2018-06-11T16:21:30Z")

</div>

I’m getting this error when run the playbook against vcenter 6.5. My playbook is very basic to build a new VM (not from template) “msg”: “Failed to create a virtual machine : A specified parameter was not correct: pool” …

---

## [ERROR! no action detected in task.](https://forum.ansible.com/t/error-no-action-detected-in-task/27769)

<div class="topic-metadata">

**Author:** [@caseykgiles](https://forum.ansible.com/u/caseykgiles)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 4:00pm UTC](https://forum.ansible.com/t/error-no-action-detected-in-task/27769 "2018-06-11T16:00:47Z")

</div>

Hi, I am new to ansible and keep experiencing the same error when I run different plays. I am currently running plays with the --check syntax. Any advice would be greatly appreciated! ERROR! no action detected in task. …

---

## [Changing Last item in Host Group for Template](https://forum.ansible.com/t/changing-last-item-in-host-group-for-template/27767)

<div class="topic-metadata">

**Author:** [@Janis\_Orlovs](https://forum.ansible.com/u/Janis_Orlovs)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 2:07pm UTC](https://forum.ansible.com/t/changing-last-item-in-host-group-for-template/27767 "2018-06-11T14:07:15Z")

</div>

Hello, I have got situation, where I needed to change last item in the host group for template. {% for host in groups\[‘application\_srv’\] %} {% if groups\[‘application\_srv’\].index(inventory\_hostname) == -1 %} …

---

## [win\_command or win\_shell error.](https://forum.ansible.com/t/win-command-or-win-shell-error/27753)

<div class="topic-metadata">

**Author:** [@doppalapudi\_saikumar](https://forum.ansible.com/u/doppalapudi_saikumar)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 10:11am UTC](https://forum.ansible.com/t/win-command-or-win-shell-error/27753 "2018-06-11T10:11:56Z")

</div>

Hi, I had tried running win\_command , had this error fatal: \[sql test 2\]: FAILED! =\> {“changed”: true, “cmd”: “C:xxxxx.4P1\_x64.exe /s /v"/qn SILENT\_MODE=1 /Li C:xxxxxxInstall.log INSTALLDIR=\\"c:\\xxxxx\\pDrive\\" SVCUSERN…

---

## [error running win\_command with playbook](https://forum.ansible.com/t/error-running-win-command-with-playbook/27759)

<div class="topic-metadata">

**Author:** [@doppalapudi\_saikumar](https://forum.ansible.com/u/doppalapudi_saikumar)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 10:09am UTC](https://forum.ansible.com/t/error-running-win-command-with-playbook/27759 "2018-06-11T10:09:41Z")

</div>

I was able to run on cmd prompt but when I run it it hangs .Nothing happens. please let me know how to execute this using playbook. hosts: web-servers vars: SnapdriveAcc: xxxxx\\xxxxxxx SnapdrivePW: xxxxxxxx tasks: …

---

## [playbook error for external parameter](https://forum.ansible.com/t/playbook-error-for-external-parameter/27745)

<div class="topic-metadata">

**Author:** [@SUMIT\_SAHAY](https://forum.ansible.com/u/SUMIT_SAHAY)\
**Replies:** 4\
**Last updated:** [June 11, 2018, 9:12am UTC](https://forum.ansible.com/t/playbook-error-for-external-parameter/27745 "2018-06-11T09:12:11Z")

</div>

Hi All, I am having one issue, -e’switch\_desc=“interface Gi1/0/16”’ Created ansible playbook for ios\_config but when passing the external parameter I am getting one error of Incomplete command as it is reading only “i…

---

## [Issue getting VLAN if  network is Distribution virtual switch](https://forum.ansible.com/t/issue-getting-vlan-if-network-is-distribution-virtual-switch/27763)

<div class="topic-metadata">

**Author:** [@Umesh\_Gowda](https://forum.ansible.com/u/Umesh_Gowda)\
**Replies:** 0\
**Last updated:** [June 11, 2018, 6:37am UTC](https://forum.ansible.com/t/issue-getting-vlan-if-network-is-distribution-virtual-switch/27763 "2018-06-11T06:37:47Z")

</div>

Having issue Deploy vm from template network is Distribution virtual switch standard switch works fine Need help regrading issue I am able to deploy vm from the template successfully with out any issue if the network i…

---

## [Having issue Deploy vm from template network is Distribution virtual switch](https://forum.ansible.com/t/having-issue-deploy-vm-from-template-network-is-distribution-virtual-switch/27682)

<div class="topic-metadata">

**Author:** [@Umesh\_Gowda](https://forum.ansible.com/u/Umesh_Gowda)\
**Replies:** 1\
**Last updated:** [June 11, 2018, 6:34am UTC](https://forum.ansible.com/t/having-issue-deploy-vm-from-template-network-is-distribution-virtual-switch/27682 "2018-06-11T06:34:25Z")

</div>

Having issue Deploy vm from template network is Distribution virtual switch standard switch works fine Need help regrading issue I am able to deploy vm from the template successfully with out any issue if the network i…

---

## [I have trouble understanding the variable hierarchy](https://forum.ansible.com/t/i-have-trouble-understanding-the-variable-hierarchy/13730)

<div class="topic-metadata">

**Author:** [@Guillem\_Liarte](https://forum.ansible.com/u/Guillem_Liarte)\
**Replies:** 3\
**Last updated:** [June 11, 2018, 4:20am UTC](https://forum.ansible.com/t/i-have-trouble-understanding-the-variable-hierarchy/13730 "2018-06-11T04:20:38Z")

</div>

Hello, I have experience in CfEngine and Puppet and I am trying to get to understand Ansible, but soem simple things as expading a variable do not seem to work as easy as it says in tin. I am following the structure de…

---

## [URI module fails with SSL cert validation set to no](https://forum.ansible.com/t/uri-module-fails-with-ssl-cert-validation-set-to-no/27730)

<div class="topic-metadata">

**Author:** [@Gilberto\_Valentin](https://forum.ansible.com/u/Gilberto_Valentin)\
**Replies:** 5\
**Last updated:** [June 11, 2018, 12:28am UTC](https://forum.ansible.com/t/uri-module-fails-with-ssl-cert-validation-set-to-no/27730 "2018-06-11T00:28:57Z")

</div>

When running a task from a playbook using the URI module, I am getting the following SSL error: \` workstation:documents me$ ansible-playbook --tags checkHealth myplaybook.yml PLAY \[check indexing status\] \*\*\*\*\*\*\*\*\*\*\*\*\*…

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

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