# Latest

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

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

**Page:** 1032

---

## [Switching to interactive mode in a task](https://forum.ansible.com/t/switching-to-interactive-mode-in-a-task/13238)

<div class="topic-metadata">

**Author:** [@Rike-Benjamin\_Schupp](https://forum.ansible.com/u/Rike-Benjamin_Schupp)\
**Replies:** 2\
**Last updated:** [August 7, 2013, 10:36am UTC](https://forum.ansible.com/t/switching-to-interactive-mode-in-a-task/13238 "2013-08-07T10:36:15Z")

</div>

Hi, is it possible to run a task in a ‘normal’ ssh interaction mode? Sometimes I would have a playbook where, after having prepared a number of systems, there may be one command requiring some extra user input. This may…

---

## [Is it possible to use ask-pass option in a playbook just for the first play?](https://forum.ansible.com/t/is-it-possible-to-use-ask-pass-option-in-a-playbook-just-for-the-first-play/13263)

<div class="topic-metadata">

**Author:** [@lars\_svenson](https://forum.ansible.com/u/lars_svenson)\
**Replies:** 1\
**Last updated:** [August 6, 2013, 9:49pm UTC](https://forum.ansible.com/t/is-it-possible-to-use-ask-pass-option-in-a-playbook-just-for-the-first-play/13263 "2013-08-06T21:49:27Z")

</div>

Hello community, I’ve written a playbook which looks like this: main.yml: hosts: $hosts user: root roles: - add\_ansible\_user hosts: $hosts user: ansible sudo: yes roles: - do\_stuff2 I run this p…

---

## [Extend copy module to copy a file from a an http, https or ftp location (like get\_url)](https://forum.ansible.com/t/extend-copy-module-to-copy-a-file-from-a-an-http-https-or-ftp-location-like-get-url/13260)

<div class="topic-metadata">

**Author:** [@Gilles\_Cornu](https://forum.ansible.com/u/Gilles_Cornu)\
**Replies:** 4\
**Last updated:** [August 6, 2013, 9:39pm UTC](https://forum.ansible.com/t/extend-copy-module-to-copy-a-file-from-a-an-http-https-or-ftp-location-like-get-url/13260 "2013-08-06T21:39:22Z")

</div>

First, I drop my wish: name: copy a package from a private web service to a node stored in paranoid DMZ subnet copy: src=\*\*https://packages.mycompany.com/\*\*files/awesome-app-1.2.0.tar.gz dest=/tmp/awesome-app-to-depl…

---

## [apt\_repository strikes back](https://forum.ansible.com/t/apt-repository-strikes-back/13176)

<div class="topic-metadata">

**Author:** [@Alexander\_Saltanov](https://forum.ansible.com/u/Alexander_Saltanov)\
**Replies:** 5\
**Last updated:** [August 6, 2013, 7:57pm UTC](https://forum.ansible.com/t/apt-repository-strikes-back/13176 "2013-08-06T19:57:09Z")

</div>

Hi! I’ve just made the second PR against apt\_repository. It has the same features as before, but now it has no additional dependences completely. Please feel free to grab it from my github repo at https://github.com/sa…

---

## [Gathering facts - missing hosts.](https://forum.ansible.com/t/gathering-facts-missing-hosts/13248)

<div class="topic-metadata">

**Author:** [@Marcin\_Praczko](https://forum.ansible.com/u/Marcin_Praczko)\
**Replies:** 4\
**Last updated:** [August 6, 2013, 7:42pm UTC](https://forum.ansible.com/t/gathering-facts-missing-hosts/13248 "2013-08-06T19:42:01Z")

</div>

Hi, I started working with ansible and must admin that most times is working quite well. But resently I have issue which warried me in terms of gathering facts from hosts: Details: ansible 1.2.2 SysOP: CentOS 6.2 64b …

---

## [Notify without using handlers?](https://forum.ansible.com/t/notify-without-using-handlers/13262)

<div class="topic-metadata">

**Author:** [@ryanchan404](https://forum.ansible.com/u/ryanchan404)\
**Replies:** 1\
**Last updated:** [August 6, 2013, 5:43pm UTC](https://forum.ansible.com/t/notify-without-using-handlers/13262 "2013-08-06T17:43:29Z")

</div>

Hi, In my cookbook, I have a lot of notify statements, e.g. notify: restart apache notify: restart mysql handlers: name: restart apache service: name=httpd state=restarted …many handlers… And all these need …

---

## [ansible\_python\_interpreter, variable scope, and bootstrapping](https://forum.ansible.com/t/ansible-python-interpreter-variable-scope-and-bootstrapping/13257)

<div class="topic-metadata">

**Author:** [@Andrew\_Todd](https://forum.ansible.com/u/Andrew_Todd)\
**Replies:** 4\
**Last updated:** [August 6, 2013, 3:42pm UTC](https://forum.ansible.com/t/ansible-python-interpreter-variable-scope-and-bootstrapping/13257 "2013-08-06T15:42:07Z")

</div>

I find myself in a fairly unfortunate situation where I’m trying to prove Ansible’s versatility in adverse situations and coming up a bit short. Hopefully you can help. I work with Solaris systems where I don’t have roo…

---

## [sudo\_user for roles](https://forum.ansible.com/t/sudo-user-for-roles/12918)

<div class="topic-metadata">

**Author:** [@Bryan\_Larsen](https://forum.ansible.com/u/Bryan_Larsen)\
**Replies:** 14\
**Last updated:** [August 6, 2013, 2:59pm UTC](https://forum.ansible.com/t/sudo-user-for-roles/12918 "2013-08-06T14:59:52Z")

</div>

just on a whim, I thought I’d try this: hosts: 127.0.0.1 sudo: yes connection: local vars: (snipped) roles: setup { role: worker, sudo\_user: vagrant } service It didn’t work. No big deal, I can have th…

---

## [Yum module state=latest =\> update or install](https://forum.ansible.com/t/yum-module-state-latest-update-or-install/13250)

<div class="topic-metadata">

**Author:** [@Drew\_Northup](https://forum.ansible.com/u/Drew_Northup)\
**Replies:** 2\
**Last updated:** [August 6, 2013, 2:17pm UTC](https://forum.ansible.com/t/yum-module-state-latest-update-or-install/13250 "2013-08-06T14:17:46Z")

</div>

My python-fu isn’t as good as my skills in some other languages, so after looking at the sources I am still not 100% sure what is supposed to happen when I run “yum: name=\* state=latest” (in this case from inside of a pl…

---

## [NYC meetup update - August 28th (location)](https://forum.ansible.com/t/nyc-meetup-update-august-28th-location/13259)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [August 6, 2013, 1:15am UTC](https://forum.ansible.com/t/nyc-meetup-update-august-28th-location/13259 "2013-08-06T01:15:00Z")

</div>

Hey everybody, We’ve got the location set for our NYC Meetup on August 28th. We’re going to be on Gawker’s roof deck! Thanks Gawker for hosting, I’m excited and that sounds like a fantastic way to spend a summer evenin…

---

## [ansible-openstack-redhat task "create the external network" Error in listing quantum networks:](https://forum.ansible.com/t/ansible-openstack-redhat-task-create-the-external-network-error-in-listing-quantum-networks/13249)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 3\
**Last updated:** [August 5, 2013, 6:13pm UTC](https://forum.ansible.com/t/ansible-openstack-redhat-task-create-the-external-network-error-in-listing-quantum-networks/13249 "2013-08-05T18:13:14Z")

</div>

I re-instanced my vms and started from scratch. I am still getting stuck on this step “create the external network” I have 2 centos 6.4 nodes each with 2 nics. I’m running the playbook from my mac. quantum\_network is…

---

## [How do people manage ssh forced-commands in authorized public keys?](https://forum.ansible.com/t/how-do-people-manage-ssh-forced-commands-in-authorized-public-keys/13256)

<div class="topic-metadata">

**Author:** [@Javier\_Candeira](https://forum.ansible.com/u/Javier_Candeira)\
**Replies:** 0\
**Last updated:** [August 5, 2013, 4:06am UTC](https://forum.ansible.com/t/how-do-people-manage-ssh-forced-commands-in-authorized-public-keys/13256 "2013-08-05T04:06:03Z")

</div>

Hi, What's the best practice recommended for managing ssh forced-commands in authorized public keys? I'm thinking of adding a set of command, environment, from options in the authorized\_key module, the key can be man…

---

## [md5sum command failed unusually](https://forum.ansible.com/t/md5sum-command-failed-unusually/13213)

<div class="topic-metadata">

**Author:** [@Alexander\_Saltanov](https://forum.ansible.com/u/Alexander_Saltanov)\
**Replies:** 12\
**Last updated:** [August 4, 2013, 11:58pm UTC](https://forum.ansible.com/t/md5sum-command-failed-unusually/13213 "2013-08-04T23:58:19Z")

</div>

Hi, I’ve run “vagrant provision” against Ubuntu 12.04 VM and got this message to report this mistake to the list. Ansible version is 1.2.2 Here is an output: PLAY \[Set the locale\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible AWS Issue](https://forum.ansible.com/t/ansible-aws-issue/13255)

<div class="topic-metadata">

**Author:** [@Don\_Larson](https://forum.ansible.com/u/Don_Larson)\
**Replies:** 1\
**Last updated:** [August 4, 2013, 11:31pm UTC](https://forum.ansible.com/t/ansible-aws-issue/13255 "2013-08-04T23:31:32Z")

</div>

I installed Ansible 1.2.2 and it works fine from the command line. I then installed Ansible AWS and it installed fine. In working through the AnsibleWorks AWX User Guide at the step 7. Create a new Job Template using a…

---

## [Best practice for making temporary file accessible to task](https://forum.ansible.com/t/best-practice-for-making-temporary-file-accessible-to-task/13253)

<div class="topic-metadata">

**Author:** [@Pedro\_Romano](https://forum.ansible.com/u/Pedro_Romano)\
**Replies:** 2\
**Last updated:** [August 4, 2013, 6:06pm UTC](https://forum.ansible.com/t/best-practice-for-making-temporary-file-accessible-to-task/13253 "2013-08-04T18:06:09Z")

</div>

I need to run a command that needs to consume a file for its configuration. What would be the best practice for cases like this where a temporary file needs to be copied remotely and then deleted after a certain task has…

---

## [Summary of recent 1.3 (devel) additions, release schedule](https://forum.ansible.com/t/summary-of-recent-1-3-devel-additions-release-schedule/13254)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [August 4, 2013, 4:13pm UTC](https://forum.ansible.com/t/summary-of-recent-1-3-devel-additions-release-schedule/13254 "2013-08-04T16:13:20Z")

</div>

Hi everyone, Yesterday was a busy merge day, and we’re not done. Since I’ve last posted an update, Several dozens of bugfixes and module parameter additions have been added. These include understanding/optimization for …

---

## [Problem when use with\_items, groups and include with Ansible 1.2.2](https://forum.ansible.com/t/problem-when-use-with-items-groups-and-include-with-ansible-1-2-2/13236)

<div class="topic-metadata">

**Author:** [@judauphant](https://forum.ansible.com/u/judauphant)\
**Replies:** 9\
**Last updated:** [August 4, 2013, 2:11am UTC](https://forum.ansible.com/t/problem-when-use-with-items-groups-and-include-with-ansible-1-2-2/13236 "2013-08-04T02:11:00Z")

</div>

Hi guys, I have a error when I run this playbook with Ansible:

---

## [How to nest playbooks on best practice?](https://forum.ansible.com/t/how-to-nest-playbooks-on-best-practice/13235)

<div class="topic-metadata">

**Author:** [@user41](https://forum.ansible.com/u/user41)\
**Replies:** 2\
**Last updated:** [August 2, 2013, 3:18pm UTC](https://forum.ansible.com/t/how-to-nest-playbooks-on-best-practice/13235 "2013-08-02T15:18:17Z")

</div>

I wanto to nest playbooks on best practice as a following python code. Have any idea? #!/usr/bin/env python import os configure web servers os.system(‘ansible-playbooks -i webservers web\_configure.yml’) db\_configs =…

---

## [Cannot get a dictionary in custom facts](https://forum.ansible.com/t/cannot-get-a-dictionary-in-custom-facts/13246)

<div class="topic-metadata">

**Author:** [@Grzegorz\_Nosek](https://forum.ansible.com/u/Grzegorz_Nosek)\
**Replies:** 3\
**Last updated:** [August 2, 2013, 2:14pm UTC](https://forum.ansible.com/t/cannot-get-a-dictionary-in-custom-facts/13246 "2013-08-02T14:14:07Z")

</div>

Hi, As requested in https://github.com/ansible/ansible/issues/3737 I’m bringing this topic to the mailing list. A simple custom facts module and an associated playbook https://gist.github.com/gnosek/6139435 end up with…

---

## [using host variables as condition](https://forum.ansible.com/t/using-host-variables-as-condition/13227)

<div class="topic-metadata">

**Author:** [@work](https://forum.ansible.com/u/work)\
**Replies:** 4\
**Last updated:** [August 2, 2013, 2:00pm UTC](https://forum.ansible.com/t/using-host-variables-as-condition/13227 "2013-08-02T14:00:38Z")

</div>

Hello, I am trying to do some special jobs only for some hosts. My setup until now: One playbook, which creates dynamic groups and includes different roles based on the dynamic groups (e.g. common for all hosts, or Sus…

---

## [differnet network interface names](https://forum.ansible.com/t/differnet-network-interface-names/13242)

<div class="topic-metadata">

**Author:** [@Filip\_Slunecko](https://forum.ansible.com/u/Filip_Slunecko)\
**Replies:** 3\
**Last updated:** [August 2, 2013, 8:07am UTC](https://forum.ansible.com/t/differnet-network-interface-names/13242 "2013-08-02T08:07:01Z")

</div>

Hi, I have two servers with different network interface names: From Ansible facts: Server A: “ansible\_em0”: { “active”: true, “device”: “em0”, … }, Server B: “ansible\_eth0”: { “active”: true, “device”: “eth0”…

---

## [User input required while running command](https://forum.ansible.com/t/user-input-required-while-running-command/13240)

<div class="topic-metadata">

**Author:** [@Andrei\_Varanovich](https://forum.ansible.com/u/Andrei_Varanovich)\
**Replies:** 1\
**Last updated:** [August 1, 2013, 10:49pm UTC](https://forum.ansible.com/t/user-input-required-while-running-command/13240 "2013-08-01T22:49:50Z")

</div>

Hello, I am new to ansible, and I have the following use case. The installer should be executed on the remote server. The installer itself involves some kind of wizard, where user input is required (e.g. one need to rea…

---

## [Cannot aggregate hosts after using ec2 module and with\_items](https://forum.ansible.com/t/cannot-aggregate-hosts-after-using-ec2-module-and-with-items/13244)

<div class="topic-metadata">

**Author:** [@Erik\_Bakstad](https://forum.ansible.com/u/Erik_Bakstad)\
**Replies:** 0\
**Last updated:** [August 1, 2013, 9:47pm UTC](https://forum.ansible.com/t/cannot-aggregate-hosts-after-using-ec2-module-and-with-items/13244 "2013-08-01T21:47:42Z")

</div>

I’m trying to figure out how to create multiple ec2 instances using with\_items so that I can control the id etc. The example under works, but I can’t figure out how to add the new server with add\_host. name: provision …

---

## [help with Route53 module](https://forum.ansible.com/t/help-with-route53-module/13237)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 2\
**Last updated:** [August 1, 2013, 2:31pm UTC](https://forum.ansible.com/t/help-with-route53-module/13237 "2013-08-01T14:31:56Z")

</div>

Hi list, I have the bellow playbook : route53-test.yml :

---

## [New module swdepot (HP-UX Package manager)](https://forum.ansible.com/t/new-module-swdepot-hp-ux-package-manager/13239)

<div class="topic-metadata">

**Author:** [@Raul\_Melo\_Fernandez](https://forum.ansible.com/u/Raul_Melo_Fernandez)\
**Replies:** 0\
**Last updated:** [August 1, 2013, 1:36pm UTC](https://forum.ansible.com/t/new-module-swdepot-hp-ux-package-manager/13239 "2013-08-01T13:36:03Z")

</div>

Hi list, I created a PR with new module swdepot, the package manager in HP-UX. Please Micheal add to the core if you think it could be usefull for the comunity. Regards Raúl Melo Fernández

---

## [ansible-pull will ask for a pw if ansible.cfg contains ask\_pass=true](https://forum.ansible.com/t/ansible-pull-will-ask-for-a-pw-if-ansible-cfg-contains-ask-pass-true/13233)

<div class="topic-metadata">

**Author:** [@Andy1](https://forum.ansible.com/u/Andy1)\
**Replies:** 7\
**Last updated:** [August 1, 2013, 1:11pm UTC](https://forum.ansible.com/t/ansible-pull-will-ask-for-a-pw-if-ansible-cfg-contains-ask-pass-true/13233 "2013-08-01T13:11:35Z")

</div>

Hi all, it seems to me that ansible-pull will not work if it picks up a config which has ask\_pass=true. I would’ve assumed that a “-c local” on the command line would overrule everything but it seems that’s not the case…

---

## [ec2.py external inventory script failing on "missing" RDS security group](https://forum.ansible.com/t/ec2-py-external-inventory-script-failing-on-missing-rds-security-group/12926)

<div class="topic-metadata">

**Author:** [@Jonathan1](https://forum.ansible.com/u/Jonathan1)\
**Replies:** 3\
**Last updated:** [August 1, 2013, 1:09am UTC](https://forum.ansible.com/t/ec2-py-external-inventory-script-failing-on-missing-rds-security-group/12926 "2013-08-01T01:09:13Z")

</div>

Greetings, I have an odd issue with the ec2.py external inventory module reporting an issue about a missing RDS security group. This will likely only be interesting if you are using the ec2 inventory module, VPC, and RD…

---

## [Is there a fact to identify which hosts have failed out of a run?](https://forum.ansible.com/t/is-there-a-fact-to-identify-which-hosts-have-failed-out-of-a-run/13234)

<div class="topic-metadata">

**Author:** [@David\_Golden](https://forum.ansible.com/u/David_Golden)\
**Replies:** 1\
**Last updated:** [August 1, 2013, 1:03am UTC](https://forum.ansible.com/t/is-there-a-fact-to-identify-which-hosts-have-failed-out-of-a-run/13234 "2013-08-01T01:03:17Z")

</div>

I have a looping template and I’d like it to loop only over hosts which have not yet failed during a run. I know how to loop over the group, but I don’t know if there’s a variable set to identify the status of a host (o…

---

## [Using "changed\_when" in a playbook?](https://forum.ansible.com/t/using-changed-when-in-a-playbook/13229)

<div class="topic-metadata">

**Author:** [@Jim\_Walters](https://forum.ansible.com/u/Jim_Walters)\
**Replies:** 2\
**Last updated:** [July 31, 2013, 9:52pm UTC](https://forum.ansible.com/t/using-changed-when-in-a-playbook/13229 "2013-07-31T21:52:57Z")

</div>

Hi All, I’m a relative noob to ansible, and I’ve only been using it for a couple of weeks, so maybe this is a dumb question, but I’d like to get this resolved. Here’s the back story: I’d like to be able to run an AIDE c…

---

## [How to use add\_hosts with ec2 inventory?](https://forum.ansible.com/t/how-to-use-add-hosts-with-ec2-inventory/13232)

<div class="topic-metadata">

**Author:** [@Mark1](https://forum.ansible.com/u/Mark1)\
**Replies:** 2\
**Last updated:** [July 31, 2013, 9:01pm UTC](https://forum.ansible.com/t/how-to-use-add-hosts-with-ec2-inventory/13232 "2013-07-31T21:01:20Z")

</div>

Hello! I’m calling a playbook with: ansible-playbook provision.yml -i ./ec2.py --extra-vars “role=webserver env=dev01 hosts=type\_t1\_micro” And in my playbook I want to add the hosts in the type\_t1\_micro group to the ‘…

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

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