# Latest

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

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

**Page:** 1044

---

## [Debugging upgrade in 1.2](https://forum.ansible.com/t/debugging-upgrade-in-1-2/12871)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [May 25, 2013, 5:09am UTC](https://forum.ansible.com/t/debugging-upgrade-in-1-2/12871 "2013-05-25T05:09:07Z")

</div>

New 1.2 feature: Thanks to svg, you can now see the output of the “debug” module without having to pass -v to the playbook and then having to look at the output of every single module. Good stuff!

---

## [Pull requests applied](https://forum.ansible.com/t/pull-requests-applied/12870)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 25, 2013, 4:44am UTC](https://forum.ansible.com/t/pull-requests-applied/12870 "2013-05-25T04:44:45Z")

</div>

Hi everyone, I’ve merged in about half of the pull requests queue-- including lots of OpenStack modules! The module total for new modules in 1.2 is now up to about 27! (We are going to apply some testing to them again …

---

## [Email sent to wrong list](https://forum.ansible.com/t/email-sent-to-wrong-list/12869)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [May 25, 2013, 4:42am UTC](https://forum.ansible.com/t/email-sent-to-wrong-list/12869 "2013-05-25T04:42:07Z")

</div>

Sent that last email to the group to the wrong email list (which I’ve deleted), please ignore, thanks!

---

## [ansible-pull vs ssh remote port forwarding](https://forum.ansible.com/t/ansible-pull-vs-ssh-remote-port-forwarding/12859)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 2\
**Last updated:** [May 25, 2013, 12:21am UTC](https://forum.ansible.com/t/ansible-pull-vs-ssh-remote-port-forwarding/12859 "2013-05-25T00:21:28Z")

</div>

Not too many people use ansible-pull, though I wouldn’t really want my nodes to be able to SSH back to my server. We are working on a REST-based callback solution that will allow you to simply allow a system to make a w…

---

## [Just a quick note -- Thank you everyone!](https://forum.ansible.com/t/just-a-quick-note-thank-you-everyone/12868)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [May 25, 2013, 12:19am UTC](https://forum.ansible.com/t/just-a-quick-note-thank-you-everyone/12868 "2013-05-25T00:19:29Z")

</div>

I perhaps only say this when I roll out a release, but I wanted to drop a quick note about how much I appreciate all the great modules, pull requests, ansible presentations, and help you are giving each other lately. I …

---

## [Display contents of variables during task execution](https://forum.ansible.com/t/display-contents-of-variables-during-task-execution/12841)

<div class="topic-metadata">

**Author:** [@jschulman](https://forum.ansible.com/u/jschulman)\
**Replies:** 8\
**Last updated:** [May 25, 2013, 12:11am UTC](https://forum.ansible.com/t/display-contents-of-variables-during-task-execution/12841 "2013-05-25T00:11:48Z")

</div>

I would like to do display the results of variables during a playbook run. So for example, I might obtain the serial-number of a device from a task, register that into a variable, and then I want to display that to the s…

---

## [Ansible Quick-Start video/presentation available!](https://forum.ansible.com/t/ansible-quick-start-video-presentation-available/12867)

<div class="topic-metadata">

**Author:** [@Timothy\_Gerla](https://forum.ansible.com/u/Timothy_Gerla)\
**Replies:** 0\
**Last updated:** [May 24, 2013, 11:56pm UTC](https://forum.ansible.com/t/ansible-quick-start-video-presentation-available/12867 "2013-05-24T23:56:45Z")

</div>

Hi everyone, As some of you know, we just presented a 2-hour "quick start" Ansible training session on Wednesday. We were able to record the session and we've posted the video and the slides to our web site: http://w…

---

## [Var precedence](https://forum.ansible.com/t/var-precedence/12866)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 0\
**Last updated:** [May 24, 2013, 9:20pm UTC](https://forum.ansible.com/t/var-precedence/12866 "2013-05-24T21:20:42Z")

</div>

If you want to overrule variables in roles with variables defined in the playbook (or elsewhere) you might try something like this: $ cat rolesvar.yml hosts: localhost gather\_facts: false vars: foo2: overruled\_rom\_…

---

## [action\_plugins must be categorized?](https://forum.ansible.com/t/action-plugins-must-be-categorized/12863)

<div class="topic-metadata">

**Author:** [@Dale](https://forum.ansible.com/u/Dale)\
**Replies:** 1\
**Last updated:** [May 24, 2013, 3:30pm UTC](https://forum.ansible.com/t/action-plugins-must-be-categorized/12863 "2013-05-24T15:30:54Z")

</div>

Hi, Per http://ansible.cc/docs/api.html#distributing-plugins I created action\_plugins/my\_plugin.py under the same directory that holds my top-level playbook. I also created library/my\_plugin, which I suspect has to exis…

---

## [two bugs in the group depth parsing logic yielding wrong and inconsistently wrong depth values for groups](https://forum.ansible.com/t/two-bugs-in-the-group-depth-parsing-logic-yielding-wrong-and-inconsistently-wrong-depth-values-for-groups/12819)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 13\
**Last updated:** [May 24, 2013, 7:53am UTC](https://forum.ansible.com/t/two-bugs-in-the-group-depth-parsing-logic-yielding-wrong-and-inconsistently-wrong-depth-values-for-groups/12819 "2013-05-24T07:53:39Z")

</div>

Hi, As discussed with Michael on irc yesterday, I suspected something to be wrong with the calculated group depth, which is AFAICS used to have the right variable precedence according to the depth of a group in the pare…

---

## [using assemble with large files?](https://forum.ansible.com/t/using-assemble-with-large-files/12855)

<div class="topic-metadata">

**Author:** [@Timothy\_Appnel](https://forum.ansible.com/u/Timothy_Appnel)\
**Replies:** 5\
**Last updated:** [May 23, 2013, 11:16pm UTC](https://forum.ansible.com/t/using-assemble-with-large-files/12855 "2013-05-23T23:16:20Z")

</div>

Was the assemble module designed to cap the size of the files it works with? I was scripting something with Ansible today that had to grab a bunch of large files (logs) on remote servers and then concatenate them. I tho…

---

## [playbook to create multiple users?](https://forum.ansible.com/t/playbook-to-create-multiple-users/12853)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 2\
**Last updated:** [May 23, 2013, 5:20pm UTC](https://forum.ansible.com/t/playbook-to-create-multiple-users/12853 "2013-05-23T17:20:51Z")

</div>

This should work (was missing quote): name: create user(s) user: name=${item} shell=/bin/bash with\_file: “./user-list.txt” adding same with\_file here and item for file name should do the rest: name: setup authoriz…

---

## [SSH Keys or Ask-pass opinion](https://forum.ansible.com/t/ssh-keys-or-ask-pass-opinion/12861)

<div class="topic-metadata">

**Author:** [@James\_Jelinek](https://forum.ansible.com/u/James_Jelinek)\
**Replies:** 2\
**Last updated:** [May 23, 2013, 3:32pm UTC](https://forum.ansible.com/t/ssh-keys-or-ask-pass-opinion/12861 "2013-05-23T15:32:04Z")

</div>

I currently have a set of VMs I'm testing Ansible on and use SSH keys to automate the authentication process. I'm admittedly a bit old-school and prefer using something like ask-sudo-pass and running the tasks as a sudo…

---

## [Installation task that requires feedback from the install](https://forum.ansible.com/t/installation-task-that-requires-feedback-from-the-install/12860)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 8\
**Last updated:** [May 23, 2013, 3:28pm UTC](https://forum.ansible.com/t/installation-task-that-requires-feedback-from-the-install/12860 "2013-05-23T15:28:05Z")

</div>

This seems to have a non-interactive option. http://www.modrails.com/documentation/Users%20guide%20Nginx.html#\_non\_interactive\_automatic\_headless\_installs\_or\_upgrades

---

## [apt\_key problem on Ubuntu?](https://forum.ansible.com/t/apt-key-problem-on-ubuntu/12858)

<div class="topic-metadata">

**Author:** [@Frans\_Kuipers](https://forum.ansible.com/u/Frans_Kuipers)\
**Replies:** 3\
**Last updated:** [May 23, 2013, 3:02pm UTC](https://forum.ansible.com/t/apt-key-problem-on-ubuntu/12858 "2013-05-23T15:02:48Z")

</div>

In my playbook I have the action: apt\_key: url=https://keyserver.ubuntu.com id=0xcbcb082a1bb943db state=present It times out on: File "/home/vagrant/.ansible/tmp/ansible-1369317219.32-261093913648844/apt\_key", line 104…

---

## [OpenStack Modules](https://forum.ansible.com/t/openstack-modules/12856)

<div class="topic-metadata">

**Author:** [@benno\_joy](https://forum.ansible.com/u/benno_joy)\
**Replies:** 1\
**Last updated:** [May 23, 2013, 2:38pm UTC](https://forum.ansible.com/t/openstack-modules/12856 "2013-05-23T14:38:58Z")

</div>

I just sent out a pull request with a bunch of OpenStack Modules, I think it should greatly simplify a lot of OpenStack operations like managing networks, routers, instance management, image management etc… If you are a…

---

## [New module idea brainstorming](https://forum.ansible.com/t/new-module-idea-brainstorming/12828)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 23\
**Last updated:** [May 23, 2013, 1:57pm UTC](https://forum.ansible.com/t/new-module-idea-brainstorming/12828 "2013-05-23T13:57:16Z")

</div>

Hi everyone, Thinking about what you manage with Ansible, or would like to, and what modules we have in 1.2 so far, what are some of other modules you would like to see in Ansible that we haven’t added yet? (There is s…

---

## [.j2 extension for templates](https://forum.ansible.com/t/j2-extension-for-templates/12857)

<div class="topic-metadata">

**Author:** [@seb.stark](https://forum.ansible.com/u/seb.stark)\
**Replies:** 3\
**Last updated:** [May 23, 2013, 1:47pm UTC](https://forum.ansible.com/t/j2-extension-for-templates/12857 "2013-05-23T13:47:36Z")

</div>

Hi, is there any other reason besides recognizability I should append .j2 to templates? I am not sure yet wether in the long run this could turn into some kind of problem if the suffix is omitted. Sebastian

---

## [command/shell tasks Results in Failures with the Use of action](https://forum.ansible.com/t/command-shell-tasks-results-in-failures-with-the-use-of-action/12854)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 1\
**Last updated:** [May 23, 2013, 2:30am UTC](https://forum.ansible.com/t/command-shell-tasks-results-in-failures-with-the-use-of-action/12854 "2013-05-23T02:30:03Z")

</div>

‘shell:’ and ‘action: shell’ should be interchangable, this seems like a bug. I’ve been able to reproduce, seems like a quoting issue. using shell: name: Touch Foobar shell: “touch /tmp/foobar” changed: \[127.0.0.1\]…

---

## [Help with lineinfile and backrefs (v1.1)](https://forum.ansible.com/t/help-with-lineinfile-and-backrefs-v1-1/12815)

<div class="topic-metadata">

**Author:** [@Ian\_Dexter\_Marquez](https://forum.ansible.com/u/Ian_Dexter_Marquez)\
**Replies:** 4\
**Last updated:** [May 23, 2013, 1:47am UTC](https://forum.ansible.com/t/help-with-lineinfile-and-backrefs-v1-1/12815 "2013-05-23T01:47:11Z")

</div>

Hi, I can’t seem to make this work from the command line: ansible -m lineinfile -a “dest=/etc/ssh/sshd\_config backup=yes backrefs=yes regexp=‘^(AllowGroups .\*)$’ line=‘\\1 groupname’” -vvv -s -K local which replaces …

---

## [Documenting My Extension](https://forum.ansible.com/t/documenting-my-extension/12725)

<div class="topic-metadata">

**Author:** [@Timothy\_Appnel](https://forum.ansible.com/u/Timothy_Appnel)\
**Replies:** 13\
**Last updated:** [May 22, 2013, 8:20pm UTC](https://forum.ansible.com/t/documenting-my-extension/12725 "2013-05-22T20:20:37Z")

</div>

I was cleaning up an rsync module I wrote months ago and didn’t document or really promote its existence. https://github.com/tima/ansible-rsync I think it’s in mostly in shape and was adding the docs to the module file…

---

## [Baremetal system installation and configuration with Ansible](https://forum.ansible.com/t/baremetal-system-installation-and-configuration-with-ansible/12852)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 1\
**Last updated:** [May 22, 2013, 8:19pm UTC](https://forum.ansible.com/t/baremetal-system-installation-and-configuration-with-ansible/12852 "2013-05-22T20:19:31Z")

</div>

​I'm not sure why this has to be "one tool"? I just finished today rewriting my initially "homegrown" playbooks to ​something integrated, starting from one allmost all covering main.yml. That starts with provisioning …

---

## [Relative path to roles](https://forum.ansible.com/t/relative-path-to-roles/12851)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [May 22, 2013, 8:10pm UTC](https://forum.ansible.com/t/relative-path-to-roles/12851 "2013-05-22T20:10:53Z")

</div>

In this case the playbook basedir is /group/playbook.yml so I would have expected the other to also be ok. If you find this is not actually the case, a patch that allows both to work would be accepted after we test it a…

---

## [Is there a way to require a variable be defined for a playbook or role?](https://forum.ansible.com/t/is-there-a-way-to-require-a-variable-be-defined-for-a-playbook-or-role/12849)

<div class="topic-metadata">

**Author:** [@David\_Golden](https://forum.ansible.com/u/David_Golden)\
**Replies:** 1\
**Last updated:** [May 22, 2013, 8:08pm UTC](https://forum.ansible.com/t/is-there-a-way-to-require-a-variable-be-defined-for-a-playbook-or-role/12849 "2013-05-22T20:08:32Z")

</div>

Is there a way to specify a variable as “required”? E.g. a parameter for a role that must be set? (Other than inserting a fail task when the variable is not defined.) David

---

## [Baremetal system installation and configuration with Ansible](https://forum.ansible.com/t/baremetal-system-installation-and-configuration-with-ansible/12850)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [May 22, 2013, 8:07pm UTC](https://forum.ansible.com/t/baremetal-system-installation-and-configuration-with-ansible/12850 "2013-05-22T20:07:36Z")

</div>

Right now we don’t have to have plugins to any particular configuration system, but obviously I do prefer Cobbler because it’s better :slight\_smile: Razor to me feels like a research experiment because I very seldom wan…

---

## [ec2 facts from templates not rendering](https://forum.ansible.com/t/ec2-facts-from-templates-not-rendering/12842)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 8\
**Last updated:** [May 22, 2013, 1:45pm UTC](https://forum.ansible.com/t/ec2-facts-from-templates-not-rendering/12842 "2013-05-22T13:45:13Z")

</div>

hi all, I have a roles/common/templates/instance.properties.j2 fiel with the bellow contents : HOSTNAME = {{ ansible\_fqdn }} PUBLIC\_IP = {{ ansible\_ec2\_public\_ipv4 }} PRIVATE\_IP = {{ ansible\_eth0.ipv4.address }} AVA…

---

## [Clarity on External Inventory Scripts](https://forum.ansible.com/t/clarity-on-external-inventory-scripts/12836)

<div class="topic-metadata">

**Author:** [@Mark\_Mandel](https://forum.ansible.com/u/Mark_Mandel)\
**Replies:** 2\
**Last updated:** [May 22, 2013, 12:14pm UTC](https://forum.ansible.com/t/clarity-on-external-inventory-scripts/12836 "2013-05-22T12:14:31Z")

</div>

Hi! So I have an external inventory script I want to write - no huge dramas there, the output format is documented pretty well here: http://ansible.cc/docs/api.html#external-inventory-scripts What is confusing me to n…

---

## [Ansible user module, password option](https://forum.ansible.com/t/ansible-user-module-password-option/12843)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 0\
**Last updated:** [May 22, 2013, 12:11pm UTC](https://forum.ansible.com/t/ansible-user-module-password-option/12843 "2013-05-22T12:11:11Z")

</div>

mkpasswd utility can also do it Brian Coca

---

## [Ansible user module, password option](https://forum.ansible.com/t/ansible-user-module-password-option/12840)

<div class="topic-metadata">

**Author:** [@PhilEv](https://forum.ansible.com/u/PhilEv)\
**Replies:** 0\
**Last updated:** [May 22, 2013, 5:58am UTC](https://forum.ansible.com/t/ansible-user-module-password-option/12840 "2013-05-22T05:58:38Z")

</div>

it is the encrypted form like with useradd(8) More than one way to do it, depends on the hashing algo being used/set-up on the target system and salt being used or not one way is to use openssl passwd one is to copy t…

---

## [ansible 1.1 and sudo "msg": "Unmatched \\".\\r\\n",](https://forum.ansible.com/t/ansible-1-1-and-sudo-msg-unmatched-r-n/12784)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 5\
**Last updated:** [May 22, 2013, 5:15am UTC](https://forum.ansible.com/t/ansible-1-1-and-sudo-msg-unmatched-r-n/12784 "2013-05-22T05:15:43Z")

</div>

Are the guests you are managing also SLES? Have you modified anything else in your ansible.cfg? What transport are you using? etc

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

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