# Latest

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

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

**Page:** 920

---

## [Ansible on Freebsd with pkgng](https://forum.ansible.com/t/ansible-on-freebsd-with-pkgng/16761)

<div class="topic-metadata">

**Author:** [@Laurentius\_Purba](https://forum.ansible.com/u/Laurentius_Purba)\
**Replies:** 2\
**Last updated:** [November 17, 2014, 8:32pm UTC](https://forum.ansible.com/t/ansible-on-freebsd-with-pkgng/16761 "2014-11-17T20:32:35Z")

</div>

Hello all, I have question regarding pkgng for FreeBSD. The idea is I was trying to update php on one of our development servers. The current php version installed is 5.4.28, while we have on the port (/usr/ports/lang/…

---

## [Ansible facts suggestion - more disk info (serial & more)](https://forum.ansible.com/t/ansible-facts-suggestion-more-disk-info-serial-more/16800)

<div class="topic-metadata">

**Author:** [@edrozenberg](https://forum.ansible.com/u/edrozenberg)\
**Replies:** 3\
**Last updated:** [November 17, 2014, 8:31pm UTC](https://forum.ansible.com/t/ansible-facts-suggestion-more-disk-info-serial-more/16800 "2014-11-17T20:31:36Z")

</div>

Hello, It would be great to see some additional fields for disk devices coming back as Ansible facts. In particular, disk serial number would be very useful for scripting partitioning and raid setup of disks based on …

---

## [Need guidance with multi-level role variables](https://forum.ansible.com/t/need-guidance-with-multi-level-role-variables/16791)

<div class="topic-metadata">

**Author:** [@Will\_Dennis](https://forum.ansible.com/u/Will_Dennis)\
**Replies:** 2\
**Last updated:** [November 17, 2014, 6:56pm UTC](https://forum.ansible.com/t/need-guidance-with-multi-level-role-variables/16791 "2014-11-17T18:56:56Z")

</div>

Hi all, I have some role variables currently that are single-level, for example a list of IT users: Members of the IT Dept. it\_users: bill fred sam Now, for another role I’m defining, I’ll need to include some data …

---

## [How to simulate user first login.](https://forum.ansible.com/t/how-to-simulate-user-first-login/16790)

<div class="topic-metadata">

**Author:** [@zelda0102](https://forum.ansible.com/u/zelda0102)\
**Replies:** 4\
**Last updated:** [November 17, 2014, 5:26pm UTC](https://forum.ansible.com/t/how-to-simulate-user-first-login/16790 "2014-11-17T17:26:52Z")

</div>

My virtual machine has a setting that when the first time a user logs in, it creates a home directory for the user automatically if the user does not have a home directory. In my script, I want to achieve: Log in as dif…

---

## [groupname as variable?](https://forum.ansible.com/t/groupname-as-variable/16732)

<div class="topic-metadata">

**Author:** [@linbo\_liao](https://forum.ansible.com/u/linbo_liao)\
**Replies:** 7\
**Last updated:** [November 17, 2014, 1:10pm UTC](https://forum.ansible.com/t/groupname-as-variable/16732 "2014-11-17T13:10:24Z")

</div>

Hi, I want set multi-cluster but don’t want defined multi-inventory files. Is there any solution for looping a variable defined for a group? For example, inventory file is \[idc1-master\] host1 cluster-node=idc1-node \[…

---

## [SSH connections to EC2 hang sporadically](https://forum.ansible.com/t/ssh-connections-to-ec2-hang-sporadically/16744)

<div class="topic-metadata">

**Author:** [@Tore\_Olsen](https://forum.ansible.com/u/Tore_Olsen)\
**Replies:** 4\
**Last updated:** [November 17, 2014, 10:16am UTC](https://forum.ansible.com/t/ssh-connections-to-ec2-hang-sporadically/16744 "2014-11-17T10:16:04Z")

</div>

Hello, I’m having problems with SSH connections hanging seemingly indefinitely. I don’t recognize any patterns as to what tasks or handlers this happens on. I’m running ansible 1.7.1 on OS X Yosemite against a bunch of …

---

## [Ansible vault needs a view/show command](https://forum.ansible.com/t/ansible-vault-needs-a-view-show-command/16801)

<div class="topic-metadata">

**Author:** [@edrozenberg](https://forum.ansible.com/u/edrozenberg)\
**Replies:** 1\
**Last updated:** [November 17, 2014, 2:32am UTC](https://forum.ansible.com/t/ansible-vault-needs-a-view-show-command/16801 "2014-11-17T02:32:08Z")

</div>

Hello, Currently, the only way to “view” a vault file is to run the edit command: ansible-vault edit The side effect of running the edit is that the file is re-copied in place even if no changes are made, triggering…

---

## [Ansible and ease of use in Python](https://forum.ansible.com/t/ansible-and-ease-of-use-in-python/16774)

<div class="topic-metadata">

**Author:** [@pripravto\_zd](https://forum.ansible.com/u/pripravto_zd)\
**Replies:** 4\
**Last updated:** [November 16, 2014, 12:15am UTC](https://forum.ansible.com/t/ansible-and-ease-of-use-in-python/16774 "2014-11-16T00:15:21Z")

</div>

Hello, several months ago together with my brother we have started to work on Ansiblator \> Python wrapper modul which makes Ansible more easy to use in Python itself. It is just base class which should make other corres…

---

## [register not support variable](https://forum.ansible.com/t/register-not-support-variable/16798)

<div class="topic-metadata">

**Author:** [@Can\_Shen](https://forum.ansible.com/u/Can_Shen)\
**Replies:** 1\
**Last updated:** [November 15, 2014, 4:51pm UTC](https://forum.ansible.com/t/register-not-support-variable/16798 "2014-11-15T16:51:51Z")

</div>

now . I has run two comands and register the two variable , when I call the variable ， the variable Unavailable (undefined) flowing is my playbook：

---

## [Different hosts inside a role (is it doable, or am i thibking it wrong ?)](https://forum.ansible.com/t/different-hosts-inside-a-role-is-it-doable-or-am-i-thibking-it-wrong/16781)

<div class="topic-metadata">

**Author:** [@Alejandro\_Comisario1](https://forum.ansible.com/u/Alejandro_Comisario1)\
**Replies:** 2\
**Last updated:** [November 15, 2014, 1:58pm UTC](https://forum.ansible.com/t/different-hosts-inside-a-role-is-it-doable-or-am-i-thibking-it-wrong/16781 "2014-11-15T13:58:34Z")

</div>

Hi guys, im having a role defined like this on my main playbook.yml, this role runs on the galera hosts : hosts: galera gather\_facts: True roles: { role: galera, tags: \[‘galera’\] } The main.yml in the tasks director…

---

## [Ansible-playbook failing to install packages](https://forum.ansible.com/t/ansible-playbook-failing-to-install-packages/16785)

<div class="topic-metadata">

**Author:** [@Sakhi\_Hadebe](https://forum.ansible.com/u/Sakhi_Hadebe)\
**Replies:** 1\
**Last updated:** [November 15, 2014, 12:21am UTC](https://forum.ansible.com/t/ansible-playbook-failing-to-install-packages/16785 "2014-11-15T00:21:38Z")

</div>

Hi All, I am new and know nothing about ansible, just followinga documentation to achieve what I want to achieve. The error below has hindered my progress: TASK: \[common | Common: Install packages\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [How can I participate to make Ansibel pkgng or portinstal "working" on FreeBSD](https://forum.ansible.com/t/how-can-i-participate-to-make-ansibel-pkgng-or-portinstal-working-on-freebsd/16763)

<div class="topic-metadata">

**Author:** [@Laurentius\_Purba](https://forum.ansible.com/u/Laurentius_Purba)\
**Replies:** 2\
**Last updated:** [November 14, 2014, 10:49pm UTC](https://forum.ansible.com/t/how-can-i-participate-to-make-ansibel-pkgng-or-portinstal-working-on-freebsd/16763 "2014-11-14T22:49:03Z")

</div>

Hello, I would like to participate to make Ansibel pkgng or portinstal “working” on FreeBSD. I was trying to update php version from 5.4.28 to 5.4.34 (the port has this version), but was unable to do so. The playbook …

---

## [Uptime Robot Module](https://forum.ansible.com/t/uptime-robot-module/16747)

<div class="topic-metadata">

**Author:** [@ndkingsl](https://forum.ansible.com/u/ndkingsl)\
**Replies:** 1\
**Last updated:** [November 14, 2014, 6:06pm UTC](https://forum.ansible.com/t/uptime-robot-module/16747 "2014-11-14T18:06:48Z")

</div>

I recently was looking through the monitoring modules and noticed that there wasn’t one for uptimerobot. Is there a need for one? If so I created it and it can be viewed here: https://github.com/nate-kingsley/ansible-mod…

---

## [File module recursive behaviour](https://forum.ansible.com/t/file-module-recursive-behaviour/16788)

<div class="topic-metadata">

**Author:** [@michael1](https://forum.ansible.com/u/michael1)\
**Replies:** 1\
**Last updated:** [November 14, 2014, 6:03pm UTC](https://forum.ansible.com/t/file-module-recursive-behaviour/16788 "2014-11-14T18:03:41Z")

</div>

I actually resolved this almost immediately after posting it - use the shell module. Thanks to anyone who read it.

---

## [Interactive commands](https://forum.ansible.com/t/interactive-commands/16780)

<div class="topic-metadata">

**Author:** [@Thomas\_Quinot](https://forum.ansible.com/u/Thomas_Quinot)\
**Replies:** 1\
**Last updated:** [November 14, 2014, 6:03pm UTC](https://forum.ansible.com/t/interactive-commands/16780 "2014-11-14T18:03:15Z")

</div>

I am considering managing some network equipment (switches) with the 'raw' module. This requires sending commands to the switch in an interactive session (command streamed before receiving the switch's prompt are igno…

---

## [ec2 module returning "One or more undefined variables: 'item' is undefined"](https://forum.ansible.com/t/ec2-module-returning-one-or-more-undefined-variables-item-is-undefined/16383)

<div class="topic-metadata">

**Author:** [@Andy\_Raj](https://forum.ansible.com/u/Andy_Raj)\
**Replies:** 3\
**Last updated:** [November 14, 2014, 6:02pm UTC](https://forum.ansible.com/t/ec2-module-returning-one-or-more-undefined-variables-item-is-undefined/16383 "2014-11-14T18:02:13Z")

</div>

Hello Fellow ansible users, I am new to ansible, using version 1.7.2 on Mac OSx. I am trying to launch aws instances and install our code on them as part of an automated deployment process. I am following this example h…

---

## [New Module: binary](https://forum.ansible.com/t/new-module-binary/16779)

<div class="topic-metadata">

**Author:** [@Derek\_Anderson](https://forum.ansible.com/u/Derek_Anderson)\
**Replies:** 2\
**Last updated:** [November 14, 2014, 2:31pm UTC](https://forum.ansible.com/t/new-module-binary/16779 "2014-11-14T14:31:53Z")

</div>

While implementing Ansible in my organization I found the need to write out binary files (in this case, a corosync authkey). I wanted this file to be different between my different inventories (I use Tower). My solution …

---

## [Upgrades and reboots - question](https://forum.ansible.com/t/upgrades-and-reboots-question/16731)

<div class="topic-metadata">

**Author:** [@Patrick\_Galbraith](https://forum.ansible.com/u/Patrick_Galbraith)\
**Replies:** 3\
**Last updated:** [November 14, 2014, 2:15pm UTC](https://forum.ansible.com/t/upgrades-and-reboots-question/16731 "2014-11-14T14:15:50Z")

</div>

Hi all! We’ve been working on a playbook that does a dist upgrade and then performs a reboot. This has been problematic and results in a failure return status that sometimes means it worked and sometimes not. What is th…

---

## [ansible 1.7.2 with multiline variables using the copy mod's 'content' directive](https://forum.ansible.com/t/ansible-1-7-2-with-multiline-variables-using-the-copy-mods-content-directive/16365)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Wong](https://forum.ansible.com/u/Jeffrey_Wong)\
**Replies:** 7\
**Last updated:** [November 14, 2014, 10:41am UTC](https://forum.ansible.com/t/ansible-1-7-2-with-multiline-variables-using-the-copy-mods-content-directive/16365 "2014-11-14T10:41:07Z")

</div>

Hi there! I noticed that ansible seemed to have done some updating with regards to multiline variables, and I’m a little confused about the way the variables are handled now. My use case comes from inserting private-ke…

---

## [ansible ovirt module](https://forum.ansible.com/t/ansible-ovirt-module/15757)

<div class="topic-metadata">

**Author:** [@Peter\_Smallegange](https://forum.ansible.com/u/Peter_Smallegange)\
**Replies:** 14\
**Last updated:** [November 14, 2014, 10:13am UTC](https://forum.ansible.com/t/ansible-ovirt-module/15757 "2014-11-14T10:13:17Z")

</div>

Hello, I’m trying to setup vm provisioning for Rhev with the ansible ovirt module. I have installed ovirt-engine-sdk-python-3.4.0.7-1.el6.noarch on my Centos 6.5 Ansible server and created a simple playbook to play arou…

---

## [RHEL6.6 and ControlPersist](https://forum.ansible.com/t/rhel6-6-and-controlpersist/16517)

<div class="topic-metadata">

**Author:** [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Replies:** 19\
**Last updated:** [November 14, 2014, 12:10am UTC](https://forum.ansible.com/t/rhel6-6-and-controlpersist/16517 "2014-11-14T00:10:09Z")

</div>

Hi, As some of you may know, Red Hat backported the ControlPersist functionality to the OpenSSH version that ships with RHEL6. This is terrific since RHEL users can now use this technique to speed up Ansible. However,…

---

## [Ansible Galaxy role versioning](https://forum.ansible.com/t/ansible-galaxy-role-versioning/16765)

<div class="topic-metadata">

**Author:** [@willthames](https://forum.ansible.com/u/willthames)\
**Replies:** 2\
**Last updated:** [November 13, 2014, 9:19pm UTC](https://forum.ansible.com/t/ansible-galaxy-role-versioning/16765 "2014-11-13T21:19:37Z")

</div>

Is it possible to request a specific tag/version when installing a role from galaxy.ansible.com? Obviously there is a workaround of pointing at the github repo and choosing a commit id, but I was curious whether the con…

---

## [Multiple "all" groups?](https://forum.ansible.com/t/multiple-all-groups/16777)

<div class="topic-metadata">

**Author:** [@Jacob\_Weber1](https://forum.ansible.com/u/Jacob_Weber1)\
**Replies:** 4\
**Last updated:** [November 13, 2014, 8:24pm UTC](https://forum.ansible.com/t/multiple-all-groups/16777 "2014-11-13T20:24:44Z")

</div>

I know we can have group\_vars/all, which will apply to all hosts. But is there a way to make a second group\_vars file that will also apply to all hosts? I ask because I’d like to have a Vault-encrypted vars file, in add…

---

## [Missing somthing with callbacks use (callbacks are included but not ran)](https://forum.ansible.com/t/missing-somthing-with-callbacks-use-callbacks-are-included-but-not-ran/16760)

<div class="topic-metadata">

**Author:** [@Tom\_Laredo](https://forum.ansible.com/u/Tom_Laredo)\
**Replies:** 6\
**Last updated:** [November 13, 2014, 2:05pm UTC](https://forum.ansible.com/t/missing-somthing-with-callbacks-use-callbacks-are-included-but-not-ran/16760 "2014-11-13T14:05:40Z")

</div>

Hi, I’m new to Ansible and I’m trying to write a callback for storing results of my playbooks in a database. My problem is that I don’t manage to make my callbacks ran by Ansible. Here is a part of my /etc/ansible/ans…

---

## [tag\_Name issue with ec2.py](https://forum.ansible.com/t/tag-name-issue-with-ec2-py/16726)

<div class="topic-metadata">

**Author:** [@jimmy](https://forum.ansible.com/u/jimmy)\
**Replies:** 4\
**Last updated:** [November 13, 2014, 1:30pm UTC](https://forum.ansible.com/t/tag-name-issue-with-ec2-py/16726 "2014-11-13T13:30:26Z")

</div>

Hi all. I am running into an issue and I am having trouble figuring out the problem. I am trying to set up Ansible with the ec2.py script replacing /etc/ansible/hosts with ec2.py and I am attempting to list my instances…

---

## [Passing arguments to a module](https://forum.ansible.com/t/passing-arguments-to-a-module/16767)

<div class="topic-metadata">

**Author:** [@Tomasz\_Kontusz](https://forum.ansible.com/u/Tomasz_Kontusz)\
**Replies:** 0\
**Last updated:** [November 13, 2014, 7:28am UTC](https://forum.ansible.com/t/passing-arguments-to-a-module/16767 "2014-11-13T07:28:45Z")

</div>

ansible --version should not say 1.7.2 if you are using devel. Make you sure you did: source /path/to/repo/hacking/env-setup Clean your shell’s binaries location cache (IIRC hash --help should tell you how in bash/zsh) …

---

## [copy module ignores --check flag for file params when md5sums are the same -- Not Cool!](https://forum.ansible.com/t/copy-module-ignores-check-flag-for-file-params-when-md5sums-are-the-same-not-cool/16714)

<div class="topic-metadata">

**Author:** [@Sean\_McGowan](https://forum.ansible.com/u/Sean_McGowan)\
**Replies:** 5\
**Last updated:** [November 12, 2014, 11:07pm UTC](https://forum.ansible.com/t/copy-module-ignores-check-flag-for-file-params-when-md5sums-are-the-same-not-cool/16714 "2014-11-12T23:07:51Z")

</div>

I am using ansible 1.7.2 on RedHat Note that I am super happy that I was doing something somewhat innocuous; however, this did just make a large number of changes across 600+ hosts… not a very cool behavior… this did no…

---

## [possible to use boto and ec2.py to return instance IDs instead of IP addresses?](https://forum.ansible.com/t/possible-to-use-boto-and-ec2-py-to-return-instance-ids-instead-of-ip-addresses/16680)

<div class="topic-metadata">

**Author:** [@Paul\_Stivers](https://forum.ansible.com/u/Paul_Stivers)\
**Replies:** 2\
**Last updated:** [November 12, 2014, 11:00pm UTC](https://forum.ansible.com/t/possible-to-use-boto-and-ec2-py-to-return-instance-ids-instead-of-ip-addresses/16680 "2014-11-12T23:00:55Z")

</div>

$ ansible --version ansible 1.8 (develop 0179c13e04) last updated 2014/10/24 11:53:25 (GMT -700) Right now I’m using “-i inventories/ec2.py -l 'tag\_Environment\_” to apply playbooks to servers in an environment, by IP a…

---

## [Add stdout and stdout\_lines to the results registered by the yum module](https://forum.ansible.com/t/add-stdout-and-stdout-lines-to-the-results-registered-by-the-yum-module/16740)

<div class="topic-metadata">

**Author:** [@Sankalp\_Khare](https://forum.ansible.com/u/Sankalp_Khare)\
**Replies:** 4\
**Last updated:** [November 12, 2014, 3:40pm UTC](https://forum.ansible.com/t/add-stdout-and-stdout-lines-to-the-results-registered-by-the-yum-module/16740 "2014-11-12T15:40:43Z")

</div>

Hi, I’ve been trying to get some helpful output from playbook runs that use the yum and apt modules. When I register the results of an invocation of these modules, I notice that the apt module very conveniently returns…

---

## [msg: Failed to lock apt for exclusive operation](https://forum.ansible.com/t/msg-failed-to-lock-apt-for-exclusive-operation/16757)

<div class="topic-metadata">

**Author:** [@natalja\_mazur](https://forum.ansible.com/u/natalja_mazur)\
**Replies:** 0\
**Last updated:** [November 12, 2014, 1:11pm UTC](https://forum.ansible.com/t/msg-failed-to-lock-apt-for-exclusive-operation/16757 "2014-11-12T13:11:40Z")

</div>

Hi. I try to run yaml via Web-UI Tower using ansible 1.8:

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

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