# Latest

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

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

**Page:** 586

---

## [Switch config template](https://forum.ansible.com/t/switch-config-template/26672)

<div class="topic-metadata">

**Author:** [@Surjeet\_Singh](https://forum.ansible.com/u/Surjeet_Singh)\
**Replies:** 0\
**Last updated:** [February 6, 2018, 2:18pm UTC](https://forum.ansible.com/t/switch-config-template/26672 "2018-02-06T14:18:33Z")

</div>

Hi All, I am working to prepare config template for one of my on going project, where i have four type of devices to create template and push the config. i have made my strategy to how to deal with this. now i want wri…

---

## [Ansible - create LVM](https://forum.ansible.com/t/ansible-create-lvm/26668)

<div class="topic-metadata">

**Author:** [@tasiorek27](https://forum.ansible.com/u/tasiorek27)\
**Replies:** 2\
**Last updated:** [February 6, 2018, 7:11am UTC](https://forum.ansible.com/t/ansible-create-lvm/26668 "2018-02-06T07:11:32Z")

</div>

Hello, I’m pretty new in ansible, so excuse me for this (stupid?) question, but it bothers me. I’m trying to set up LVM on the remote host with ansible. Here is my role: \`

---

## [How to access AWX credential store from a Playbook?](https://forum.ansible.com/t/how-to-access-awx-credential-store-from-a-playbook/26638)

<div class="topic-metadata">

**Author:** [@Claudio\_Patricio\_Rif](https://forum.ansible.com/u/Claudio_Patricio_Rif)\
**Replies:** 6\
**Last updated:** [February 6, 2018, 6:38am UTC](https://forum.ansible.com/t/how-to-access-awx-credential-store-from-a-playbook/26638 "2018-02-06T06:38:13Z")

</div>

Hi there! Is possible to access the credentials stored in AWX from a Playbook? How?

---

## [Simple YAMl File syntax errors](https://forum.ansible.com/t/simple-yaml-file-syntax-errors/26579)

<div class="topic-metadata">

**Author:** [@Mallireddy\_Gangadhar](https://forum.ansible.com/u/Mallireddy_Gangadhar)\
**Replies:** 2\
**Last updated:** [February 6, 2018, 3:28am UTC](https://forum.ansible.com/t/simple-yaml-file-syntax-errors/26579 "2018-02-06T03:28:43Z")

</div>

Hi , I have written a simple yaml file to install httpd package

---

## [win\_domain\_membership - Setting Hostname when No Domain Is Present](https://forum.ansible.com/t/win-domain-membership-setting-hostname-when-no-domain-is-present/26667)

<div class="topic-metadata">

**Author:** [@Justin2](https://forum.ansible.com/u/Justin2)\
**Replies:** 1\
**Last updated:** [February 6, 2018, 1:54am UTC](https://forum.ansible.com/t/win-domain-membership-setting-hostname-when-no-domain-is-present/26667 "2018-02-06T01:54:19Z")

</div>

I have a windows ec2 instance, that I would like to set the hostname on. Issue being, the module wants Domain Admin credentials which do not exist so I am not sure what is really needed here. ansible 2.4.3.0 config fil…

---

## [Help printing out key/value pair from a register?](https://forum.ansible.com/t/help-printing-out-key-value-pair-from-a-register/26665)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [February 6, 2018, 1:14am UTC](https://forum.ansible.com/t/help-printing-out-key-value-pair-from-a-register/26665 "2018-02-06T01:14:21Z")

</div>

I have a register with the following output of a query from the acl module. \` ok: \[server.domain.com\] =\> { “acl\_query.results”: \[ { “\_ansible\_item\_result”: true, “\_ansible\_no\_log”: false, “changed”: false, “item”…

---

## [Ansible scans all files under host\_vars when executing a playbook](https://forum.ansible.com/t/ansible-scans-all-files-under-host-vars-when-executing-a-playbook/26648)

<div class="topic-metadata">

**Author:** [@Carl\_Wainwright](https://forum.ansible.com/u/Carl_Wainwright)\
**Replies:** 4\
**Last updated:** [February 5, 2018, 7:27pm UTC](https://forum.ansible.com/t/ansible-scans-all-files-under-host-vars-when-executing-a-playbook/26648 "2018-02-05T19:27:44Z")

</div>

Greetings, I trying to understand if my setup is correct or not given the subject matter. When I run a playbook on a particular host and a host\_vars file for another host has a syntactical error the playbook execution …

---

## [Ansible keepalived increment int](https://forum.ansible.com/t/ansible-keepalived-increment-int/26666)

<div class="topic-metadata">

**Author:** [@Owen\_Corcoran](https://forum.ansible.com/u/Owen_Corcoran)\
**Replies:** 1\
**Last updated:** [February 5, 2018, 6:17pm UTC](https://forum.ansible.com/t/ansible-keepalived-increment-int/26666 "2018-02-05T18:17:09Z")

</div>

Hi all I have a template I've been working on for keepalived and as part of the template, I want to get it to loop through a list of virtual ips and sub interface eth0 based on the number of virtual ips to manage . What…

---

## [Stuck on with\_items and trying to pass specific value from 1 task to the next](https://forum.ansible.com/t/stuck-on-with-items-and-trying-to-pass-specific-value-from-1-task-to-the-next/26647)

<div class="topic-metadata">

**Author:** [@davros1984](https://forum.ansible.com/u/davros1984)\
**Replies:** 1\
**Last updated:** [February 5, 2018, 6:10pm UTC](https://forum.ansible.com/t/stuck-on-with-items-and-trying-to-pass-specific-value-from-1-task-to-the-next/26647 "2018-02-05T18:10:26Z")

</div>

Hi, I’ve spent the past few days trying to find a solution to a challenge I have. Hopefully someone here has the answer. Here is a slimmed down version, which hopefully will help me move forwards. \` hosts: satellit…

---

## [The loop variable 'item' is already in use. You should set the \`loop\_var\` value in the \`loop\_control\` option for the task to something else to avoid variable collisions and unexpected behavior.](https://forum.ansible.com/t/the-loop-variable-item-is-already-in-use-you-should-set-the-loop-var-value-in-the-loop-control-option-for-the-task-to-something-else-to-avoid-variable-collisions-and-unexpected-behavior/26664)

<div class="topic-metadata">

**Author:** [@Moncy\_Varghese](https://forum.ansible.com/u/Moncy_Varghese)\
**Replies:** 2\
**Last updated:** [February 5, 2018, 4:49pm UTC](https://forum.ansible.com/t/the-loop-variable-item-is-already-in-use-you-should-set-the-loop-var-value-in-the-loop-control-option-for-the-task-to-something-else-to-avoid-variable-collisions-and-unexpected-behavior/26664 "2018-02-05T16:49:57Z")

</div>

Dear All, I am having issues running the final step for ansible , openstack-ansible setup-openstack.yml .It reports the below error /opt/openstack-ansible/playbooks# screen Monday 05 February 2018 16:27:19 +0300 (0:00…

---

## [Dynamic reusability of a playbook — include\_tasks, include\_role, import\_playbook …  Mission impossible?](https://forum.ansible.com/t/dynamic-reusability-of-a-playbook-include-tasks-include-role-import-playbook-mission-impossible/26649)

<div class="topic-metadata">

**Author:** [@Stas\_Fomin](https://forum.ansible.com/u/Stas_Fomin)\
**Replies:** 1\
**Last updated:** [February 5, 2018, 3:14pm UTC](https://forum.ansible.com/t/dynamic-reusability-of-a-playbook-include-tasks-include-role-import-playbook-mission-impossible/26649 "2018-02-05T15:14:43Z")

</div>

Hello all. Consider following sample project: https://github.com/belonesox/ansible\_dynamic\_role\_howto With tree: . ├── playbook.yml ├── run-playbook └── somedir └── dynamically\_defined\_dir ├── do.yml ├── roles …

---

## [Trimming](https://forum.ansible.com/t/trimming/26662)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 1\
**Last updated:** [February 5, 2018, 3:04pm UTC](https://forum.ansible.com/t/trimming/26662 "2018-02-05T15:04:59Z")

</div>

hi, i have a variable registered as Location and the value is C:\\Windows\\System32, i want to modify it to C:\\windows\\felik , i would like to modify the location upto drive level wherever required… how can i do this

---

## [Inventory source variables](https://forum.ansible.com/t/inventory-source-variables/26663)

<div class="topic-metadata">

**Author:** [@raf.nijskens.hgst](https://forum.ansible.com/u/raf.nijskens.hgst)\
**Replies:** 0\
**Last updated:** [February 5, 2018, 1:28pm UTC](https://forum.ansible.com/t/inventory-source-variables/26663 "2018-02-05T13:28:38Z")

</div>

Hi All, For an inventory with a project as source, you can enter an inventory file and environment variables. Within that inventory we have an ansible.cfg with the vault password. Everything works as expected when I s…

---

## [To Login SOAP API](https://forum.ansible.com/t/to-login-soap-api/26660)

<div class="topic-metadata">

**Author:** [@rajasekhar\_mutyala](https://forum.ansible.com/u/rajasekhar_mutyala)\
**Replies:** 2\
**Last updated:** [February 5, 2018, 1:22pm UTC](https://forum.ansible.com/t/to-login-soap-api/26660 "2018-02-05T13:22:27Z")

</div>

Hi All, I am trying to login and perform some taks using SOAP API with ansible. Can you please let me know how to call SOAP API along with examples would really help. Thanks Rajasekhar

---

## [ansible conditions](https://forum.ansible.com/t/ansible-conditions/26622)

<div class="topic-metadata">

**Author:** [@Sidh](https://forum.ansible.com/u/Sidh)\
**Replies:** 9\
**Last updated:** [February 5, 2018, 12:14pm UTC](https://forum.ansible.com/t/ansible-conditions/26622 "2018-02-05T12:14:24Z")

</div>

Hi, Below snippet sometimes working and sometimes failing. So, i am executing it with jenkins and idea is that if parameter is defined then script should run otherwise it should not run. Can anyone please enlighten me …

---

## [Creating multiple rules on an AWS load balancer listener](https://forum.ansible.com/t/creating-multiple-rules-on-an-aws-load-balancer-listener/26656)

<div class="topic-metadata">

**Author:** [@george](https://forum.ansible.com/u/george)\
**Replies:** 2\
**Last updated:** [February 5, 2018, 8:53am UTC](https://forum.ansible.com/t/creating-multiple-rules-on-an-aws-load-balancer-listener/26656 "2018-02-05T08:53:32Z")

</div>

Hi All, I have an application load balancer in AWS with an HTTP listener configured (another tool provisioned it, not ansible). Anyway my task is to add rules to its HTTP listener using Ansible by looping through a vars…

---

## [Specs failing on devel](https://forum.ansible.com/t/specs-failing-on-devel/26659)

<div class="topic-metadata">

**Author:** [@eshan\_TANDON](https://forum.ansible.com/u/eshan_TANDON)\
**Replies:** 0\
**Last updated:** [February 5, 2018, 12:53am UTC](https://forum.ansible.com/t/specs-failing-on-devel/26659 "2018-02-05T00:53:19Z")

</div>

Hi All, I am new bee to ansible project, I was just trying to run the specs but seems like specs are not passing: ============================================ 15 failed, 3625 passed, 31 skipped in 773.89 seconds ======…

---

## [New module return type](https://forum.ansible.com/t/new-module-return-type/26658)

<div class="topic-metadata">

**Author:** [@matzehollerbach](https://forum.ansible.com/u/matzehollerbach)\
**Replies:** 3\
**Last updated:** [February 4, 2018, 11:04pm UTC](https://forum.ansible.com/t/new-module-return-type/26658 "2018-02-04T23:04:24Z")

</div>

I’m currently developing my first ansible module. It can read/write os x settings, since these settings can be nested the return type can be an integer, float, string, dict, list, etc… When I run the validate-modules te…

---

## [Using tower for automaed patching](https://forum.ansible.com/t/using-tower-for-automaed-patching/26657)

<div class="topic-metadata">

**Author:** [@D11](https://forum.ansible.com/u/D11)\
**Replies:** 0\
**Last updated:** [February 4, 2018, 3:33pm UTC](https://forum.ansible.com/t/using-tower-for-automaed-patching/26657 "2018-02-04T15:33:46Z")

</div>

Hello, I am new to tower, i have a plan to design patching as a services for automated patching on Linux box, i am also using satellite6 for patch information. Does anyone have implemented it ? If you can share your id…

---

## [ssh connection doesn't work](https://forum.ansible.com/t/ssh-connection-doesnt-work/26655)

<div class="topic-metadata">

**Author:** [@jonathan.recly](https://forum.ansible.com/u/jonathan.recly)\
**Replies:** 2\
**Last updated:** [February 4, 2018, 1:38pm UTC](https://forum.ansible.com/t/ssh-connection-doesnt-work/26655 "2018-02-04T13:38:52Z")

</div>

Hi everybody, I have some problems to use ansible. I use ansible version 2.4.3.0 i I testing just one host with IP and port (I have port fowarding). I copying ssh pub key (ssh-copy-id). I try to install Git on the t…

---

## [pyOpenSSL is in Python path but Ansible does not see it (Openssl\_certificate module)](https://forum.ansible.com/t/pyopenssl-is-in-python-path-but-ansible-does-not-see-it-openssl-certificate-module/26651)

<div class="topic-metadata">

**Author:** [@Michael\_Bubb](https://forum.ansible.com/u/Michael_Bubb)\
**Replies:** 1\
**Last updated:** [February 4, 2018, 8:04am UTC](https://forum.ansible.com/t/pyopenssl-is-in-python-path-but-ansible-does-not-see-it-openssl-certificate-module/26651 "2018-02-04T08:04:29Z")

</div>

When trying to run the Openssl\_certificate module with provider=assertonly I am getting “The python pyOpenSSL library is required” but it looks like that is available to Python: python -m OpenSSL.debug \` pyOpenSSL: …

---

## [How to handle the password field of a Survey created on AWX Job Template on a Playbook?](https://forum.ansible.com/t/how-to-handle-the-password-field-of-a-survey-created-on-awx-job-template-on-a-playbook/26639)

<div class="topic-metadata">

**Author:** [@Claudio\_Patricio\_Rif](https://forum.ansible.com/u/Claudio_Patricio_Rif)\
**Replies:** 2\
**Last updated:** [February 4, 2018, 5:28am UTC](https://forum.ansible.com/t/how-to-handle-the-password-field-of-a-survey-created-on-awx-job-template-on-a-playbook/26639 "2018-02-04T05:28:51Z")

</div>

I’m trying to create a Template job to change an user password. The template job asks the user for a new password and this is sued on the playbook as new\_password. I believe the password is passed to the Playbook encry…

---

## [Ansible dynamic looping](https://forum.ansible.com/t/ansible-dynamic-looping/26632)

<div class="topic-metadata">

**Author:** [@Andrew\_Morgan2](https://forum.ansible.com/u/Andrew_Morgan2)\
**Replies:** 9\
**Last updated:** [February 4, 2018, 4:24am UTC](https://forum.ansible.com/t/ansible-dynamic-looping/26632 "2018-02-04T04:24:20Z")

</div>

Hello all, I have a play I want to run wich deletes all hosts matching a certain criteria: \` tasks: name: Delete unavailable nodes zabbix\_host: server\_url: http://zabbix.aa.net/zabbix login\_user: Admin login\_pas…

---

## [Update search path?](https://forum.ansible.com/t/update-search-path/26650)

<div class="topic-metadata">

**Author:** [@Demitri\_Swan](https://forum.ansible.com/u/Demitri_Swan)\
**Replies:** 1\
**Last updated:** [February 3, 2018, 5:51pm UTC](https://forum.ansible.com/t/update-search-path/26650 "2018-02-03T17:51:16Z")

</div>

I’m working on an Ansible module that will enable Mesos operators to easily update resource reservations within the mesos platform. I’ve got things unit tested and validated against a dev cluster. Unfortunately, when I i…

---

## [Unable to setup AWX (1.0.3.5) using the kubernetes deployment process.](https://forum.ansible.com/t/unable-to-setup-awx-1-0-3-5-using-the-kubernetes-deployment-process/26653)

<div class="topic-metadata">

**Author:** [@Cesar\_Sanchez2](https://forum.ansible.com/u/Cesar_Sanchez2)\
**Replies:** 0\
**Last updated:** [February 3, 2018, 4:51pm UTC](https://forum.ansible.com/t/unable-to-setup-awx-1-0-3-5-using-the-kubernetes-deployment-process/26653 "2018-02-03T16:51:14Z")

</div>

Hello guys. I’ve setup a kubernetes cluster, and I’m trying to deploy the awx project pods. Everything seems to work, but…then, accessing the external endpoint I set for the service, the server displays the AWX migrati…

---

## [How to store ansible vault password in jenkins](https://forum.ansible.com/t/how-to-store-ansible-vault-password-in-jenkins/26637)

<div class="topic-metadata">

**Author:** [@Jayashri\_Garud](https://forum.ansible.com/u/Jayashri_Garud)\
**Replies:** 1\
**Last updated:** [February 2, 2018, 7:52pm UTC](https://forum.ansible.com/t/how-to-store-ansible-vault-password-in-jenkins/26637 "2018-02-02T19:52:31Z")

</div>

Hi All, We are using ansible vault to encrypt group\_vars in our environment. We are using github to store code and jenkins for CI. I am able to use ansible vault locally but I want to use ansible vault in automated syst…

---

## [\--limit to run specific role for a host which is in multiple groups in inventory](https://forum.ansible.com/t/limit-to-run-specific-role-for-a-host-which-is-in-multiple-groups-in-inventory/26646)

<div class="topic-metadata">

**Author:** [@Rajesh\_Ramachandran](https://forum.ansible.com/u/Rajesh_Ramachandran)\
**Replies:** 0\
**Last updated:** [February 2, 2018, 4:28pm UTC](https://forum.ansible.com/t/limit-to-run-specific-role-for-a-host-which-is-in-multiple-groups-in-inventory/26646 "2018-02-02T16:28:42Z")

</div>

Hello, I need to limit ansible to run specific role by limiting with groups in inventory. The inventory and role layouts listed below cannot be changed in our environment. For example : Inventory (all three groups hav…

---

## [Ansible Tower Installation failed in RHEL 7.4 with error pkg\_resources.DistributionNotFound: awx==3.2.2](https://forum.ansible.com/t/ansible-tower-installation-failed-in-rhel-7-4-with-error-pkg-resources-distributionnotfound-awx-3-2-2/26635)

<div class="topic-metadata">

**Author:** [@Mark\_Lam](https://forum.ansible.com/u/Mark_Lam)\
**Replies:** 1\
**Last updated:** [February 2, 2018, 4:16pm UTC](https://forum.ansible.com/t/ansible-tower-installation-failed-in-rhel-7-4-with-error-pkg-resources-distributionnotfound-awx-3-2-2/26635 "2018-02-02T16:16:34Z")

</div>

Hi all The installation fails in the step “Migrate the Tower database schema” after run file setup.sh in ansible-tower-setup-3.2.2 May I miss any setting ? Please help me to take a look. Thanks TASK \[awx\_install : S…

---

## [Unable to Login to Ansible Tower UI page, after enabling SSL and access the UI page on DNS url.](https://forum.ansible.com/t/unable-to-login-to-ansible-tower-ui-page-after-enabling-ssl-and-access-the-ui-page-on-dns-url/26620)

<div class="topic-metadata">

**Author:** [@Shyam\_sunder](https://forum.ansible.com/u/Shyam_sunder)\
**Replies:** 4\
**Last updated:** [February 2, 2018, 3:01pm UTC](https://forum.ansible.com/t/unable-to-login-to-ansible-tower-ui-page-after-enabling-ssl-and-access-the-ui-page-on-dns-url/26620 "2018-02-02T15:01:55Z")

</div>

When we enter credential to login to Ansible Tower UI after enabling SSL and access the UI page on DNS url(https://example.com). after some investigation found that ansible fails to login to api in back-end stating inval…

---

## [Access Denied error while installing SQLServer in Silent mode using Ansible on remote Host](https://forum.ansible.com/t/access-denied-error-while-installing-sqlserver-in-silent-mode-using-ansible-on-remote-host/26645)

<div class="topic-metadata">

**Author:** [@matburt](https://forum.ansible.com/u/matburt)\
**Replies:** 0\
**Last updated:** [February 2, 2018, 2:53pm UTC](https://forum.ansible.com/t/access-denied-error-while-installing-sqlserver-in-silent-mode-using-ansible-on-remote-host/26645 "2018-02-02T14:53:59Z")

</div>

This support forum is for AWX. You should ask for help on the Ansible core project itself.

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

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