# Latest

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

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

**Page:** 1038

---

## [Changing the default connection type to "smart" / keeping OpenSSH host prompts non-interlaced](https://forum.ansible.com/t/changing-the-default-connection-type-to-smart-keeping-openssh-host-prompts-non-interlaced/13068)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [July 4, 2013, 7:41pm UTC](https://forum.ansible.com/t/changing-the-default-connection-type-to-smart-keeping-openssh-host-prompts-non-interlaced/13068 "2013-07-04T19:41:44Z")

</div>

One of the reasons paramiko is the default connection type is because openssh does not support ControlPersist on EL6 (so sad!), which means paramiko is needed for better performance. Seth Vidal and I have talked about w…

---

## [check files and file contents in 2 folders](https://forum.ansible.com/t/check-files-and-file-contents-in-2-folders/13065)

<div class="topic-metadata">

**Author:** [@celine](https://forum.ansible.com/u/celine)\
**Replies:** 1\
**Last updated:** [July 4, 2013, 12:13pm UTC](https://forum.ansible.com/t/check-files-and-file-contents-in-2-folders/13065 "2013-07-04T12:13:28Z")

</div>

Hi, I wish to compare 2 folders to see if the files and file contents are the same. Can it be done? This is my command: $ ansible-playbook playbook.yml --check --diff This is my playbook: action: copy src=${item.nam…

---

## [Mapping Git branches to environments](https://forum.ansible.com/t/mapping-git-branches-to-environments/13063)

<div class="topic-metadata">

**Author:** [@Joost\_Cassee](https://forum.ansible.com/u/Joost_Cassee)\
**Replies:** 7\
**Last updated:** [July 4, 2013, 12:02pm UTC](https://forum.ansible.com/t/mapping-git-branches-to-environments/13063 "2013-07-04T12:02:59Z")

</div>

Hi, I am looking into Ansible to define our infrastructure in, and one charming idea I got from other provisioning systems is to map Git branches to environments. For example, I could try out a change in the infrastruct…

---

## [puppet master playbooks](https://forum.ansible.com/t/puppet-master-playbooks/13061)

<div class="topic-metadata">

**Author:** [@Romeo\_Theriault](https://forum.ansible.com/u/Romeo_Theriault)\
**Replies:** 5\
**Last updated:** [July 4, 2013, 9:05am UTC](https://forum.ansible.com/t/puppet-master-playbooks/13061 "2013-07-04T09:05:36Z")

</div>

I’m about to start upgrading our puppet infrastructure to 3.x (yes, we also use ansible heavily :slight\_smile: and was wondering if anyone might have any playbooks to share on installing/configuring the puppet master, pu…

---

## [How do I do looping on playbook?](https://forum.ansible.com/t/how-do-i-do-looping-on-playbook/13052)

<div class="topic-metadata">

**Author:** [@kialeo](https://forum.ansible.com/u/kialeo)\
**Replies:** 9\
**Last updated:** [July 4, 2013, 4:17am UTC](https://forum.ansible.com/t/how-do-i-do-looping-on-playbook/13052 "2013-07-04T04:17:56Z")

</div>

Hello, below is my play book

---

## [ansible needs new magic vars instrument](https://forum.ansible.com/t/ansible-needs-new-magic-vars-instrument/13060)

<div class="topic-metadata">

**Author:** [@Drift\_Crow](https://forum.ansible.com/u/Drift_Crow)\
**Replies:** 4\
**Last updated:** [July 4, 2013, 4:16am UTC](https://forum.ansible.com/t/ansible-needs-new-magic-vars-instrument/13060 "2013-07-04T04:16:58Z")

</div>

ansible is very nice ,but when I write a common role for different operation ( mac,centos,ubuntu), I found it is difficult to reuse codes. thou i write code like: action: homebrew name=$item state=present with\_items:…

---

## [Does -u set ansible\_ssh\_user (Ansible 1.2)](https://forum.ansible.com/t/does-u-set-ansible-ssh-user-ansible-1-2/13059)

<div class="topic-metadata">

**Author:** [@jschulman](https://forum.ansible.com/u/jschulman)\
**Replies:** 5\
**Last updated:** [July 3, 2013, 10:18pm UTC](https://forum.ansible.com/t/does-u-set-ansible-ssh-user-ansible-1-2/13059 "2013-07-03T22:18:22Z")

</div>

Hi all, I would like to have access to the remote user value when the -u option is specified at the command line of ansible-playbook. I am testing with the release of 1.2. When I use the following playbook test (ssh-tes…

---

## [Getting started tutorial question](https://forum.ansible.com/t/getting-started-tutorial-question/13017)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 10\
**Last updated:** [July 3, 2013, 5:52pm UTC](https://forum.ansible.com/t/getting-started-tutorial-question/13017 "2013-07-03T17:52:21Z")

</div>

In the http://www.ansibleworks.com/docs/gettingstarted.html does it assume you have a valid ssh user set up on all your servers prior to running any playbooks? I’ve set up a three node cluster via basic vagrant, and whe…

---

## [Mobilizing the list: bug squashing week (or fortnight)](https://forum.ansible.com/t/mobilizing-the-list-bug-squashing-week-or-fortnight/13058)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [July 3, 2013, 12:15pm UTC](https://forum.ansible.com/t/mobilizing-the-list-bug-squashing-week-or-fortnight/13058 "2013-07-03T12:15:33Z")

</div>

Hi everyone, Want to try something. I’m getting a ton (HUGE VOLUME!) of feature related pull requests lately. I’m loving the levels of interest in Ansible. I need to make a request though. In order to keep making 1.3 …

---

## [How do I do looping on playbook?](https://forum.ansible.com/t/how-do-i-do-looping-on-playbook/13056)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 0\
**Last updated:** [July 3, 2013, 4:45am UTC](https://forum.ansible.com/t/how-do-i-do-looping-on-playbook/13056 "2013-07-03T04:45:20Z")

</div>

Try: with\_sequence: start=1 end=1000 Search the docs for with\_sequence.

---

## [reading input from LibreOffice Calc .ods](https://forum.ansible.com/t/reading-input-from-libreoffice-calc-ods/12991)

<div class="topic-metadata">

**Author:** [@celine](https://forum.ansible.com/u/celine)\
**Replies:** 7\
**Last updated:** [July 3, 2013, 1:04am UTC](https://forum.ansible.com/t/reading-input-from-libreoffice-calc-ods/12991 "2013-07-03T01:04:13Z")

</div>

Hi all, Is it possible to get input from .ods and place it in playbook for execution? Taking copy action for an example. action: copy src=/home/celine/Desktop/fileA dest=/home/celine2/Desktop/fileB ^ ^ Instead of di…

---

## [yum: disblerepo not working as expected](https://forum.ansible.com/t/yum-disblerepo-not-working-as-expected/13055)

<div class="topic-metadata">

**Author:** [@David\_Birdsong](https://forum.ansible.com/u/David_Birdsong)\
**Replies:** 0\
**Last updated:** [July 2, 2013, 10:53pm UTC](https://forum.ansible.com/t/yum-disblerepo-not-working-as-expected/13055 "2013-07-02T22:53:47Z")

</div>

I have a situation where I need to be able to disable all repos and enable my custom yum repo. I’m trying to use the yum module w/ “disablerepo=\*” and \* doesn’t seem to be passed to the command line. name: always upda…

---

## [host patterns: order of operations](https://forum.ansible.com/t/host-patterns-order-of-operations/13044)

<div class="topic-metadata">

**Author:** [@Bryan\_Larsen](https://forum.ansible.com/u/Bryan_Larsen)\
**Replies:** 11\
**Last updated:** [July 2, 2013, 9:23pm UTC](https://forum.ansible.com/t/host-patterns-order-of-operations/13044 "2013-07-02T21:23:09Z")

</div>

The documentation doesn’t make it clear what order of operations is applied to host patterns. It gives an example: webservers:dbservers:!phoenix:&staging But in my testing using similar patterns, servers from phoenix m…

---

## [Unable to add variables in lineinfile paramteres?](https://forum.ansible.com/t/unable-to-add-variables-in-lineinfile-paramteres/13051)

<div class="topic-metadata">

**Author:** [@Priyadarshi\_Kunal](https://forum.ansible.com/u/Priyadarshi_Kunal)\
**Replies:** 1\
**Last updated:** [July 2, 2013, 6:32pm UTC](https://forum.ansible.com/t/unable-to-add-variables-in-lineinfile-paramteres/13051 "2013-07-02T18:32:59Z")

</div>

Hi, I have been trying the following: tasks: name: Disabling IPV6 lineinfile: dest=/etc/sysctl.conf regexp=${item.regexp} line=${item.line} with\_items: {regexp=^net.ipv6.conf.all.disable\_ipv6 line=“net.ipv6.conf.al…

---

## [Referencing complex data type variables](https://forum.ansible.com/t/referencing-complex-data-type-variables/13048)

<div class="topic-metadata">

**Author:** [@GW1](https://forum.ansible.com/u/GW1)\
**Replies:** 3\
**Last updated:** [July 1, 2013, 10:36pm UTC](https://forum.ansible.com/t/referencing-complex-data-type-variables/13048 "2013-07-01T22:36:17Z")

</div>

Hi, With Jinja2 varibles it is not possible to do: complex\_var: - name: "foo" size: 12 - name: "bar" size: 33 another\_var: $complex\_var And than use another\_var like a complex variable…

---

## [changed task syntax 1.1 to 1.3](https://forum.ansible.com/t/changed-task-syntax-1-1-to-1-3/13007)

<div class="topic-metadata">

**Author:** [@Clifford\_Sanders](https://forum.ansible.com/u/Clifford_Sanders)\
**Replies:** 8\
**Last updated:** [July 1, 2013, 8:48pm UTC](https://forum.ansible.com/t/changed-task-syntax-1-1-to-1-3/13007 "2013-07-01T20:48:31Z")

</div>

Hi, I cloned the development branch to test a feature that was merged recently. If I start my playbook which works with 1.1 I get a error: ERROR: command is not a legal parameter in an Ansible task or handler the tas…

---

## [Lookup plugins -\> Jinja2 filters submitted](https://forum.ansible.com/t/lookup-plugins-jinja2-filters-submitted/13049)

<div class="topic-metadata">

**Author:** [@jpmens1](https://forum.ansible.com/u/jpmens1)\
**Replies:** 0\
**Last updated:** [July 1, 2013, 7:22pm UTC](https://forum.ansible.com/t/lookup-plugins-jinja2-filters-submitted/13049 "2013-07-01T19:22:16Z")

</div>

(breaking this into new topic so as to not pollute the Vault discussion :slight\_smile:

---

## [Idea for a new module: handling /var/spool/mail/root](https://forum.ansible.com/t/idea-for-a-new-module-handling-var-spool-mail-root/13047)

<div class="topic-metadata">

**Author:** [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Replies:** 3\
**Last updated:** [July 1, 2013, 3:58pm UTC](https://forum.ansible.com/t/idea-for-a-new-module-handling-var-spool-mail-root/13047 "2013-07-01T15:58:25Z")

</div>

Hi, Something I have been confronted with at a few customers in the past and I was looking how Ansible could solve this particular issue. Typically the customer has hundreds of systems with cron-jobs (both system cron-…

---

## [New ansible-examples content merged recently](https://forum.ansible.com/t/new-ansible-examples-content-merged-recently/13046)

<div class="topic-metadata">

**Author:** [@Timothy\_Gerla](https://forum.ansible.com/u/Timothy_Gerla)\
**Replies:** 0\
**Last updated:** [July 1, 2013, 5:02am UTC](https://forum.ansible.com/t/new-ansible-examples-content-merged-recently/13046 "2013-07-01T05:02:23Z")

</div>

Hi everyone, I spent some time this week writing and merging some new example content into our ansible-examples respository: https://github.com/ansible/ansible-examples Thanks to a few contributors (Dave Johnson and …

---

## [Summary of recent additions to Ansible 1.3](https://forum.ansible.com/t/summary-of-recent-additions-to-ansible-1-3/13045)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [July 1, 2013, 1:02am UTC](https://forum.ansible.com/t/summary-of-recent-additions-to-ansible-1-3/13045 "2013-07-01T01:02:31Z")

</div>

I’ve just finished up merging a great round of pull requests – there are still some more left in queue not quite ready to merge just yet, so if you are in that batch, check your email – there may be one or two I still ha…

---

## [noob question on ansible\_python\_interpreter](https://forum.ansible.com/t/noob-question-on-ansible-python-interpreter/13021)

<div class="topic-metadata">

**Author:** [@Michael\_Lucas](https://forum.ansible.com/u/Michael_Lucas)\
**Replies:** 10\
**Last updated:** [June 30, 2013, 10:29pm UTC](https://forum.ansible.com/t/noob-question-on-ansible-python-interpreter/13021 "2013-06-30T22:29:23Z")

</div>

Hi, I'm running ansible 1.2 on an OpenBSD-current snapshot, from OpenBSD packages, and having trouble with ansible\_python\_interpreter. BSD systems put python in /usr/local/bin/, which I assume is why . I want to start…

---

## [Best practice for editing /etc/postfix/master.cf](https://forum.ansible.com/t/best-practice-for-editing-etc-postfix-master-cf/13039)

<div class="topic-metadata">

**Author:** [@Nolan\_Darilek](https://forum.ansible.com/u/Nolan_Darilek)\
**Replies:** 3\
**Last updated:** [June 30, 2013, 8:15pm UTC](https://forum.ansible.com/t/best-practice-for-editing-etc-postfix-master-cf/13039 "2013-06-30T20:15:42Z")

</div>

I'm trying to add the following to /etc/postfix/master.cf where newlines are significant: sympa unix - n n - - pipe flags=R user=sympa argv=/home/sympa/bin/queue ${recipient} sympabounce unix - n n - - pipe flags=R u…

---

## [Collecting and evaluating generic values from multiple hosts](https://forum.ansible.com/t/collecting-and-evaluating-generic-values-from-multiple-hosts/13016)

<div class="topic-metadata">

**Author:** [@Rike-Benjamin\_Schupp](https://forum.ansible.com/u/Rike-Benjamin_Schupp)\
**Replies:** 4\
**Last updated:** [June 30, 2013, 4:55pm UTC](https://forum.ansible.com/t/collecting-and-evaluating-generic-values-from-multiple-hosts/13016 "2013-06-30T16:55:56Z")

</div>

Hi, I have a simple (generic Python) script which sshs into multiple machines, executes a command and then does some calculations on the returned stdout, eventually printing a summary from the dict { hostname: stdout, ……

---

## [Documentation: action: module   vs module:](https://forum.ansible.com/t/documentation-action-module-vs-module/13043)

<div class="topic-metadata">

**Author:** [@jpmens1](https://forum.ansible.com/u/jpmens1)\
**Replies:** 4\
**Last updated:** [June 30, 2013, 2:58pm UTC](https://forum.ansible.com/t/documentation-action-module-vs-module/13043 "2013-06-30T14:58:24Z")

</div>

Hello, Dag and I pulled straws on who'd write this message, and I lost. :wink: Ansible's original playbook syntax for invoking a module was - action: modulename ... This was later augmented to allow omission …

---

## [Issue with ignore\_errors](https://forum.ansible.com/t/issue-with-ignore-errors/13041)

<div class="topic-metadata">

**Author:** [@Nolan\_Darilek](https://forum.ansible.com/u/Nolan_Darilek)\
**Replies:** 1\
**Last updated:** [June 29, 2013, 9:44pm UTC](https://forum.ansible.com/t/issue-with-ignore-errors/13041 "2013-06-29T21:44:02Z")

</div>

I have the following task: - copy: src=gitit-users dest=$wikiRoot force=no ignore\_errors: yes gitit-users is a file containing confidential information that I don't want to check into my playbook repository. The fi…

---

## [Ansible-pull and handlers](https://forum.ansible.com/t/ansible-pull-and-handlers/13040)

<div class="topic-metadata">

**Author:** [@Stavros\_Korokithakis](https://forum.ansible.com/u/Stavros_Korokithakis)\
**Replies:** 1\
**Last updated:** [June 29, 2013, 7:15pm UTC](https://forum.ansible.com/t/ansible-pull-and-handlers/13040 "2013-06-29T19:15:39Z")

</div>

Hi everyone, I just found out about ansible-pull and I’m pretty excited about it, but I have a small problem. ansible-pull always runs my deployment playbook, even if nothing has changed. This is a bit of a problem, bec…

---

## [Single cloudformation playbook for multiple regions](https://forum.ansible.com/t/single-cloudformation-playbook-for-multiple-regions/13025)

<div class="topic-metadata">

**Author:** [@Boris2](https://forum.ansible.com/u/Boris2)\
**Replies:** 6\
**Last updated:** [June 28, 2013, 8:15pm UTC](https://forum.ansible.com/t/single-cloudformation-playbook-for-multiple-regions/13025 "2013-06-28T20:15:44Z")

</div>

Hi, I am new to ansible, so please forgive me if there is an obvious answer. Basically there is a same system setup - a couple of cloudformation stacks in each region and they are all the same, except region-specific va…

---

## [User command onöy if user does not yet exist](https://forum.ansible.com/t/user-command-onoy-if-user-does-not-yet-exist/12888)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 7\
**Last updated:** [June 28, 2013, 8:01pm UTC](https://forum.ansible.com/t/user-command-onoy-if-user-does-not-yet-exist/12888 "2013-06-28T20:01:55Z")

</div>

We are trying to create users on hosts with default settings like this: - name: create all required users user: name={{ item }} password={{ initial\_password }} shell=/bin/bash group=root groups=root,sudo home=/hom…

---

## [sudo in fireball mode?](https://forum.ansible.com/t/sudo-in-fireball-mode/13034)

<div class="topic-metadata">

**Author:** [@Bryan\_Larsen](https://forum.ansible.com/u/Bryan_Larsen)\
**Replies:** 3\
**Last updated:** [June 28, 2013, 7:00pm UTC](https://forum.ansible.com/t/sudo-in-fireball-mode/13034 "2013-06-28T19:00:41Z")

</div>

Why can’t we use sudo in fireball mode? This works in fireball mode: command: “sudo su -l -c ‘echo hello’ {{ username }}” This errors out: command: “echo hello” sudo\_user: “{{ username }}” sudo: true This doesn’…

---

## [Repository of community playbooks? (Looking for examples or better for AWS provisioning)](https://forum.ansible.com/t/repository-of-community-playbooks-looking-for-examples-or-better-for-aws-provisioning/13031)

<div class="topic-metadata">

**Author:** [@Jerry\_Asher](https://forum.ansible.com/u/Jerry_Asher)\
**Replies:** 2\
**Last updated:** [June 28, 2013, 5:26pm UTC](https://forum.ansible.com/t/repository-of-community-playbooks-looking-for-examples-or-better-for-aws-provisioning/13031 "2013-06-28T17:26:42Z")

</div>

I am new to ansible, and also new to Amazon AWS, and I would like to use ansible (or a combination of ansible and vagrant) to: create a new ec2 instance provision that instance with a variety of installations of “wel…

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

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