# Latest

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

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

**Page:** 773

---

## [Can Ansible interact with an application?](https://forum.ansible.com/t/can-ansible-interact-with-an-application/21150)

<div class="topic-metadata">

**Author:** [@richard\_kappler](https://forum.ansible.com/u/richard_kappler)\
**Replies:** 2\
**Last updated:** [April 13, 2016, 1:36pm UTC](https://forum.ansible.com/t/can-ansible-interact-with-an-application/21150 "2016-04-13T13:36:35Z")

</div>

I am writing a playbook to set up new VM’s remotely, and two of the tasks require interaction with a utility and an app, and I’m presuming this could be done in Ansible, but have no idea how, so I’m looking for a pointer…

---

## [ansible error message](https://forum.ansible.com/t/ansible-error-message/21151)

<div class="topic-metadata">

**Author:** [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Replies:** 0\
**Last updated:** [April 13, 2016, 1:17pm UTC](https://forum.ansible.com/t/ansible-error-message/21151 "2016-04-13T13:17:11Z")

</div>

I am running an ansible script that returned an error message anytime I have added a JSON payload TASK: \[uri url=http://ec2-54-164-162-26.compute-1.amazonaws.com:7777/mmc-support method=POST user=admin password=admin re…

---

## [New Modules Report, 12-Apr-2016](https://forum.ansible.com/t/new-modules-report-12-apr-2016/21146)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 1\
**Last updated:** [April 13, 2016, 11:02am UTC](https://forum.ansible.com/t/new-modules-report-12-apr-2016/21146 "2016-04-13T11:02:07Z")

</div>

There are currently 150 modules waiting for inclusion in Ansible Extras. One of them might be useful to you! New modules this week: InfluxDB database module https://github.com/ansible/ansible-modules-extras/pull/2015 …

---

## [lineinfile unexpected behavior](https://forum.ansible.com/t/lineinfile-unexpected-behavior/21144)

<div class="topic-metadata">

**Author:** [@adam.frederick](https://forum.ansible.com/u/adam.frederick)\
**Replies:** 1\
**Last updated:** [April 13, 2016, 12:12am UTC](https://forum.ansible.com/t/lineinfile-unexpected-behavior/21144 "2016-04-13T00:12:53Z")

</div>

I have the following in a playbook to uncomment a line. The first time I run it everything works fine. If I run it again it inserts a “Banner /etc/issue.net” at the EOF. Is there a better way to do this? name: uncommen…

---

## [This isn't working for me  -hosts: {{ hostvars\['localhost'\]\['mylist'\] }}   :   hostvars is undefined](https://forum.ansible.com/t/this-isnt-working-for-me-hosts-hostvars-localhost-mylist-hostvars-is-undefined/21145)

<div class="topic-metadata">

**Author:** [@Larry\_Fast](https://forum.ansible.com/u/Larry_Fast)\
**Replies:** 4\
**Last updated:** [April 12, 2016, 10:08pm UTC](https://forum.ansible.com/t/this-isnt-working-for-me-hosts-hostvars-localhost-mylist-hostvars-is-undefined/21145 "2016-04-12T22:08:16Z")

</div>

I’m trying to dynamically build the group of hosts that will be used in a play. I’m doing this within a hosts: localhost play. However hostvars seems to be undefined when evaluating the - hosts: line. Suggestions?

---

## [Ansbile fails to connect while ssh works](https://forum.ansible.com/t/ansbile-fails-to-connect-while-ssh-works/21112)

<div class="topic-metadata">

**Author:** [@Jack\_Minardi](https://forum.ansible.com/u/Jack_Minardi)\
**Replies:** 5\
**Last updated:** [April 12, 2016, 6:21pm UTC](https://forum.ansible.com/t/ansbile-fails-to-connect-while-ssh-works/21112 "2016-04-12T18:21:29Z")

</div>

Hi all, I may be doing something completely stupid but I failing to get even a basic ping to work. I have been using ansible for a few weeks and everything has been going great. However today everything stopped working…

---

## [Newbie: Need best practice advice on ansible used as configuration manager.](https://forum.ansible.com/t/newbie-need-best-practice-advice-on-ansible-used-as-configuration-manager/21111)

<div class="topic-metadata">

**Author:** [@Anthony\_P\_V](https://forum.ansible.com/u/Anthony_P_V)\
**Replies:** 2\
**Last updated:** [April 12, 2016, 6:08pm UTC](https://forum.ansible.com/t/newbie-need-best-practice-advice-on-ansible-used-as-configuration-manager/21111 "2016-04-12T18:08:39Z")

</div>

I build simple servers for customers. Like, email, ftp, webserver and samba. Just started using ansible and it is great for setup and reuse of work. I am using roles from ansible galaxy. Each server is independent. Tha…

---

## [Breaking up hosts file](https://forum.ansible.com/t/breaking-up-hosts-file/21137)

<div class="topic-metadata">

**Author:** [@Tom\_Hanstra](https://forum.ansible.com/u/Tom_Hanstra)\
**Replies:** 7\
**Last updated:** [April 12, 2016, 5:34pm UTC](https://forum.ansible.com/t/breaking-up-hosts-file/21137 "2016-04-12T17:34:24Z")

</div>

I currently have been putting both hosts and host related variables into the /etc/ansible/hosts file with variables such as this: \[myhosts\] host1 host2 \[host1\] host1.domain \[host1:vars\] var1=“Some data” var2=“Som…

---

## [How to run ansible playbook with Bamboo or jenkins](https://forum.ansible.com/t/how-to-run-ansible-playbook-with-bamboo-or-jenkins/21140)

<div class="topic-metadata">

**Author:** [@imed\_khaskhoussi](https://forum.ansible.com/u/imed_khaskhoussi)\
**Replies:** 2\
**Last updated:** [April 12, 2016, 5:02pm UTC](https://forum.ansible.com/t/how-to-run-ansible-playbook-with-bamboo-or-jenkins/21140 "2016-04-12T17:02:49Z")

</div>

I want to execute an ansible playbook using Bamboo or jenkins. However the build failed because i can’t pass the ssh password . Have you any idea please ?

---

## [Windows authentication](https://forum.ansible.com/t/windows-authentication/21120)

<div class="topic-metadata">

**Author:** [@Anjana\_Raghavendra\_P](https://forum.ansible.com/u/Anjana_Raghavendra_P)\
**Replies:** 2\
**Last updated:** [April 12, 2016, 4:02pm UTC](https://forum.ansible.com/t/windows-authentication/21120 "2016-04-12T16:02:13Z")

</div>

Hi, We are using CIS hardened AWS windows AMI in our production servers. What this means is the winrm basic authentication is disabled at client and service level. Now, I am unable to use the ansible to configure/deploy…

---

## [Ansible 2.0.2 RC4 is available for testing](https://forum.ansible.com/t/ansible-2-0-2-rc4-is-available-for-testing/21141)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [April 12, 2016, 3:12pm UTC](https://forum.ansible.com/t/ansible-2-0-2-rc4-is-available-for-testing/21141 "2016-04-12T15:12:10Z")

</div>

Hi all, we have released Ansible 2.0.2 RC4 to address a few more last minute bugs: A very rare yet nagging issue (https://github.com/ansible/ansible/issues/15342), which appears to be related to a bug in certain versio…

---

## [Ansible role execution order is not serial](https://forum.ansible.com/t/ansible-role-execution-order-is-not-serial/21126)

<div class="topic-metadata">

**Author:** [@Tung\_Nguyen](https://forum.ansible.com/u/Tung_Nguyen)\
**Replies:** 2\
**Last updated:** [April 12, 2016, 2:17pm UTC](https://forum.ansible.com/t/ansible-role-execution-order-is-not-serial/21126 "2016-04-12T14:17:52Z")

</div>

I have a set of custom roles like this on AWS EC2 \`

---

## [unarchive task works with root user but fails with other users](https://forum.ansible.com/t/unarchive-task-works-with-root-user-but-fails-with-other-users/21138)

<div class="topic-metadata">

**Author:** [@noses](https://forum.ansible.com/u/noses)\
**Replies:** 0\
**Last updated:** [April 12, 2016, 1:52pm UTC](https://forum.ansible.com/t/unarchive-task-works-with-root-user-but-fails-with-other-users/21138 "2016-04-12T13:52:25Z")

</div>

Hi all, I’m trying to run a playbook but I’m having some trouble. If in the playbook I have: name: spark installation playbook hosts: SPARK become\_user: root become: yes vars: spark\_folder\_name: “spark-1.6.0-bin…

---

## [provision instance on AZURE](https://forum.ansible.com/t/provision-instance-on-azure/21119)

<div class="topic-metadata">

**Author:** [@yaniv\_refael](https://forum.ansible.com/u/yaniv_refael)\
**Replies:** 1\
**Last updated:** [April 12, 2016, 1:10pm UTC](https://forum.ansible.com/t/provision-instance-on-azure/21119 "2016-04-12T13:10:39Z")

</div>

Hi, I tried to provision instance on azure (ansible-playbook -i /usr/share/pyshared/ansible/modules/core/cloud/azure/azure.py azure.yml) and I got the flowing error: ERROR! The file /usr/share/pyshared/ansible/modules/…

---

## [raw commands to appliances with limited SSH support](https://forum.ansible.com/t/raw-commands-to-appliances-with-limited-ssh-support/21136)

<div class="topic-metadata">

**Author:** [@Craig\_Wilson](https://forum.ansible.com/u/Craig_Wilson)\
**Replies:** 0\
**Last updated:** [April 12, 2016, 11:34am UTC](https://forum.ansible.com/t/raw-commands-to-appliances-with-limited-ssh-support/21136 "2016-04-12T11:34:32Z")

</div>

We are trying to issue a command to a storage appliance we have, I have setup the raw module but I am getting /bin/sh does not exist errors, how can I stop ansible executing the command as /bin/sh -c 'command rather than…

---

## [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…

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

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