# Latest

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

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

**Page:** 971

---

## [how to have general playlist call specific playlist and/or roles?](https://forum.ansible.com/t/how-to-have-general-playlist-call-specific-playlist-and-or-roles/15188)

<div class="topic-metadata">

**Author:** [@chris\_snyder](https://forum.ansible.com/u/chris_snyder)\
**Replies:** 4\
**Last updated:** [May 9, 2014, 11:53pm UTC](https://forum.ansible.com/t/how-to-have-general-playlist-call-specific-playlist-and-or-roles/15188 "2014-05-09T23:53:53Z")

</div>

I’m having a really hard time wrapping my head around how to organize my plays and roles with Ansible. What I have: I have multiple Linux distros I need to support with Ansible. Each distro has different requirements w…

---

## [pip install ansible on Ubuntu 12.04](https://forum.ansible.com/t/pip-install-ansible-on-ubuntu-12-04/15199)

<div class="topic-metadata">

**Author:** [@Jharrod\_LaFon](https://forum.ansible.com/u/Jharrod_LaFon)\
**Replies:** 2\
**Last updated:** [May 9, 2014, 11:51pm UTC](https://forum.ansible.com/t/pip-install-ansible-on-ubuntu-12-04/15199 "2014-05-09T23:51:16Z")

</div>

Hello, I’ve recently attempted to upgrade my servers from Ansible 1.5.3 to 1.6.1, and I’ve noticed that the installation requirements have changed. I used to be able to bootstrap a machine with a fresh install of Ubunt…

---

## [Django Project with Many Environment Variables](https://forum.ansible.com/t/django-project-with-many-environment-variables/15204)

<div class="topic-metadata">

**Author:** [@Adam\_Duren](https://forum.ansible.com/u/Adam_Duren)\
**Replies:** 1\
**Last updated:** [May 9, 2014, 11:42pm UTC](https://forum.ansible.com/t/django-project-with-many-environment-variables/15204 "2014-05-09T23:42:59Z")

</div>

I have a Django project that loads most of it’s environment specific configuration from environment variables. Ansible provides you a way to set the environment, variable by variable, but it appears to be on a per task …

---

## [Script module failing with ansible 1.6](https://forum.ansible.com/t/script-module-failing-with-ansible-1-6/15203)

<div class="topic-metadata">

**Author:** [@RSchulze](https://forum.ansible.com/u/RSchulze)\
**Replies:** 2\
**Last updated:** [May 9, 2014, 7:18pm UTC](https://forum.ansible.com/t/script-module-failing-with-ansible-1-6/15203 "2014-05-09T19:18:50Z")

</div>

Hi, since the update to ansible 1.6 the script module has been failing with "LC\_CTYPE=en\_US.UTF-8: Command not found." (which makes sense since it's not valid syntax for the csh shell). I didn't see anything in the chan…

---

## [vsphere\_guest feature](https://forum.ansible.com/t/vsphere-guest-feature/15202)

<div class="topic-metadata">

**Author:** [@antony.perigault](https://forum.ansible.com/u/antony.perigault)\
**Replies:** 2\
**Last updated:** [May 9, 2014, 5:42pm UTC](https://forum.ansible.com/t/vsphere-guest-feature/15202 "2014-05-09T17:42:35Z")

</div>

Hello, I’m happy to read the last changelog with vpshere\_guest module but it missing one feature in this module : We can’t create a virtual machine based on another. Is it possible to add the duplication machine featur…

---

## [Organizing different operations within roles](https://forum.ansible.com/t/organizing-different-operations-within-roles/15180)

<div class="topic-metadata">

**Author:** [@Rohan\_Nicholls](https://forum.ansible.com/u/Rohan_Nicholls)\
**Replies:** 2\
**Last updated:** [May 9, 2014, 1:03pm UTC](https://forum.ansible.com/t/organizing-different-operations-within-roles/15180 "2014-05-09T13:03:05Z")

</div>

Hi all, We have been using ansible for a while now and have created a bunch of roles which are working really well. We have been really enjoying the way ansible works, and that it is easily extensible for those bits tha…

---

## [Problem with a debconf key=value when value has a space](https://forum.ansible.com/t/problem-with-a-debconf-key-value-when-value-has-a-space/15200)

<div class="topic-metadata">

**Author:** [@Adrian\_Simmons](https://forum.ansible.com/u/Adrian_Simmons)\
**Replies:** 2\
**Last updated:** [May 9, 2014, 11:20am UTC](https://forum.ansible.com/t/problem-with-a-debconf-key-value-when-value-has-a-space/15200 "2014-05-09T11:20:07Z")

</div>

I’ve been trying the new debconf module with Postfix on ubuntu 14.04. Here’s the problem section of the roles task file: \` name: Postfix | Set debconf values debconf: name=postfix question={{ item.question }} value=…

---

## [Help with regex, replace, and quotes](https://forum.ansible.com/t/help-with-regex-replace-and-quotes/15198)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 1\
**Last updated:** [May 9, 2014, 5:52am UTC](https://forum.ansible.com/t/help-with-regex-replace-and-quotes/15198 "2014-05-09T05:52:42Z")

</div>

I’ve been trying to use replace to replace config lines in a config file that I have good reasons not to template. Specifically, it’s php associative array. Thus, I need to be able to match lines that contain quotes. S…

---

## [Ansible Tag Usage/Management](https://forum.ansible.com/t/ansible-tag-usage-management/15181)

<div class="topic-metadata">

**Author:** [@rod\_naph](https://forum.ansible.com/u/rod_naph)\
**Replies:** 2\
**Last updated:** [May 8, 2014, 3:54am UTC](https://forum.ansible.com/t/ansible-tag-usage-management/15181 "2014-05-08T03:54:00Z")

</div>

Hi I’m reasonably new to Ansible (about 6 months usage) and have just started looking into how I could best make use of the tagging functionality. At the moment I usually only add tags when I need to run something as a …

---

## [Installation auditing](https://forum.ansible.com/t/installation-auditing/15162)

<div class="topic-metadata">

**Author:** [@Guy\_Sabourin](https://forum.ansible.com/u/Guy_Sabourin)\
**Replies:** 8\
**Last updated:** [May 8, 2014, 3:26am UTC](https://forum.ansible.com/t/installation-auditing/15162 "2014-05-08T03:26:38Z")

</div>

I’ve developed a partial auditing function in another in-house orchestration tool that I also wrote and am thinking of porting and completing this feature for ansible. Basically, auditing is a means by which we’re able …

---

## [Give the ec2\_tag module the ability to search for EC2 resources by tag](https://forum.ansible.com/t/give-the-ec2-tag-module-the-ability-to-search-for-ec2-resources-by-tag/15194)

<div class="topic-metadata">

**Author:** [@herby.gillot1](https://forum.ansible.com/u/herby.gillot1)\
**Replies:** 1\
**Last updated:** [May 7, 2014, 9:24pm UTC](https://forum.ansible.com/t/give-the-ec2-tag-module-the-ability-to-search-for-ec2-resources-by-tag/15194 "2014-05-07T21:24:44Z")

</div>

Hello all. Here’s a pull request that gives the EC2 module the ability to search for resources on EC2 per the specified tags. https://github.com/ansible/ansible/pull/7326

---

## [Checking for multiple conditions using "when"](https://forum.ansible.com/t/checking-for-multiple-conditions-using-when/15163)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 6\
**Last updated:** [May 7, 2014, 8:57pm UTC](https://forum.ansible.com/t/checking-for-multiple-conditions-using-when/15163 "2014-05-07T20:57:46Z")

</div>

I have a list of modules I would like to deploy. With certain modules, I want to run a specific command against it. For example, if the module is a PHP or PERL module, I want to modify the ownership of the folder. If it’…

---

## [Ansible 1.6.1 has been released](https://forum.ansible.com/t/ansible-1-6-1-has-been-released/15190)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [May 7, 2014, 6:24pm UTC](https://forum.ansible.com/t/ansible-1-6-1-has-been-released/15190 "2014-05-07T18:24:25Z")

</div>

Hi all, we’ve released Ansible 1.6.1 to address to address a few bugs that were reported yesterday: Fixed a bug in group\_by, where systems were being grouped incorrectly. Fixed a bug where file descriptors may leak to …

---

## [Reporting individual packages under apt and with\_items](https://forum.ansible.com/t/reporting-individual-packages-under-apt-and-with-items/15169)

<div class="topic-metadata">

**Author:** [@mjwhite0](https://forum.ansible.com/u/mjwhite0)\
**Replies:** 2\
**Last updated:** [May 7, 2014, 6:06pm UTC](https://forum.ansible.com/t/reporting-individual-packages-under-apt-and-with-items/15169 "2014-05-07T18:06:20Z")

</div>

I’ve been testing the apt module and with\_items to manage reasonably large (200+) sets of packages. It’s comfortably fast - the packages are iterated within the apt module as a single task - but I miss being able to see …

---

## [rsync works but synchronize errors](https://forum.ansible.com/t/rsync-works-but-synchronize-errors/15061)

<div class="topic-metadata">

**Author:** [@Brian\_Grossman](https://forum.ansible.com/u/Brian_Grossman)\
**Replies:** 6\
**Last updated:** [May 7, 2014, 4:34pm UTC](https://forum.ansible.com/t/rsync-works-but-synchronize-errors/15061 "2014-05-07T16:34:41Z")

</div>

I have a synchronize task and an rsync command task that I think should be equivalent. The rsync works, but the synchronize doesn’t. Can anyone help me make synchronize work? This is with ansible 1.5.3 on centos 6.4. Us…

---

## [Why are hosts embedded in a play?](https://forum.ansible.com/t/why-are-hosts-embedded-in-a-play/15185)

<div class="topic-metadata">

**Author:** [@sampsont](https://forum.ansible.com/u/sampsont)\
**Replies:** 2\
**Last updated:** [May 7, 2014, 3:29pm UTC](https://forum.ansible.com/t/why-are-hosts-embedded-in-a-play/15185 "2014-05-07T15:29:25Z")

</div>

I’m a newcomer but there’s one thing that bothers me. It seems that plays always have the hosts to be acted on embedded in the play itself. What if you wanted to run a play against different hosts? For example, you might…

---

## [Jinja Whitespace control](https://forum.ansible.com/t/jinja-whitespace-control/15174)

<div class="topic-metadata">

**Author:** [@Michael\_Peters](https://forum.ansible.com/u/Michael_Peters)\
**Replies:** 2\
**Last updated:** [May 7, 2014, 2:35pm UTC](https://forum.ansible.com/t/jinja-whitespace-control/15174 "2014-05-07T14:35:05Z")

</div>

I'm using a single line jinja block in a templated configuration file. Jinja is stripping the newline character at the end of this block causing the next line to be collapsed thus breaking the configuration file. I a…

---

## [running a command that requires a virtualenv](https://forum.ansible.com/t/running-a-command-that-requires-a-virtualenv/15184)

<div class="topic-metadata">

**Author:** [@david.neudorfer](https://forum.ansible.com/u/david.neudorfer)\
**Replies:** 0\
**Last updated:** [May 7, 2014, 1:59pm UTC](https://forum.ansible.com/t/running-a-command-that-requires-a-virtualenv/15184 "2014-05-07T13:59:52Z")

</div>

Is this answer still considered the best way to run a command that requires a virtualenv to run? http://stackoverflow.com/questions/20040141/ansible-command-from-inside-virtualenv?rq=1 pasting the answer for posterity, …

---

## [help with templating](https://forum.ansible.com/t/help-with-templating/15182)

<div class="topic-metadata">

**Author:** [@Makimoto\_Marakatti](https://forum.ansible.com/u/Makimoto_Marakatti)\
**Replies:** 2\
**Last updated:** [May 7, 2014, 1:02pm UTC](https://forum.ansible.com/t/help-with-templating/15182 "2014-05-07T13:02:16Z")

</div>

Hi My latest roadblock is trying to template sudoers. And I can’t figure out why this won’t work: My playbook calling the role is simple enough: \`

---

## [How do I know if pipelining is working](https://forum.ansible.com/t/how-do-i-know-if-pipelining-is-working/15177)

<div class="topic-metadata">

**Author:** [@Jacob\_Weber1](https://forum.ansible.com/u/Jacob_Weber1)\
**Replies:** 3\
**Last updated:** [May 7, 2014, 12:48am UTC](https://forum.ansible.com/t/how-do-i-know-if-pipelining-is-working/15177 "2014-05-07T00:48:38Z")

</div>

Hello. I just tried enabling ssh pipelining in Ansible 1.6, by doing this: commenting out “Defaults requiretty” in the source and destination hosts adding “pipelining = True” to /etc/ansible.cfg I timed a playbook wit…

---

## [Weird problem with network reuse of TCP ports from apps started from ansible](https://forum.ansible.com/t/weird-problem-with-network-reuse-of-tcp-ports-from-apps-started-from-ansible/15172)

<div class="topic-metadata">

**Author:** [@Stephen\_John\_Smoogen](https://forum.ansible.com/u/Stephen_John_Smoogen)\
**Replies:** 3\
**Last updated:** [May 6, 2014, 10:58pm UTC](https://forum.ansible.com/t/weird-problem-with-network-reuse-of-tcp-ports-from-apps-started-from-ansible/15172 "2014-05-06T22:58:39Z")

</div>

So we have been running into an issue in our ansible rollout that hasn’t occurred before sometime in mid April. About that time we started getting conflicts with services reusing the 5099 fireball port if those processes…

---

## [cannot re-import galaxy role](https://forum.ansible.com/t/cannot-re-import-galaxy-role/15176)

<div class="topic-metadata">

**Author:** [@ramon](https://forum.ansible.com/u/ramon)\
**Replies:** 1\
**Last updated:** [May 6, 2014, 9:16pm UTC](https://forum.ansible.com/t/cannot-re-import-galaxy-role/15176 "2014-05-06T21:16:39Z")

</div>

Hey All, I seem to hae a “stuck” role in galaxy. I see “Import task pending.” as the status - but that never goes away. I cannot re-import newer versions of the role. Other roles work just fine. This is the role I am r…

---

## [Gem module doesn't update when gem\_source set](https://forum.ansible.com/t/gem-module-doesnt-update-when-gem-source-set/15114)

<div class="topic-metadata">

**Author:** [@ralovely](https://forum.ansible.com/u/ralovely)\
**Replies:** 4\
**Last updated:** [May 6, 2014, 7:15pm UTC](https://forum.ansible.com/t/gem-module-doesnt-update-when-gem-source-set/15114 "2014-05-06T19:15:28Z")

</div>

Hi. We include a gem as a .gem file, copy it over the host, and then use the gem module to install it. If we update the gem with a new version, the gem module doesn’t pick up the change and doesn’t run. With gem\_sourc…

---

## [delegate\_to running on unexpected host](https://forum.ansible.com/t/delegate-to-running-on-unexpected-host/15159)

<div class="topic-metadata">

**Author:** [@Scott\_Anderson](https://forum.ansible.com/u/Scott_Anderson)\
**Replies:** 6\
**Last updated:** [May 6, 2014, 6:36pm UTC](https://forum.ansible.com/t/delegate-to-running-on-unexpected-host/15159 "2014-05-06T18:36:20Z")

</div>

Hi all, My understanding of delegate\_to is that it runs the task on the designated host, once for each host in the current group, and with the current host’s variables. I have this: - hosts: 127.0.0.1 connection: l…

---

## [Need help organizing tasks/playbooks for multiple operating systems](https://forum.ansible.com/t/need-help-organizing-tasks-playbooks-for-multiple-operating-systems/15134)

<div class="topic-metadata">

**Author:** [@chris\_snyder](https://forum.ansible.com/u/chris_snyder)\
**Replies:** 6\
**Last updated:** [May 6, 2014, 3:17pm UTC](https://forum.ansible.com/t/need-help-organizing-tasks-playbooks-for-multiple-operating-systems/15134 "2014-05-06T15:17:39Z")

</div>

I’m stuck. I’m sure this can all be done a better way, but right now, I’m just not seeing it. Can anyone offer suggestions of what else to try here? Originally I started with one operating system, so it writing up a ans…

---

## [Request to see your AWS playbooks!](https://forum.ansible.com/t/request-to-see-your-aws-playbooks/15168)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [May 6, 2014, 1:16pm UTC](https://forum.ansible.com/t/request-to-see-your-aws-playbooks/15168 "2014-05-06T13:16:46Z")

</div>

Hi all, Increasingly our AWS modules are building up more and more options. By far, many people are just using the basic options (like the ec2 module + add\_host, etc). Though some folks are doing quite more involved t…

---

## [Defining a list inside variable file, to allow for jinja loops for that list](https://forum.ansible.com/t/defining-a-list-inside-variable-file-to-allow-for-jinja-loops-for-that-list/15157)

<div class="topic-metadata">

**Author:** [@greg\_cox](https://forum.ansible.com/u/greg_cox)\
**Replies:** 3\
**Last updated:** [May 6, 2014, 1:03pm UTC](https://forum.ansible.com/t/defining-a-list-inside-variable-file-to-allow-for-jinja-loops-for-that-list/15157 "2014-05-06T13:03:36Z")

</div>

It seems as though this is not possible, but it could really allow for using jinja’s looping function. I realize the with\_items functionality, but I would like to use both at the same time, it would greatly simplify my t…

---

## [Mutiple Version Maintain in PlayBooks](https://forum.ansible.com/t/mutiple-version-maintain-in-playbooks/15167)

<div class="topic-metadata">

**Author:** [@siva\_kumar](https://forum.ansible.com/u/siva_kumar)\
**Replies:** 2\
**Last updated:** [May 6, 2014, 12:59pm UTC](https://forum.ansible.com/t/mutiple-version-maintain-in-playbooks/15167 "2014-05-06T12:59:22Z")

</div>

Hi , We are using ansible playbook for new package installation . How to maintain mutiple version of packages ( jdk1.6 , jdk1.6.1 and jdk1.6.2) . We need to write new role like role / jdk1.6 role / jdk1.6.1 role / …

---

## [Mix Tasks and roles: files folder](https://forum.ansible.com/t/mix-tasks-and-roles-files-folder/15156)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 3\
**Last updated:** [May 6, 2014, 12:58pm UTC](https://forum.ansible.com/t/mix-tasks-and-roles-files-folder/15156 "2014-05-06T12:58:29Z")

</div>

having this playbook (where i’d like to copy the private key to some users): \` hosts: my\_special\_hosts tasks: name: Copy Private Key copy: src={{item.name ~ “\_key” }} dest=“/home/{{item.name}}/.ssh/id\_rsa” owne…

---

## [creating a list in a var file, for use in jijna template?](https://forum.ansible.com/t/creating-a-list-in-a-var-file-for-use-in-jijna-template/15158)

<div class="topic-metadata">

**Author:** [@greg\_cox](https://forum.ansible.com/u/greg_cox)\
**Replies:** 2\
**Last updated:** [May 6, 2014, 3:57am UTC](https://forum.ansible.com/t/creating-a-list-in-a-var-file-for-use-in-jijna-template/15158 "2014-05-06T03:57:34Z")

</div>

I realize strings are only allowed currently it seems, but I am wondering if there is another way to accomplish the same thing. This is for file creation, so I realize I can loop thru with with\_items, but then I can onl…

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

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