# Latest

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

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

**Page:** 755

---

## [parallel execution](https://forum.ansible.com/t/parallel-execution/13136)

<div class="topic-metadata">

**Author:** [@Istdb](https://forum.ansible.com/u/Istdb)\
**Replies:** 41\
**Last updated:** [June 9, 2016, 2:57am UTC](https://forum.ansible.com/t/parallel-execution/13136 "2016-06-09T02:57:55Z")

</div>

Dear all! I’m in the process of exploring ansible and already found it pretty cool. There is one thing, however, which I could not figure out: parallel execution. I have a simple play: hosts: all serial: 5 tasks: …

---

## [Why are \`group\_vars\` and \`host\_vars\` paths relative to playbook basedir?](https://forum.ansible.com/t/why-are-group-vars-and-host-vars-paths-relative-to-playbook-basedir/21709)

<div class="topic-metadata">

**Author:** [@kevin.phillips](https://forum.ansible.com/u/kevin.phillips)\
**Replies:** 0\
**Last updated:** [June 9, 2016, 12:39am UTC](https://forum.ansible.com/t/why-are-group-vars-and-host-vars-paths-relative-to-playbook-basedir/21709 "2016-06-09T00:39:53Z")

</div>

Hi All, Can someone explain why ansible.inventory.Inventory.\_find\_group\_vars\_files() and ansible.inventory.Inventory.\_find\_host\_vars\_files() are relative to the basedir of the playbook? From my armchair, I suppose it ma…

---

## [rds module | determining endpoint when module exits without complete result data](https://forum.ansible.com/t/rds-module-determining-endpoint-when-module-exits-without-complete-result-data/21592)

<div class="topic-metadata">

**Author:** [@Darren\_S](https://forum.ansible.com/u/Darren_S)\
**Replies:** 5\
**Last updated:** [June 8, 2016, 9:30pm UTC](https://forum.ansible.com/t/rds-module-determining-endpoint-when-module-exits-without-complete-result-data/21592 "2016-06-08T21:30:01Z")

</div>

OS X 10.10.5 Python 2.7.11 Ansible 2.0.2.0 boto 2.40.0 boto3 1.3.1 botocore 1.4.24 Using the following tasks in a play: - name: db | rds | create RDS instance become: no local\_action: rds args: comma…

---

## [Interserver dependencies](https://forum.ansible.com/t/interserver-dependencies/21699)

<div class="topic-metadata">

**Author:** [@anthony.t.may](https://forum.ansible.com/u/anthony.t.may)\
**Replies:** 2\
**Last updated:** [June 8, 2016, 9:26pm UTC](https://forum.ansible.com/t/interserver-dependencies/21699 "2016-06-08T21:26:23Z")

</div>

New to Ansible. Looking for help with orchestrating actions which depend on the state of applications on other servers. Can this be done in Ansible? Scenario: server 1 running app 1 server 2 running app 2 server 3 ru…

---

## [command ps -ef | grep failed in Ansible](https://forum.ansible.com/t/command-ps-ef-grep-failed-in-ansible/21537)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 8\
**Last updated:** [June 8, 2016, 9:16pm UTC](https://forum.ansible.com/t/command-ps-ef-grep-failed-in-ansible/21537 "2016-06-08T21:16:25Z")

</div>

Hello, I want to check if a process to run on my server by using the ps command: name: Test if openhr runs shell: ps -ef | grep -v grep | grep {{ ansible\_user }} | grep dispatcher | grep {{ rep\_user }}/{{ openhrname …

---

## [ansible ad-hoc cli command does not respect ANSIBLE\_STDOUT\_CALLBACK](https://forum.ansible.com/t/ansible-ad-hoc-cli-command-does-not-respect-ansible-stdout-callback/21705)

<div class="topic-metadata">

**Author:** [@John\_Buxton](https://forum.ansible.com/u/John_Buxton)\
**Replies:** 0\
**Last updated:** [June 8, 2016, 8:29pm UTC](https://forum.ansible.com/t/ansible-ad-hoc-cli-command-does-not-respect-ansible-stdout-callback/21705 "2016-06-08T20:29:19Z")

</div>

I just raised this issue with Ansible which has been immediately closed. I’m going to copy / paste my report verbatim so as to avoid repeating myself all over again (hopefully the formatting doesn’t screw up). ISSUE …

---

## [order of handler](https://forum.ansible.com/t/order-of-handler/21704)

<div class="topic-metadata">

**Author:** [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Replies:** 0\
**Last updated:** [June 8, 2016, 8:09pm UTC](https://forum.ansible.com/t/order-of-handler/21704 "2016-06-08T20:09:18Z")

</div>

Hey, i would like to discuss the idea of handler orders, because working with a lot of rules could be difficult (+handler definition order). example: role1 create share on windows host (notify: remove share) r…

---

## [Python for AIX](https://forum.ansible.com/t/python-for-aix/21673)

<div class="topic-metadata">

**Author:** [@anthony.t.may](https://forum.ansible.com/u/anthony.t.may)\
**Replies:** 13\
**Last updated:** [June 8, 2016, 5:54pm UTC](https://forum.ansible.com/t/python-for-aix/21673 "2016-06-08T17:54:26Z")

</div>

New to Ansible. I understand that Ansible requires Python to be installed on target machines.This is not standard on IBM’s Power AIX machines. I am looking for advice and experience regading AIX i.e. is there a known ve…

---

## [Can the host group that is used on the playbook be recalled as a variable in a template?](https://forum.ansible.com/t/can-the-host-group-that-is-used-on-the-playbook-be-recalled-as-a-variable-in-a-template/21695)

<div class="topic-metadata">

**Author:** [@Max\_Leon](https://forum.ansible.com/u/Max_Leon)\
**Replies:** 1\
**Last updated:** [June 8, 2016, 3:24pm UTC](https://forum.ansible.com/t/can-the-host-group-that-is-used-on-the-playbook-be-recalled-as-a-variable-in-a-template/21695 "2016-06-08T15:24:58Z")

</div>

Hi, I’m trying to set a playbook that will get the fqdn or the IPs of the host group where it is being run on (to automatically populate nodes of a cluster on all nodes). So, can the host group that is define in the si…

---

## [Unsure about YAML syntax](https://forum.ansible.com/t/unsure-about-yaml-syntax/21700)

<div class="topic-metadata">

**Author:** [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Replies:** 1\
**Last updated:** [June 8, 2016, 2:52pm UTC](https://forum.ansible.com/t/unsure-about-yaml-syntax/21700 "2016-06-08T14:52:44Z")

</div>

Hi all, I'm a bit unsure about YAML syntax regarding lists. Could someone please verify that the following two lists are equivalent? No indentation for list items:

---

## [Migration to Ansible 2.0: problem with changed (internal) APIs: utils.load\_vars missing](https://forum.ansible.com/t/migration-to-ansible-2-0-problem-with-changed-internal-apis-utils-load-vars-missing/21698)

<div class="topic-metadata">

**Author:** [@Karsten](https://forum.ansible.com/u/Karsten)\
**Replies:** 0\
**Last updated:** [June 8, 2016, 2:24pm UTC](https://forum.ansible.com/t/migration-to-ansible-2-0-problem-with-changed-internal-apis-utils-load-vars-missing/21698 "2016-06-08T14:24:38Z")

</div>

Hi there, i’ve extended our ansible inventory for ansible 1.9.1 with a custom vars-plugin. This plugin uses the method load\_vars from the utils module/class imported by “from ansible import utils” (sorry for this simple…

---

## [the issue #10758 "meta: flush\_handlers does not work in roles if --tags is used" is not fixed](https://forum.ansible.com/t/the-issue-10758-meta-flush-handlers-does-not-work-in-roles-if-tags-is-used-is-not-fixed/21697)

<div class="topic-metadata">

**Author:** [@Christophe\_Pot](https://forum.ansible.com/u/Christophe_Pot)\
**Replies:** 0\
**Last updated:** [June 8, 2016, 12:13pm UTC](https://forum.ansible.com/t/the-issue-10758-meta-flush-handlers-does-not-work-in-roles-if-tags-is-used-is-not-fixed/21697 "2016-06-08T12:13:30Z")

</div>

Hi, Related to : https://github.com/ansible/ansible/issues/10758 The fix https://github.com/ansible/ansible/commit/3c817be531de939e1267df39306f9d8c977b0b9d does not work. I still have the same issue today, using 1.9.2 …

---

## [Execute first role (tasks) as root, then proceed with regular admin user](https://forum.ansible.com/t/execute-first-role-tasks-as-root-then-proceed-with-regular-admin-user/21693)

<div class="topic-metadata">

**Author:** [@Rens\_Verhage](https://forum.ansible.com/u/Rens_Verhage)\
**Replies:** 6\
**Last updated:** [June 8, 2016, 8:28am UTC](https://forum.ansible.com/t/execute-first-role-tasks-as-root-then-proceed-with-regular-admin-user/21693 "2016-06-08T08:28:52Z")

</div>

I’ve been struggling with this some time now. Our production servers authenticate users against an LDAP. Therefore, in the playbook to setup a production server, I’d like to first execute the role that configures SSH to …

---

## ['No Kerberos credentials available' when executing tasks from a server that is not joined to AD.](https://forum.ansible.com/t/no-kerberos-credentials-available-when-executing-tasks-from-a-server-that-is-not-joined-to-ad/21686)

<div class="topic-metadata">

**Author:** [@Willem\_Bos](https://forum.ansible.com/u/Willem_Bos)\
**Replies:** 6\
**Last updated:** [June 8, 2016, 6:35am UTC](https://forum.ansible.com/t/no-kerberos-credentials-available-when-executing-tasks-from-a-server-that-is-not-joined-to-ad/21686 "2016-06-08T06:35:25Z")

</div>

Hi all, I’m trying to use winrm to execute tasks on a windows server (after following the steps in http://docs.ansible.com/ansible/intro\_windows.html). As a test I use the win\_ping module. This works only when a Kerbero…

---

## [Ansible task, how to confirm if a process is actually running?](https://forum.ansible.com/t/ansible-task-how-to-confirm-if-a-process-is-actually-running/21662)

<div class="topic-metadata">

**Author:** [@Howard\_Lee](https://forum.ansible.com/u/Howard_Lee)\
**Replies:** 6\
**Last updated:** [June 7, 2016, 9:12pm UTC](https://forum.ansible.com/t/ansible-task-how-to-confirm-if-a-process-is-actually-running/21662 "2016-06-07T21:12:03Z")

</div>

Ansible 2.1 In the playbook, I started a process: - name: Start Automation Agent, and enable start on boot service: name=mongodb-mms-automation-agent state=started enabled=yes From play recap, it appears the proces…

---

## [Any bug fix release 2.1.0.1 in plans?](https://forum.ansible.com/t/any-bug-fix-release-2-1-0-1-in-plans/21691)

<div class="topic-metadata">

**Author:** [@Nilseu\_Padilha](https://forum.ansible.com/u/Nilseu_Padilha)\
**Replies:** 3\
**Last updated:** [June 7, 2016, 7:57pm UTC](https://forum.ansible.com/t/any-bug-fix-release-2-1-0-1-in-plans/21691 "2016-06-07T19:57:59Z")

</div>

Greetings, I faced the bug https://github.com/ansible/ansible-modules-extras/pull/2310, and according the comments in this thread the fix would be merged into 2.1.0.0 release. I’m using version 2.1.0.0 from pypi (https…

---

## [case conversion question](https://forum.ansible.com/t/case-conversion-question/21690)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 1\
**Last updated:** [June 7, 2016, 7:14pm UTC](https://forum.ansible.com/t/case-conversion-question/21690 "2016-06-07T19:14:29Z")

</div>

hey folks, I’m making a module, and have a REST api that I’m working with that returns all its values in camelCase and I wanted to return them in a module to my end users in the snake\_case that ansible uses. I was wond…

---

## [ansible\_user and ansible\_port not getting to ssh to vagrant box](https://forum.ansible.com/t/ansible-user-and-ansible-port-not-getting-to-ssh-to-vagrant-box/21692)

<div class="topic-metadata">

**Author:** [@Bala\_V](https://forum.ansible.com/u/Bala_V)\
**Replies:** 1\
**Last updated:** [June 7, 2016, 7:01pm UTC](https://forum.ansible.com/t/ansible-user-and-ansible-port-not-getting-to-ssh-to-vagrant-box/21692 "2016-06-07T19:01:22Z")

</div>

ISSUE TYPE- Bug Report ANSIBLE VERSION ansible 2.1.0.0 CONFIGURATION test-mac:ansible$ ansible --version ansible 2.1.0.0 config file = /Users/balviswa//ansible.cfg configured module search path = Default w/o override…

---

## [set\_fact for Windows domain login](https://forum.ansible.com/t/set-fact-for-windows-domain-login/21687)

<div class="topic-metadata">

**Author:** [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Replies:** 5\
**Last updated:** [June 7, 2016, 2:00pm UTC](https://forum.ansible.com/t/set-fact-for-windows-domain-login/21687 "2016-06-07T14:00:48Z")

</div>

I have a specific use that requires the Domain\\User Windows format. My assumption was \` set\_fact: my\_login: “{{ ansible\_env\[‘USERDOMAIN’\] }}{{ ansible\_env\[‘USERNAME’\] }}” \` This doesn’t seem to work however. How d…

---

## [Get item from list](https://forum.ansible.com/t/get-item-from-list/21684)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 2\
**Last updated:** [June 7, 2016, 12:23pm UTC](https://forum.ansible.com/t/get-item-from-list/21684 "2016-06-07T12:23:19Z")

</div>

Hi have the following inside a variable: \[{u’maxDataDiskCount’: 2, u’memoryInMB’: 3584, u’name’: u’Standard\_DS1’, u’numberOfCores’: 1, u’osDiskSizeInMB’: 1047552, u’resourceDiskSizeInMB’: 7168}, {u’maxDataDiskCoun…

---

## [Very confused Vagrant/Ansible](https://forum.ansible.com/t/very-confused-vagrant-ansible/21679)

<div class="topic-metadata">

**Author:** [@Greg\_Evans](https://forum.ansible.com/u/Greg_Evans)\
**Replies:** 2\
**Last updated:** [June 7, 2016, 1:54am UTC](https://forum.ansible.com/t/very-confused-vagrant-ansible/21679 "2016-06-07T01:54:19Z")

</div>

Hey, I am probably missing something very obvious, but here is my situation I use Vagrant to spin up some VMs, to make it easy, it is like this: ansible VM host1 VM host2 VM hostN VM My goal is that I want ansible…

---

## [Playbook slowness when using dependencies](https://forum.ansible.com/t/playbook-slowness-when-using-dependencies/21680)

<div class="topic-metadata">

**Author:** [@Chris\_DiGiovanni](https://forum.ansible.com/u/Chris_DiGiovanni)\
**Replies:** 3\
**Last updated:** [June 6, 2016, 10:47pm UTC](https://forum.ansible.com/t/playbook-slowness-when-using-dependencies/21680 "2016-06-06T22:47:53Z")

</div>

Hello, While doing work to get our playbooks, tasks, roles, and callbacks all compatible with Ansible 2.x, I’ve noticed an inherent slowness in which the playbooks take to complete on Ansible 2.x. Today I had some time …

---

## [ERROR! A recursion loop was detected with the roles](https://forum.ansible.com/t/error-a-recursion-loop-was-detected-with-the-roles/21678)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 1\
**Last updated:** [June 6, 2016, 8:23pm UTC](https://forum.ansible.com/t/error-a-recursion-loop-was-detected-with-the-roles/21678 "2016-06-06T20:23:21Z")

</div>

I have couple of roles to deploy the app that work perfectly with ansible 1.9.x but with ansible 2.0+ I am getting this error. Can somebody have clue about this error. ERROR! A recursion loop was detected with the roles…

---

## [Playbook command on windows machine](https://forum.ansible.com/t/playbook-command-on-windows-machine/21676)

<div class="topic-metadata">

**Author:** [@aaron.trujillo](https://forum.ansible.com/u/aaron.trujillo)\
**Replies:** 2\
**Last updated:** [June 6, 2016, 7:04pm UTC](https://forum.ansible.com/t/playbook-command-on-windows-machine/21676 "2016-06-06T19:04:31Z")

</div>

Good morning, I am running Ansible 2.0 on my Debian host machine. I have successfully connected to my windows server 2008 m via ping and other types of playbooks. I am currently attempting to run a playbook that grabs …

---

## [Backup directory on unauthorized remote share](https://forum.ansible.com/t/backup-directory-on-unauthorized-remote-share/21664)

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 2\
**Last updated:** [June 6, 2016, 6:12pm UTC](https://forum.ansible.com/t/backup-directory-on-unauthorized-remote-share/21664 "2016-06-06T18:12:37Z")

</div>

Control Node: CentOS 7 Ansible 2.1 pywinrm version from May 19th, 2016 Remote Node: Windows 7 Powershell 3 I have to make a copy of directory on a share to another location on that same share. The acco…

---

## [ansible check DNS against FQDN](https://forum.ansible.com/t/ansible-check-dns-against-fqdn/21669)

<div class="topic-metadata">

**Author:** [@John.1209](https://forum.ansible.com/u/John.1209)\
**Replies:** 2\
**Last updated:** [June 6, 2016, 2:02pm UTC](https://forum.ansible.com/t/ansible-check-dns-against-fqdn/21669 "2016-06-06T14:02:03Z")

</div>

I’m trying to come up with an ansible process to compare a DNS against an FQDN: This is what I have:

---

## [Creating two EC2 instances with different tags](https://forum.ansible.com/t/creating-two-ec2-instances-with-different-tags/21670)

<div class="topic-metadata">

**Author:** [@andrew.hudson1](https://forum.ansible.com/u/andrew.hudson1)\
**Replies:** 0\
**Last updated:** [June 6, 2016, 6:59am UTC](https://forum.ansible.com/t/creating-two-ec2-instances-with-different-tags/21670 "2016-06-06T06:59:19Z")

</div>

I’m trying to create two different aws EC2 instances within the same play but with different tags. This has previously worked reliably, but after a few runs only the first instance will be created, and ansible will compl…

---

## [rbenv-vars - Rails app is not reading them. How do they get loaded?](https://forum.ansible.com/t/rbenv-vars-rails-app-is-not-reading-them-how-do-they-get-loaded/21668)

<div class="topic-metadata">

**Author:** [@Jay\_Godse](https://forum.ansible.com/u/Jay_Godse)\
**Replies:** 0\
**Last updated:** [June 5, 2016, 7:55pm UTC](https://forum.ansible.com/t/rbenv-vars-rails-app-is-not-reading-them-how-do-they-get-loaded/21668 "2016-06-05T19:55:32Z")

</div>

I am trying to deploy a Ruby 2.2 / Rails 4.2 application from a project I inherited, and rbenv-vars is used (along with rbenv). When I try to start the Puma service, I can tell that the rbenv variables aren’t getting loa…

---

## [Ansible modify /etc/sysconfig/network file](https://forum.ansible.com/t/ansible-modify-etc-sysconfig-network-file/21653)

<div class="topic-metadata">

**Author:** [@John.1209](https://forum.ansible.com/u/John.1209)\
**Replies:** 5\
**Last updated:** [June 5, 2016, 5:35pm UTC](https://forum.ansible.com/t/ansible-modify-etc-sysconfig-network-file/21653 "2016-06-05T17:35:29Z")

</div>

I’m trying to write an Ansible script that will replace the network line in /etc/sysconfig/network file if the FQDN is not specified and if the gateway is (say) 10.10.10.1. So this is what I have so far:

---

## [blockinfile no longer works in 2.1.0 (maybe eariler version, too)](https://forum.ansible.com/t/blockinfile-no-longer-works-in-2-1-0-maybe-eariler-version-too/21610)

<div class="topic-metadata">

**Author:** [@Scott\_Worthington](https://forum.ansible.com/u/Scott_Worthington)\
**Replies:** 2\
**Last updated:** [June 5, 2016, 1:39pm UTC](https://forum.ansible.com/t/blockinfile-no-longer-works-in-2-1-0-maybe-eariler-version-too/21610 "2016-06-05T13:39:03Z")

</div>

Hello, I’m testing ansible 2.1.0.0 built from the git repo. The actual installed RPM package on CentOS 7.2.1511 is \`\`ansible-2.1.0.0-0.git201605271344.2452bd2.stable21.el7.centos.noarch I'm trying to use blockinfile. …

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

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