# Latest

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

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

**Page:** 855

---

## [OSX 10.10.3 check uri httplib2 not found](https://forum.ansible.com/t/osx-10-10-3-check-uri-httplib2-not-found/18686)

<div class="topic-metadata">

**Author:** [@Anatol](https://forum.ansible.com/u/Anatol)\
**Replies:** 4\
**Last updated:** [July 6, 2015, 8:45pm UTC](https://forum.ansible.com/t/osx-10-10-3-check-uri-httplib2-not-found/18686 "2015-07-06T20:45:54Z")

</div>

Hi, I´m trying to test an URL status Code: \` Check that you can connect (GET) to a page and it returns a status 200 uri: url=http://www.example.com Check that a page returns a status 200 action: uri url=http://www.…

---

## [service module does not allow to change the rc.d priority level](https://forum.ansible.com/t/service-module-does-not-allow-to-change-the-rc-d-priority-level/18691)

<div class="topic-metadata">

**Author:** [@Florian\_Dambrine](https://forum.ansible.com/u/Florian_Dambrine)\
**Replies:** 0\
**Last updated:** [July 6, 2015, 7:04pm UTC](https://forum.ansible.com/t/service-module-does-not-allow-to-change-the-rc-d-priority-level/18691 "2015-07-06T19:04:38Z")

</div>

Hey folks, I have a quite common use case where I want to manage rc levels for a specific init.d script (In that case tomcat). I did not find a way to change the priority of the init script with the service module. Rig…

---

## [How to use roles from the command line?](https://forum.ansible.com/t/how-to-use-roles-from-the-command-line/15390)

<div class="topic-metadata">

**Author:** [@john.mee](https://forum.ansible.com/u/john.mee)\
**Replies:** 14\
**Last updated:** [July 6, 2015, 6:53pm UTC](https://forum.ansible.com/t/how-to-use-roles-from-the-command-line/15390 "2015-07-06T18:53:02Z")

</div>

I want to develop/test my new role on a virtual node thence apply just that one play, um role, against a host that really matters. How do I do that without having to edit any files between getting it finished and applyi…

---

## [idempotency check when state=default](https://forum.ansible.com/t/idempotency-check-when-state-default/18690)

<div class="topic-metadata">

**Author:** [@michael2](https://forum.ansible.com/u/michael2)\
**Replies:** 0\
**Last updated:** [July 6, 2015, 5:33pm UTC](https://forum.ansible.com/t/idempotency-check-when-state-default/18690 "2015-07-06T17:33:09Z")

</div>

Hello, I am dealing with the devices (network switches) that are idempotent through their API. The devices check whether a proposed config change would alter the current configured state, and if it wouldn’t, then no cha…

---

## [Trying to access groups\[\] programmatically not working](https://forum.ansible.com/t/trying-to-access-groups-programmatically-not-working/18662)

<div class="topic-metadata">

**Author:** [@Dean\_Mills](https://forum.ansible.com/u/Dean_Mills)\
**Replies:** 4\
**Last updated:** [July 6, 2015, 3:26pm UTC](https://forum.ansible.com/t/trying-to-access-groups-programmatically-not-working/18662 "2015-07-06T15:26:00Z")

</div>

Having an issue with one of my new playbooks. I am assuming this should work: In my hosts file: \[develop.us-east-1.vpn\] vpn01.us ansible\_ssh\_host=10.1.1.1 vpn02.us ansible\_ssh\_host=10.1.1.2 \[develop.us-east-1.vpn:va…

---

## [Problem with ansible.cfg file provided by repository](https://forum.ansible.com/t/problem-with-ansible-cfg-file-provided-by-repository/18687)

<div class="topic-metadata">

**Author:** [@Federico\_Aguirre](https://forum.ansible.com/u/Federico_Aguirre)\
**Replies:** 2\
**Last updated:** [July 6, 2015, 1:55pm UTC](https://forum.ansible.com/t/problem-with-ansible-cfg-file-provided-by-repository/18687 "2015-07-06T13:55:53Z")

</div>

Hi folks, I’m having a problem with ansible.cfg file which is built inside a repo and a playbook run by Jenkins. Basically the problem is that Ansible not read configurations from the ansible.cfg file provided by the r…

---

## [Dynamic inventory for rackspace cloud besides servers](https://forum.ansible.com/t/dynamic-inventory-for-rackspace-cloud-besides-servers/18684)

<div class="topic-metadata">

**Author:** [@Mehul\_Ved](https://forum.ansible.com/u/Mehul_Ved)\
**Replies:** 0\
**Last updated:** [July 6, 2015, 6:10am UTC](https://forum.ansible.com/t/dynamic-inventory-for-rackspace-cloud-besides-servers/18684 "2015-07-06T06:10:52Z")

</div>

Hi, I started a rackspace cloud database instance and tried to look for ways to list it but can't find a way to list the database instances. Is there a way to list different types of rackspace cloud instances as we…

---

## [selectattr with ansible](https://forum.ansible.com/t/selectattr-with-ansible/18675)

<div class="topic-metadata">

**Author:** [@Vishal\_Chainani](https://forum.ansible.com/u/Vishal_Chainani)\
**Replies:** 4\
**Last updated:** [July 6, 2015, 5:28am UTC](https://forum.ansible.com/t/selectattr-with-ansible/18675 "2015-07-06T05:28:51Z")

</div>

Hi, I have a list like below, and I need to select the sequence which has “name” attribute equal to “lo0”. I use this selectattr statement {% set lo0 = interfaces|selectattr(“name”, “equalto”, lo0) | first%} But while …

---

## [jinja syntax error in lookup template says "can't read file"](https://forum.ansible.com/t/jinja-syntax-error-in-lookup-template-says-cant-read-file/18682)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 1\
**Last updated:** [July 6, 2015, 2:59am UTC](https://forum.ansible.com/t/jinja-syntax-error-in-lookup-template-says-cant-read-file/18682 "2015-07-06T02:59:16Z")

</div>

I have template that contains \` job\_name: nodes consul\_sd\_configs: {% for cenv in prometheus\_consul\_dcs %} {% endfor %} \` This loads fine with \` prometheus\_yml: “{{lookup(‘template’, ‘…/files/prometheus/prometh…

---

## [Ansible seems can not parse response from remote host due to locale issue.](https://forum.ansible.com/t/ansible-seems-can-not-parse-response-from-remote-host-due-to-locale-issue/18668)

<div class="topic-metadata">

**Author:** [@fengnan\_zhao](https://forum.ansible.com/u/fengnan_zhao)\
**Replies:** 3\
**Last updated:** [July 5, 2015, 6:56pm UTC](https://forum.ansible.com/t/ansible-seems-can-not-parse-response-from-remote-host-due-to-locale-issue/18668 "2015-07-05T18:56:39Z")

</div>

Repost to fix some grammar error: Hi guys, I am new to Ansible and playing some basic commands now. I run the following command against different remote hosts, and found that the results are different : zhaof@fnz:~/wo…

---

## [group\_vars on many groups ?](https://forum.ansible.com/t/group-vars-on-many-groups/18663)

<div class="topic-metadata">

**Author:** [@Charly\_Koza](https://forum.ansible.com/u/Charly_Koza)\
**Replies:** 1\
**Last updated:** [July 5, 2015, 3:54pm UTC](https://forum.ansible.com/t/group-vars-on-many-groups/18663 "2015-07-05T15:54:29Z")

</div>

Hello ! I somehow need to assign applications to groups of hosts have a host in several groups in the platform get the list of deployed applications in the platform be able to get the list of hosts with the applicatio…

---

## [failed\_when/changed\_when with script module](https://forum.ansible.com/t/failed-when-changed-when-with-script-module/18680)

<div class="topic-metadata">

**Author:** [@Aaron\_Schrab](https://forum.ansible.com/u/Aaron_Schrab)\
**Replies:** 0\
**Last updated:** [July 5, 2015, 2:32pm UTC](https://forum.ansible.com/t/failed-when-changed-when-with-script-module/18680 "2015-07-05T14:32:52Z")

</div>

I’m using ansible 2.0, and I’m trying to create a script play which will correctly flag when a change was made, but so far I’ve been unable to get this to work. Here’s what I have for the play: script: script {{ arg }} …

---

## [List and Dict combined](https://forum.ansible.com/t/list-and-dict-combined/18679)

<div class="topic-metadata">

**Author:** [@Vishal\_Chainani](https://forum.ansible.com/u/Vishal_Chainani)\
**Replies:** 2\
**Last updated:** [July 5, 2015, 1:31pm UTC](https://forum.ansible.com/t/list-and-dict-combined/18679 "2015-07-05T13:31:09Z")

</div>

Hi, Can a list have a combination of dict and lists? Below is my data and jinja2 template, while running the play book get an error. snmp: location: xyz contact: admin community: name: public access: read-only c…

---

## [alter PATH for all tasks running on a specific host group?](https://forum.ansible.com/t/alter-path-for-all-tasks-running-on-a-specific-host-group/18246)

<div class="topic-metadata">

**Author:** [@Alex\_Peters](https://forum.ansible.com/u/Alex_Peters)\
**Replies:** 3\
**Last updated:** [July 5, 2015, 12:05pm UTC](https://forum.ansible.com/t/alter-path-for-all-tasks-running-on-a-specific-host-group/18246 "2015-07-05T12:05:58Z")

</div>

I have a couple playbooks that apply to a number of host groups, one group having /sbin (among other things) missing from its hosts’ PATHs. This means that the playbooks run correctly on most hosts, but not the hosts in…

---

## [Privileges when testing Playbooks on Vagrant VMs before running on production machines](https://forum.ansible.com/t/privileges-when-testing-playbooks-on-vagrant-vms-before-running-on-production-machines/18678)

<div class="topic-metadata">

**Author:** [@Anthony\_Green](https://forum.ansible.com/u/Anthony_Green)\
**Replies:** 0\
**Last updated:** [July 5, 2015, 7:56am UTC](https://forum.ansible.com/t/privileges-when-testing-playbooks-on-vagrant-vms-before-running-on-production-machines/18678 "2015-07-05T07:56:23Z")

</div>

Background: I’m exploring using Ansible to provision a CI master/slave set for EtE testing. I’m using Vagrant to build VMs on my local workstation. Vagrant creates it’s VMs with a default vagrant user that has SUDO pr…

---

## [Not seeing errors when a ping command fails](https://forum.ansible.com/t/not-seeing-errors-when-a-ping-command-fails/18659)

<div class="topic-metadata">

**Author:** [@Rupert\_Swarbrick](https://forum.ansible.com/u/Rupert_Swarbrick)\
**Replies:** 2\
**Last updated:** [July 4, 2015, 9:09pm UTC](https://forum.ansible.com/t/not-seeing-errors-when-a-ping-command-fails/18659 "2015-07-04T21:09:48Z")

</div>

Hi, I’m new to Ansible, so might be asking a slightly silly question here. I’ve just started setting up an environment based on the development version (sha 08ad05c) and did the obvious “hello world test”: $ ansible al…

---

## [What does "XXX" mean?](https://forum.ansible.com/t/what-does-xxx-mean/18677)

<div class="topic-metadata">

**Author:** [@Marc\_Abramowitz](https://forum.ansible.com/u/Marc_Abramowitz)\
**Replies:** 2\
**Last updated:** [July 4, 2015, 6:17pm UTC](https://forum.ansible.com/t/what-does-xxx-mean/18677 "2015-07-04T18:17:30Z")

</div>

Trying to do: sudo: true file: path=/opt/webapp/profilesvc/enabled.txt state=file and getting: failed: \[localhost\] =\> {“failed”: true, “path”: “/opt/webapp/profilesvc/enabled.txt”, “state”: “absent”} msg: file (/opt…

---

## [unarchive Source does not exist](https://forum.ansible.com/t/unarchive-source-does-not-exist/18664)

<div class="topic-metadata">

**Author:** [@Daniel5](https://forum.ansible.com/u/Daniel5)\
**Replies:** 1\
**Last updated:** [July 4, 2015, 5:09pm UTC](https://forum.ansible.com/t/unarchive-source-does-not-exist/18664 "2015-07-04T17:09:38Z")

</div>

I have a task in my main.yml name: download and extract binary installer unarchive: src=https://www.aescrypt.com/download/v3/linux/AESCrypt-GUI-3.10-Linux-x86\_64-Install.tgz dest=/tmp copy=no When I run this I get th…

---

## [ansible seems can not parse response from remote host properly.](https://forum.ansible.com/t/ansible-seems-can-not-parse-response-from-remote-host-properly/18676)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [July 4, 2015, 5:08pm UTC](https://forum.ansible.com/t/ansible-seems-can-not-parse-response-from-remote-host-properly/18676 "2015-07-04T17:08:59Z")

</div>

python is not being found, use ansible\_python\_interpreter to point to the correct location

---

## [Something is off after I upgraded to 1.9.2 : configured module search path = None](https://forum.ansible.com/t/something-is-off-after-i-upgraded-to-1-9-2-configured-module-search-path-none/18657)

<div class="topic-metadata">

**Author:** [@Joseph\_DJOMEDA](https://forum.ansible.com/u/Joseph_DJOMEDA)\
**Replies:** 1\
**Last updated:** [July 4, 2015, 2:50pm UTC](https://forum.ansible.com/t/something-is-off-after-i-upgraded-to-1-9-2-configured-module-search-path-none/18657 "2015-07-04T14:50:20Z")

</div>

Hello guys, This is my first post here. After playing around with ansible I decided to introduce it to my team in the office. After cooking my short tutorial to speed up the adoption of the team, I moved to another pro…

---

## [debug module needs tag to operate](https://forum.ansible.com/t/debug-module-needs-tag-to-operate/18658)

<div class="topic-metadata">

**Author:** [@Jens\_Debergh](https://forum.ansible.com/u/Jens_Debergh)\
**Replies:** 1\
**Last updated:** [July 4, 2015, 3:25am UTC](https://forum.ansible.com/t/debug-module-needs-tag-to-operate/18658 "2015-07-04T03:25:03Z")

</div>

When trying to debug a particular play I’m using the --tags flag to narrow down on my complete playbook. I was using the debug module to output some set variables but couldn’t wrap my head around the fact that the debug…

---

## [Every task runs 2 time or is displayed 2 times?](https://forum.ansible.com/t/every-task-runs-2-time-or-is-displayed-2-times/18672)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 3\
**Last updated:** [July 4, 2015, 2:59am UTC](https://forum.ansible.com/t/every-task-runs-2-time-or-is-displayed-2-times/18672 "2015-07-04T02:59:20Z")

</div>

Might be the expected behavior but every task now runs 2 times. \` $ ansible-playbook --ask-pass --ask-sudo-pass -i testing-servers linux-servers.yml --tags apts SSH password: SUDO password\[defaults to SSH password\]: …

---

## [Detecting os in conditional for local action](https://forum.ansible.com/t/detecting-os-in-conditional-for-local-action/18654)

<div class="topic-metadata">

**Author:** [@Andrew\_Swerlick](https://forum.ansible.com/u/Andrew_Swerlick)\
**Replies:** 1\
**Last updated:** [July 4, 2015, 2:29am UTC](https://forum.ansible.com/t/detecting-os-in-conditional-for-local-action/18654 "2015-07-04T02:29:16Z")

</div>

Is there a way to detect what OS ansible is being run on and to use that information in the condiational for a local\_action task? In particular, I need create a temporary directory on the local machine to fetch a local …

---

## [GCE inventory nested groups](https://forum.ansible.com/t/gce-inventory-nested-groups/18640)

<div class="topic-metadata">

**Author:** [@Or\_Elimelech](https://forum.ansible.com/u/Or_Elimelech)\
**Replies:** 1\
**Last updated:** [July 3, 2015, 11:10pm UTC](https://forum.ansible.com/t/gce-inventory-nested-groups/18640 "2015-07-03T23:10:30Z")

</div>

Hi Ansibles, Is there a way to create nested groups for GCE inventory? For example \[tag\_elasticsearch:vars\] \[tag\_elasticsearch-prod:vars\] Please tell me if there is a way to do so or I am just doing it wrong and not…

---

## [Possible bug in 1.9.2 ec2](https://forum.ansible.com/t/possible-bug-in-1-9-2-ec2/18588)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 6\
**Last updated:** [July 3, 2015, 10:35pm UTC](https://forum.ansible.com/t/possible-bug-in-1-9-2-ec2/18588 "2015-07-03T22:35:56Z")

</div>

I have the following task: \` name: Create ELK instance ec2: image: “{{ubuntu\_image.ami}}” region: “{{ec2\_region}}” vpc\_subnet\_id: “{{env\_subnets.private|for\_count(item)}}” instance\_type: “{{elk\_instance\_type}}” …

---

## [Calculating checksum failed unusually](https://forum.ansible.com/t/calculating-checksum-failed-unusually/18673)

<div class="topic-metadata">

**Author:** [@Randy\_Bush](https://forum.ansible.com/u/Randy_Bush)\
**Replies:** 0\
**Last updated:** [July 3, 2015, 9:00pm UTC](https://forum.ansible.com/t/calculating-checksum-failed-unusually/18673 "2015-07-03T21:00:20Z")

</div>

ryuu.psg.com:/Users/randy/ansible\> ansible --version ansible 2.0.0

---

## [Auto loading ansible playbook on firstboot](https://forum.ansible.com/t/auto-loading-ansible-playbook-on-firstboot/18669)

<div class="topic-metadata">

**Author:** [@John\_Mancuso](https://forum.ansible.com/u/John_Mancuso)\
**Replies:** 2\
**Last updated:** [July 3, 2015, 7:51pm UTC](https://forum.ansible.com/t/auto-loading-ansible-playbook-on-firstboot/18669 "2015-07-03T19:51:53Z")

</div>

So I have a master ansible server which will loads different types of servers- typical dbserver, webserver etc. Let’s say (via golden img) I am provisioning new client machines/VMs, could be via cobbler, aws, etc… How c…

---

## [need to iterate bunch of tasks with different input values](https://forum.ansible.com/t/need-to-iterate-bunch-of-tasks-with-different-input-values/18671)

<div class="topic-metadata">

**Author:** [@Jyoti\_Ranjan](https://forum.ansible.com/u/Jyoti_Ranjan)\
**Replies:** 0\
**Last updated:** [July 3, 2015, 2:19pm UTC](https://forum.ansible.com/t/need-to-iterate-bunch-of-tasks-with-different-input-values/18671 "2015-07-03T14:19:43Z")

</div>

Hi, I have desire to run a bunch of tasks with different values but multiple times. Something like mentioned below: my-play.yml: task1 task 2 … … … Now, I want to call my-play.yml with with\_items. But it is being…

---

## [\[SOLVED\] \[ansible-project\] Re: v2 - issue running copy module](https://forum.ansible.com/t/solved-ansible-project-re-v2-issue-running-copy-module/18670)

<div class="topic-metadata">

**Author:** [@Rodrigo\_B\_Brasil](https://forum.ansible.com/u/Rodrigo_B_Brasil)\
**Replies:** 0\
**Last updated:** [July 3, 2015, 1:45pm UTC](https://forum.ansible.com/t/solved-ansible-project-re-v2-issue-running-copy-module/18670 "2015-07-03T13:45:03Z")

</div>

Bug fixed, guys. Thanks.

---

## [Multiple AWS accounts and STS assume\_role support](https://forum.ansible.com/t/multiple-aws-accounts-and-sts-assume-role-support/17131)

<div class="topic-metadata">

**Author:** [@Boris1](https://forum.ansible.com/u/Boris1)\
**Replies:** 3\
**Last updated:** [July 3, 2015, 12:21pm UTC](https://forum.ansible.com/t/multiple-aws-accounts-and-sts-assume-role-support/17131 "2015-07-03T12:21:01Z")

</div>

Hi, Not sure if this question belongs here or on the ansible\_development list, but let me start here. Do Ansible AWS modules support STS.assume\_role to obtain temporary credentials and use them to sign API requests for…

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

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