# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=601

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

**Page:** 602

---

## [Correct way to generate and use per host user passwords + possible regression](https://forum.ansible.com/t/correct-way-to-generate-and-use-per-host-user-passwords-possible-regression/21110)

<div class="topic-metadata">

**Author:** [@David\_Strauss](https://forum.ansible.com/u/David_Strauss)\
**Replies:** 1\
**Last updated:** [April 12, 2016, 11:05am UTC](https://forum.ansible.com/t/correct-way-to-generate-and-use-per-host-user-passwords-possible-regression/21110 "2016-04-12T11:05:27Z")

</div>

Good evening everyone, I’m looking for an automated way to create user accounts with random passwords and re-using them for the ansible\_sudo\_pass variable. Is there an official position on how to do/accomplish this? My…

---

## [template not expanded after upgrading from 1.7 to 2.0.1.0](https://forum.ansible.com/t/template-not-expanded-after-upgrading-from-1-7-to-2-0-1-0/21127)

<div class="topic-metadata">

**Author:** [@seb.stark](https://forum.ansible.com/u/seb.stark)\
**Replies:** 4\
**Last updated:** [April 12, 2016, 6:11am UTC](https://forum.ansible.com/t/template-not-expanded-after-upgrading-from-1-7-to-2-0-1-0/21127 "2016-04-12T06:11:47Z")

</div>

I am sure I missed something here, but couldn’t find a hint in the changelog. So far I used ansible 1.7 on Ubuntu 12.04.5 and recently upgraded to ansible 2.0.1.0 on ubuntu 16.04 (beta) and it worked well. Only one of my…

---

## [using get\_url with ansible 2.0.2 to download package](https://forum.ansible.com/t/using-get-url-with-ansible-2-0-2-to-download-package/21089)

<div class="topic-metadata">

**Author:** [@imed\_khaskhoussi](https://forum.ansible.com/u/imed_khaskhoussi)\
**Replies:** 1\
**Last updated:** [April 12, 2016, 2:01am UTC](https://forum.ansible.com/t/using-get-url-with-ansible-2-0-2-to-download-package/21089 "2016-04-12T02:01:28Z")

</div>

hello,i tried to download a package with get\_url ansible,but i have a problem. The url contain some variables so i wrote like this. - get\_url: url=http://example.com/{{variable1}}/path/{{variable2}}.tar.gz dest=dest/to…

---

## [Using vault within Ansible Tower](https://forum.ansible.com/t/using-vault-within-ansible-tower/21133)

<div class="topic-metadata">

**Author:** [@Chase\_Farrant](https://forum.ansible.com/u/Chase_Farrant)\
**Replies:** 2\
**Last updated:** [April 11, 2016, 8:40pm UTC](https://forum.ansible.com/t/using-vault-within-ansible-tower/21133 "2016-04-11T20:40:49Z")

</div>

Hi all, I have a few questions about the usage of vault within Ansible Tower. Premise: When installing a Windows service via Ansible, I need to use specific credentials for running the actual service. For obvious reas…

---

## [Ansible Client Side](https://forum.ansible.com/t/ansible-client-side/21132)

<div class="topic-metadata">

**Author:** [@Mike\_Cervi](https://forum.ansible.com/u/Mike_Cervi)\
**Replies:** 3\
**Last updated:** [April 11, 2016, 7:11pm UTC](https://forum.ansible.com/t/ansible-client-side/21132 "2016-04-11T19:11:18Z")

</div>

First, forgive me if my terminology is imprecise… I’m new to these tools. Second, I work in a heavily regulated industry, and the limitations of the design are not my doing… I’m just stuck in them. While I really unders…

---

## [Customizing Ansible on Solaris](https://forum.ansible.com/t/customizing-ansible-on-solaris/21128)

<div class="topic-metadata">

**Author:** [@Herbie\_van\_Dalsen](https://forum.ansible.com/u/Herbie_van_Dalsen)\
**Replies:** 1\
**Last updated:** [April 11, 2016, 3:33pm UTC](https://forum.ansible.com/t/customizing-ansible-on-solaris/21128 "2016-04-11T15:33:59Z")

</div>

Hi there, I please need some info on how to configure/customize the ansible environment on Solaris 11. I managed the install ok, but what now? do I , like Linux, create /etc/ansible … etc …etc… What the install did no…

---

## [Ansible-2.1 Freeze date](https://forum.ansible.com/t/ansible-2-1-freeze-date/21129)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 3:18pm UTC](https://forum.ansible.com/t/ansible-2-1-freeze-date/21129 "2016-04-11T15:18:33Z")

</div>

Greetings all, we’re working hard to get Ansible-2.1 feature frozen on April 18th. We will do an rc1 on the 18th or 19th. So, committers if there are new modules and new features that you want to get merged in, this is t…

---

## [Throw exception when excute os\_image openstack module](https://forum.ansible.com/t/throw-exception-when-excute-os-image-openstack-module/21123)

<div class="topic-metadata">

**Author:** [@jaycoolzhao](https://forum.ansible.com/u/jaycoolzhao)\
**Replies:** 1\
**Last updated:** [April 11, 2016, 2:47pm UTC](https://forum.ansible.com/t/throw-exception-when-excute-os-image-openstack-module/21123 "2016-04-11T14:47:33Z")

</div>

Hi, I’m confused why os\_image throw this exception. $ ansible-playbook -i hosts openstack.yml -c local -vvv No config file found; using defaults 1 plays in openstack.yml PLAY \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Problem with templates](https://forum.ansible.com/t/problem-with-templates/21099)

<div class="topic-metadata">

**Author:** [@Roger\_Gomez](https://forum.ansible.com/u/Roger_Gomez)\
**Replies:** 5\
**Last updated:** [April 11, 2016, 1:58pm UTC](https://forum.ansible.com/t/problem-with-templates/21099 "2016-04-11T13:58:19Z")

</div>

I have this very simple playbook \`

---

## [Ansible role order](https://forum.ansible.com/t/ansible-role-order/21125)

<div class="topic-metadata">

**Author:** [@Tung\_Nguyen](https://forum.ansible.com/u/Tung_Nguyen)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 7:56am UTC](https://forum.ansible.com/t/ansible-role-order/21125 "2016-04-11T07:56:26Z")

</div>

I have a set of roles to deploy application

---

## [ubuntu/gnome desktop settings](https://forum.ansible.com/t/ubuntu-gnome-desktop-settings/21124)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 0\
**Last updated:** [April 11, 2016, 5:38am UTC](https://forum.ansible.com/t/ubuntu-gnome-desktop-settings/21124 "2016-04-11T05:38:40Z")

</div>

Is there a way ansible can manage gnome desktop settings? i use gsettings from a command line, but that requires gnome to already be running. id like to set these things while the vm is being setup.

---

## [Ansible task always run](https://forum.ansible.com/t/ansible-task-always-run/21100)

<div class="topic-metadata">

**Author:** [@G\_Joe](https://forum.ansible.com/u/G_Joe)\
**Replies:** 4\
**Last updated:** [April 11, 2016, 2:03am UTC](https://forum.ansible.com/t/ansible-task-always-run/21100 "2016-04-11T02:03:51Z")

</div>

Hi… I’m looking for a way to always run a task at the end of script, even if tasks before that were failed. Is there any option such as always\_run etc. Please advise. Thanks. GJ

---

## [user parameter is not evaluated, failing the ssh](https://forum.ansible.com/t/user-parameter-is-not-evaluated-failing-the-ssh/21121)

<div class="topic-metadata">

**Author:** [@Tzach\_Livyatan1](https://forum.ansible.com/u/Tzach_Livyatan1)\
**Replies:** 1\
**Last updated:** [April 10, 2016, 7:31pm UTC](https://forum.ansible.com/t/user-parameter-is-not-evaluated-failing-the-ssh/21121 "2016-04-10T19:31:52Z")

</div>

I tripped on the following, non consistent problem: I have a playbook which start like: \` name: Clean Data Scylla hosts: “Scylla” user: “{{scylla\_login}}” tasks: … \` scylla\_login is defined in a different file,…

---

## [Installing IIS on Windows Server 2008 R2 Standard SP1 x64](https://forum.ansible.com/t/installing-iis-on-windows-server-2008-r2-standard-sp1-x64/18826)

<div class="topic-metadata">

**Author:** [@Angel\_Cabrera](https://forum.ansible.com/u/Angel_Cabrera)\
**Replies:** 5\
**Last updated:** [April 10, 2016, 7:23pm UTC](https://forum.ansible.com/t/installing-iis-on-windows-server-2008-r2-standard-sp1-x64/18826 "2016-04-10T19:23:24Z")

</div>

I have created a simple playbook to add IIS feature to a windows server. \` name: Install IIS win\_feature: name: “Web-WebServer, Web-Mgmt-Tools” state: present restart: yes include\_sub\_features: yes include\_manag…

---

## [Git commit and push module](https://forum.ansible.com/t/git-commit-and-push-module/21122)

<div class="topic-metadata">

**Author:** [@ReDNaX](https://forum.ansible.com/u/ReDNaX)\
**Replies:** 0\
**Last updated:** [April 10, 2016, 7:09pm UTC](https://forum.ansible.com/t/git-commit-and-push-module/21122 "2016-04-10T19:09:26Z")

</div>

Hello everyone, I’m using Ansible not just to provision servers, but also to make backups of the data that is on there. Part of these backups contain text files that I would like to backup using Git so I can see the di…

---

## [creating ec2 key and save the result to a file](https://forum.ansible.com/t/creating-ec2-key-and-save-the-result-to-a-file/21116)

<div class="topic-metadata">

**Author:** [@Tzach\_Livyatan1](https://forum.ansible.com/u/Tzach_Livyatan1)\
**Replies:** 2\
**Last updated:** [April 10, 2016, 6:44pm UTC](https://forum.ansible.com/t/creating-ec2-key-and-save-the-result-to-a-file/21116 "2016-04-10T18:44:32Z")

</div>

I’m trying to use ec2\_key module, creating a new key and save it to a file for future use. The first succeed, but I have problem saving to a .pem file: Look like ec2\_key.private\_key is not returned, but ec2\_key.fingerp…

---

## [Ziploader merged to devel. New features in progress](https://forum.ansible.com/t/ziploader-merged-to-devel-new-features-in-progress/21075)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 2\
**Last updated:** [April 10, 2016, 4:21pm UTC](https://forum.ansible.com/t/ziploader-merged-to-devel-new-features-in-progress/21075 "2016-04-10T16:21:07Z")

</div>

I merged the first ziploader PR ( https://github.com/ansible/ansible/pull/15246 ) into devel this morning. So far, everything seems to be working. So that's one step.forward. There's a few other features that I wan…

---

## [How to create multiple virtual machines in azure using ansible](https://forum.ansible.com/t/how-to-create-multiple-virtual-machines-in-azure-using-ansible/19647)

<div class="topic-metadata">

**Author:** [@naveen.kumare36](https://forum.ansible.com/u/naveen.kumare36)\
**Replies:** 1\
**Last updated:** [April 10, 2016, 10:34am UTC](https://forum.ansible.com/t/how-to-create-multiple-virtual-machines-in-azure-using-ansible/19647 "2016-04-10T10:34:30Z")

</div>

I tried with the following playbook and its not working. Not sure what I am missing here. hosts: localhost connection: local gather\_facts: no vars\_files: - vars/azure.yml tasks: - name: create VM …

---

## [Fetch from Windows Server 2012 Fails Silently?](https://forum.ansible.com/t/fetch-from-windows-server-2012-fails-silently/21052)

<div class="topic-metadata">

**Author:** [@Jason\_Levitt](https://forum.ansible.com/u/Jason_Levitt)\
**Replies:** 2\
**Last updated:** [April 10, 2016, 10:02am UTC](https://forum.ansible.com/t/fetch-from-windows-server-2012-fails-silently/21052 "2016-04-10T10:02:41Z")

</div>

I’m using the Ansible “fetch” module to fetch a file from the remote Windows Server machine, but the file never arrives on the control machine (works when Linux is the remote machine though) Configuration: Control mach…

---

## [How to create a service on a windows 10 machine?](https://forum.ansible.com/t/how-to-create-a-service-on-a-windows-10-machine/21109)

<div class="topic-metadata">

**Author:** [@Mick\_st\_john](https://forum.ansible.com/u/Mick_st_john)\
**Replies:** 1\
**Last updated:** [April 9, 2016, 7:46pm UTC](https://forum.ansible.com/t/how-to-create-a-service-on-a-windows-10-machine/21109 "2016-04-09T19:46:25Z")

</div>

I am trying to create a service of type kernel on a remote windows 10 machine from a linux ansible controller machine. To create a service I’m using sc create type=kernel binpath=c:\\path command. Ansible playbook for cr…

---

## [Generating pretty HTML report from the list-tasks option.](https://forum.ansible.com/t/generating-pretty-html-report-from-the-list-tasks-option/21096)

<div class="topic-metadata">

**Author:** [@Stanley\_Kamithi](https://forum.ansible.com/u/Stanley_Kamithi)\
**Replies:** 1\
**Last updated:** [April 9, 2016, 7:41pm UTC](https://forum.ansible.com/t/generating-pretty-html-report-from-the-list-tasks-option/21096 "2016-04-09T19:41:43Z")

</div>

Is there a plugin that exists, or a feature in the works, where I can do something like this

---

## [Ansible seems to cache the target hosts](https://forum.ansible.com/t/ansible-seems-to-cache-the-target-hosts/21115)

<div class="topic-metadata">

**Author:** [@Ashish\_Nanotkar](https://forum.ansible.com/u/Ashish_Nanotkar)\
**Replies:** 0\
**Last updated:** [April 9, 2016, 5:00pm UTC](https://forum.ansible.com/t/ansible-seems-to-cache-the-target-hosts/21115 "2016-04-09T17:00:36Z")

</div>

When executed ansible playbook it does not have any effect on the hosts mentioned. I investigated with -vvv and found that it connects to another ec2 instance than intended. I the example below, I created a file “/home…

---

## [redhat\_subscription and pool ID](https://forum.ansible.com/t/redhat-subscription-and-pool-id/21114)

<div class="topic-metadata">

**Author:** [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Replies:** 0\
**Last updated:** [April 9, 2016, 10:19am UTC](https://forum.ansible.com/t/redhat-subscription-and-pool-id/21114 "2016-04-09T10:19:07Z")

</div>

Hi, I'm trying to use redhat\_subscription to register and subscribe hosts by pool ID, not subscription name. Is this possible? As I have several subscriptions that overlap in some features I'd like to be explicit about…

---

## [Possible bug in mount module or docs](https://forum.ansible.com/t/possible-bug-in-mount-module-or-docs/21113)

<div class="topic-metadata">

**Author:** [@Joshua\_J\_Kugler](https://forum.ansible.com/u/Joshua_J_Kugler)\
**Replies:** 0\
**Last updated:** [April 9, 2016, 6:33am UTC](https://forum.ansible.com/t/possible-bug-in-mount-module-or-docs/21113 "2016-04-09T06:33:34Z")

</div>

I am passing in these options to the mount module: - name: Create fstab entries for custom mount points, and mount mount: fstype: "{{ item.type }}" name: "{{ item.name }}" src: "{{ item.src }}" pa…

---

## [Run .exe on windows command prompt](https://forum.ansible.com/t/run-exe-on-windows-command-prompt/19367)

<div class="topic-metadata">

**Author:** [@Jugal\_Porwal](https://forum.ansible.com/u/Jugal_Porwal)\
**Replies:** 5\
**Last updated:** [April 8, 2016, 7:32pm UTC](https://forum.ansible.com/t/run-exe-on-windows-command-prompt/19367 "2016-04-08T19:32:12Z")

</div>

Hi, I want to run a .exe on windows command prompt from my centos control node. The command is as follows : wrapper.exe -t wrapper.conf Initially i tried to atleast run the .exe without any args using my following pla…

---

## [ansible 2.0.2 check if a variable contain a specific value](https://forum.ansible.com/t/ansible-2-0-2-check-if-a-variable-contain-a-specific-value/21101)

<div class="topic-metadata">

**Author:** [@imed\_khaskhoussi](https://forum.ansible.com/u/imed_khaskhoussi)\
**Replies:** 1\
**Last updated:** [April 8, 2016, 4:42pm UTC](https://forum.ansible.com/t/ansible-2-0-2-check-if-a-variable-contain-a-specific-value/21101 "2016-04-08T16:42:18Z")

</div>

i want to check if {{variable1}} contain a specific word for example i want to check if this variable contain the word “SNAPSHOT” or “RELEASE”. is there a command can do that ? thank you in advance .

---

## [pip version of Ansible out of date. rax\_dns\_record Module](https://forum.ansible.com/t/pip-version-of-ansible-out-of-date-rax-dns-record-module/21108)

<div class="topic-metadata">

**Author:** [@Reedik\_Tuuling](https://forum.ansible.com/u/Reedik_Tuuling)\
**Replies:** 1\
**Last updated:** [April 8, 2016, 4:38pm UTC](https://forum.ansible.com/t/pip-version-of-ansible-out-of-date-rax-dns-record-module/21108 "2016-04-08T16:38:10Z")

</div>

I tried to use the rax\_dns\_record module with the “overwrite” parameter and it tells me that: “unsupported parameter for module: overwrite” If you take a look at the history of that module you can see that the feature h…

---

## [Proposal for fixing playbooks with dynamic include problems](https://forum.ansible.com/t/proposal-for-fixing-playbooks-with-dynamic-include-problems/20861)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 23\
**Last updated:** [April 8, 2016, 3:37pm UTC](https://forum.ansible.com/t/proposal-for-fixing-playbooks-with-dynamic-include-problems/20861 "2016-04-08T15:37:41Z")

</div>

Hi all, we’ve been working on a solution over the last few weeks to address the problems introduced by making includes dynamic in 2.0, and would like some community feedback on my ideas. As you’re all probably well awar…

---

## [Nested loop in template](https://forum.ansible.com/t/nested-loop-in-template/21103)

<div class="topic-metadata">

**Author:** [@David\_Goodall](https://forum.ansible.com/u/David_Goodall)\
**Replies:** 1\
**Last updated:** [April 8, 2016, 2:00pm UTC](https://forum.ansible.com/t/nested-loop-in-template/21103 "2016-04-08T14:00:09Z")

</div>

Hi, I’m trying to create an Apache vhost config file using a legacy yaml file that I can’t change. I’m nearly there, but the nested loop in the template doesn’t work as expected. Here’s the yaml: sites: site1.com: v…

---

## [win\_lineinfile backrefs not working](https://forum.ansible.com/t/win-lineinfile-backrefs-not-working/21079)

<div class="topic-metadata">

**Author:** [@dr1](https://forum.ansible.com/u/dr1)\
**Replies:** 2\
**Last updated:** [April 8, 2016, 1:01pm UTC](https://forum.ansible.com/t/win-lineinfile-backrefs-not-working/21079 "2016-04-08T13:01:53Z")

</div>

Hello great people of ansible persuasion, I’m trying to do some win\_lineinfile with backrefs. Being a core module, it could be I’m doing it wrong, so here it goes - let me know if you have any clue: win\_lineinfile: de…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=600)

[Next page](https://forum.ansible.com/c/archives/31.md?page=602)
