# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=583

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

**Page:** 584

---

## ['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. …

---

## [Install software to Windows machine...](https://forum.ansible.com/t/install-software-to-windows-machine/21618)

<div class="topic-metadata">

**Author:** [@aaron.trujillo](https://forum.ansible.com/u/aaron.trujillo)\
**Replies:** 5\
**Last updated:** [June 4, 2016, 5:56pm UTC](https://forum.ansible.com/t/install-software-to-windows-machine/21618 "2016-06-04T17:56:42Z")

</div>

Thanks for all your help earlier, it was greatly appreciated. Now I am attempting to automate installation of some software across all my Windows VM’s . I have found some documentation on the web but am still having tro…

---

## [Connection problem with a windows client from redhat server](https://forum.ansible.com/t/connection-problem-with-a-windows-client-from-redhat-server/21652)

<div class="topic-metadata">

**Author:** [@Mahi](https://forum.ansible.com/u/Mahi)\
**Replies:** 4\
**Last updated:** [June 4, 2016, 2:24pm UTC](https://forum.ansible.com/t/connection-problem-with-a-windows-client-from-redhat-server/21652 "2016-06-04T14:24:27Z")

</div>

Im new to ansible .Getting connection refused error while doing ping to windows client machines. Could any one help me where i am doing wrong. ansible server OS version: REDHAT 6.7 client os: windows 2012 R2 client fi…

---

## [Accessing via SSH in Ansible](https://forum.ansible.com/t/accessing-via-ssh-in-ansible/21645)

<div class="topic-metadata">

**Author:** [@Tom\_Hanson](https://forum.ansible.com/u/Tom_Hanson)\
**Replies:** 5\
**Last updated:** [June 4, 2016, 9:15am UTC](https://forum.ansible.com/t/accessing-via-ssh-in-ansible/21645 "2016-06-04T09:15:36Z")

</div>

I am fairly new working with ansible and am operating some playbooks that were built by someone else who is gone. The current playbooks will set up a new server and work fine. It installs several standard packages and wi…

---

## [ansible-relayor 0.1.0 released](https://forum.ansible.com/t/ansible-relayor-0-1-0-released/21666)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 0\
**Last updated:** [June 4, 2016, 7:52am UTC](https://forum.ansible.com/t/ansible-relayor-0-1-0-released/21666 "2016-06-04T07:52:46Z")

</div>

Hi, ansible-relayor is an ansible role for tor relay operators. Whether you setup/operate a single or many relays, ansible-relayor can help you automate all steps including secure offline key \[2\] generation, multi-in…

---

## [Error fetching server list on defaults::](https://forum.ansible.com/t/error-fetching-server-list-on-defaults/21665)

<div class="topic-metadata">

**Author:** [@Abhi\_Auradkar](https://forum.ansible.com/u/Abhi_Auradkar)\
**Replies:** 0\
**Last updated:** [June 4, 2016, 4:30am UTC](https://forum.ansible.com/t/error-fetching-server-list-on-defaults/21665 "2016-06-04T04:30:36Z")

</div>

Hi, I am trying to deploy VM’s using os\_server module. I am seeing the error Error fetching server list on defaults:: It does not give a specific reason like connection error or auth error or whatever. Any help will …

---

## [Ansible reports “permission denied” when issuing command on remote host](https://forum.ansible.com/t/ansible-reports-permission-denied-when-issuing-command-on-remote-host/21648)

<div class="topic-metadata">

**Author:** [@Howard\_Lee](https://forum.ansible.com/u/Howard_Lee)\
**Replies:** 4\
**Last updated:** [June 4, 2016, 2:48am UTC](https://forum.ansible.com/t/ansible-reports-permission-denied-when-issuing-command-on-remote-host/21648 "2016-06-04T02:48:32Z")

</div>

Ansible 2.1 Ansible host: Ubuntu 16.04 Remote host: CentOS 6.5 I have a simple ansible project: ├── hosts ├── roles │ └── setup │ ├── defaults │ │ └── main.yml │ ├── tasks │ │ └── main.y…

---

## [Trouble with expect:  passing creds](https://forum.ansible.com/t/trouble-with-expect-passing-creds/21568)

<div class="topic-metadata">

**Author:** [@Jeff\_Rogers](https://forum.ansible.com/u/Jeff_Rogers)\
**Replies:** 2\
**Last updated:** [June 3, 2016, 9:19pm UTC](https://forum.ansible.com/t/trouble-with-expect-passing-creds/21568 "2016-06-03T21:19:49Z")

</div>

I'm getting the following error: ...... "msg": "argument responses is of type \<type 'list'\> and we were unable to convert to dict" I'm trying to do this. - name: Name of the thing I'm doing hosts: '{{ target }}' …

---

## [Syntax for skip\_missing flag for with\_subelements?](https://forum.ansible.com/t/syntax-for-skip-missing-flag-for-with-subelements/21647)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 1\
**Last updated:** [June 3, 2016, 7:47pm UTC](https://forum.ansible.com/t/syntax-for-skip-missing-flag-for-with-subelements/21647 "2016-06-03T19:47:20Z")

</div>

What is the syntax for the third element that can be used with\_subelements to use to skip missing subelements? “Optionally, you can add a third element to the subelements list, that holds a dictionary of flags. Currentl…

---

## [Check if a software package is installed](https://forum.ansible.com/t/check-if-a-software-package-is-installed/21656)

<div class="topic-metadata">

**Author:** [@Werner\_Flamme](https://forum.ansible.com/u/Werner_Flamme)\
**Replies:** 1\
**Last updated:** [June 3, 2016, 4:47pm UTC](https://forum.ansible.com/t/check-if-a-software-package-is-installed/21656 "2016-06-03T16:47:42Z")

</div>

Hello everyone, I am quite new to Ansible, and I think it is much easier to use than e. g. Puppet. I have to make sure that software package A is installed on a host, if software package B is not. Since I use this r…

---

## [Ansible templating.](https://forum.ansible.com/t/ansible-templating/21658)

<div class="topic-metadata">

**Author:** [@Jason\_Morgan](https://forum.ansible.com/u/Jason_Morgan)\
**Replies:** 1\
**Last updated:** [June 3, 2016, 4:41pm UTC](https://forum.ansible.com/t/ansible-templating/21658 "2016-06-03T16:41:23Z")

</div>

Hi I am writing an Ansible playbook for a specific piece of software. I would be interested in hearing experience/recommendations/best practice of how to deal with managinf config files between software versions where pa…

---

## [Can't ping ESXi 5.5](https://forum.ansible.com/t/cant-ping-esxi-5-5/21573)

<div class="topic-metadata">

**Author:** [@Huan\_He](https://forum.ansible.com/u/Huan_He)\
**Replies:** 2\
**Last updated:** [June 3, 2016, 3:45pm UTC](https://forum.ansible.com/t/cant-ping-esxi-5-5/21573 "2016-06-03T15:45:08Z")

</div>

Hi, I did the cmd “ansible esxi -u root -m ping -vvvv” and got “ImportError: No module named grp”. see full msg below. What I understand is that the ESXi 5.5 has python 2.6.8 and it may not have the full python standard…

---

## [NEED HELP - connecting via winrm](https://forum.ansible.com/t/need-help-connecting-via-winrm/21660)

<div class="topic-metadata">

**Author:** [@aaron.trujillo](https://forum.ansible.com/u/aaron.trujillo)\
**Replies:** 1\
**Last updated:** [June 3, 2016, 3:39pm UTC](https://forum.ansible.com/t/need-help-connecting-via-winrm/21660 "2016-06-03T15:39:59Z")

</div>

I am having trouble connecting to a windows vm via the ansible winrm connection. I am using ansible 2.0.2 host settings \[Windows\] GP1-LAB-OPSTST2.com 192.168.30.101.com \[Windows\_var\] ansible\_ssh\_user= ansible\_ssh…

---

## [How to specify explicit version requirements for external module](https://forum.ansible.com/t/how-to-specify-explicit-version-requirements-for-external-module/21659)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 1\
**Last updated:** [June 3, 2016, 3:13pm UTC](https://forum.ansible.com/t/how-to-specify-explicit-version-requirements-for-external-module/21659 "2016-06-03T15:13:00Z")

</div>

Either is fine, currently this is only for display, so whatever conveys the message. We might change this in the future as we automate validation of requirements.

[Previous page](https://forum.ansible.com/c/archives/31.md?page=582)

[Next page](https://forum.ansible.com/c/archives/31.md?page=584)
