# Latest

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

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

**Page:** 779

---

## [My first "role" isn't running](https://forum.ansible.com/t/my-first-role-isnt-running/20913)

<div class="topic-metadata">

**Author:** [@Gilberto\_Valentin](https://forum.ansible.com/u/Gilberto_Valentin)\
**Replies:** 26\
**Last updated:** [March 23, 2016, 2:12pm UTC](https://forum.ansible.com/t/my-first-role-isnt-running/20913 "2016-03-23T14:12:41Z")

</div>

I am creating a role to install some packages and then join a system to a domain controller. However, when I run my playbook, it comes back saying ERROR! ERROR! ‘test’ is undefined. Here is how I am running my playbook: …

---

## [Community Review needed for AWS Lambda modules](https://forum.ansible.com/t/community-review-needed-for-aws-lambda-modules/20969)

<div class="topic-metadata">

**Author:** [@pjodouin](https://forum.ansible.com/u/pjodouin)\
**Replies:** 0\
**Last updated:** [March 23, 2016, 1:46pm UTC](https://forum.ansible.com/t/community-review-needed-for-aws-lambda-modules/20969 "2016-03-23T13:46:54Z")

</div>

Hi, I recently issued a PR to Ansible Extras for 5 modules relating to AWS Lambda. Community review is now needed to find bugs/issues or suggest improvements. If interested in participating, here are the links to the o…

---

## [Local\_action module failed.](https://forum.ansible.com/t/local-action-module-failed/20952)

<div class="topic-metadata">

**Author:** [@Yuri](https://forum.ansible.com/u/Yuri)\
**Replies:** 3\
**Last updated:** [March 23, 2016, 1:26pm UTC](https://forum.ansible.com/t/local-action-module-failed/20952 "2016-03-23T13:26:31Z")

</div>

Hello, (Ansible version:2.0.0) I tried to execute the following playbook.

---

## [Using Custom Loader (2.0.1)](https://forum.ansible.com/t/using-custom-loader-2-0-1/20968)

<div class="topic-metadata">

**Author:** [@Halil\_Burak\_Noyan](https://forum.ansible.com/u/Halil_Burak_Noyan)\
**Replies:** 0\
**Last updated:** [March 23, 2016, 1:09pm UTC](https://forum.ansible.com/t/using-custom-loader-2-0-1/20968 "2016-03-23T13:09:22Z")

</div>

I am using Ansible 2 API to execute playbooks. For vars files, I needed to use inheritance in json, so I built a reference system in json and written a decoder in python. My decoder works with both ordinary json files a…

---

## [Custom Module: Adding module for 'atomic' command for Atomic Host Platforms](https://forum.ansible.com/t/custom-module-adding-module-for-atomic-command-for-atomic-host-platforms/20967)

<div class="topic-metadata">

**Author:** [@Saravanan\_KR](https://forum.ansible.com/u/Saravanan_KR)\
**Replies:** 0\
**Last updated:** [March 23, 2016, 12:24pm UTC](https://forum.ansible.com/t/custom-module-adding-module-for-atomic-command-for-atomic-host-platforms/20967 "2016-03-23T12:24:14Z")

</div>

Hello, I am using Atomic Host Platforms and found a important utility missing - ‘atomic’ command. As you might be aware, the Atomic Host is a restricted platform to run only containers and atomic command provides ways t…

---

## [acccess my environment variable in remote host](https://forum.ansible.com/t/acccess-my-environment-variable-in-remote-host/20943)

<div class="topic-metadata">

**Author:** [@Pandithurai\_S](https://forum.ansible.com/u/Pandithurai_S)\
**Replies:** 1\
**Last updated:** [March 23, 2016, 11:52am UTC](https://forum.ansible.com/t/acccess-my-environment-variable-in-remote-host/20943 "2016-03-23T11:52:19Z")

</div>

Hi Team, I need to access my jenkins environment variable in the script which i placed in remote host. for ex:

---

## [win\_stat poses an error when i try to get info about a file symbolic link actively in use by a processor](https://forum.ansible.com/t/win-stat-poses-an-error-when-i-try-to-get-info-about-a-file-symbolic-link-actively-in-use-by-a-processor/20939)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 3\
**Last updated:** [March 23, 2016, 11:47am UTC](https://forum.ansible.com/t/win-stat-poses-an-error-when-i-try-to-get-info-about-a-file-symbolic-link-actively-in-use-by-a-processor/20939 "2016-03-23T11:47:07Z")

</div>

I am trying to check if some symbolic links exists or not on a windows 2012 R2 machine using win\_file module. It works fine in case of directory symbolic links but poses an error when the path specified is a file symboli…

---

## [Ansible become option with passwordless](https://forum.ansible.com/t/ansible-become-option-with-passwordless/20940)

<div class="topic-metadata">

**Author:** [@selvam\_vasu](https://forum.ansible.com/u/selvam_vasu)\
**Replies:** 10\
**Last updated:** [March 23, 2016, 11:40am UTC](https://forum.ansible.com/t/ansible-become-option-with-passwordless/20940 "2016-03-23T11:40:32Z")

</div>

Hi, I am newbie to ansible. You can find it easily through this dump question. I have limited access to one user(selvam) which can ran limited commands using sudo option. My sudoers file looks like below. selvam ALL=…

---

## [Delegating tasks from multiple hosts to one](https://forum.ansible.com/t/delegating-tasks-from-multiple-hosts-to-one/20965)

<div class="topic-metadata">

**Author:** [@Paul\_Totterman](https://forum.ansible.com/u/Paul_Totterman)\
**Replies:** 0\
**Last updated:** [March 23, 2016, 10:27am UTC](https://forum.ansible.com/t/delegating-tasks-from-multiple-hosts-to-one/20965 "2016-03-23T10:27:14Z")

</div>

Hi, I’m trying to delegate from multiple hosts to one in a play. Basically I’m trying to do something similar to puppet exported resources. \` hosts: slaves tasks: cron: name: ‘{{ansible\_fqdn}}’ job: ‘rsync {{ansib…

---

## [item.key does not expand in default filter](https://forum.ansible.com/t/item-key-does-not-expand-in-default-filter/20963)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [March 22, 2016, 10:08pm UTC](https://forum.ansible.com/t/item-key-does-not-expand-in-default-filter/20963 "2016-03-22T22:08:39Z")

</div>

moustaches do not stack home=“{{ item.value.home | default(”/home/" + item.key) }}"

---

## [Multiple test conditions for when: not working](https://forum.ansible.com/t/multiple-test-conditions-for-when-not-working/20938)

<div class="topic-metadata">

**Author:** [@matthew.graham](https://forum.ansible.com/u/matthew.graham)\
**Replies:** 3\
**Last updated:** [March 22, 2016, 9:33pm UTC](https://forum.ansible.com/t/multiple-test-conditions-for-when-not-working/20938 "2016-03-22T21:33:17Z")

</div>

Hi All I was running an apt\_update task and only wanted the server to reboot when it it saw neither of the two lines. Now, what is happening it only sees the first “test” I put in the when: section and ignores the secon…

---

## [Ansible not becoming super user](https://forum.ansible.com/t/ansible-not-becoming-super-user/20959)

<div class="topic-metadata">

**Author:** [@Aaron\_Axisa](https://forum.ansible.com/u/Aaron_Axisa)\
**Replies:** 9\
**Last updated:** [March 22, 2016, 9:25pm UTC](https://forum.ansible.com/t/ansible-not-becoming-super-user/20959 "2016-03-22T21:25:50Z")

</div>

I have the following playbook --- - name: myPlaybook hosts: "{{machine\_to\_setup}}" remote\_user: "{{user\_to\_use}}" become: yes roles: # Install Gosa - part 1 - { role: gosa, become: yes } (I know …

---

## [a few third-party modules for s3, ec2](https://forum.ansible.com/t/a-few-third-party-modules-for-s3-ec2/20960)

<div class="topic-metadata">

**Author:** [@Ted\_Timmons](https://forum.ansible.com/u/Ted_Timmons)\
**Replies:** 0\
**Last updated:** [March 22, 2016, 8:48pm UTC](https://forum.ansible.com/t/a-few-third-party-modules-for-s3-ec2/20960 "2016-03-22T20:48:37Z")

</div>

I have some custom Ansible modules to scratch my own itches. Two are very significant: s3enc: get/put s3 files with KMS-based client-side encryption s3\_sync: high-speed s3 uploader https://github.com/tedder/tedder\_ans…

---

## [Ansible 1.9.5 RC1 is available for testing](https://forum.ansible.com/t/ansible-1-9-5-rc1-is-available-for-testing/20835)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [March 22, 2016, 5:33pm UTC](https://forum.ansible.com/t/ansible-1-9-5-rc1-is-available-for-testing/20835 "2016-03-22T17:33:29Z")

</div>

Hi all, Ansible 1.9.5 RC1 is available for testing. This release to the 1.9.x series addresses several critical bugs for those who are unable to update to Ansible 2.0. The fixes included are: Compatibility fix with do…

---

## [AWS modules and --diff](https://forum.ansible.com/t/aws-modules-and-diff/20834)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 3\
**Last updated:** [March 22, 2016, 5:31pm UTC](https://forum.ansible.com/t/aws-modules-and-diff/20834 "2016-03-22T17:31:06Z")

</div>

A couple of AWS modules don't do anything useful with --diff, and it'd be great if they did -- ec2\_group and ec2\_elb\_lb are the two in particular that we use a lot. I didn't see a feature request ticket for this; shoul…

---

## [outputting result of boto call](https://forum.ansible.com/t/outputting-result-of-boto-call/20910)

<div class="topic-metadata">

**Author:** [@Michael\_Baydoun](https://forum.ansible.com/u/Michael_Baydoun)\
**Replies:** 2\
**Last updated:** [March 22, 2016, 5:29pm UTC](https://forum.ansible.com/t/outputting-result-of-boto-call/20910 "2016-03-22T17:29:17Z")

</div>

Writing my first module, first python, first use of boto. Running my module via test-module, almost works, but to troubleshoot I need to see what a boto call is returning. My boto call below. How can I “print” gacg wit…

---

## [\[WARNING\]: provided hosts list is empty, only localhost is available](https://forum.ansible.com/t/warning-provided-hosts-list-is-empty-only-localhost-is-available/20953)

<div class="topic-metadata">

**Author:** [@Leroy\_Walker\_Jr](https://forum.ansible.com/u/Leroy_Walker_Jr)\
**Replies:** 3\
**Last updated:** [March 22, 2016, 5:26pm UTC](https://forum.ansible.com/t/warning-provided-hosts-list-is-empty-only-localhost-is-available/20953 "2016-03-22T17:26:01Z")

</div>

I could really use some help on this issue. I have a hosts file with one server. the hosts looks like \[vm\] 172.20.20.106 when i run the host command, i get: ansible -i hosts --list-hosts all hosts (1): 172.20.20.1…

---

## [ansible 2.0.1.0 don't work --start-at-task](https://forum.ansible.com/t/ansible-2-0-1-0-dont-work-start-at-task/20955)

<div class="topic-metadata">

**Author:** [@Artem\_Feofanov](https://forum.ansible.com/u/Artem_Feofanov)\
**Replies:** 0\
**Last updated:** [March 22, 2016, 3:15pm UTC](https://forum.ansible.com/t/ansible-2-0-1-0-dont-work-start-at-task/20955 "2016-03-22T15:15:12Z")

</div>

Hi, i have a problem with --start-at-task in ansible 2.0.1.0 playbook front.yml \`

---

## [Ansible commands are not working in a fresh Ubuntu installation](https://forum.ansible.com/t/ansible-commands-are-not-working-in-a-fresh-ubuntu-installation/20954)

<div class="topic-metadata">

**Author:** [@Benjamin\_Redling](https://forum.ansible.com/u/Benjamin_Redling)\
**Replies:** 0\
**Last updated:** [March 22, 2016, 2:40pm UTC](https://forum.ansible.com/t/ansible-commands-are-not-working-in-a-fresh-ubuntu-installation/20954 "2016-03-22T14:40:18Z")

</div>

The installation was successful (I also tried an upgrade later). However for some commands I run like "ansible -v", I get the following error and it displays the help. ERROR! Missing target hosts Maybe you missed t…

---

## [Running Ansible playbooks as www-data](https://forum.ansible.com/t/running-ansible-playbooks-as-www-data/20948)

<div class="topic-metadata">

**Author:** [@Ryan\_Gray](https://forum.ansible.com/u/Ryan_Gray)\
**Replies:** 2\
**Last updated:** [March 22, 2016, 11:33am UTC](https://forum.ansible.com/t/running-ansible-playbooks-as-www-data/20948 "2016-03-22T11:33:51Z")

</div>

Greetings, I’m writing some web based system management utilities. Having the application fire ansible playbooks seems perfect and a natural direction to go. PHP-Ansible (https://github.com/maschmann/php-ansible) works …

---

## [Ansible equivalent for puppet's fqdn\_rand()](https://forum.ansible.com/t/ansible-equivalent-for-puppets-fqdn-rand/20826)

<div class="topic-metadata">

**Author:** [@Paul\_Totterman](https://forum.ansible.com/u/Paul_Totterman)\
**Replies:** 1\
**Last updated:** [March 22, 2016, 10:44am UTC](https://forum.ansible.com/t/ansible-equivalent-for-puppets-fqdn-rand/20826 "2016-03-22T10:44:42Z")

</div>

Hi, I’d like for cron entries to be run at different minutes based on e.g. hostname (would be nice to be easy to pick the seed). In puppet I would use fqdn\_rand(). The best I could find for ansible is https://stackoverf…

---

## [How not to deploy an old version of an ansible playbook?](https://forum.ansible.com/t/how-not-to-deploy-an-old-version-of-an-ansible-playbook/20942)

<div class="topic-metadata">

**Author:** [@Guillaume\_Charhon](https://forum.ansible.com/u/Guillaume_Charhon)\
**Replies:** 2\
**Last updated:** [March 22, 2016, 8:55am UTC](https://forum.ansible.com/t/how-not-to-deploy-an-old-version-of-an-ansible-playbook/20942 "2016-03-22T08:55:47Z")

</div>

Hello, We are a team of 10 people. Our ansible playbooks are hosted on a git repository. It happens that someone deploys an outdated version of a playbook on machine because he forgot to do a git pull before deploying. …

---

## [Playbooks in subdirectories](https://forum.ansible.com/t/playbooks-in-subdirectories/20928)

<div class="topic-metadata">

**Author:** [@Max\_Kraszewski](https://forum.ansible.com/u/Max_Kraszewski)\
**Replies:** 3\
**Last updated:** [March 21, 2016, 11:21pm UTC](https://forum.ansible.com/t/playbooks-in-subdirectories/20928 "2016-03-21T23:21:04Z")

</div>

Hi! After reading the docs, dozens of group messages and several articles, I can’t find the way to locate playbooks in subdirs. I’m having a large, complex project to deploy several and different installations in multi…

---

## [Ansible 1.9.5-1 has been released](https://forum.ansible.com/t/ansible-1-9-5-1-has-been-released/20951)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [March 21, 2016, 11:15pm UTC](https://forum.ansible.com/t/ansible-1-9-5-1-has-been-released/20951 "2016-03-21T23:15:48Z")

</div>

Hi all, we’re very happy to announce that Ansible 1.9.5-1 has been released. This release to the 1.9.x series addresses several critical bugs for those who are unable to update to Ansible 2.0. The fixes included are: C…

---

## [Suppress su warning in shell command](https://forum.ansible.com/t/suppress-su-warning-in-shell-command/20950)

<div class="topic-metadata">

**Author:** [@Rick\_O\_Shea](https://forum.ansible.com/u/Rick_O_Shea)\
**Replies:** 0\
**Last updated:** [March 21, 2016, 9:20pm UTC](https://forum.ansible.com/t/suppress-su-warning-in-shell-command/20950 "2016-03-21T21:20:33Z")

</div>

Using su in playbook tasks generates a warning. You cannot become root nor is there a root password on EC2 instances on AWS. Instead you can su without a password using the default ec2\_user account. However, Ansible whin…

---

## [Ansible2 in stable repo](https://forum.ansible.com/t/ansible2-in-stable-repo/20929)

<div class="topic-metadata">

**Author:** [@George\_Khan](https://forum.ansible.com/u/George_Khan)\
**Replies:** 4\
**Last updated:** [March 21, 2016, 8:55pm UTC](https://forum.ansible.com/t/ansible2-in-stable-repo/20929 "2016-03-21T20:55:00Z")

</div>

Hi all! I ask it jan 18, and ask after 2 month: Any news about ansible2 in debian8/centos7 stable repo? :slight\_smile: P.S. Yep, i know about install ansible from git/pip/testing-repo. This question not about it …

---

## [Hail Marry - Ansible - Open Stack](https://forum.ansible.com/t/hail-marry-ansible-open-stack/20906)

<div class="topic-metadata">

**Author:** [@David\_Biglin](https://forum.ansible.com/u/David_Biglin)\
**Replies:** 3\
**Last updated:** [March 21, 2016, 8:41pm UTC](https://forum.ansible.com/t/hail-marry-ansible-open-stack/20906 "2016-03-21T20:41:01Z")

</div>

Hi all, Sorry if this is in the wrong area for posting however I have been struggling for a while with this issue. I am trying to use Ansible to build a VM environment on an OpenStack based Hypervisor. I have used Ans…

---

## [remapping fstab entries from LABEL to UUID --- how?](https://forum.ansible.com/t/remapping-fstab-entries-from-label-to-uuid-how/20945)

<div class="topic-metadata">

**Author:** [@Dayton\_Jones](https://forum.ansible.com/u/Dayton_Jones)\
**Replies:** 2\
**Last updated:** [March 21, 2016, 5:21pm UTC](https://forum.ansible.com/t/remapping-fstab-entries-from-label-to-uuid-how/20945 "2016-03-21T17:21:49Z")

</div>

I’m trying to read fstab and update any entry that uses “LABEL=” to use the UUID instead… I can get the proper UUID mappings, but I can’t seem to wrap my head around the actual replacement… playbook: name: Gather UU…

---

## [How to use my jenkins variable in remote server  (defined from jenkins environment) use jenkins variable](https://forum.ansible.com/t/how-to-use-my-jenkins-variable-in-remote-server-defined-from-jenkins-environment-use-jenkins-variable/20944)

<div class="topic-metadata">

**Author:** [@Pandithurai\_S](https://forum.ansible.com/u/Pandithurai_S)\
**Replies:** 1\
**Last updated:** [March 21, 2016, 1:47pm UTC](https://forum.ansible.com/t/how-to-use-my-jenkins-variable-in-remote-server-defined-from-jenkins-environment-use-jenkins-variable/20944 "2016-03-21T13:47:18Z")

</div>

How to use my jenkins variable( (defined from jenkins environment) in remote server using Ansible play book. I am able to get my variable using RPM\_URL\_PATH = is defined in jenkins environment variable vars: URL: “{{…

---

## [Yumrepo is not being located in ansible 2.1 using Ansible Tower](https://forum.ansible.com/t/yumrepo-is-not-being-located-in-ansible-2-1-using-ansible-tower/20937)

<div class="topic-metadata">

**Author:** [@Aaron\_Axisa](https://forum.ansible.com/u/Aaron_Axisa)\
**Replies:** 2\
**Last updated:** [March 21, 2016, 1:07pm UTC](https://forum.ansible.com/t/yumrepo-is-not-being-located-in-ansible-2-1-using-ansible-tower/20937 "2016-03-21T13:07:52Z")

</div>

I am trying to use yumrepo https://docs.ansible.com/ansible/yumrepo\_module.html and it states that it is new in version 2.1 So i went ahead and updated ansible on my ansible tower machine: \` sudo yum -y install git a…

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

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