# Latest

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

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

**Page:** 808

---

## [\[1.9.4\] Using yum to install groups - 'state: latest' does not work but 'state: present' works](https://forum.ansible.com/t/1-9-4-using-yum-to-install-groups-state-latest-does-not-work-but-state-present-works/20068)

<div class="topic-metadata">

**Author:** [@Asfand\_Yar\_Qazi](https://forum.ansible.com/u/Asfand_Yar_Qazi)\
**Replies:** 2\
**Last updated:** [December 26, 2015, 9:48am UTC](https://forum.ansible.com/t/1-9-4-using-yum-to-install-groups-state-latest-does-not-work-but-state-present-works/20068 "2015-12-26T09:48:56Z")

</div>

Hello, I thought I would quickly discuss this here before reporting a bug as I could not find an existing bug report: I tried a task like this: name: “Install Development tools package” yum: {name: “@Development too…

---

## [ec2.py and ansible\_ssh\_host](https://forum.ansible.com/t/ec2-py-and-ansible-ssh-host/20072)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 2\
**Last updated:** [December 25, 2015, 5:16am UTC](https://forum.ansible.com/t/ec2-py-and-ansible-ssh-host/20072 "2015-12-25T05:16:50Z")

</div>

We use the ec2.py inventory plugin, and vpc\_destination\_variable = Name in ec2.ini so that our inventory shows the value of the Name tag rather than an IP address. However, we'd like to use the IP address from inve…

---

## [ansible docs search not working?](https://forum.ansible.com/t/ansible-docs-search-not-working/20074)

<div class="topic-metadata">

**Author:** [@Steve\_McKuhr](https://forum.ansible.com/u/Steve_McKuhr)\
**Replies:** 1\
**Last updated:** [December 24, 2015, 10:42am UTC](https://forum.ansible.com/t/ansible-docs-search-not-working/20074 "2015-12-24T10:42:09Z")

</div>

I've tried: http://docs.ansible.com/ansible/index.html?query=inventory&siteurl=docs.ansible.com%2Fansible%2Findex.html&ref=docs.ansible.com%2F&ss=1154j182296j9 but basically any keyword entered in the "Google Custom…

---

## [Failed to validate the SSL certificate for launchpad.net:443](https://forum.ansible.com/t/failed-to-validate-the-ssl-certificate-for-launchpad-net-443/20070)

<div class="topic-metadata">

**Author:** [@Ivan\_Nunes](https://forum.ansible.com/u/Ivan_Nunes)\
**Replies:** 1\
**Last updated:** [December 24, 2015, 7:14am UTC](https://forum.ansible.com/t/failed-to-validate-the-ssl-certificate-for-launchpad-net-443/20070 "2015-12-24T07:14:19Z")

</div>

Often I get this error. I wait a few hours and try again and it works. How to solve or alleviate this problem? Thanks.

---

## [Understanding var file placements and autoloads](https://forum.ansible.com/t/understanding-var-file-placements-and-autoloads/20066)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 1\
**Last updated:** [December 23, 2015, 3:34pm UTC](https://forum.ansible.com/t/understanding-var-file-placements-and-autoloads/20066 "2015-12-23T15:34:01Z")

</div>

I have two questions regarding variable behavior, given my file structure My file structure is like so: /roles /common /provision\_ec2 /vars /main.yml /developer\_list.yml /tasks /main.yml /group\_vars /all /settings.yml …

---

## [Need Help for RAW module](https://forum.ansible.com/t/need-help-for-raw-module/20069)

<div class="topic-metadata">

**Author:** [@Samarth\_Singh](https://forum.ansible.com/u/Samarth_Singh)\
**Replies:** 1\
**Last updated:** [December 23, 2015, 3:25pm UTC](https://forum.ansible.com/t/need-help-for-raw-module/20069 "2015-12-23T15:25:05Z")

</div>

This is my play book :

---

## [github organization in galaxy?](https://forum.ansible.com/t/github-organization-in-galaxy/19845)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 6\
**Last updated:** [December 22, 2015, 9:57pm UTC](https://forum.ansible.com/t/github-organization-in-galaxy/19845 "2015-12-22T21:57:42Z")

</div>

Hi all, I’m part of an organization on github that wants to publish a role to galaxy as that organization. My account in linked in galaxy as the account that is part of the organization and when I specify the “username”…

---

## [run a playbook of automatic way](https://forum.ansible.com/t/run-a-playbook-of-automatic-way/20063)

<div class="topic-metadata">

**Author:** [@fabgcruz](https://forum.ansible.com/u/fabgcruz)\
**Replies:** 3\
**Last updated:** [December 22, 2015, 5:54pm UTC](https://forum.ansible.com/t/run-a-playbook-of-automatic-way/20063 "2015-12-22T17:54:01Z")

</div>

Hi, I need help to know what is the best way to run a playbook of automatic way, without needing to type command. I’m looking for something about cron but could not find something to solve my problem. I need to run per…

---

## [show exec command line arguments of ansible-playbook, ansible](https://forum.ansible.com/t/show-exec-command-line-arguments-of-ansible-playbook-ansible/20064)

<div class="topic-metadata">

**Author:** [@Jakub\_x](https://forum.ansible.com/u/Jakub_x)\
**Replies:** 1\
**Last updated:** [December 22, 2015, 5:41pm UTC](https://forum.ansible.com/t/show-exec-command-line-arguments-of-ansible-playbook-ansible/20064 "2015-12-22T17:41:39Z")

</div>

Hi I’ve been thinking what is the best ways of presenting actual command line “row” of the ansible/ansible-playbook execution. It could be captured ‘before execution’ with a simple echo, but sometimes the escaping brea…

---

## [Instalation Ansible Tower - Error](https://forum.ansible.com/t/instalation-ansible-tower-error/20062)

<div class="topic-metadata">

**Author:** [@fabgcruz](https://forum.ansible.com/u/fabgcruz)\
**Replies:** 2\
**Last updated:** [December 22, 2015, 4:17pm UTC](https://forum.ansible.com/t/instalation-ansible-tower-error/20062 "2015-12-22T16:17:35Z")

</div>

Hello , I am running the installation and get the error below , can anyone help me ? SO - Ubuntu 14.04 thank you TASK: \[migrations | Check Tower version for supervisor configuration\] \*\*\*\*\*\*\*\*\* failed: \[localhost\] …

---

## [playbook executes but hangs when executing remote python script](https://forum.ansible.com/t/playbook-executes-but-hangs-when-executing-remote-python-script/20056)

<div class="topic-metadata">

**Author:** [@richard\_kappler](https://forum.ansible.com/u/richard_kappler)\
**Replies:** 2\
**Last updated:** [December 22, 2015, 2:32pm UTC](https://forum.ansible.com/t/playbook-executes-but-hangs-when-executing-remote-python-script/20056 "2015-12-22T14:32:47Z")

</div>

I need to stop and then start a python script on numerous remote servers. I set up a vm in our test environment to walk through this. The ‘remote server’ has a simple python script (test.py) in /test directory: \` #!/us…

---

## [Executing ad-hoc command fails on two machines](https://forum.ansible.com/t/executing-ad-hoc-command-fails-on-two-machines/20061)

<div class="topic-metadata">

**Author:** [@daniel.herrmann1](https://forum.ansible.com/u/daniel.herrmann1)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 2:29pm UTC](https://forum.ansible.com/t/executing-ad-hoc-command-fails-on-two-machines/20061 "2015-12-22T14:29:37Z")

</div>

Hello, I am currently installing ansible for managing ~200 equal DNS/DHCP appliances running linux. As a first step, I added them to the ansible host file and created a first playbook, which does nothing than executing …

---

## [the API server (galaxy.ansible.com) is not responding, please try again later](https://forum.ansible.com/t/the-api-server-galaxy-ansible-com-is-not-responding-please-try-again-later/20060)

<div class="topic-metadata">

**Author:** [@Paul\_Davies](https://forum.ansible.com/u/Paul_Davies)\
**Replies:** 0\
**Last updated:** [December 22, 2015, 11:10am UTC](https://forum.ansible.com/t/the-api-server-galaxy-ansible-com-is-not-responding-please-try-again-later/20060 "2015-12-22T11:10:56Z")

</div>

Hi all I’m a new Ansible user (and new to Linux). I am trying to install a role from Galaxy for the first time and getting the error the API server (galaxy.ansible.com) is not responding, please try again later My p…

---

## [Pass vault variables into large config vault file.](https://forum.ansible.com/t/pass-vault-variables-into-large-config-vault-file/20045)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 3\
**Last updated:** [December 22, 2015, 6:41am UTC](https://forum.ansible.com/t/pass-vault-variables-into-large-config-vault-file/20045 "2015-12-22T06:41:48Z")

</div>

Hey, So I have a large config file that needs to be encrypted when pushed to a private repository. There are multiple server groups which it would be pushed too, so ideally I would be able to pass vars in to it, dependi…

---

## [variable for server as entered in inventory](https://forum.ansible.com/t/variable-for-server-as-entered-in-inventory/20059)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 1\
**Last updated:** [December 22, 2015, 2:25am UTC](https://forum.ansible.com/t/variable-for-server-as-entered-in-inventory/20059 "2015-12-22T02:25:12Z")

</div>

I have an inventory that contains (for example): \[servers\] 1.2.3.4 1.2.3.5 1.2.3.6 server1.foo.bar server2.foo.bar I’d like to access the entry under servers as a {{ variable }} in a playbook, for each of the entr…

---

## [Issue with local\_action](https://forum.ansible.com/t/issue-with-local-action/20058)

<div class="topic-metadata">

**Author:** [@Joe\_Talerico](https://forum.ansible.com/u/Joe_Talerico)\
**Replies:** 1\
**Last updated:** [December 22, 2015, 2:15am UTC](https://forum.ansible.com/t/issue-with-local-action/20058 "2015-12-22T02:15:23Z")

</div>

Executing a local\_action, and i expect it to execute as the user running the playbook, however it attempts to sudo… hosts: all gather\_facts: False become: false sudo: false name: Generating bug report tasks: local…

---

## [Ansible 2.0 RC3 is available for testing!](https://forum.ansible.com/t/ansible-2-0-rc3-is-available-for-testing/20057)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [December 21, 2015, 11:32pm UTC](https://forum.ansible.com/t/ansible-2-0-rc3-is-available-for-testing/20057 "2015-12-21T23:32:07Z")

</div>

Hi all, sorry for the delay, but we’re happy to announce the third release candidate for Ansible 2.0! This release candidate includes some last minute bug fixes and cleanups since the last release candidate. As noted in…

---

## [ec2\_ami creating a new AMI from EBS volume snapshot](https://forum.ansible.com/t/ec2-ami-creating-a-new-ami-from-ebs-volume-snapshot/20049)

<div class="topic-metadata">

**Author:** [@christopherlove68](https://forum.ansible.com/u/christopherlove68)\
**Replies:** 1\
**Last updated:** [December 21, 2015, 9:07pm UTC](https://forum.ansible.com/t/ec2-ami-creating-a-new-ami-from-ebs-volume-snapshot/20049 "2015-12-21T21:07:25Z")

</div>

Hi all, I have an existing manual process for creating an AMI from an EBS volume snapshot (note this is not creating an ami from an existing ec2 instance), which ultimately involves ec2-register (or ec2reg) from the AWS…

---

## [Ansible newbie, reporting misleading documentation on roles](https://forum.ansible.com/t/ansible-newbie-reporting-misleading-documentation-on-roles/20055)

<div class="topic-metadata">

**Author:** [@Spencer\_Brown](https://forum.ansible.com/u/Spencer_Brown)\
**Replies:** 1\
**Last updated:** [December 21, 2015, 6:12pm UTC](https://forum.ansible.com/t/ansible-newbie-reporting-misleading-documentation-on-roles/20055 "2015-12-21T18:12:52Z")

</div>

In the ansible docs for Playbook Roles and Include Statements, it says that once you set up a role x and reference it in a playbook: Any copy tasks can reference files in roles/x/files/ without having to path them re…

---

## [Ansible newbie](https://forum.ansible.com/t/ansible-newbie/20054)

<div class="topic-metadata">

**Author:** [@Yvonne\_Butler](https://forum.ansible.com/u/Yvonne_Butler)\
**Replies:** 1\
**Last updated:** [December 21, 2015, 5:43pm UTC](https://forum.ansible.com/t/ansible-newbie/20054 "2015-12-21T17:43:44Z")

</div>

Hi, I’m new to using ansible and want to run a command on a number of servers which I have listed within a text file. I’ve tried the command below where “hosts” is the file containing the server name list but no luck, a…

---

## [ansible and pyhton](https://forum.ansible.com/t/ansible-and-pyhton/20053)

<div class="topic-metadata">

**Author:** [@Anthony\_salvado](https://forum.ansible.com/u/Anthony_salvado)\
**Replies:** 1\
**Last updated:** [December 21, 2015, 12:21pm UTC](https://forum.ansible.com/t/ansible-and-pyhton/20053 "2015-12-21T12:21:20Z")

</div>

hi all, i want use this on ansible variable : import re number1 = re.findall(“\\d+”, ansible\_hostname) i’ve try this : number1: "{{ re.findall\*\*(‘\\d+’, ansible\_hostname) }}"\*\* but it’s not ok ^^ have you idea ?

---

## [Updating an object that exists within ansible\_facts across modules](https://forum.ansible.com/t/updating-an-object-that-exists-within-ansible-facts-across-modules/20051)

<div class="topic-metadata">

**Author:** [@Jason\_Edelman](https://forum.ansible.com/u/Jason_Edelman)\
**Replies:** 1\
**Last updated:** [December 21, 2015, 3:28am UTC](https://forum.ansible.com/t/updating-an-object-that-exists-within-ansible-facts-across-modules/20051 "2015-12-21T03:28:26Z")

</div>

Hi, I’m looking to return ansible\_facts from multiple modules but have the results be updated to be in a common value within ansible\_facts. (just like ansible\_facts already does) For example, in module 1, I want to hav…

---

## [How to match regex tab?](https://forum.ansible.com/t/how-to-match-regex-tab/20014)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 4\
**Last updated:** [December 21, 2015, 1:39am UTC](https://forum.ansible.com/t/how-to-match-regex-tab/20014 "2015-12-21T01:39:15Z")

</div>

Hi, I am running ansible version 1.9. I am using replace module to add parameters to kernel line which starting with a in the grub.conf file kernel /boot/vmlinuz-2.6.32-573.7.1.el6.x86\_64 ro root=UUID=f360dd95-c0e6-49…

---

## [Test Kitchen with Ansible and Serverspev](https://forum.ansible.com/t/test-kitchen-with-ansible-and-serverspev/20052)

<div class="topic-metadata">

**Author:** [@Neill\_Turner](https://forum.ansible.com/u/Neill_Turner)\
**Replies:** 0\
**Last updated:** [December 20, 2015, 6:55pm UTC](https://forum.ansible.com/t/test-kitchen-with-ansible-and-serverspev/20052 "2015-12-20T18:55:15Z")

</div>

Thought there might be interested in what i’ve built with test-kitchen to automatically build multiple servers with multiple roles and use serverspec to test them. You can see it https://github.com/neillturner/ansibl…

---

## [AWS EC2 instance create via Ansible IAM Roles instance\_profile\_name UnauthorizedOperation: Error](https://forum.ansible.com/t/aws-ec2-instance-create-via-ansible-iam-roles-instance-profile-name-unauthorizedoperation-error/15542)

<div class="topic-metadata">

**Author:** [@Faisal\_Ali\_Rabbani](https://forum.ansible.com/u/Faisal_Ali_Rabbani)\
**Replies:** 6\
**Last updated:** [December 20, 2015, 6:24am UTC](https://forum.ansible.com/t/aws-ec2-instance-create-via-ansible-iam-roles-instance-profile-name-unauthorizedoperation-error/15542 "2015-12-20T06:24:32Z")

</div>

I am trying to create EC2 instance via ansible using IAM roles but I while launching new instance I get error failed: \[localhost\] =\> (item= IAMRole-1) =\> {"failed": true, "item": " IAMRole-1"} msg: Instance creation fai…

---

## [Automaticly register task results for the next task](https://forum.ansible.com/t/automaticly-register-task-results-for-the-next-task/20048)

<div class="topic-metadata">

**Author:** [@Giovanni\_Tirloni](https://forum.ansible.com/u/Giovanni_Tirloni)\
**Replies:** 4\
**Last updated:** [December 19, 2015, 10:36pm UTC](https://forum.ansible.com/t/automaticly-register-task-results-for-the-next-task/20048 "2015-12-19T22:36:25Z")

</div>

Hello, Would it make sense to have task results be automatically registered for every task under a pre-defined name? This would eliminate all the “register” lines with ad-hoc names used just for the next task. Users wi…

---

## [Complex args + with\_items ansible 2.0](https://forum.ansible.com/t/complex-args-with-items-ansible-2-0/20032)

<div class="topic-metadata">

**Author:** [@Adham\_H](https://forum.ansible.com/u/Adham_H)\
**Replies:** 4\
**Last updated:** [December 19, 2015, 7:00pm UTC](https://forum.ansible.com/t/complex-args-with-items-ansible-2-0/20032 "2015-12-19T19:00:33Z")

</div>

Starting to test my roles with ansible 2.0 dev branch Complex args breaks when using with\_ but works with 1.9.X name : Loop hosts : all gather\_facts : yes become : True vars : usermanage\_groupsdb : name : “g…

---

## [help on loop over list of dicts](https://forum.ansible.com/t/help-on-loop-over-list-of-dicts/19974)

<div class="topic-metadata">

**Author:** [@Mgsz](https://forum.ansible.com/u/Mgsz)\
**Replies:** 3\
**Last updated:** [December 18, 2015, 11:09pm UTC](https://forum.ansible.com/t/help-on-loop-over-list-of-dicts/19974 "2015-12-18T23:09:04Z")

</div>

Error when try to iterate a list: This is what I am using in the playbook: … debug: msg=“{{ dev\_interfaces\[0\].name }}” name: debug message interface name debug: msg=“{{item.name}}” with\_items: “{{ dev\_interface…

---

## [\--start-at-task seems broken on 2.0.0-stable](https://forum.ansible.com/t/start-at-task-seems-broken-on-2-0-0-stable/19857)

<div class="topic-metadata">

**Author:** [@Brandon\_Heller](https://forum.ansible.com/u/Brandon_Heller)\
**Replies:** 11\
**Last updated:** [December 18, 2015, 10:08pm UTC](https://forum.ansible.com/t/start-at-task-seems-broken-on-2-0-0-stable/19857 "2015-12-18T22:08:34Z")

</div>

\[prior post had a link in the title - if a mod can delete that post, would be great, thanks!\] I’m having some issues with ansible 2.0.0-stable (b69942a), where --start-at-task can’t find the task with that name. I thin…

---

## [\-e 'versions.myapp="0.1.2"'  vs -e  '{ "versions": { "myapp": "0.1.2"} }'  =\> Rundeck job import, ":"  -\> yaml: mapping values are not allowed here](https://forum.ansible.com/t/e-versions-myapp-0-1-2-vs-e-versions-myapp-0-1-2-rundeck-job-import-yaml-mapping-values-are-not-allowed-here/20046)

<div class="topic-metadata">

**Author:** [@Jakub\_Muszynski](https://forum.ansible.com/u/Jakub_Muszynski)\
**Replies:** 2\
**Last updated:** [December 18, 2015, 4:04pm UTC](https://forum.ansible.com/t/e-versions-myapp-0-1-2-vs-e-versions-myapp-0-1-2-rundeck-job-import-yaml-mapping-values-are-not-allowed-here/20046 "2015-12-18T16:04:31Z")

</div>

Is there any way to pass an extra\_vars in a form of dict, not json? Like this: -e ‘versions.myapp=“0.1.2”’ not like that: -e ‘{ “versions”: { “myapp”: “0.1.2”} }’ Reason - while importing jobs into rundeck it does c…

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

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