# Latest

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

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

**Page:** 613

---

## [Need help to automate tasks.](https://forum.ansible.com/t/need-help-to-automate-tasks/25839)

<div class="topic-metadata">

**Author:** [@abhay\_gupta](https://forum.ansible.com/u/abhay_gupta)\
**Replies:** 3\
**Last updated:** [October 30, 2017, 7:43am UTC](https://forum.ansible.com/t/need-help-to-automate-tasks/25839 "2017-10-30T07:43:31Z")

</div>

Hello Friends, I need your help to finish my task. In my playbook, we are starting a web server which took almost 4-7 minutes. I need to write a task, in which we need to hit a wsdl in after 1 minute and if we are get…

---

## [ansible awx](https://forum.ansible.com/t/ansible-awx/25858)

<div class="topic-metadata">

**Author:** [@Sidh](https://forum.ansible.com/u/Sidh)\
**Replies:** 0\
**Last updated:** [October 29, 2017, 8:15pm UTC](https://forum.ansible.com/t/ansible-awx/25858 "2017-10-29T20:15:08Z")

</div>

Hi, Is there any way to configure Ansible AWX dashboard settings so it can pick up all our job, templates and hostnames by mentioning hostname and file locations ? Example: Ansible is working as expected and able to pu…

---

## [Excluding servers from all](https://forum.ansible.com/t/excluding-servers-from-all/25835)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [October 29, 2017, 8:13pm UTC](https://forum.ansible.com/t/excluding-servers-from-all/25835 "2017-10-29T20:13:42Z")

</div>

Just a though I had today. I would like to make sure nobody ever runs ansible against our production servers unless explicitly called by server name or group name. I want the servers/groups to be excluded from “all”. Is …

---

## [Review a Couple PR's please?](https://forum.ansible.com/t/review-a-couple-prs-please/25857)

<div class="topic-metadata">

**Author:** [@Ken\_Evensen](https://forum.ansible.com/u/Ken_Evensen)\
**Replies:** 0\
**Last updated:** [October 29, 2017, 4:25pm UTC](https://forum.ansible.com/t/review-a-couple-prs-please/25857 "2017-10-29T16:25:17Z")

</div>

Multiple folks are asking for pamd fixes - https://github.com/ansible/ansible/pull/28281 Minor update to OC module - https://github.com/ansible/ansible/pull/31387 Openshift lookup module has already had a review - http…

---

## [action plugin for setting vars with python vs jinja2?](https://forum.ansible.com/t/action-plugin-for-setting-vars-with-python-vs-jinja2/25854)

<div class="topic-metadata">

**Author:** [@dswan](https://forum.ansible.com/u/dswan)\
**Replies:** 0\
**Last updated:** [October 28, 2017, 6:44pm UTC](https://forum.ansible.com/t/action-plugin-for-setting-vars-with-python-vs-jinja2/25854 "2017-10-28T18:44:48Z")

</div>

Sometimes I find myself in situations where I need to check the stdout or return code of a command executed on all hosts in a group, and based on some logical rules given the results, determine what to do next. This is s…

---

## [NTLM over HTTP with pywinrm master](https://forum.ansible.com/t/ntlm-over-http-with-pywinrm-master/25853)

<div class="topic-metadata">

**Author:** [@Giordano\_Bianchi](https://forum.ansible.com/u/Giordano_Bianchi)\
**Replies:** 0\
**Last updated:** [October 28, 2017, 11:29am UTC](https://forum.ansible.com/t/ntlm-over-http-with-pywinrm-master/25853 "2017-10-28T11:29:02Z")

</div>

Hello awx users, Just a heads up to anyone that is trying to implement ansible/awx in an existing Windows environment: this pull request (https://github.com/diyan/pywinrm/commit/f2fae367d3ac2abc3ed6fe9c7c17e6ffbac69e67)…

---

## [My network is disconnected, is there a tar ball to install](https://forum.ansible.com/t/my-network-is-disconnected-is-there-a-tar-ball-to-install/25849)

<div class="topic-metadata">

**Author:** [@Bill\_Nolf](https://forum.ansible.com/u/Bill_Nolf)\
**Replies:** 1\
**Last updated:** [October 28, 2017, 11:14am UTC](https://forum.ansible.com/t/my-network-is-disconnected-is-there-a-tar-ball-to-install/25849 "2017-10-28T11:14:06Z")

</div>

Is there a way to get a tar ball for awx and then I can run setup.sh? The awx on github to get it installed I assume I have to download all the repos that are reference in the playbook.

---

## [adding vcenter to tower caused hosts displayed with ids](https://forum.ansible.com/t/adding-vcenter-to-tower-caused-hosts-displayed-with-ids/25852)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 0\
**Last updated:** [October 28, 2017, 8:54am UTC](https://forum.ansible.com/t/adding-vcenter-to-tower-caused-hosts-displayed-with-ids/25852 "2017-10-28T08:54:19Z")

</div>

I added VMWare VCenter credential typt to AWX interface and also added source of my VCenter. I can see the vms on my VCenter but all are imported with their name\_id format which i dont want. How can i tell AWX (Tower) to…

---

## [Using a x509 certificate user as the login user not supported in mongodb\_user module?](https://forum.ansible.com/t/using-a-x509-certificate-user-as-the-login-user-not-supported-in-mongodb-user-module/25851)

<div class="topic-metadata">

**Author:** [@dariusquach](https://forum.ansible.com/u/dariusquach)\
**Replies:** 0\
**Last updated:** [October 27, 2017, 8:19pm UTC](https://forum.ansible.com/t/using-a-x509-certificate-user-as-the-login-user-not-supported-in-mongodb-user-module/25851 "2017-10-27T20:19:14Z")

</div>

Ansible community, Does anyone know if the mongodb\_user supports the use of a x509 certificate based user? Looking at the given options, there doesn’t look like an option to specify an CA file or a key file even though …

---

## [local\_action tries to ssh to localhost](https://forum.ansible.com/t/local-action-tries-to-ssh-to-localhost/25834)

<div class="topic-metadata">

**Author:** [@raji\_sankaran](https://forum.ansible.com/u/raji_sankaran)\
**Replies:** 4\
**Last updated:** [October 27, 2017, 7:22pm UTC](https://forum.ansible.com/t/local-action-tries-to-ssh-to-localhost/25834 "2017-10-27T19:22:09Z")

</div>

I have the following task as part of a playbook which needs to be run on localhost. This tasks is for checking if the ansible host is able to ssh to remote server. \` name: Verify-User local\_action: shell ssh -o Prefe…

---

## [Is this jinja array or list if it starts with \[u' ?](https://forum.ansible.com/t/is-this-jinja-array-or-list-if-it-starts-with-u/25845)

<div class="topic-metadata">

**Author:** [@Abey\_Thomas](https://forum.ansible.com/u/Abey_Thomas)\
**Replies:** 1\
**Last updated:** [October 27, 2017, 4:25pm UTC](https://forum.ansible.com/t/is-this-jinja-array-or-list-if-it-starts-with-u/25845 "2017-10-27T16:25:02Z")

</div>

Hi, I tried to convert a hash to a list. When I try to debug my list its showing “msg”: " \[u’value1’, u’value2’\]\\n" Looks like an array to me. What kind of object is this? Can i convert this back to list? I tried to d…

---

## [using ansible without creating a root shell?](https://forum.ansible.com/t/using-ansible-without-creating-a-root-shell/25846)

<div class="topic-metadata">

**Author:** [@Mark\_Lucia](https://forum.ansible.com/u/Mark_Lucia)\
**Replies:** 0\
**Last updated:** [October 27, 2017, 4:15pm UTC](https://forum.ansible.com/t/using-ansible-without-creating-a-root-shell/25846 "2017-10-27T16:15:05Z")

</div>

Hello all. Sorry if this has been answered, but I couldn’t find the thread if it has. I’m new to ansible and have been trying to use ansible in our restricted environment and seem to be stuck… hoping someone can offer …

---

## [Cookies and the URI module](https://forum.ansible.com/t/cookies-and-the-uri-module/25843)

<div class="topic-metadata">

**Author:** [@Mathias\_Ettinger](https://forum.ansible.com/u/Mathias_Ettinger)\
**Replies:** 0\
**Last updated:** [October 27, 2017, 3:54pm UTC](https://forum.ansible.com/t/cookies-and-the-uri-module/25843 "2017-10-27T15:54:46Z")

</div>

Hi all, I am using the URI module to contact a REST service of my own that I just deployed in the same playbook. I just happened to add user authentication to this service and I need the URI module to handle that. I su…

---

## [Tower Installation Error](https://forum.ansible.com/t/tower-installation-error/25837)

<div class="topic-metadata">

**Author:** [@Shtrudhan\_Kumar](https://forum.ansible.com/u/Shtrudhan_Kumar)\
**Replies:** 3\
**Last updated:** [October 27, 2017, 2:00pm UTC](https://forum.ansible.com/t/tower-installation-error/25837 "2017-10-27T14:00:01Z")

</div>

Hi Guys, I am trying to install the tower, but getting failed. Please see below “TASK \[packages\_el : Install the Tower RPM.\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [How to pass variables to task](https://forum.ansible.com/t/how-to-pass-variables-to-task/25842)

<div class="topic-metadata">

**Author:** [@KP1](https://forum.ansible.com/u/KP1)\
**Replies:** 0\
**Last updated:** [October 27, 2017, 1:06pm UTC](https://forum.ansible.com/t/how-to-pass-variables-to-task/25842 "2017-10-27T13:06:28Z")

</div>

Hi, Is there a way to pass multiple variables to a task? All the variables will be defined in inventory file: For example: My inventory file 1 will be having variables like below: is\_xyz=true is\_abc=false is\_sdf=tr…

---

## [Adding Icinga Monitored Hosts via Ansible - Issues](https://forum.ansible.com/t/adding-icinga-monitored-hosts-via-ansible-issues/25841)

<div class="topic-metadata">

**Author:** [@Stuart\_Evans](https://forum.ansible.com/u/Stuart_Evans)\
**Replies:** 1\
**Last updated:** [October 27, 2017, 1:02pm UTC](https://forum.ansible.com/t/adding-icinga-monitored-hosts-via-ansible-issues/25841 "2017-10-27T13:02:04Z")

</div>

Hi All, I’m looking for some help with the Add Hosts roles in this repository https://github.com/Icinga/icinga2-ansible , whenever i try to add hosts to be monitored by Icinga I always get the below failure; \` { “msg…

---

## [Passing array or json as variable to powershell](https://forum.ansible.com/t/passing-array-or-json-as-variable-to-powershell/25840)

<div class="topic-metadata">

**Author:** [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Replies:** 2\
**Last updated:** [October 27, 2017, 11:41am UTC](https://forum.ansible.com/t/passing-array-or-json-as-variable-to-powershell/25840 "2017-10-27T11:41:56Z")

</div>

Hi again, New challenge! How do I pass an array or json to a powershell script? \` name: Test script: “{{ role\_path }}/files/test.ps1 {{ object }}” \` Example json: \` { “env01”: { “path”: “C:\\Program Files (x86…

---

## [Specifying a default value to a dictionary element when the dictionary variable does not exist](https://forum.ansible.com/t/specifying-a-default-value-to-a-dictionary-element-when-the-dictionary-variable-does-not-exist/25838)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 0\
**Last updated:** [October 27, 2017, 9:45am UTC](https://forum.ansible.com/t/specifying-a-default-value-to-a-dictionary-element-when-the-dictionary-variable-does-not-exist/25838 "2017-10-27T09:45:01Z")

</div>

Hi, I am using a variables file for assigning values to the variables which i would then be using in my playbooks. Sometimes the values to these variables are further variables whose values are resolved at runtime, and …

---

## [Playbook for windows - Variable error](https://forum.ansible.com/t/playbook-for-windows-variable-error/25831)

<div class="topic-metadata">

**Author:** [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Replies:** 4\
**Last updated:** [October 27, 2017, 9:17am UTC](https://forum.ansible.com/t/playbook-for-windows-variable-error/25831 "2017-10-27T09:17:14Z")

</div>

Hello, I’m stuck and cannot find a solution :-/ I have some variables in host\_vars folder: \` links: “{{‘1.1.1.2:8080,1.1.1.3:8080,1.1.1.4:8080’}}” log: “{{‘C:\\Program Files (x86)\\Test\\’}}” \` My playbook looks like…

---

## [Ansible 2.4.2 beta1 is ready for testing](https://forum.ansible.com/t/ansible-2-4-2-beta1-is-ready-for-testing/25836)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [October 27, 2017, 3:16am UTC](https://forum.ansible.com/t/ansible-2-4-2-beta1-is-ready-for-testing/25836 "2017-10-27T03:16:20Z")

</div>

Hi all, we're happy to announce that Beta1 for 2.4.2 is now available for testing. How do you get it?

---

## [Instance Groups](https://forum.ansible.com/t/instance-groups/25833)

<div class="topic-metadata">

**Author:** [@Cody\_John](https://forum.ansible.com/u/Cody_John)\
**Replies:** 1\
**Last updated:** [October 27, 2017, 12:59am UTC](https://forum.ansible.com/t/instance-groups/25833 "2017-10-27T00:59:57Z")

</div>

Anybody had any luck creating instance groups in AWX? I’ve tried adjusting my inventory file to something like this: \` serverA ansible\_connection=local ansible\_python\_interpreter=“/usr/bin/env python” serverB ansible\_…

---

## [No Output from router](https://forum.ansible.com/t/no-output-from-router/25832)

<div class="topic-metadata">

**Author:** [@pateldipaktor](https://forum.ansible.com/u/pateldipaktor)\
**Replies:** 2\
**Last updated:** [October 26, 2017, 5:50pm UTC](https://forum.ansible.com/t/no-output-from-router/25832 "2017-10-26T17:50:36Z")

</div>

Hello Friends, I’ve just picked up network automation with ansible and this is my first attempt to build a very simple playbook to run “show version” on Cisco IOS router.Although, playbook runs successfully but i can’t …

---

## [Ansible Failing But SSH Connections are Successful](https://forum.ansible.com/t/ansible-failing-but-ssh-connections-are-successful/25795)

<div class="topic-metadata">

**Author:** [@Michael\_Ellis](https://forum.ansible.com/u/Michael_Ellis)\
**Replies:** 2\
**Last updated:** [October 26, 2017, 5:49pm UTC](https://forum.ansible.com/t/ansible-failing-but-ssh-connections-are-successful/25795 "2017-10-26T17:49:52Z")

</div>

Hello Group, New to Ansible and the Project, but like what I see so far! I am running Ansible 2.4.0 on RHEL7.4. I have SSH keys setup on several hosts and can connect to the remote hosts using the SSH Key Pair from my …

---

## [Not able to install ansible on amazon rhel7.4 suing epel7 package.](https://forum.ansible.com/t/not-able-to-install-ansible-on-amazon-rhel7-4-suing-epel7-package/25827)

<div class="topic-metadata">

**Author:** [@Sukanya\_shenoy](https://forum.ansible.com/u/Sukanya_shenoy)\
**Replies:** 3\
**Last updated:** [October 26, 2017, 2:34pm UTC](https://forum.ansible.com/t/not-able-to-install-ansible-on-amazon-rhel7-4-suing-epel7-package/25827 "2017-10-26T14:34:15Z")

</div>

I’m trying to install ansible on amazon rhel7.4 using Epel7 but it is throwing error saying that ansible package is not available. can anyone help me out to solve this problem. last month it was working fyne but today w…

---

## [Unicode-objects must be encoded before hashing](https://forum.ansible.com/t/unicode-objects-must-be-encoded-before-hashing/25824)

<div class="topic-metadata">

**Author:** [@Laurent\_Goussard](https://forum.ansible.com/u/Laurent_Goussard)\
**Replies:** 3\
**Last updated:** [October 26, 2017, 1:41pm UTC](https://forum.ansible.com/t/unicode-objects-must-be-encoded-before-hashing/25824 "2017-10-26T13:41:33Z")

</div>

My brand new ARM server, freshly installed refuse to be managaed by ansible. As soon as I try to reach it, here is the error I get back : ansible chronos -m ping -u root -k SSH password: chronos.du-jour.fr | UNREACHABL…

---

## [ec2\_asg: attach existing instance](https://forum.ansible.com/t/ec2-asg-attach-existing-instance/25830)

<div class="topic-metadata">

**Author:** [@Pantelis\_Karamolegko](https://forum.ansible.com/u/Pantelis_Karamolegko)\
**Replies:** 1\
**Last updated:** [October 26, 2017, 12:02pm UTC](https://forum.ansible.com/t/ec2-asg-attach-existing-instance/25830 "2017-10-26T12:02:18Z")

</div>

Is it possible to attach an existing (running) instance when creating a new auto scaling group? The module documentation is not very straightforward on this. Is the replace\_instances option supposed to take care of thi…

---

## [Not able to run source ./hacking/env-setup](https://forum.ansible.com/t/not-able-to-run-source-hacking-env-setup/25829)

<div class="topic-metadata">

**Author:** [@Anil\_Kumar\_Muraleedh](https://forum.ansible.com/u/Anil_Kumar_Muraleedh)\
**Replies:** 0\
**Last updated:** [October 26, 2017, 11:19am UTC](https://forum.ansible.com/t/not-able-to-run-source-hacking-env-setup/25829 "2017-10-26T11:19:55Z")

</div>

Hi, I am trying to install ansible based on the http://docs.ansible.com/ansible/latest/intro\_installation.html#running-from-sourceWhen I try to run the source ./hacking/env-setup, I am getting the following error root@…

---

## [with\_items and when](https://forum.ansible.com/t/with-items-and-when/25818)

<div class="topic-metadata">

**Author:** [@Sidh](https://forum.ansible.com/u/Sidh)\
**Replies:** 2\
**Last updated:** [October 26, 2017, 10:21am UTC](https://forum.ansible.com/t/with-items-and-when/25818 "2017-10-26T10:21:46Z")

</div>

Hi, Basically would like to check if file is present on remote system or not. If not present, then create one, otherwise skip this step. name: Checking if files already present stat: path: “{{ item }}” register: f…

---

## [Failed to connect to the host via ssh: command-line line 0: garbage at end of line;](https://forum.ansible.com/t/failed-to-connect-to-the-host-via-ssh-command-line-line-0-garbage-at-end-of-line/25775)

<div class="topic-metadata">

**Author:** [@Laurent\_Goussard](https://forum.ansible.com/u/Laurent_Goussard)\
**Replies:** 10\
**Last updated:** [October 26, 2017, 7:28am UTC](https://forum.ansible.com/t/failed-to-connect-to-the-host-via-ssh-command-line-line-0-garbage-at-end-of-line/25775 "2017-10-26T07:28:33Z")

</div>

Hello, I tried to fill in a bug report, but it seems it’s more a question than a bug : Since I’ve added a business dropbox to my existing personnal dropbox, ansible cannot read my symlinked inventory file anymore and a…

---

## [Ansible 2.4.1 has been released](https://forum.ansible.com/t/ansible-2-4-1-has-been-released/25826)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [October 26, 2017, 12:35am UTC](https://forum.ansible.com/t/ansible-2-4-1-has-been-released/25826 "2017-10-26T00:35:37Z")

</div>

On behalf of the entire Ansible open source community, we are very happy to announce that Ansible 2.4.1 has been released! This release includes many bugfixes to the 2.4 codebase. For full details, please see the Cha…

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

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