# Latest

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

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

**Page:** 1027

---

## [ansible awx on amazon linux](https://forum.ansible.com/t/ansible-awx-on-amazon-linux/13425)

<div class="topic-metadata">

**Author:** [@Eric\_Palmer1](https://forum.ansible.com/u/Eric_Palmer1)\
**Replies:** 1\
**Last updated:** [September 6, 2013, 12:35pm UTC](https://forum.ansible.com/t/ansible-awx-on-amazon-linux/13425 "2013-09-06T12:35:25Z")

</div>

I’m wondering if anyone has tried the free version of awx on a 64bit amazon linux ami. The small instance is 1.7GB so that is a bit under sized. I just have a few instances to manage. If this seems forced I can get a ub…

---

## [Prevent sensitive data from leaking to syslog when using e.g. the command module](https://forum.ansible.com/t/prevent-sensitive-data-from-leaking-to-syslog-when-using-e-g-the-command-module/13422)

<div class="topic-metadata">

**Author:** [@Peter\_Petrov](https://forum.ansible.com/u/Peter_Petrov)\
**Replies:** 4\
**Last updated:** [September 6, 2013, 12:30pm UTC](https://forum.ansible.com/t/prevent-sensitive-data-from-leaking-to-syslog-when-using-e-g-the-command-module/13422 "2013-09-06T12:30:26Z")

</div>

Let’s say I have the following task: name: mongodb | Setup mongodb admin user tags: mongodb command: /usr/bin/mongo -u admin --eval “db.getSiblingDB(‘admin’).addUser(‘admin’, ‘{{pass\_admin}}’)” admin changed\_when: …

---

## [jinja2 template with {% include %}](https://forum.ansible.com/t/jinja2-template-with-include/13424)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 3\
**Last updated:** [September 6, 2013, 9:56am UTC](https://forum.ansible.com/t/jinja2-template-with-include/13424 "2013-09-06T09:56:00Z")

</div>

I’m trying to use ansible’s template module to assemble and authorized\_keys file, but it’s not working. I have a task: shell: ls sshkeys/\* register: keys template: src=authorized\_keys.j2 dest=/tmp/authorized\_keys My …

---

## [synchronize module ignores destination host](https://forum.ansible.com/t/synchronize-module-ignores-destination-host/13301)

<div class="topic-metadata">

**Author:** [@Nuno\_Taborda](https://forum.ansible.com/u/Nuno_Taborda)\
**Replies:** 17\
**Last updated:** [September 5, 2013, 11:36pm UTC](https://forum.ansible.com/t/synchronize-module-ignores-destination-host/13301 "2013-09-05T23:36:38Z")

</div>

Hey guys, I was looking forward for proper rsync wrapper, so I’m very happy to finally see synchronize module in tree. Currently ansible-doc synchronize sheds some light on its proper usage, but apparently not enough to…

---

## [Module For node-forever](https://forum.ansible.com/t/module-for-node-forever/13421)

<div class="topic-metadata">

**Author:** [@Dan\_Robinson](https://forum.ansible.com/u/Dan_Robinson)\
**Replies:** 1\
**Last updated:** [September 5, 2013, 1:46pm UTC](https://forum.ansible.com/t/module-for-node-forever/13421 "2013-09-05T13:46:50Z")

</div>

Hey all, We run a node stack with node-forever (https://github.com/nodejitsu/forever). It’s a great tool. I’d like to write an ansible module for it. Is this a pull request to which you’d be open? Best, -Dan

---

## [Variable precedence in Role](https://forum.ansible.com/t/variable-precedence-in-role/13418)

<div class="topic-metadata">

**Author:** [@Adrien\_Montfort](https://forum.ansible.com/u/Adrien_Montfort)\
**Replies:** 5\
**Last updated:** [September 5, 2013, 1:33pm UTC](https://forum.ansible.com/t/variable-precedence-in-role/13418 "2013-09-05T13:33:43Z")

</div>

Hello, I think I don’t understand perfectly what is meant by : “In Ansible 1.3 and later, however, vars/ directories are guaranteed to be scoped to the current role, just like roles parameters.” I have the following t…

---

## [The "fetch" command is not executed with root (via sudo) privileges?](https://forum.ansible.com/t/the-fetch-command-is-not-executed-with-root-via-sudo-privileges/13217)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 11\
**Last updated:** [September 5, 2013, 8:37am UTC](https://forum.ansible.com/t/the-fetch-command-is-not-executed-with-root-via-sudo-privileges/13217 "2013-09-05T08:37:56Z")

</div>

Hi List, I’m trying to store certain private keys to a central repository after creating those users and keys. I wanted to copy those key’s using the “fetch” module, but I’m starting to think the module is not executed…

---

## [undefined variables](https://forum.ansible.com/t/undefined-variables/13419)

<div class="topic-metadata">

**Author:** [@Romeo\_Theriault](https://forum.ansible.com/u/Romeo_Theriault)\
**Replies:** 10\
**Last updated:** [September 5, 2013, 12:53am UTC](https://forum.ansible.com/t/undefined-variables/13419 "2013-09-05T00:53:38Z")

</div>

I make extensive use of templates and and am testing the “soon to be released” 1.3 against some of my playbooks and am running into this error: fatal: \[127.0.0.1\] =\> {‘msg’: “One or more undefined variables: ‘dict’ obje…

---

## [Inventory script JSAN output and reserved inventory parameters](https://forum.ansible.com/t/inventory-script-jsan-output-and-reserved-inventory-parameters/13413)

<div class="topic-metadata">

**Author:** [@Stephanie\_plasschaer](https://forum.ansible.com/u/Stephanie_plasschaer)\
**Replies:** 2\
**Last updated:** [September 4, 2013, 6:56pm UTC](https://forum.ansible.com/t/inventory-script-jsan-output-and-reserved-inventory-parameters/13413 "2013-09-04T18:56:13Z")

</div>

Hello to everyone on the list, Is it possible to add reserved inventory parameters when using an inventory script ? If yes, how do look like the JSON output ? Thanks for any help

---

## [Declare variable for included playbook](https://forum.ansible.com/t/declare-variable-for-included-playbook/13415)

<div class="topic-metadata">

**Author:** [@Konstantin\_Root](https://forum.ansible.com/u/Konstantin_Root)\
**Replies:** 2\
**Last updated:** [September 4, 2013, 5:05pm UTC](https://forum.ansible.com/t/declare-variable-for-included-playbook/13415 "2013-09-04T17:05:43Z")

</div>

Hi, I’m including 1 playbook into another and having problem with passing variables to it - declaring variable in “include” doesn’t work. What i’m trying to do: main file: include: prepare-server.yml target\_hosts=VA…

---

## [Keeping the ansible tmp/\* files after failed run for debugging](https://forum.ansible.com/t/keeping-the-ansible-tmp-files-after-failed-run-for-debugging/13417)

<div class="topic-metadata">

**Author:** [@Ryan\_Mitchell](https://forum.ansible.com/u/Ryan_Mitchell)\
**Replies:** 5\
**Last updated:** [September 4, 2013, 4:44pm UTC](https://forum.ansible.com/t/keeping-the-ansible-tmp-files-after-failed-run-for-debugging/13417 "2013-09-04T16:44:47Z")

</div>

I’m having an issue running an ansible task on an endpoint (Windows running Cygwin) that’s failing during fact gathering, of all places. So something is fundamentally wrong, probably related to the recent update of ansib…

---

## [Execute shell command as a different user?](https://forum.ansible.com/t/execute-shell-command-as-a-different-user/13404)

<div class="topic-metadata">

**Author:** [@Jason\_Harris](https://forum.ansible.com/u/Jason_Harris)\
**Replies:** 2\
**Last updated:** [September 4, 2013, 8:43am UTC](https://forum.ansible.com/t/execute-shell-command-as-a-different-user/13404 "2013-09-04T08:43:29Z")

</div>

I am probably missing something somewhere in the documentation but it is not clear to me how to execute a shell command as a different user. Eg I would like to do something like: name: Upload the compressed terminal p…

---

## [Having trouble using set\_fact with with\_file](https://forum.ansible.com/t/having-trouble-using-set-fact-with-with-file/13414)

<div class="topic-metadata">

**Author:** [@Tom\_Hawley](https://forum.ansible.com/u/Tom_Hawley)\
**Replies:** 2\
**Last updated:** [September 3, 2013, 11:42pm UTC](https://forum.ansible.com/t/having-trouble-using-set-fact-with-with-file/13414 "2013-09-03T23:42:32Z")

</div>

Hello, I am trying to set a fact from the content of a file using “set\_fact” but it fails if I use “with\_file” in the same task block of a playbook. I have created a simple example playbook to show the problem.

---

## [A Playbook which Stores Vars](https://forum.ansible.com/t/a-playbook-which-stores-vars/13408)

<div class="topic-metadata">

**Author:** [@Christopher\_O\_Conne2](https://forum.ansible.com/u/Christopher_O_Conne2)\
**Replies:** 1\
**Last updated:** [September 3, 2013, 8:47pm UTC](https://forum.ansible.com/t/a-playbook-which-stores-vars/13408 "2013-09-03T20:47:04Z")

</div>

Hi, I’ve been struggling with how to implement a task which creates a new var which will be used in subsequent playbooks. For example, I have a accounts.yml vars file with entries like this: accounts: title: Some…

---

## [add user to group but don't add user](https://forum.ansible.com/t/add-user-to-group-but-dont-add-user/13410)

<div class="topic-metadata">

**Author:** [@seb.stark](https://forum.ansible.com/u/seb.stark)\
**Replies:** 3\
**Last updated:** [September 3, 2013, 2:42pm UTC](https://forum.ansible.com/t/add-user-to-group-but-dont-add-user/13410 "2013-09-03T14:42:05Z")

</div>

Hi, I would like to add a user to a group like that: name: Set main user action: user name={{ main\_user }} groups={{ local\_admin\_group }} append=yes state=present when: main\_user is defined tags: users However, it…

---

## [Announcing role defaults](https://forum.ansible.com/t/announcing-role-defaults/13390)

<div class="topic-metadata">

**Author:** [@James\_Cammarata1](https://forum.ansible.com/u/James_Cammarata1)\
**Replies:** 12\
**Last updated:** [September 3, 2013, 5:29am UTC](https://forum.ansible.com/t/announcing-role-defaults/13390 "2013-09-03T05:29:46Z")

</div>

I have just merged in patches that enable role default variables (thanks to @smoothify for a large portion of the work), and also tweak the way variables are processed by roles. This will be included in Ansible 1.3, but …

---

## [RFC: Module For Explicitly Handling /etc/hosts](https://forum.ansible.com/t/rfc-module-for-explicitly-handling-etc-hosts/13403)

<div class="topic-metadata">

**Author:** [@Dan\_Robinson](https://forum.ansible.com/u/Dan_Robinson)\
**Replies:** 9\
**Last updated:** [September 2, 2013, 11:12pm UTC](https://forum.ansible.com/t/rfc-module-for-explicitly-handling-etc-hosts/13403 "2013-09-02T23:12:05Z")

</div>

Hey all, I’m a few weeks into Ansible and am loving it so far. One of the only things I miss from Puppet is a first class handling of hosts files on remote machines. (See: http://docs.puppetlabs.com/references/latest/t…

---

## [Feature freeze in effect, release plan: Friday Sept 6](https://forum.ansible.com/t/feature-freeze-in-effect-release-plan-friday-sept-6/13407)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [September 2, 2013, 10:06pm UTC](https://forum.ansible.com/t/feature-freeze-in-effect-release-plan-friday-sept-6/13407 "2013-09-02T22:06:09Z")

</div>

Hi everyone, Just a reminder that feature freeze for Ansible 1.3 is in effect. We will only be considering bug and doc fix pull requests until release on Friday. Any feature requests submitted before then will be consi…

---

## [Deadline extended: 1 more week to submit a talk idea for AnsibleFest (Oct 22, San Francisco)](https://forum.ansible.com/t/deadline-extended-1-more-week-to-submit-a-talk-idea-for-ansiblefest-oct-22-san-francisco/13406)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [September 2, 2013, 9:53pm UTC](https://forum.ansible.com/t/deadline-extended-1-more-week-to-submit-a-talk-idea-for-ansiblefest-oct-22-san-francisco/13406 "2013-09-02T21:53:45Z")

</div>

Lots of strong submissions but we’ve decided to give you a little bit more time. More info: http://ansibleworks.com/fest If you would like to speak at AnsibleFest, just send a paragraph abstract for your talk to cfp@an…

---

## [Cron Module failing](https://forum.ansible.com/t/cron-module-failing/13116)

<div class="topic-metadata">

**Author:** [@Dan\_CaJacob](https://forum.ansible.com/u/Dan_CaJacob)\
**Replies:** 3\
**Last updated:** [September 2, 2013, 9:36pm UTC](https://forum.ansible.com/t/cron-module-failing/13116 "2013-09-02T21:36:56Z")

</div>

I have a role that uses the cron module to set three cron tasks. When I run ansible-playbook for this role, the first task will fail, but on the 2nd run, it will pass an the 2nd one will fail, on a subsequent run, the 1s…

---

## [jiinja2 evaluation of default( "string" + var)](https://forum.ansible.com/t/jiinja2-evaluation-of-default-string-var/13393)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 8\
**Last updated:** [September 2, 2013, 9:08pm UTC](https://forum.ansible.com/t/jiinja2-evaluation-of-default-string-var/13393 "2013-09-02T21:08:29Z")

</div>

This works when item.send is defined and http\_send is not: {{ item.send | default(http\_send) }} This however fails when item.send is defined and item.context is not: {{ item.send | default(‘GET /’ + item.context + ‘/h…

---

## [passing arguments to template](https://forum.ansible.com/t/passing-arguments-to-template/12964)

<div class="topic-metadata">

**Author:** [@javawebdeveloper](https://forum.ansible.com/u/javawebdeveloper)\
**Replies:** 9\
**Last updated:** [September 2, 2013, 3:20pm UTC](https://forum.ansible.com/t/passing-arguments-to-template/12964 "2013-09-02T15:20:06Z")

</div>

Hello all! I would like to do the following: name: Setup apache config for site template: src=generic\_site.j2 dest=/etc/apache2/sites-available/{{ item }} group=root owner=root with\_items: ${sites} #sites: \[website…

---

## [special characters for lineinfile](https://forum.ansible.com/t/special-characters-for-lineinfile/13395)

<div class="topic-metadata">

**Author:** [@Jeremy\_Schneider](https://forum.ansible.com/u/Jeremy_Schneider)\
**Replies:** 9\
**Last updated:** [September 2, 2013, 3:46am UTC](https://forum.ansible.com/t/special-characters-for-lineinfile/13395 "2013-09-02T03:46:00Z")

</div>

Apologies if this is obvious, but what would the syntax be to get special characters in a lineinfile directive? In particular I’m looking to do an escape character (\\e). -Jeremy

---

## [Working with sudoers files](https://forum.ansible.com/t/working-with-sudoers-files/13401)

<div class="topic-metadata">

**Author:** [@herby.gillot1](https://forum.ansible.com/u/herby.gillot1)\
**Replies:** 2\
**Last updated:** [September 1, 2013, 2:32pm UTC](https://forum.ansible.com/t/working-with-sudoers-files/13401 "2013-09-01T14:32:24Z")

</div>

Hello, hope all’s well. I’d like to know, is there a sudoers module planned, or in progress? Or has Ansible finalized on doing this using templates only? Thanks in advance

---

## [Copy and template actions silently fail](https://forum.ansible.com/t/copy-and-template-actions-silently-fail/13402)

<div class="topic-metadata">

**Author:** [@Brian\_Lyttle](https://forum.ansible.com/u/Brian_Lyttle)\
**Replies:** 2\
**Last updated:** [September 1, 2013, 12:59pm UTC](https://forum.ansible.com/t/copy-and-template-actions-silently-fail/13402 "2013-09-01T12:59:25Z")

</div>

Hi I’ve just started to play with Ansible for a small project. I started out with an example playbook and started to expand it. Part of my current playbook is up at https://gist.github.com/brianly/6402488. As this got …

---

## [Role conflicts](https://forum.ansible.com/t/role-conflicts/13397)

<div class="topic-metadata">

**Author:** [@kahlil.hodgson](https://forum.ansible.com/u/kahlil.hodgson)\
**Replies:** 2\
**Last updated:** [September 1, 2013, 5:45am UTC](https://forum.ansible.com/t/role-conflicts/13397 "2013-09-01T05:45:31Z")

</div>

Awesome work on the role dependencies stuff! I'll be using that a lot. It occurs that it might also be good if we could specify that two roles conflict with each other. A concrete example: I have a 'shorewall' role …

---

## [Initial experiences: apparent hangs.](https://forum.ansible.com/t/initial-experiences-apparent-hangs/13398)

<div class="topic-metadata">

**Author:** [@Jason\_Harris](https://forum.ansible.com/u/Jason_Harris)\
**Replies:** 1\
**Last updated:** [August 31, 2013, 11:13pm UTC](https://forum.ansible.com/t/initial-experiences-apparent-hangs/13398 "2013-08-31T23:13:48Z")

</div>

Hey all, I just started using Ansible and I thought I would post my initial experiences in order that you can see the stumbling blocks I had along the way. So a disclaimer, I haven’t used any configuration management be…

---

## [Changing defaults for modules like pip](https://forum.ansible.com/t/changing-defaults-for-modules-like-pip/13399)

<div class="topic-metadata">

**Author:** [@Oliver\_Berger](https://forum.ansible.com/u/Oliver_Berger)\
**Replies:** 1\
**Last updated:** [August 31, 2013, 11:12pm UTC](https://forum.ansible.com/t/changing-defaults-for-modules-like-pip/13399 "2013-08-31T23:12:36Z")

</div>

Hello, I have a bunch of playbooks where "suddenly" while setting up a new machine it turned out, that pip is not working correctly anymore with use\_mirrors=yes (it is eating a lot of RAM and CPU goes to 100%). So I …

---

## [providing user input like expect script to command line installer](https://forum.ansible.com/t/providing-user-input-like-expect-script-to-command-line-installer/13400)

<div class="topic-metadata">

**Author:** [@Brian\_Schott](https://forum.ansible.com/u/Brian_Schott)\
**Replies:** 2\
**Last updated:** [August 31, 2013, 10:20pm UTC](https://forum.ansible.com/t/providing-user-input-like-expect-script-to-command-line-installer/13400 "2013-08-31T22:20:46Z")

</div>

I have to install an old .sh installer that requires command line inputs. I know I can write an expect script to do this, but is there an ansible module equivalent way to do console interaction? It is literally 3 carriag…

---

## [ansible-redhat-openstack: why qemu-kvm-tools](https://forum.ansible.com/t/ansible-redhat-openstack-why-qemu-kvm-tools/13373)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 4\
**Last updated:** [August 30, 2013, 7:53pm UTC](https://forum.ansible.com/t/ansible-redhat-openstack-why-qemu-kvm-tools/13373 "2013-08-30T19:53:49Z")

</div>

I’m trying to Adapt ansible-redhat-openstack to our environment and going through the playbooks carefully and have noticed “anomalies” or rather things that don’t align with our approach. One of them is presence of qemu-…

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

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