# Archives

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

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

**Page:** 527

---

## [Ansible Tower community](https://forum.ansible.com/t/ansible-tower-community/23368)

<div class="topic-metadata">

**Author:** [@Stuart\_Cracraft](https://forum.ansible.com/u/Stuart_Cracraft)\
**Replies:** 0\
**Last updated:** [January 3, 2017, 5:52pm UTC](https://forum.ansible.com/t/ansible-tower-community/23368 "2017-01-03T17:52:12Z")

</div>

Is there an Ansible Tower online community expressly for Ansible Tower?

---

## [How to execute a backend java program?](https://forum.ansible.com/t/how-to-execute-a-backend-java-program/22593)

<div class="topic-metadata">

**Author:** [@user94](https://forum.ansible.com/u/user94)\
**Replies:** 1\
**Last updated:** [January 3, 2017, 5:49pm UTC](https://forum.ansible.com/t/how-to-execute-a-backend-java-program/22593 "2017-01-03T17:49:12Z")

</div>

Hi, I use ansible 2.0.0. and I want start a java web program which use spring boot and compile as a jar file, but it always don’t work. I can execute “nohup java -jar xxx.jar &” on the target machine (the target machin…

---

## [activating a conda environment in ansible playbook](https://forum.ansible.com/t/activating-a-conda-environment-in-ansible-playbook/23367)

<div class="topic-metadata">

**Author:** [@Jeff3](https://forum.ansible.com/u/Jeff3)\
**Replies:** 0\
**Last updated:** [January 3, 2017, 4:41pm UTC](https://forum.ansible.com/t/activating-a-conda-environment-in-ansible-playbook/23367 "2017-01-03T16:41:11Z")

</div>

Hello I am trying to run a list of tasks (here running airflow but it could be anything really) that require to be executed in a existing conda environment. I would like to do sth like this: tasks: name: activate con…

---

## [Syntax for adding lists in playbook](https://forum.ansible.com/t/syntax-for-adding-lists-in-playbook/23366)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 1\
**Last updated:** [January 3, 2017, 4:05pm UTC](https://forum.ansible.com/t/syntax-for-adding-lists-in-playbook/23366 "2017-01-03T16:05:48Z")

</div>

Dear all, I have a task that is supposed to be running with\_nested, aka with two lists it should loop through:

---

## [vsphere\_guest adding disk and vnic](https://forum.ansible.com/t/vsphere-guest-adding-disk-and-vnic/23364)

<div class="topic-metadata">

**Author:** [@Kresimir\_Petrovic](https://forum.ansible.com/u/Kresimir_Petrovic)\
**Replies:** 0\
**Last updated:** [January 3, 2017, 2:57pm UTC](https://forum.ansible.com/t/vsphere-guest-adding-disk-and-vnic/23364 "2017-01-03T14:57:29Z")

</div>

Is adding additional disk and nic supported on vsphere\_guest module. I successfully created task that creates virtual machine with single disk and two vnics. I created additional task and using “state: reconfigured” and…

---

## [\[newbie\] connecting to remote hosts and adding packages](https://forum.ansible.com/t/newbie-connecting-to-remote-hosts-and-adding-packages/23357)

<div class="topic-metadata">

**Author:** [@Mario\_Giammarco](https://forum.ansible.com/u/Mario_Giammarco)\
**Replies:** 1\
**Last updated:** [January 3, 2017, 2:23pm UTC](https://forum.ansible.com/t/newbie-connecting-to-remote-hosts-and-adding-packages/23357 "2017-01-03T14:23:32Z")

</div>

Hello, I am trying ansible because it seems it is very simple in usage. I have the following use case: several ubuntu an debian servers (all permit login to non root users) user and password is different in each serv…

---

## [Using serverspec with ansible](https://forum.ansible.com/t/using-serverspec-with-ansible/23352)

<div class="topic-metadata">

**Author:** [@Dan\_Steffen](https://forum.ansible.com/u/Dan_Steffen)\
**Replies:** 1\
**Last updated:** [January 3, 2017, 1:58pm UTC](https://forum.ansible.com/t/using-serverspec-with-ansible/23352 "2017-01-03T13:58:01Z")

</div>

Hello, I would like to use serverspec with ansible so I can test if the services a running and listing, but I didn’t find any informationen about how I can use it, especially how I call the test in the playbook. I woul…

---

## [SVN module: In check\_mode also check svn.has\_local\_mods()](https://forum.ansible.com/t/svn-module-in-check-mode-also-check-svn-has-local-mods/23362)

<div class="topic-metadata">

**Author:** [@vj.calvo](https://forum.ansible.com/u/vj.calvo)\
**Replies:** 0\
**Last updated:** [January 3, 2017, 1:31pm UTC](https://forum.ansible.com/t/svn-module-in-check-mode-also-check-svn-has-local-mods/23362 "2017-01-03T13:31:27Z")

</div>

Hello, For our deployment purposes using Ansible and SVN we would need to test (check mode, dry-run) before run the deployment playbook. If there is some missing file in the destination it will pass the check-mode but n…

---

## [SunOS user execution profiles](https://forum.ansible.com/t/sunos-user-execution-profiles/23360)

<div class="topic-metadata">

**Author:** [@Antonio\_Huete\_Jimene](https://forum.ansible.com/u/Antonio_Huete_Jimene)\
**Replies:** 0\
**Last updated:** [January 3, 2017, 12:48pm UTC](https://forum.ansible.com/t/sunos-user-execution-profiles/23360 "2017-01-03T12:48:53Z")

</div>

Hi, I would like to know if there is/has been any effort to add support for SunOS user profiles (see -P to useradd(1M) command) to the system/user module. If not, I’d like to work on adding it. I’ve been checking user…

---

## [Considering RHN Satellite to Ansible migration](https://forum.ansible.com/t/considering-rhn-satellite-to-ansible-migration/23358)

<div class="topic-metadata">

**Author:** [@WideOldElf](https://forum.ansible.com/u/WideOldElf)\
**Replies:** 0\
**Last updated:** [January 3, 2017, 2:34am UTC](https://forum.ansible.com/t/considering-rhn-satellite-to-ansible-migration/23358 "2017-01-03T02:34:21Z")

</div>

Hi all I’m just researching my options as my Satellite v5 → Satellite v6 migration testing did not go well. Aside from application instability, configuration management under v6 is not friendly. The must haves of any re…

---

## [Update multiple lines using lineinfile](https://forum.ansible.com/t/update-multiple-lines-using-lineinfile/23350)

<div class="topic-metadata">

**Author:** [@vmadhura21](https://forum.ansible.com/u/vmadhura21)\
**Replies:** 1\
**Last updated:** [January 2, 2017, 2:32pm UTC](https://forum.ansible.com/t/update-multiple-lines-using-lineinfile/23350 "2017-01-02T14:32:39Z")

</div>

Hi, I am new to Ansible and I am finding it hard to update multiple lines in 2 different stanza in a file. Below is the example: I am trying to update gpgcheckvalue from 1 to 0 —\> gpgcheck=1 to 0 in 2 stanzas below (up…

---

## [Is there a way in Ansible to check a particular condition (e.g., the health status of Elasticsearch cluster) in a loop?](https://forum.ansible.com/t/is-there-a-way-in-ansible-to-check-a-particular-condition-e-g-the-health-status-of-elasticsearch-cluster-in-a-loop/23343)

<div class="topic-metadata">

**Author:** [@Qian\_Zhang](https://forum.ansible.com/u/Qian_Zhang)\
**Replies:** 1\
**Last updated:** [January 2, 2017, 1:27pm UTC](https://forum.ansible.com/t/is-there-a-way-in-ansible-to-check-a-particular-condition-e-g-the-health-status-of-elasticsearch-cluster-in-a-loop/23343 "2017-01-02T13:27:26Z")

</div>

Hi, I am going to use Ansible to deploy Elasticsearch and Logstash. Before deploying Logstash, I’d like to check if the health status of Elasticsearch cluster is green or not, e.g., $ curl -s 127.0.0.1:9200/\_cat/health…

---

## [ansible-nsupdate - module allowing dynamic dns updates](https://forum.ansible.com/t/ansible-nsupdate-module-allowing-dynamic-dns-updates/18828)

<div class="topic-metadata">

**Author:** [@Marcin\_Skarbek](https://forum.ansible.com/u/Marcin_Skarbek)\
**Replies:** 3\
**Last updated:** [January 2, 2017, 8:02am UTC](https://forum.ansible.com/t/ansible-nsupdate-module-allowing-dynamic-dns-updates/18828 "2017-01-02T08:02:36Z")

</div>

Hi, It’s highly possible that someone created such module already but if not and you are looking for a simple way to add, remove or update dns record without editing zone files ansible-nsupdate allows to use dynamic upd…

---

## [Ansible packer zero free space](https://forum.ansible.com/t/ansible-packer-zero-free-space/23354)

<div class="topic-metadata">

**Author:** [@zlemini](https://forum.ansible.com/u/zlemini)\
**Replies:** 0\
**Last updated:** [January 1, 2017, 12:30pm UTC](https://forum.ansible.com/t/ansible-packer-zero-free-space/23354 "2017-01-01T12:30:31Z")

</div>

Hi, Normally i use the Packer Ansible provisioner to install software on an OpenStack image. I follow that up with a call to the Packer shell provisioner which basically runs the dd utility to zero out free space on th…

---

## [Ansible to output which host a task is running on](https://forum.ansible.com/t/ansible-to-output-which-host-a-task-is-running-on/23331)

<div class="topic-metadata">

**Author:** [@Mumshad\_Mannambeth](https://forum.ansible.com/u/Mumshad_Mannambeth)\
**Replies:** 2\
**Last updated:** [December 31, 2016, 10:12pm UTC](https://forum.ansible.com/t/ansible-to-output-which-host-a-task-is-running-on/23331 "2016-12-31T22:12:37Z")

</div>

Ansible prints information whenever a task starts, but doesn’t print information on which host it is running currently. is there a way to make it print this information. may be with modification to Callback plugins? I lo…

---

## [How to use ignore\_errors with include statement ?](https://forum.ansible.com/t/how-to-use-ignore-errors-with-include-statement/23338)

<div class="topic-metadata">

**Author:** [@Cann](https://forum.ansible.com/u/Cann)\
**Replies:** 4\
**Last updated:** [December 30, 2016, 10:00pm UTC](https://forum.ansible.com/t/how-to-use-ignore-errors-with-include-statement/23338 "2016-12-30T22:00:41Z")

</div>

Hello all, I have dynamic variable that includes specific playbook during run time. I don’t want my ansible to fail if variable is not defined. I tried to use ignore\_errors statement but it does not work for some reaso…

---

## [storing stack.stack\_outputs to a variable](https://forum.ansible.com/t/storing-stack-stack-outputs-to-a-variable/23349)

<div class="topic-metadata">

**Author:** [@Saurabh\_Garg](https://forum.ansible.com/u/Saurabh_Garg)\
**Replies:** 0\
**Last updated:** [December 30, 2016, 12:55pm UTC](https://forum.ansible.com/t/storing-stack-stack-outputs-to-a-variable/23349 "2016-12-30T12:55:57Z")

</div>

name: show stack outputs debug: msg=“{{stack.stack\_outputs}}” This helps me get stack output like RDS URL and ElasticBeanstalk URL after Stack Deployment. How can I save this out to a file out variables. Sample snipp…

---

## [Ansible interpreting rendered template as list](https://forum.ansible.com/t/ansible-interpreting-rendered-template-as-list/23347)

<div class="topic-metadata">

**Author:** [@Stefan\_Smith](https://forum.ansible.com/u/Stefan_Smith)\
**Replies:** 0\
**Last updated:** [December 29, 2016, 8:26pm UTC](https://forum.ansible.com/t/ansible-interpreting-rendered-template-as-list/23347 "2016-12-29T20:26:18Z")

</div>

Hi, I have a requirement to render a jinja template which starts and ends with square brackets and expands some variables. I’m finding that Ansible interprets the result as a YAML list but I need Ansible to treat it as …

---

## [ansible pip module and --upgrade](https://forum.ansible.com/t/ansible-pip-module-and-upgrade/17537)

<div class="topic-metadata">

**Author:** [@Jilles\_van\_Gurp](https://forum.ansible.com/u/Jilles_van_Gurp)\
**Replies:** 5\
**Last updated:** [December 29, 2016, 3:54pm UTC](https://forum.ansible.com/t/ansible-pip-module-and-upgrade/17537 "2016-12-29T15:54:02Z")

</div>

I just ran into an obscure issue where I actually had a version of docker-py installed on a target system but not the latest version. Long version below but the tldr; is that I eventually solved it with a manual pip inst…

---

## [Delegate with template with source file on remote](https://forum.ansible.com/t/delegate-with-template-with-source-file-on-remote/23345)

<div class="topic-metadata">

**Author:** [@Mehdi\_B](https://forum.ansible.com/u/Mehdi_B)\
**Replies:** 1\
**Last updated:** [December 29, 2016, 10:52am UTC](https://forum.ansible.com/t/delegate-with-template-with-source-file-on-remote/23345 "2016-12-29T10:52:58Z")

</div>

Hi, I have a project where I wanted to use templates but instead of having them on ansible server, I wanted to use a remote file and deploy it. Why? As I’m cloning site project on remote front servers, and the template…

---

## [Ansible does not properly extract a tarball using unarchive module?](https://forum.ansible.com/t/ansible-does-not-properly-extract-a-tarball-using-unarchive-module/23341)

<div class="topic-metadata">

**Author:** [@burns498](https://forum.ansible.com/u/burns498)\
**Replies:** 0\
**Last updated:** [December 28, 2016, 9:59pm UTC](https://forum.ansible.com/t/ansible-does-not-properly-extract-a-tarball-using-unarchive-module/23341 "2016-12-28T21:59:19Z")

</div>

Hello - I’m seeking some assistance in unpackaging a tarball using Ansible. I’m using the unarchive module to unpackage a tarball to a remote server. The tarball is stored localled on the Ansible server, and I want it e…

---

## [hide menu (top-left) with standard users  (Only "my view" )](https://forum.ansible.com/t/hide-menu-top-left-with-standard-users-only-my-view/23340)

<div class="topic-metadata">

**Author:** [@jeronimoggonzalez](https://forum.ansible.com/u/jeronimoggonzalez)\
**Replies:** 0\
**Last updated:** [December 28, 2016, 8:33pm UTC](https://forum.ansible.com/t/hide-menu-top-left-with-standard-users-only-my-view/23340 "2016-12-28T20:33:41Z")

</div>

Hi! Is possibly hide the menu (project,inventories,job…) when the user is a standard user ? I need the user only see “my view” (portal view) and can’t access to other options. example (v2): http://docs.ansible.com/ansi…

---

## [ec2 tag instance filters 'AND' condition implementation in Ansible-Tower](https://forum.ansible.com/t/ec2-tag-instance-filters-and-condition-implementation-in-ansible-tower/23335)

<div class="topic-metadata">

**Author:** [@Govardhana\_M.K](https://forum.ansible.com/u/Govardhana_M.K)\
**Replies:** 1\
**Last updated:** [December 28, 2016, 7:06pm UTC](https://forum.ansible.com/t/ec2-tag-instance-filters-and-condition-implementation-in-ansible-tower/23335 "2016-12-28T19:06:04Z")

</div>

I would like to filter the dynamically discovered instances with ec2.py based on ‘AND’ condition of ec2 tags with instance filters. only able to achieve OR condition with the syntax as below: tag:tagkey1=tagvalue1,tag:…

---

## [Managing an ec2 instance after creation](https://forum.ansible.com/t/managing-an-ec2-instance-after-creation/23334)

<div class="topic-metadata">

**Author:** [@Maish\_Saidel-Keesing](https://forum.ansible.com/u/Maish_Saidel-Keesing)\
**Replies:** 1\
**Last updated:** [December 28, 2016, 6:21pm UTC](https://forum.ansible.com/t/managing-an-ec2-instance-after-creation/23334 "2016-12-28T18:21:16Z")

</div>

Good afternoon all. I am trying to understand the flow of this will work - still not clear to me. I would like to provision an ec2 instance with ansible. Once that instance is created - I would like to continue to con…

---

## [Unable to upgrade to Ansible 2.2 on Mac](https://forum.ansible.com/t/unable-to-upgrade-to-ansible-2-2-on-mac/23326)

<div class="topic-metadata">

**Author:** [@Santhosh\_Gowda](https://forum.ansible.com/u/Santhosh_Gowda)\
**Replies:** 5\
**Last updated:** [December 28, 2016, 4:00pm UTC](https://forum.ansible.com/t/unable-to-upgrade-to-ansible-2-2-on-mac/23326 "2016-12-28T16:00:55Z")

</div>

Hello, I am trying to upgrade to Ansible 2.2 from 2.1 and below error is being thrown. Anyone come across this error ? if so can you please let me know how to get around this issue. HW12662:playbooks sgowda$ ansible-pl…

---

## [Glassfish configuration support](https://forum.ansible.com/t/glassfish-configuration-support/23339)

<div class="topic-metadata">

**Author:** [@zochamx](https://forum.ansible.com/u/zochamx)\
**Replies:** 0\
**Last updated:** [December 28, 2016, 12:39pm UTC](https://forum.ansible.com/t/glassfish-configuration-support/23339 "2016-12-28T12:39:34Z")

</div>

Hi all, i 've read enough trying to admin a quite big glassfish infrastructure although i haven’t find any module that handles glassfish application servers. Am i missing sth? In case that indeed there isn’t could i he…

---

## [Azure Headache](https://forum.ansible.com/t/azure-headache/23328)

<div class="topic-metadata">

**Author:** [@Stephen\_Gregory](https://forum.ansible.com/u/Stephen_Gregory)\
**Replies:** 3\
**Last updated:** [December 28, 2016, 11:34am UTC](https://forum.ansible.com/t/azure-headache/23328 "2016-12-28T11:34:57Z")

</div>

Good morning all, I’m very new to Ansible, but am looking to use it to baremetal and configure our company’s infrastructure products on either Azure or on client sites with VMware or Hyper-V. As the company is pushing A…

---

## [Invalid input detected at '^' marker. (Ansible 2.2 ios\_config module)](https://forum.ansible.com/t/invalid-input-detected-at-marker-ansible-2-2-ios-config-module/23336)

<div class="topic-metadata">

**Author:** [@Kyle\_Patton](https://forum.ansible.com/u/Kyle_Patton)\
**Replies:** 0\
**Last updated:** [December 27, 2016, 7:40pm UTC](https://forum.ansible.com/t/invalid-input-detected-at-marker-ansible-2-2-ios-config-module/23336 "2016-12-27T19:40:28Z")

</div>

I’ve tried numerous different configurations to get ios\_config to shutdown a port. According to documentation I think this should work.

---

## [problem with with\_items + when in ansible 2.2](https://forum.ansible.com/t/problem-with-with-items-when-in-ansible-2-2/23330)

<div class="topic-metadata">

**Author:** [@Spike1](https://forum.ansible.com/u/Spike1)\
**Replies:** 5\
**Last updated:** [December 24, 2016, 9:37am UTC](https://forum.ansible.com/t/problem-with-with-items-when-in-ansible-2-2/23330 "2016-12-24T09:37:09Z")

</div>

Hi, I found this bug, which is closed, but I believe I’m still seeing the same problem: Ansible 2.x errors on the task with the with\_items loop with when: some\_var is defined condition when it is used in a role, but no…

---

## [Backport uri module bug fix to stable 2.2](https://forum.ansible.com/t/backport-uri-module-bug-fix-to-stable-2-2/23293)

<div class="topic-metadata">

**Author:** [@Genadi\_Postrilko](https://forum.ansible.com/u/Genadi_Postrilko)\
**Replies:** 2\
**Last updated:** [December 24, 2016, 6:39am UTC](https://forum.ansible.com/t/backport-uri-module-bug-fix-to-stable-2-2/23293 "2016-12-24T06:39:33Z")

</div>

Hello, I have encountered a uri module digest authentication bug on ansible 2.2.0: https://github.com/ansible/ansible/issues/16936 The issue will be resolved at 2.3 by the following pull request: https://github.com/a…

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

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