# Latest

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

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

**Page:** 826

---

## [protect ansible code ?](https://forum.ansible.com/t/protect-ansible-code/19557)

<div class="topic-metadata">

**Author:** [@Alejandro\_Comisario](https://forum.ansible.com/u/Alejandro_Comisario)\
**Replies:** 3\
**Last updated:** [October 20, 2015, 8:53pm UTC](https://forum.ansible.com/t/protect-ansible-code/19557 "2015-10-20T20:53:04Z")

</div>

Yeahp, im not talking about vault, im talking about protecting / encrypting / compiling ansible app ( by that i mean a series of roles executed for example, by a site.yml ). By that i mean, any company that builts a pro…

---

## [apt module fails with non-root sudoer ("Permission denied")](https://forum.ansible.com/t/apt-module-fails-with-non-root-sudoer-permission-denied/19516)

<div class="topic-metadata">

**Author:** [@Kevin\_Jaquier](https://forum.ansible.com/u/Kevin_Jaquier)\
**Replies:** 7\
**Last updated:** [October 20, 2015, 8:41pm UTC](https://forum.ansible.com/t/apt-module-fails-with-non-root-sudoer-permission-denied/19516 "2015-10-20T20:41:57Z")

</div>

I’m having trouble executing my script from a user with sudo access instead of root. I’m getting “permission denied” errors when playing the playbook, but if I execute the commands manually on the server it works just f…

---

## [new windows pull requests - feedback appreciated](https://forum.ansible.com/t/new-windows-pull-requests-feedback-appreciated/19566)

<div class="topic-metadata">

**Author:** [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Replies:** 0\
**Last updated:** [October 20, 2015, 5:32pm UTC](https://forum.ansible.com/t/new-windows-pull-requests-feedback-appreciated/19566 "2015-10-20T17:32:49Z")

</div>

Hey, recently i created some pull requests to the extras repository, because currently i’m heavily working with ansible on windows. I would appreciate any feedback for the pull requests. https://github.com/ansible/ans…

---

## [Copying file from server1 to server 2](https://forum.ansible.com/t/copying-file-from-server1-to-server-2/19565)

<div class="topic-metadata">

**Author:** [@Ramon\_Bautista](https://forum.ansible.com/u/Ramon_Bautista)\
**Replies:** 0\
**Last updated:** [October 20, 2015, 3:53pm UTC](https://forum.ansible.com/t/copying-file-from-server1-to-server-2/19565 "2015-10-20T15:53:25Z")

</div>

Hello, I can’t seem to copy a tar over from one server (server01) to another(server02). I am trying to do this from a server called server03.helpme.com This is part of my hosts file: \[dev\] server01.helpme.com:7723 Th…

---

## [Versioning servers provisioned by Ansible](https://forum.ansible.com/t/versioning-servers-provisioned-by-ansible/19562)

<div class="topic-metadata">

**Author:** [@Henning\_Juva](https://forum.ansible.com/u/Henning_Juva)\
**Replies:** 3\
**Last updated:** [October 20, 2015, 3:20pm UTC](https://forum.ansible.com/t/versioning-servers-provisioned-by-ansible/19562 "2015-10-20T15:20:15Z")

</div>

Hi, I´ve been assigned a task where I should be able to version our servers which are being provisioned by ansible. The ansible setup on the controller machine is located in a Git repo. I have ansible logging configured…

---

## [installing rvm: setting environment for role](https://forum.ansible.com/t/installing-rvm-setting-environment-for-role/19563)

<div class="topic-metadata">

**Author:** [@r.grosmann](https://forum.ansible.com/u/r.grosmann)\
**Replies:** 1\
**Last updated:** [October 20, 2015, 3:01pm UTC](https://forum.ansible.com/t/installing-rvm-setting-environment-for-role/19563 "2015-10-20T15:01:16Z")

</div>

hello group, In order to install rvm for a user, I have tried the rvm1-ansible role. My playbook looks like this: roles: machine role: rvm\_io.rvm1-ruby sudo: True rvm1\_user: ‘fuser’ rvm1\_rvm\_version: ‘stable’ rv…

---

## [Ansible 2 Performance Regressions](https://forum.ansible.com/t/ansible-2-performance-regressions/19558)

<div class="topic-metadata">

**Author:** [@Christian\_Clinton](https://forum.ansible.com/u/Christian_Clinton)\
**Replies:** 1\
**Last updated:** [October 20, 2015, 2:17pm UTC](https://forum.ansible.com/t/ansible-2-performance-regressions/19558 "2015-10-20T14:17:09Z")

</div>

Hello, Apologies in advance for the long mail. I’ve been testing out Ansible 2.0 and ran into some performance issues, especially with large inventories. My test playbook takes 10 seconds to complete on ansible 1.9. In …

---

## [Copying files on the remote host](https://forum.ansible.com/t/copying-files-on-the-remote-host/19559)

<div class="topic-metadata">

**Author:** [@brentgclarklist](https://forum.ansible.com/u/brentgclarklist)\
**Replies:** 1\
**Last updated:** [October 20, 2015, 12:54pm UTC](https://forum.ansible.com/t/copying-files-on-the-remote-host/19559 "2015-10-20T12:54:40Z")

</div>

Good day Guys How do I got about copying files on the remote host? My client up loads the cert in /srv, and I need ansible to copy it. This is what I got: name: copy SSL key domain.key command: creates=“{{ ssl\_cert…

---

## [Debugging Ansible with Packer](https://forum.ansible.com/t/debugging-ansible-with-packer/19552)

<div class="topic-metadata">

**Author:** [@Nathan\_Sowatskey](https://forum.ansible.com/u/Nathan_Sowatskey)\
**Replies:** 3\
**Last updated:** [October 20, 2015, 11:20am UTC](https://forum.ansible.com/t/debugging-ansible-with-packer/19552 "2015-10-20T11:20:58Z")

</div>

Hi Does anyone know how to debug what Ansible is doing as part of a Packer build please? Using packer -debug did not help. In effect I need a way to introduce the -vvvvv argument to Ansible from within Packer, or to c…

---

## [ec2 inventory to return Name tags](https://forum.ansible.com/t/ec2-inventory-to-return-name-tags/19520)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 1\
**Last updated:** [October 20, 2015, 6:55am UTC](https://forum.ansible.com/t/ec2-inventory-to-return-name-tags/19520 "2015-10-20T06:55:50Z")

</div>

Hi, I’m able to run Ansible on AWS using ec2.py successfully but unfortunately I get the public DNS of the instance instead of the Name tag : ansible -i plugins/inventory/ec2.py “tag\_Environment\_prod” -m shell -a “upti…

---

## [How to do something with nested variables...](https://forum.ansible.com/t/how-to-do-something-with-nested-variables/19549)

<div class="topic-metadata">

**Author:** [@Will\_Dennis](https://forum.ansible.com/u/Will_Dennis)\
**Replies:** 1\
**Last updated:** [October 20, 2015, 3:09am UTC](https://forum.ansible.com/t/how-to-do-something-with-nested-variables/19549 "2015-10-20T03:09:05Z")

</div>

Hi AnsiPeeps, I have a nested structure in vars as so: data\_bricks: ovirt-node-01: gluster\_brick2 gluster\_brick4 ovirt-node-02: gluster\_brick1 gluster\_brick3 ovirt-node-03: gluster\_brick2 gluster\_brick4 (the numb…

---

## [AWS China Support/Issues - AWS was not able to validate the provided access credentials - Launching Instance](https://forum.ansible.com/t/aws-china-support-issues-aws-was-not-able-to-validate-the-provided-access-credentials-launching-instance/19556)

<div class="topic-metadata">

**Author:** [@K\_Cheng](https://forum.ansible.com/u/K_Cheng)\
**Replies:** 9\
**Last updated:** [October 20, 2015, 12:59am UTC](https://forum.ansible.com/t/aws-china-support-issues-aws-was-not-able-to-validate-the-provided-access-credentials-launching-instance/19556 "2015-10-20T00:59:46Z")

</div>

Hi, Apologies if this has already been asked previously - I couldn’t seem to find the relevant information I required. I’m having issues running a playbook to launch a EC2 instance in AWS China. The same playbook works…

---

## [Best practices for deploying 100 apps in multiple environments](https://forum.ansible.com/t/best-practices-for-deploying-100-apps-in-multiple-environments/19539)

<div class="topic-metadata">

**Author:** [@Yannooo](https://forum.ansible.com/u/Yannooo)\
**Replies:** 1\
**Last updated:** [October 19, 2015, 10:02pm UTC](https://forum.ansible.com/t/best-practices-for-deploying-100-apps-in-multiple-environments/19539 "2015-10-19T22:02:35Z")

</div>

Hello, We are currently using Ansible to provision VMs with developer tools for a java workshop (jenkins, maven, sonarqube, nexus, svn, redmine …). We’re now considering using it for deploying our java applications to o…

---

## [Ansible and ephemeral docker containers](https://forum.ansible.com/t/ansible-and-ephemeral-docker-containers/19537)

<div class="topic-metadata">

**Author:** [@AJ\_NOURI](https://forum.ansible.com/u/AJ_NOURI)\
**Replies:** 1\
**Last updated:** [October 19, 2015, 9:15pm UTC](https://forum.ansible.com/t/ansible-and-ephemeral-docker-containers/19537 "2015-10-19T21:15:17Z")

</div>

I would like to use Ansible to manage ephemeral docker containers as SSH servers with password-challenge for testing purposes. All containers are spawn from a single image, so they have the same SSH password. Is it pos…

---

## [Ansible to manipulate dynamic inventory](https://forum.ansible.com/t/ansible-to-manipulate-dynamic-inventory/19551)

<div class="topic-metadata">

**Author:** [@Bence\_Takacs](https://forum.ansible.com/u/Bence_Takacs)\
**Replies:** 1\
**Last updated:** [October 19, 2015, 9:05pm UTC](https://forum.ansible.com/t/ansible-to-manipulate-dynamic-inventory/19551 "2015-10-19T21:05:27Z")

</div>

Upon running some tasks I need to manipulate Ansible host variables. I created a dynamic inventory script that could support thata functionality and then I stucked: inventory modules support only add\_host which works …

---

## [Forcing a stop on failure](https://forum.ansible.com/t/forcing-a-stop-on-failure/19553)

<div class="topic-metadata">

**Author:** [@Guy\_Matz](https://forum.ansible.com/u/Guy_Matz)\
**Replies:** 0\
**Last updated:** [October 19, 2015, 8:23pm UTC](https://forum.ansible.com/t/forcing-a-stop-on-failure/19553 "2015-10-19T20:23:00Z")

</div>

Hi! I have a playbook that has three plays, each one deploying software to a set of servers . . . if any of these plays fail I want the playbook to stop running. Is that what any\_errors\_fatal is for? It sounds like it's …

---

## [os\_router and quantum\_router\_interface](https://forum.ansible.com/t/os-router-and-quantum-router-interface/19449)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 8\
**Last updated:** [October 19, 2015, 8:06pm UTC](https://forum.ansible.com/t/os-router-and-quantum-router-interface/19449 "2015-10-19T20:06:05Z")

</div>

I’m trying to mirror the functionality found in quantum\_router\_interface with that supplied in os\_router and am not having success. When I create the router with os\_router with these tasks name: Create a network os\_…

---

## [AWS / Elastic Beanstalk? / Docker / Ansible .. orchestration?](https://forum.ansible.com/t/aws-elastic-beanstalk-docker-ansible-orchestration/16536)

<div class="topic-metadata">

**Author:** [@Eoin\_Verling](https://forum.ansible.com/u/Eoin_Verling)\
**Replies:** 5\
**Last updated:** [October 19, 2015, 7:49pm UTC](https://forum.ansible.com/t/aws-elastic-beanstalk-docker-ansible-orchestration/16536 "2015-10-19T19:49:58Z")

</div>

Hi, I’m wondering how to orchestrate dockers, on AWS, via Ansible? I currently manage my AWS infrastructure with Ansible (network, instances, volumes, groups, lb, etc) and manage deployments / upgrades to AWS via Ansib…

---

## [Github](https://forum.ansible.com/t/github/19550)

<div class="topic-metadata">

**Author:** [@Deepak1](https://forum.ansible.com/u/Deepak1)\
**Replies:** 0\
**Last updated:** [October 19, 2015, 7:18pm UTC](https://forum.ansible.com/t/github/19550 "2015-10-19T19:18:49Z")

</div>

Are there plans to support one github repo for multiple galaxy roles? Just thinking about name collisions within my own github account.

---

## [Seeing a stream of output from stdout while forked commands execute?](https://forum.ansible.com/t/seeing-a-stream-of-output-from-stdout-while-forked-commands-execute/19541)

<div class="topic-metadata">

**Author:** [@Kevin\_Burton](https://forum.ansible.com/u/Kevin_Burton)\
**Replies:** 1\
**Last updated:** [October 19, 2015, 5:35pm UTC](https://forum.ansible.com/t/seeing-a-stream-of-output-from-stdout-while-forked-commands-execute/19541 "2015-10-19T17:35:02Z")

</div>

I need to see two things when using the shell command with ansible. Which hosts it’s attempting… Which hosts it’s contacted , executed a command on, but hasn’t yet received a value. The output, as it’s streaming…

---

## [Problem with retry file.](https://forum.ansible.com/t/problem-with-retry-file/19540)

<div class="topic-metadata">

**Author:** [@Vadim](https://forum.ansible.com/u/Vadim)\
**Replies:** 1\
**Last updated:** [October 19, 2015, 5:32pm UTC](https://forum.ansible.com/t/problem-with-retry-file/19540 "2015-10-19T17:32:36Z")

</div>

Hi. a have a problem with “retry” file. Failed (unreachable) hosts adds to retry file. Then I run command like this: “ansible-playbook test.yml --limit @/home/user/ansible/.ansible-retry/test.retry” Later host from r…

---

## [Ansible as a "daemon"](https://forum.ansible.com/t/ansible-as-a-daemon/19545)

<div class="topic-metadata">

**Author:** [@Nimon\_Ambient](https://forum.ansible.com/u/Nimon_Ambient)\
**Replies:** 4\
**Last updated:** [October 19, 2015, 4:55pm UTC](https://forum.ansible.com/t/ansible-as-a-daemon/19545 "2015-10-19T16:55:11Z")

</div>

Hi everyone, I’m very new, so sorry if this is a silly question but every time I see Ansible referred to it seems to be on a single ad-hoc command line run, which is great for building but I was wondering how (or indeed…

---

## [Ansible Tower in vagrant does now show admin password or URL](https://forum.ansible.com/t/ansible-tower-in-vagrant-does-now-show-admin-password-or-url/19546)

<div class="topic-metadata">

**Author:** [@Felix\_Glaske](https://forum.ansible.com/u/Felix_Glaske)\
**Replies:** 1\
**Last updated:** [October 19, 2015, 4:44pm UTC](https://forum.ansible.com/t/ansible-tower-in-vagrant-does-now-show-admin-password-or-url/19546 "2015-10-19T16:44:28Z")

</div>

On page http://www.ansible.com/tower-trial and section “LAUNCH TOWER IN VAGRANT” you can read “That last command will give you your admin password and the Tower log-in URL. Upon login, you will be provided with direction…

---

## [How do you structure Playbooks to Handle Managing Many Applications with Many Environments?](https://forum.ansible.com/t/how-do-you-structure-playbooks-to-handle-managing-many-applications-with-many-environments/19536)

<div class="topic-metadata">

**Author:** [@Corwin\_Brown](https://forum.ansible.com/u/Corwin_Brown)\
**Replies:** 5\
**Last updated:** [October 19, 2015, 3:34pm UTC](https://forum.ansible.com/t/how-do-you-structure-playbooks-to-handle-managing-many-applications-with-many-environments/19536 "2015-10-19T15:34:20Z")

</div>

Hey guys, I hope this is the right place to ask for advice! If not, let me know and I’ll mosey along

---

## [Installation of Ansible Tower fails at "determine if postgresql user exists"](https://forum.ansible.com/t/installation-of-ansible-tower-fails-at-determine-if-postgresql-user-exists/19547)

<div class="topic-metadata">

**Author:** [@Felix\_Glaske](https://forum.ansible.com/u/Felix_Glaske)\
**Replies:** 2\
**Last updated:** [October 19, 2015, 3:24pm UTC](https://forum.ansible.com/t/installation-of-ansible-tower-fails-at-determine-if-postgresql-user-exists/19547 "2015-10-19T15:24:16Z")

</div>

I have setup a blank VM and configured Ansible Tower via “.configure.sh” and answering the questions. After that I tried to install via “./setup.sh” Playbook always fails at: TASK: \[postgres | determine if postgresql …

---

## [ansible - variables reuse in templates](https://forum.ansible.com/t/ansible-variables-reuse-in-templates/19548)

<div class="topic-metadata">

**Author:** [@Pavlo\_Zhuk](https://forum.ansible.com/u/Pavlo_Zhuk)\
**Replies:** 1\
**Last updated:** [October 19, 2015, 2:21pm UTC](https://forum.ansible.com/t/ansible-variables-reuse-in-templates/19548 "2015-10-19T14:21:46Z")

</div>

Dears, I am trying to construct a variable inside the loop of ansible template. The value gets constructed, but I’m unable to use it outside the loop. Looks like variables with same name inside the loop and outside the…

---

## [Roles for installing Linux desktops?](https://forum.ansible.com/t/roles-for-installing-linux-desktops/19534)

<div class="topic-metadata">

**Author:** [@Nathan\_Sowatskey](https://forum.ansible.com/u/Nathan_Sowatskey)\
**Replies:** 2\
**Last updated:** [October 19, 2015, 6:38am UTC](https://forum.ansible.com/t/roles-for-installing-linux-desktops/19534 "2015-10-19T06:38:07Z")

</div>

Hi I would like to use a role that installs Linux desktops, with a variable that defines which desktop to install. The idea is inspired by this article: http://unix.stackexchange.com/questions/181503/how-to-install-de…

---

## [Can't send JSON code using uri module](https://forum.ansible.com/t/cant-send-json-code-using-uri-module/19544)

<div class="topic-metadata">

**Author:** [@Mick\_st\_john](https://forum.ansible.com/u/Mick_st_john)\
**Replies:** 0\
**Last updated:** [October 19, 2015, 5:24am UTC](https://forum.ansible.com/t/cant-send-json-code-using-uri-module/19544 "2015-10-19T05:24:36Z")

</div>

I am trying to send a JSON payload using uri module through body parameter. The variables {{ network-name }} and and {{ IP1 }} are imported from config.yml. I have defined body in vars. The json code which I am trying t…

---

## [Parent module '\<module name\>' not found while handling absolute import](https://forum.ansible.com/t/parent-module-module-name-not-found-while-handling-absolute-import/19518)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 3\
**Last updated:** [October 19, 2015, 2:20am UTC](https://forum.ansible.com/t/parent-module-module-name-not-found-while-handling-absolute-import/19518 "2015-10-19T02:20:30Z")

</div>

Git pulled today and got $ ansible --version ansible 2.0.0 (devel aee6de5a76) last updated 2015/10/15 12:05:53 (GMT -500) lib/ansible/modules/core: (detached HEAD 84b1a1a2b7) last updated 2015/10/14 12:09:49 (GMT -500…

---

## [Role within role syntax](https://forum.ansible.com/t/role-within-role-syntax/19523)

<div class="topic-metadata">

**Author:** [@Nathan\_Sowatskey](https://forum.ansible.com/u/Nathan_Sowatskey)\
**Replies:** 5\
**Last updated:** [October 18, 2015, 4:47pm UTC](https://forum.ansible.com/t/role-within-role-syntax/19523 "2015-10-18T16:47:04Z")

</div>

Hi I am working on this role: https://github.com/DevOps4Networks/ansible-opendaylight-devtools Within which I would like to use this role: https://github.com/William-Yeh/ansible-oracle-java I have tried adding the r…

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

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