# Latest

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

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

**Page:** 896

---

## [Rolling update with serial, how to delay between each serial?](https://forum.ansible.com/t/rolling-update-with-serial-how-to-delay-between-each-serial/14219)

<div class="topic-metadata">

**Author:** [@howachen](https://forum.ansible.com/u/howachen)\
**Replies:** 4\
**Last updated:** [February 10, 2015, 8:07pm UTC](https://forum.ansible.com/t/rolling-update-with-serial-how-to-delay-between-each-serial/14219 "2015-02-10T20:07:25Z")

</div>

I am using the serial to limit everytime I can deploy to only one machine at a time, but is it possible to pause say every 10 minutes between each deployment?

---

## [newbie - first playbook](https://forum.ansible.com/t/newbie-first-playbook/17479)

<div class="topic-metadata">

**Author:** [@Craig\_White](https://forum.ansible.com/u/Craig_White)\
**Replies:** 6\
**Last updated:** [February 10, 2015, 7:30pm UTC](https://forum.ansible.com/t/newbie-first-playbook/17479 "2015-02-10T19:30:43Z")

</div>

been able to do simple ad-hoc commands but now trying to run a relatively simple playbook ansible-playbook -C /etc/ansible/playbooks/apache/site.yml \[WARNING\]: The version of gmp you have installed has a known issue reg…

---

## [Execute task for specific host.](https://forum.ansible.com/t/execute-task-for-specific-host/17457)

<div class="topic-metadata">

**Author:** [@Alexey\_Lesovsky](https://forum.ansible.com/u/Alexey_Lesovsky)\
**Replies:** 7\
**Last updated:** [February 10, 2015, 7:29pm UTC](https://forum.ansible.com/t/execute-task-for-specific-host/17457 "2015-02-10T19:29:47Z")

</div>

Hello all! I have playbook with following parts: \` vars: servers: { address: “192.168.122.12”, role: “upstream” } { address: “192.168.122.13”, role: “downstream” } { address: “192.168.122.14”, role: “downstream” } …

---

## [Reporting previous/next state](https://forum.ansible.com/t/reporting-previous-next-state/17488)

<div class="topic-metadata">

**Author:** [@Giovanni\_Tirloni](https://forum.ansible.com/u/Giovanni_Tirloni)\
**Replies:** 1\
**Last updated:** [February 10, 2015, 7:08pm UTC](https://forum.ansible.com/t/reporting-previous-next-state/17488 "2015-02-10T19:08:09Z")

</div>

Hi, I've been asked to determine what is the current state of some setting and what it's going to be changed to. The reasoning is that, this being a legacy environment full of manual controls, people want to see with …

---

## [vars\_prompt defaults not evaluating correctly with bool filter](https://forum.ansible.com/t/vars-prompt-defaults-not-evaluating-correctly-with-bool-filter/17492)

<div class="topic-metadata">

**Author:** [@Aaron\_Mills](https://forum.ansible.com/u/Aaron_Mills)\
**Replies:** 0\
**Last updated:** [February 10, 2015, 6:48pm UTC](https://forum.ansible.com/t/vars-prompt-defaults-not-evaluating-correctly-with-bool-filter/17492 "2015-02-10T18:48:28Z")

</div>

Greetings, In one of my playbooks, I prompt for a value that, if specified as a string, will later be used in another play. However, I can’t seem to find a consistent way to evaluate the truthiness/falsiness of the var.…

---

## [Use conditionals to determine if further action is required](https://forum.ansible.com/t/use-conditionals-to-determine-if-further-action-is-required/17486)

<div class="topic-metadata">

**Author:** [@Mark\_van\_der\_Hout](https://forum.ansible.com/u/Mark_van_der_Hout)\
**Replies:** 8\
**Last updated:** [February 10, 2015, 5:48pm UTC](https://forum.ansible.com/t/use-conditionals-to-determine-if-further-action-is-required/17486 "2015-02-10T17:48:54Z")

</div>

So I’m struggling with the following. I want to check if a certain directory exists (Tomcat instance directory) , if so I wan’t to stop the playbook since apparently the tomcat instance is already present. I thought th…

---

## [HPUX Network facts](https://forum.ansible.com/t/hpux-network-facts/17490)

<div class="topic-metadata">

**Author:** [@Pablo\_de\_la\_Red](https://forum.ansible.com/u/Pablo_de_la_Red)\
**Replies:** 0\
**Last updated:** [February 10, 2015, 4:43pm UTC](https://forum.ansible.com/t/hpux-network-facts/17490 "2015-02-10T16:43:35Z")

</div>

Hi all, I submited a pull request (#10203) to improve HPUX facts, now could catch the following facts on HPUX systems: ansible\_default\_gateway ansible\_default\_interface ansible\_lanX device ipv4 address …

---

## [EC2 module not filtering tags from different vpc](https://forum.ansible.com/t/ec2-module-not-filtering-tags-from-different-vpc/17484)

<div class="topic-metadata">

**Author:** [@Gary\_Malouf](https://forum.ansible.com/u/Gary_Malouf)\
**Replies:** 2\
**Last updated:** [February 10, 2015, 2:04pm UTC](https://forum.ansible.com/t/ec2-module-not-filtering-tags-from-different-vpc/17484 "2015-02-10T14:04:05Z")

</div>

We are experimenting with a staging and production environment each in their own vpc. It has been a struggle to use the EC2 module with this setup because despite applying instance filters to ec2. ini, the ‘count’ tags u…

---

## [Override issue tracker url for galaxy roles?](https://forum.ansible.com/t/override-issue-tracker-url-for-galaxy-roles/17433)

<div class="topic-metadata">

**Author:** [@Monty\_Taylor](https://forum.ansible.com/u/Monty_Taylor)\
**Replies:** 2\
**Last updated:** [February 10, 2015, 1:34pm UTC](https://forum.ansible.com/t/override-issue-tracker-url-for-galaxy-roles/17433 "2015-02-10T13:34:17Z")

</div>

Hi! Is there any way (perhaps magic value in the galaxy\_info dict in meta/main.yml) to tell galaxy where an issue tracker for a role is if that issue tracker is not in github? I’m looking at starting to publish roles up…

---

## [Write template from a string input](https://forum.ansible.com/t/write-template-from-a-string-input/17487)

<div class="topic-metadata">

**Author:** [@Michael\_Stucki](https://forum.ansible.com/u/Michael_Stucki)\
**Replies:** 3\
**Last updated:** [February 10, 2015, 1:27pm UTC](https://forum.ansible.com/t/write-template-from-a-string-input/17487 "2015-02-10T13:27:33Z")

</div>

Hi! I’m trying to write a file. As it’s only one line, I would like to set it from a string input, not from a template file. Just something like: template: \> dest=/etc/default/locale content=‘LC\_ALL=“en\_US.UTF-8”’ A…

---

## [Is there an Ansible module to create and configure AWS IAM Users?](https://forum.ansible.com/t/is-there-an-ansible-module-to-create-and-configure-aws-iam-users/17485)

<div class="topic-metadata">

**Author:** [@Matteo\_Melani](https://forum.ansible.com/u/Matteo_Melani)\
**Replies:** 1\
**Last updated:** [February 10, 2015, 12:25pm UTC](https://forum.ansible.com/t/is-there-an-ansible-module-to-create-and-configure-aws-iam-users/17485 "2015-02-10T12:25:21Z")

</div>

Hello, I am looking for an Ansible Module to create and configure AWS IAM Users and Groups. Thank you, -Matteo

---

## [Collecting files across all the roles a host belongs to](https://forum.ansible.com/t/collecting-files-across-all-the-roles-a-host-belongs-to/17471)

<div class="topic-metadata">

**Author:** [@JK\_Laiho](https://forum.ansible.com/u/JK_Laiho)\
**Replies:** 2\
**Last updated:** [February 10, 2015, 11:55am UTC](https://forum.ansible.com/t/collecting-files-across-all-the-roles-a-host-belongs-to/17471 "2015-02-10T11:55:15Z")

</div>

I’m new to Ansible, and trying to wrap my head around the variety of ways to organize playbooks and achieve certain tasks in a DRY way, without duplicating too much logic in several places. Right now I’m trying to find …

---

## [Best practices to separate provision and operation tasks](https://forum.ansible.com/t/best-practices-to-separate-provision-and-operation-tasks/17452)

<div class="topic-metadata">

**Author:** [@Le\_Van1](https://forum.ansible.com/u/Le_Van1)\
**Replies:** 1\
**Last updated:** [February 10, 2015, 6:30am UTC](https://forum.ansible.com/t/best-practices-to-separate-provision-and-operation-tasks/17452 "2015-02-10T06:30:50Z")

</div>

Hi, Is there a way (best practice) to separate playbook to provision tasks ( setup only) and operation tasks ( backup db, restore db, restart app,…) One example is site.yml ( for provisioning) rolling-update.yml ( fo…

---

## [ec2.py filtering issue](https://forum.ansible.com/t/ec2-py-filtering-issue/17483)

<div class="topic-metadata">

**Author:** [@Gary\_Malouf](https://forum.ansible.com/u/Gary_Malouf)\
**Replies:** 1\
**Last updated:** [February 10, 2015, 6:29am UTC](https://forum.ansible.com/t/ec2-py-filtering-issue/17483 "2015-02-10T06:29:17Z")

</div>

I’m attempting to separate my staging and production server via two different vpcs. I’m using a filter as follows in each of ec2.ini files to separate instances running in the staging vpc from those in the production one…

---

## [Defaults section in vars when designing a role](https://forum.ansible.com/t/defaults-section-in-vars-when-designing-a-role/17478)

<div class="topic-metadata">

**Author:** [@Rob\_Young](https://forum.ansible.com/u/Rob_Young)\
**Replies:** 1\
**Last updated:** [February 10, 2015, 6:23am UTC](https://forum.ansible.com/t/defaults-section-in-vars-when-designing-a-role/17478 "2015-02-10T06:23:33Z")

</div>

Hi, I’m trying to design a relatively generic role for managing AWS Elastic Beanstalk applications. Because some of the configuration options need to be the same across a few environments I’d like to have a place toward…

---

## [How should I use sudo\_user and sudo together when logging in as a non-root user and switching to another user?](https://forum.ansible.com/t/how-should-i-use-sudo-user-and-sudo-together-when-logging-in-as-a-non-root-user-and-switching-to-another-user/17474)

<div class="topic-metadata">

**Author:** [@Chris\_Adams](https://forum.ansible.com/u/Chris_Adams)\
**Replies:** 1\
**Last updated:** [February 10, 2015, 4:08am UTC](https://forum.ansible.com/t/how-should-i-use-sudo-user-and-sudo-together-when-logging-in-as-a-non-root-user-and-switching-to-another-user/17474 "2015-02-10T04:08:05Z")

</div>

Hi there, Can someone give me some pointers as to why an ansible role using sudo\_user below would complain about missing sudo passwords, when I’m able to: ssh in as one non-root user (in this case, chris) use sudo…

---

## [pipelining gets disabled when ssh\_args is specified](https://forum.ansible.com/t/pipelining-gets-disabled-when-ssh-args-is-specified/17481)

<div class="topic-metadata">

**Author:** [@Michael\_Spiegle](https://forum.ansible.com/u/Michael_Spiegle)\
**Replies:** 2\
**Last updated:** [February 10, 2015, 1:36am UTC](https://forum.ansible.com/t/pipelining-gets-disabled-when-ssh-args-is-specified/17481 "2015-02-10T01:36:47Z")

</div>

My ansible.cfg contains the following right now: \[ssh\_connection\] ssh\_args = -F ssh.config pipelining = True If I run Ansible, my “base” role takes 02:06 (mm:ss) to run on a single host and makes many SSH connections. …

---

## [Problem with resource\_tags](https://forum.ansible.com/t/problem-with-resource-tags/17461)

<div class="topic-metadata">

**Author:** [@Rahul\_Mehrotra](https://forum.ansible.com/u/Rahul_Mehrotra)\
**Replies:** 2\
**Last updated:** [February 9, 2015, 6:17pm UTC](https://forum.ansible.com/t/problem-with-resource-tags/17461 "2015-02-09T18:17:52Z")

</div>

Hi Everyone, I am trying to create a VPC using Ansible however I am having trouble in tagging resoruces \` name: Create a VPC register: vpc ec2\_vpc: state: present cidr\_block: 10.0.0.0/16 resource\_tags: { Environ…

---

## [playbook --limit](https://forum.ansible.com/t/playbook-limit/17472)

<div class="topic-metadata">

**Author:** [@vadimv\_Vatlin](https://forum.ansible.com/u/vadimv_Vatlin)\
**Replies:** 1\
**Last updated:** [February 9, 2015, 3:52pm UTC](https://forum.ansible.com/t/playbook-limit/17472 "2015-02-09T15:52:26Z")

</div>

This is my hosts: \[main\_node\] 1.2.3.4 \[child\_node\] 1.2.3.4:2222 child\_node is virtual container inside the main\_node why ansible-playbook --diff --limit=child\_node lc.yml --list-hosts playbook: lc.yml play #3 (m…

---

## [How Ansible verifies installations](https://forum.ansible.com/t/how-ansible-verifies-installations/17473)

<div class="topic-metadata">

**Author:** [@Inixi\_Noisse](https://forum.ansible.com/u/Inixi_Noisse)\
**Replies:** 1\
**Last updated:** [February 9, 2015, 3:26pm UTC](https://forum.ansible.com/t/how-ansible-verifies-installations/17473 "2015-02-09T15:26:04Z")

</div>

Hello, I am new here and I would like to deploy open source configuration management software in my company and I need information on verification of installations. How Ansible manages to verify an installation of pack…

---

## [boot script](https://forum.ansible.com/t/boot-script/17470)

<div class="topic-metadata">

**Author:** [@aditya\_patnaik](https://forum.ansible.com/u/aditya_patnaik)\
**Replies:** 2\
**Last updated:** [February 9, 2015, 12:18pm UTC](https://forum.ansible.com/t/boot-script/17470 "2015-02-09T12:18:58Z")

</div>

Hi Folks, I am new to Ansible .I need help to create a boot script something like kickstart file using Ansible I already have a kickstart file (shown below) to install centos & KVM on a physicall host. The script will …

---

## [template error while templating string: unexpected char u'\\\\' at 127](https://forum.ansible.com/t/template-error-while-templating-string-unexpected-char-u-at-127/17464)

<div class="topic-metadata">

**Author:** [@cdwertmann](https://forum.ansible.com/u/cdwertmann)\
**Replies:** 6\
**Last updated:** [February 9, 2015, 2:17am UTC](https://forum.ansible.com/t/template-error-while-templating-string-unexpected-char-u-at-127/17464 "2015-02-09T02:17:33Z")

</div>

Hi! The following ansible snippet worked fine in 1.7, but throws an error in 1.8. I suspect it has something to do with the {% … %} string I’m trying to insert into the file. I tried different ways to escape it, but can…

---

## [help building action plugin](https://forum.ansible.com/t/help-building-action-plugin/17462)

<div class="topic-metadata">

**Author:** [@J11](https://forum.ansible.com/u/J11)\
**Replies:** 4\
**Last updated:** [February 8, 2015, 8:36pm UTC](https://forum.ansible.com/t/help-building-action-plugin/17462 "2015-02-08T20:36:45Z")

</div>

All, I’m in the process of building an action plugin. I may be going about this all wrong in which case I welcome feedback on how to better my overall design. I have discovered the action plugin, although run on the ma…

---

## [Multi-part library/ modules?](https://forum.ansible.com/t/multi-part-library-modules/17432)

<div class="topic-metadata">

**Author:** [@jang](https://forum.ansible.com/u/jang)\
**Replies:** 3\
**Last updated:** [February 8, 2015, 7:25pm UTC](https://forum.ansible.com/t/multi-part-library-modules/17432 "2015-02-08T19:25:50Z")

</div>

Any executable from a playbook's library/ is shipped out as a single file, it seems. This makes writing local custom modules in (say) Python a bit of a PITA: 2,000 lines of Python that conflates several cross-cutting …

---

## [service module Darwin support](https://forum.ansible.com/t/service-module-darwin-support/17468)

<div class="topic-metadata">

**Author:** [@Sam\_Pierson](https://forum.ansible.com/u/Sam_Pierson)\
**Replies:** 0\
**Last updated:** [February 8, 2015, 5:04pm UTC](https://forum.ansible.com/t/service-module-darwin-support/17468 "2015-02-08T17:04:18Z")

</div>

Has anyone tried enhancing the service module to support Darwin (Mac OS X)? I figure someone must have tried it and I’d rather not reinvent the wheel. Anyone have anything? Even a work-in-progress I can contribute to? …

---

## [Syntax for providing module parameters](https://forum.ansible.com/t/syntax-for-providing-module-parameters/17465)

<div class="topic-metadata">

**Author:** [@Jim\_McMahon](https://forum.ansible.com/u/Jim_McMahon)\
**Replies:** 3\
**Last updated:** [February 7, 2015, 3:10pm UTC](https://forum.ansible.com/t/syntax-for-providing-module-parameters/17465 "2015-02-07T15:10:47Z")

</div>

Many examples of tasks I see give module parameters with key=value syntax like this: name: add update-motd package sudo: yes yum: name=update-motd state=present tags: motd name: install figlet for banner me…

---

## [Thank you everyone!](https://forum.ansible.com/t/thank-you-everyone/17406)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 6\
**Last updated:** [February 6, 2015, 7:28pm UTC](https://forum.ansible.com/t/thank-you-everyone/17406 "2015-02-06T19:28:12Z")

</div>

As some of you may have noticed from my blog and twitter, today is my last day working with Ansible, Inc – and in the future I’ll be around the project a lot less than I have been in the past. I’ll still continue to be a…

---

## [Rolling upgrade of AWS instances of particular tag](https://forum.ansible.com/t/rolling-upgrade-of-aws-instances-of-particular-tag/17460)

<div class="topic-metadata">

**Author:** [@Gary\_Malouf](https://forum.ansible.com/u/Gary_Malouf)\
**Replies:** 0\
**Last updated:** [February 6, 2015, 6:37pm UTC](https://forum.ansible.com/t/rolling-upgrade-of-aws-instances-of-particular-tag/17460 "2015-02-06T18:37:30Z")

</div>

For managing our web servers, I have two playbooks: webservers-provision and webservers-update. As one may guess, provision handles bootstrapping instances while update deals with in-place updates of our software. I hav…

---

## [Help understanding how the limit flag works with the ansible-playbook command](https://forum.ansible.com/t/help-understanding-how-the-limit-flag-works-with-the-ansible-playbook-command/17451)

<div class="topic-metadata">

**Author:** [@Daniel\_Richardson](https://forum.ansible.com/u/Daniel_Richardson)\
**Replies:** 2\
**Last updated:** [February 6, 2015, 4:48pm UTC](https://forum.ansible.com/t/help-understanding-how-the-limit-flag-works-with-the-ansible-playbook-command/17451 "2015-02-06T16:48:21Z")

</div>

I ran into what seemed to me like a strange problem today, but I might just lack the understanding to know what was happening. Let’s say you have a YAML file called ec2.yml to run against that looks like this: \`

---

## [Where to put templates/files outside of a role](https://forum.ansible.com/t/where-to-put-templates-files-outside-of-a-role/17459)

<div class="topic-metadata">

**Author:** [@Kai\_Weber](https://forum.ansible.com/u/Kai_Weber)\
**Replies:** 1\
**Last updated:** [February 6, 2015, 2:50pm UTC](https://forum.ansible.com/t/where-to-put-templates-files-outside-of-a-role/17459 "2015-02-06T14:50:47Z")

</div>

Hi, I am writing a role for varnish. Because Varnish configuration language is a "real" language I can and will not restrict what configuration a user can provide. To make it as flexible as possible I planned to use a…

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

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