# Latest

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

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

**Page:** 510

---

## [File with variables (template)](https://forum.ansible.com/t/file-with-variables-template/28926)

<div class="topic-metadata">

**Author:** [@nadim\_mansour](https://forum.ansible.com/u/nadim_mansour)\
**Replies:** 1\
**Last updated:** [November 2, 2018, 7:54am UTC](https://forum.ansible.com/t/file-with-variables-template/28926 "2018-11-02T07:54:22Z")

</div>

If I have a file and the user wants to pass variables for this file (example: http.conf) should I convert the file to http.conf.j2 ? when copied to the server it will be read as http.conf or http.conf.j2 ? where should…

---

## [Delete all files under a specific directory](https://forum.ansible.com/t/delete-all-files-under-a-specific-directory/28915)

<div class="topic-metadata">

**Author:** [@Michael\_M1](https://forum.ansible.com/u/Michael_M1)\
**Replies:** 2\
**Last updated:** [November 1, 2018, 10:40pm UTC](https://forum.ansible.com/t/delete-all-files-under-a-specific-directory/28915 "2018-11-01T22:40:22Z")

</div>

Per the documentation (in bold red below), the file module is working as designed: If directory, all intermediate subdirectories will be created if they do not exist. Since Ansible 1.7 they will be created with the supp…

---

## [Passing variables to a template / jinja2 ??](https://forum.ansible.com/t/passing-variables-to-a-template-jinja2/28907)

<div class="topic-metadata">

**Author:** [@nadim\_mansour](https://forum.ansible.com/u/nadim_mansour)\
**Replies:** 2\
**Last updated:** [November 1, 2018, 9:30pm UTC](https://forum.ansible.com/t/passing-variables-to-a-template-jinja2/28907 "2018-11-01T21:30:51Z")

</div>

I have an http.conf where some values will be variables passed by the user where should I put the variables and how the file should look can someone advice ?

---

## [Forming Contributor Experience Group](https://forum.ansible.com/t/forming-contributor-experience-group/28922)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 0\
**Last updated:** [November 1, 2018, 7:58pm UTC](https://forum.ansible.com/t/forming-contributor-experience-group/28922 "2018-11-01T19:58:55Z")

</div>

Hi everybody, Looking to see who’s interested in the Contributor Experience Group and what times are convenient for the weekly meeting What is Contributor Experience, why should I get involved? Put together a set of…

---

## [unable to setup windows host for ansible](https://forum.ansible.com/t/unable-to-setup-windows-host-for-ansible/28872)

<div class="topic-metadata">

**Author:** [@Narmada\_Karthika](https://forum.ansible.com/u/Narmada_Karthika)\
**Replies:** 14\
**Last updated:** [November 1, 2018, 7:58pm UTC](https://forum.ansible.com/t/unable-to-setup-windows-host-for-ansible/28872 "2018-11-01T19:58:17Z")

</div>

I am trying to run ping command on my windows host from linux controller i created inventory.txt file \[win\] servername \[win:vars\] ansible\_user=myusername ansible\_password=password ansible\_connection=winrm ansible…

---

## [WinRM - running ansible on widnows returning error](https://forum.ansible.com/t/winrm-running-ansible-on-widnows-returning-error/28918)

<div class="topic-metadata">

**Author:** [@nadim\_mansour](https://forum.ansible.com/u/nadim_mansour)\
**Replies:** 9\
**Last updated:** [November 1, 2018, 7:29pm UTC](https://forum.ansible.com/t/winrm-running-ansible-on-widnows-returning-error/28918 "2018-11-01T19:29:14Z")

</div>

How can I let ansible run on windows node(windows server 2012 machine) ?? I ran the belwo commands on power shell before running the ansible script : netsh advfirewall firewall add rule name=“Allow WinRM (Http)” dir=in…

---

## [AWX 2.1.0](https://forum.ansible.com/t/awx-2-1-0/28921)

<div class="topic-metadata">

**Author:** [@Shane\_McDonald](https://forum.ansible.com/u/Shane_McDonald)\
**Replies:** 0\
**Last updated:** [November 1, 2018, 4:19pm UTC](https://forum.ansible.com/t/awx-2-1-0/28921 "2018-11-01T16:19:44Z")

</div>

Hi all, A few moments ago we released AWX 2.1.0. In addition to a few bug fixes, there are a couple other notable changes in this release: Added job distribution that uses job slices to distribute large playbook runs …

---

## [Can we do group to organization mapping when using Azure AD?](https://forum.ansible.com/t/can-we-do-group-to-organization-mapping-when-using-azure-ad/27603)

<div class="topic-metadata">

**Author:** [@Eric\_Chong](https://forum.ansible.com/u/Eric_Chong)\
**Replies:** 4\
**Last updated:** [November 1, 2018, 3:23pm UTC](https://forum.ansible.com/t/can-we-do-group-to-organization-mapping-when-using-azure-ad/27603 "2018-11-01T15:23:09Z")

</div>

Is it possible to have group to organization mapping when authenticating through Azure AD? There is an option to do that when doing LDAP authentication. I wonder if we can do the same with Azure AD. Thanks

---

## [Create a list from a file ?  -- wanting to use win\_updates module and import a list of patches to the whitelist option](https://forum.ansible.com/t/create-a-list-from-a-file-wanting-to-use-win-updates-module-and-import-a-list-of-patches-to-the-whitelist-option/28920)

<div class="topic-metadata">

**Author:** [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Replies:** 0\
**Last updated:** [November 1, 2018, 12:46pm UTC](https://forum.ansible.com/t/create-a-list-from-a-file-wanting-to-use-win-updates-module-and-import-a-list-of-patches-to-the-whitelist-option/28920 "2018-11-01T12:46:56Z")

</div>

Hi In the ansible playlist, can we define a file for the playlist to import the values of the option? Instead of having to put each value in the playbook itself? In my example, I am using the win\_updates module which h…

---

## [tower\_credential module is failing](https://forum.ansible.com/t/tower-credential-module-is-failing/28916)

<div class="topic-metadata">

**Author:** [@Vinod\_Patil](https://forum.ansible.com/u/Vinod_Patil)\
**Replies:** 3\
**Last updated:** [November 1, 2018, 11:11am UTC](https://forum.ansible.com/t/tower-credential-module-is-failing/28916 "2018-11-01T11:11:55Z")

</div>

Hi , I am using tower\_credential module to create a credential on ansible tower. Ansible tower version 3.3.0 ansible tower CLI verison 3.3.0 ansible module used - tower\_credential However I am getting the error - f…

---

## [windows command from ansible / returning error](https://forum.ansible.com/t/windows-command-from-ansible-returning-error/28906)

<div class="topic-metadata">

**Author:** [@nadim\_mansour](https://forum.ansible.com/u/nadim_mansour)\
**Replies:** 4\
**Last updated:** [November 1, 2018, 10:11am UTC](https://forum.ansible.com/t/windows-command-from-ansible-returning-error/28906 "2018-11-01T10:11:10Z")

</div>

I am trying to install oracle client in silent mode by runing the following task from ansible and its returning an error: - name: Install Oracle client 12.1.0.2.1 win\_command: C:\\tmp\\ODAC121021\_x64\\setup.exe -silent -r…

---

## [shell with delegate\_to not working in AWX](https://forum.ansible.com/t/shell-with-delegate-to-not-working-in-awx/28917)

<div class="topic-metadata">

**Author:** [@SS1](https://forum.ansible.com/u/SS1)\
**Replies:** 1\
**Last updated:** [November 1, 2018, 9:04am UTC](https://forum.ansible.com/t/shell-with-delegate-to-not-working-in-awx/28917 "2018-11-01T09:04:20Z")

</div>

AWX 1.0.6.8, Ansible 2.5.4 I have a playbook to check the system params and at the end want to insert it to oracle DB. I am using sqlplus with shell module, I am not allowed to install cx\_oracle module name: Create s…

---

## [UI Template Filters](https://forum.ansible.com/t/ui-template-filters/28876)

<div class="topic-metadata">

**Author:** [@Fedor\_Sumkin](https://forum.ansible.com/u/Fedor_Sumkin)\
**Replies:** 1\
**Last updated:** [November 1, 2018, 7:48am UTC](https://forum.ansible.com/t/ui-template-filters/28876 "2018-11-01T07:48:02Z")

</div>

Is it possible to filter templates based on the exact type of template? E.g. Job Template/Workflow Job Template. I’ve tried using workflow\_job\_template, type:workflow\_job\_template but this filters don’t show workflow j…

---

## [Ansible 2.5.11 and 2.6.7 are available](https://forum.ansible.com/t/ansible-2-5-11-and-2-6-7-are-available/28913)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 3\
**Last updated:** [November 1, 2018, 7:24am UTC](https://forum.ansible.com/t/ansible-2-5-11-and-2-6-7-are-available/28913 "2018-11-01T07:24:19Z")

</div>

Hi all, Ansible 2.5.11 and 2.6.7 were released today. These releases only fix reported security vulnerability CVE-2018-16837 (https://nvd.nist.gov/vuln/detail/CVE-2018-16837). The fix protects the user module from pote…

---

## [ansible-sudo-issue](https://forum.ansible.com/t/ansible-sudo-issue/28899)

<div class="topic-metadata">

**Author:** [@Bairava\_Surya](https://forum.ansible.com/u/Bairava_Surya)\
**Replies:** 2\
**Last updated:** [November 1, 2018, 5:05am UTC](https://forum.ansible.com/t/ansible-sudo-issue/28899 "2018-11-01T05:05:43Z")

</div>

Hi Team, we need to sudo to solaris box using ansible. Below steps are done manually to login as sudo via putty SSH into solaris box by entering username and password sudo to server by entering username and password …

---

## [ansible vault with ad hoc command line](https://forum.ansible.com/t/ansible-vault-with-ad-hoc-command-line/28889)

<div class="topic-metadata">

**Author:** [@rajendra.rawat17](https://forum.ansible.com/u/rajendra.rawat17)\
**Replies:** 9\
**Last updated:** [November 1, 2018, 4:49am UTC](https://forum.ansible.com/t/ansible-vault-with-ad-hoc-command-line/28889 "2018-11-01T04:49:20Z")

</div>

Hi All, Is it possible to use ansible-vault with ad-hoc commands. Use case: I have not setup ssh key and I want to use ping module on target machine. normal way if we have setup sshkey or pass the text password 1: an…

---

## [Ansible 2.5.11 and 2.6.7 are available](https://forum.ansible.com/t/ansible-2-5-11-and-2-6-7-are-available/28914)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [November 1, 2018, 3:07am UTC](https://forum.ansible.com/t/ansible-2-5-11-and-2-6-7-are-available/28914 "2018-11-01T03:07:42Z")

</div>

Hi all, Ansible 2.5.11 and 2.6.7 were released today. These releases only fix reported security vulnerability CVE-2018-16837 (https://nvd.nist.gov/vuln/detail/CVE-2018-16837). The fix protects the user module from pote…

---

## [looks like sudo error, may be](https://forum.ansible.com/t/looks-like-sudo-error-may-be/28912)

<div class="topic-metadata">

**Author:** [@Kallu\_Srikanth](https://forum.ansible.com/u/Kallu_Srikanth)\
**Replies:** 2\
**Last updated:** [November 1, 2018, 2:26am UTC](https://forum.ansible.com/t/looks-like-sudo-error-may-be/28912 "2018-11-01T02:26:35Z")

</div>

Playbook:

---

## [Dynamic lists for a Tower Survey](https://forum.ansible.com/t/dynamic-lists-for-a-tower-survey/28167)

<div class="topic-metadata">

**Author:** [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Replies:** 6\
**Last updated:** [October 31, 2018, 5:08pm UTC](https://forum.ansible.com/t/dynamic-lists-for-a-tower-survey/28167 "2018-10-31T17:08:16Z")

</div>

Is there any way I get a dynamic list created for a Tower survey? I have found a hack - Quick dynamic options hack by ooasis · Pull Request #1408 · ansible/awx · GitHub but this would need me to get a webserver up & run…

---

## [Running servers in parallel and not sequential  ??](https://forum.ansible.com/t/running-servers-in-parallel-and-not-sequential/28908)

<div class="topic-metadata">

**Author:** [@nadim\_mansour](https://forum.ansible.com/u/nadim_mansour)\
**Replies:** 1\
**Last updated:** [October 31, 2018, 3:16pm UTC](https://forum.ansible.com/t/running-servers-in-parallel-and-not-sequential/28908 "2018-10-31T15:16:58Z")

</div>

My ansible project runs by the below order -prepare web-server (on linux) -prepare proxy-server (on linux) -prepare database-server (on windows ) Note: web server and proxy server share some roles (common , apache …e…

---

## [Changing Inventory source numbers](https://forum.ansible.com/t/changing-inventory-source-numbers/28910)

<div class="topic-metadata">

**Author:** [@Josh\_B](https://forum.ansible.com/u/Josh_B)\
**Replies:** 2\
**Last updated:** [October 31, 2018, 2:12pm UTC](https://forum.ansible.com/t/changing-inventory-source-numbers/28910 "2018-10-31T14:12:04Z")

</div>

Hello everyone!! I am working on deploying code from an AWX Dev server to a prod server. One issue I have seen is the inventory numbers don’t match from server to server. Meaning if I add a new region in DEV its not goi…

---

## [cant run a IBM Installation manager install file using ansible.](https://forum.ansible.com/t/cant-run-a-ibm-installation-manager-install-file-using-ansible/28909)

<div class="topic-metadata">

**Author:** [@Vivek1](https://forum.ansible.com/u/Vivek1)\
**Replies:** 3\
**Last updated:** [October 31, 2018, 1:12pm UTC](https://forum.ansible.com/t/cant-run-a-ibm-installation-manager-install-file-using-ansible/28909 "2018-10-31T13:12:25Z")

</div>

Hi Experts, Am very beginner on Ansible and need your kind advise here. I want to execute one installer file of IBM installation manger for its silent installation and my play book is throwing error here. Could you ple…

---

## [How to add a particular module to Ansible than merely doing an Ansible upgrade totally](https://forum.ansible.com/t/how-to-add-a-particular-module-to-ansible-than-merely-doing-an-ansible-upgrade-totally/28904)

<div class="topic-metadata">

**Author:** [@rangapv08](https://forum.ansible.com/u/rangapv08)\
**Replies:** 1\
**Last updated:** [October 31, 2018, 8:28am UTC](https://forum.ansible.com/t/how-to-add-a-particular-module-to-ansible-than-merely-doing-an-ansible-upgrade-totally/28904 "2018-10-31T08:28:09Z")

</div>

Hi, My current version of Ansible is 2.4.3.0 I need the module “gcp\_compute\_instance” which is introduced in Ansible 2.6 as per documents. Is there a way I can just only add this package to my current Ansible version …

---

## [how to configure switch with ansible](https://forum.ansible.com/t/how-to-configure-switch-with-ansible/28903)

<div class="topic-metadata">

**Author:** [@Ho\_Yeung\_Lee](https://forum.ansible.com/u/Ho_Yeung_Lee)\
**Replies:** 0\
**Last updated:** [October 31, 2018, 3:26am UTC](https://forum.ansible.com/t/how-to-configure-switch-with-ansible/28903 "2018-10-31T03:26:34Z")

</div>

i use following script can not redirect debug to a file and also can not change password or add user

---

## [Is it possible to create a project and VPC in Google cloud through Ansible?](https://forum.ansible.com/t/is-it-possible-to-create-a-project-and-vpc-in-google-cloud-through-ansible/28897)

<div class="topic-metadata">

**Author:** [@somali.batra](https://forum.ansible.com/u/somali.batra)\
**Replies:** 7\
**Last updated:** [October 31, 2018, 2:50am UTC](https://forum.ansible.com/t/is-it-possible-to-create-a-project-and-vpc-in-google-cloud-through-ansible/28897 "2018-10-31T02:50:51Z")

</div>

I am new to Ansible. I have come across various articles showing how to provision resources like GCE in the Google cloud. But I want to automate the entire end to end flow and thus would start with automating the creatio…

---

## [Custom credential injectors](https://forum.ansible.com/t/custom-credential-injectors/28879)

<div class="topic-metadata">

**Author:** [@thatsatechnique](https://forum.ansible.com/u/thatsatechnique)\
**Replies:** 3\
**Last updated:** [October 30, 2018, 11:48pm UTC](https://forum.ansible.com/t/custom-credential-injectors/28879 "2018-10-30T23:48:00Z")

</div>

I am having a heck of a time getting a custom credential to ‘inject’ a variable into a playbook. Let’s take an example… fields: secret: true type: string id: slack\_token label: slack\_token secret: false type: …

---

## [Fate of Ansible & Tower -- IBM Acquiring RedHat](https://forum.ansible.com/t/fate-of-ansible-tower-ibm-acquiring-redhat/28901)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 1\
**Last updated:** [October 30, 2018, 9:17pm UTC](https://forum.ansible.com/t/fate-of-ansible-tower-ibm-acquiring-redhat/28901 "2018-10-30T21:17:09Z")

</div>

Maybe this isn’t the place for this, but just wondering your thoughts on the acquisition of RedHat by IBM. They promise to keep it as its own business unit, but we have seen things like this in the past. I used to work f…

---

## [Ansible-Protecting-Paswords](https://forum.ansible.com/t/ansible-protecting-paswords/28890)

<div class="topic-metadata">

**Author:** [@Bairava\_Surya](https://forum.ansible.com/u/Bairava_Surya)\
**Replies:** 1\
**Last updated:** [October 30, 2018, 8:24pm UTC](https://forum.ansible.com/t/ansible-protecting-paswords/28890 "2018-10-30T20:24:10Z")

</div>

Hi All,

---

## [Ansible Sudo Issue-Solaris](https://forum.ansible.com/t/ansible-sudo-issue-solaris/28834)

<div class="topic-metadata">

**Author:** [@Bairava\_Surya](https://forum.ansible.com/u/Bairava_Surya)\
**Replies:** 9\
**Last updated:** [October 30, 2018, 6:52pm UTC](https://forum.ansible.com/t/ansible-sudo-issue-solaris/28834 "2018-10-30T18:52:22Z")

</div>

hi all, i want to run basic command on solaris OS i.e whoami using become command.so am able to sudo to different user using putty successfully but facing issues via ansible. OS:solaris Sudo user:mygroup sudo impleme…

---

## [Determine which network a host is on](https://forum.ansible.com/t/determine-which-network-a-host-is-on/28900)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [October 30, 2018, 6:05pm UTC](https://forum.ansible.com/t/determine-which-network-a-host-is-on/28900 "2018-10-30T18:05:15Z")

</div>

So I’ve got a playbook I’ve written where the config is different depending on the network it resides on. How can I determine this and be able to save the network as a variable?

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

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