# Latest

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

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

**Page:** 632

---

## [Galaxy maintenance tonight 11 PM Eastern](https://forum.ansible.com/t/galaxy-maintenance-tonight-11-pm-eastern/25284)

<div class="topic-metadata">

**Author:** [@chousekn](https://forum.ansible.com/u/chousekn)\
**Replies:** 1\
**Last updated:** [August 18, 2017, 5:36am UTC](https://forum.ansible.com/t/galaxy-maintenance-tonight-11-pm-eastern/25284 "2017-08-18T05:36:09Z")

</div>

We’ll be taking Galaxy offline for approximately an hour this evening starting at 11:00 PM Eastern. During this time the the web site will be offline, which means logins, role imports and role downloads (from Galaxy) wil…

---

## [suggest me the steps for clearing the hadoop YARN Cache using Ansible](https://forum.ansible.com/t/suggest-me-the-steps-for-clearing-the-hadoop-yarn-cache-using-ansible/25286)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [August 17, 2017, 11:07pm UTC](https://forum.ansible.com/t/suggest-me-the-steps-for-clearing-the-hadoop-yarn-cache-using-ansible/25286 "2017-08-17T23:07:22Z")

</div>

Hi Suggestion is to use the service module for step 1 and 4. Find the documentation here: http://docs.ansible.com/ansible/latest/service\_module.html Other steps just the find module or even command module. Dick

---

## [python ansible api2 ImportError](https://forum.ansible.com/t/python-ansible-api2-importerror/25285)

<div class="topic-metadata">

**Author:** [@torenpro](https://forum.ansible.com/u/torenpro)\
**Replies:** 0\
**Last updated:** [August 17, 2017, 8:23pm UTC](https://forum.ansible.com/t/python-ansible-api2-importerror/25285 "2017-08-17T20:23:05Z")

</div>

Hello, can anyone can help me with this problem - i want to run ansible from python sctipt using API ver.2. i’m doing everything like in exmple (http://docs.ansible.com/ansible/latest/dev\_guide/developing\_api.html#pytho…

---

## [Using when conditional to match string in output register](https://forum.ansible.com/t/using-when-conditional-to-match-string-in-output-register/25273)

<div class="topic-metadata">

**Author:** [@Ted\_Meller](https://forum.ansible.com/u/Ted_Meller)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 8:10pm UTC](https://forum.ansible.com/t/using-when-conditional-to-match-string-in-output-register/25273 "2017-08-17T20:10:31Z")

</div>

Im unable to search my output variable for a specified string that im using for a when statement. The code below is supposed to check for the string “distribute-list” in the output variable but when run the playbook it g…

---

## [Is there a process for expediting reviews of bug fixes and changes?](https://forum.ansible.com/t/is-there-a-process-for-expediting-reviews-of-bug-fixes-and-changes/25281)

<div class="topic-metadata">

**Author:** [@sdodsley](https://forum.ansible.com/u/sdodsley)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 5:31pm UTC](https://forum.ansible.com/t/is-there-a-process-for-expediting-reviews-of-bug-fixes-and-changes/25281 "2017-08-17T17:31:03Z")

</div>

Hi Pretty new to this group and wanted to ask a simple question. How do I go about getting bug fixes and simple feature adds reviewed/merged? I have 2 that have been sitting around for 7 days and affect 2.4. #28007 an…

---

## [Destroyed ec2 resources with count\_tag and exact count](https://forum.ansible.com/t/destroyed-ec2-resources-with-count-tag-and-exact-count/25277)

<div class="topic-metadata">

**Author:** [@Bill\_Brooks](https://forum.ansible.com/u/Bill_Brooks)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 1:40pm UTC](https://forum.ansible.com/t/destroyed-ec2-resources-with-count-tag-and-exact-count/25277 "2017-08-17T13:40:52Z")

</div>

I am working with Ansible and just accidentally terminated 4 ec2 instances out of 20+ in AWS and I’m trying to figure out the why as to what was deleted. I have already determined that the code I originally used was wron…

---

## [docker module  - what is the syntax for 'volumes' parameter](https://forum.ansible.com/t/docker-module-what-is-the-syntax-for-volumes-parameter/16343)

<div class="topic-metadata">

**Author:** [@Bk\_Lau](https://forum.ansible.com/u/Bk_Lau)\
**Replies:** 3\
**Last updated:** [August 17, 2017, 11:08am UTC](https://forum.ansible.com/t/docker-module-what-is-the-syntax-for-volumes-parameter/16343 "2017-08-17T11:08:04Z")

</div>

Hi : What is the syntax for the “volumes” parameter in the docker module?. There is no example. Assume that I have a host dirs at “/opt/my\_logs1” and “/opt/my\_logs2” and I want to map it to a container volumes at “/op…

---

## [async tasks not following remote\_tmp settings](https://forum.ansible.com/t/async-tasks-not-following-remote-tmp-settings/24982)

<div class="topic-metadata">

**Author:** [@alan](https://forum.ansible.com/u/alan)\
**Replies:** 1\
**Last updated:** [August 17, 2017, 8:49am UTC](https://forum.ansible.com/t/async-tasks-not-following-remote-tmp-settings/24982 "2017-08-17T08:49:10Z")

</div>

Greetings, I think I’m having the same issue reported in #10054, but using Ansible-2.3.0. A little background: I’m running an Ansible playbook on remote systems where the root directory (which includes /home dirs) is i…

---

## [Custom module error](https://forum.ansible.com/t/custom-module-error/25205)

<div class="topic-metadata">

**Author:** [@Adam](https://forum.ansible.com/u/Adam)\
**Replies:** 7\
**Last updated:** [August 17, 2017, 12:07am UTC](https://forum.ansible.com/t/custom-module-error/25205 "2017-08-17T00:07:32Z")

</div>

Hi all - I’m working on a custom module in python that takes a subset of an XML config, and turns it into JSON so I can use it with an Ansible playbook & Jinja2 template. My python code works fine to parse the output, …

---

## [ec2\_lc - launch configuration user data - uploads to aws OK but disappears!!](https://forum.ansible.com/t/ec2-lc-launch-configuration-user-data-uploads-to-aws-ok-but-disappears/17748)

<div class="topic-metadata">

**Author:** [@Stephen\_Tan](https://forum.ansible.com/u/Stephen_Tan)\
**Replies:** 4\
**Last updated:** [August 16, 2017, 9:44pm UTC](https://forum.ansible.com/t/ec2-lc-launch-configuration-user-data-uploads-to-aws-ok-but-disappears/17748 "2017-08-16T21:44:16Z")

</div>

Hi all Got a weird issue where I’m trying upload a bash script as user-data - via the launch config module. Any help regarding this is appreciated - even if it’s a method of debugging this - there are no errors which i…

---

## [can we setup HA Ansible server using community Ansible ?](https://forum.ansible.com/t/can-we-setup-ha-ansible-server-using-community-ansible/25216)

<div class="topic-metadata">

**Author:** [@htallur](https://forum.ansible.com/u/htallur)\
**Replies:** 2\
**Last updated:** [August 16, 2017, 7:36pm UTC](https://forum.ansible.com/t/can-we-setup-ha-ansible-server-using-community-ansible/25216 "2017-08-16T19:36:08Z")

</div>

can we setup HA Ansible server using community Ansible ?. is there already such solution.

---

## [can ansible tower cluster nodes be grouped under auto scaling group in aws ?](https://forum.ansible.com/t/can-ansible-tower-cluster-nodes-be-grouped-under-auto-scaling-group-in-aws/25272)

<div class="topic-metadata">

**Author:** [@htallur](https://forum.ansible.com/u/htallur)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 7:33pm UTC](https://forum.ansible.com/t/can-ansible-tower-cluster-nodes-be-grouped-under-auto-scaling-group-in-aws/25272 "2017-08-16T19:33:40Z")

</div>

can ansible tower cluster nodes be grouped under auto scaling group in aws ? I am planning for a scenario when the number of aws instances increases is it possible to spin a ansible tower node part of cluster to handle…

---

## [ansible-vault doesn't prompt to create vault password](https://forum.ansible.com/t/ansible-vault-doesnt-prompt-to-create-vault-password/25214)

<div class="topic-metadata">

**Author:** [@mamullen13316](https://forum.ansible.com/u/mamullen13316)\
**Replies:** 4\
**Last updated:** [August 16, 2017, 6:53pm UTC](https://forum.ansible.com/t/ansible-vault-doesnt-prompt-to-create-vault-password/25214 "2017-08-16T18:53:25Z")

</div>

I’m running 2.4.0 and trying to encrypt a file with ansible-vault. In past versions of Ansible, this command would prompt to create a vault password to encrypt the file: C02NVAEGG3QJ:playbooks mullenma$ ansible-vault en…

---

## [Ansible python scripts and registers issue](https://forum.ansible.com/t/ansible-python-scripts-and-registers-issue/25269)

<div class="topic-metadata">

**Author:** [@Tom\_Monte](https://forum.ansible.com/u/Tom_Monte)\
**Replies:** 1\
**Last updated:** [August 16, 2017, 4:43pm UTC](https://forum.ansible.com/t/ansible-python-scripts-and-registers-issue/25269 "2017-08-16T16:43:54Z")

</div>

down votefavorite | I am running a Ansible script that calls a python script, which manipulates some data and turns it into a dictionary. I want to redirect the python dictionary to a register and then use it r…

---

## [Ansible tower inventories and variables](https://forum.ansible.com/t/ansible-tower-inventories-and-variables/25268)

<div class="topic-metadata">

**Author:** [@Andrew\_Latham](https://forum.ansible.com/u/Andrew_Latham)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 3:23pm UTC](https://forum.ansible.com/t/ansible-tower-inventories-and-variables/25268 "2017-08-16T15:23:36Z")

</div>

For tower questions and support please utilize https://access.redhat.com/products/ansible-tower-red-hat This mailing list is for the open source Ansible project.

---

## [Elastic search-Zookeeper integration using ansible](https://forum.ansible.com/t/elastic-search-zookeeper-integration-using-ansible/25209)

<div class="topic-metadata">

**Author:** [@Abhishek\_Gupta](https://forum.ansible.com/u/Abhishek_Gupta)\
**Replies:** 1\
**Last updated:** [August 16, 2017, 3:16pm UTC](https://forum.ansible.com/t/elastic-search-zookeeper-integration-using-ansible/25209 "2017-08-16T15:16:36Z")

</div>

Hi, I am trying to handshake between elastic search and zookeeper. That is I am trying to register elastic search node in zookeeper using ansible. Is there any plugin support for doing this?

---

## [ansible tower, inventories, group and host\_vars](https://forum.ansible.com/t/ansible-tower-inventories-group-and-host-vars/25267)

<div class="topic-metadata">

**Author:** [@Asil](https://forum.ansible.com/u/Asil)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 3:12pm UTC](https://forum.ansible.com/t/ansible-tower-inventories-group-and-host-vars/25267 "2017-08-16T15:12:14Z")

</div>

We’ve implemented our ansible directory structure for multi-stage environments as per the digital ocean blogpost The inventory files and roles vars are separated out in this manner and kept in version control along with…

---

## [Ansible Core Engine and Core Modules are FROZEN for 2.4](https://forum.ansible.com/t/ansible-core-engine-and-core-modules-are-frozen-for-2-4/25266)

<div class="topic-metadata">

**Author:** [@Jason\_McKerr](https://forum.ansible.com/u/Jason_McKerr)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 12:15pm UTC](https://forum.ansible.com/t/ansible-core-engine-and-core-modules-are-frozen-for-2-4/25266 "2017-08-16T12:15:22Z")

</div>

Hello folks, 2.4 is coming up fast! As such, as of late last night the engine and core modules are FROZEN for feature updates. Bug fixes will continue through the release and freeze cycles. Core Engine Freeze and Modul…

---

## [User data Not working](https://forum.ansible.com/t/user-data-not-working/25265)

<div class="topic-metadata">

**Author:** [@Rohit\_Maheshwari](https://forum.ansible.com/u/Rohit_Maheshwari)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 12:11pm UTC](https://forum.ansible.com/t/user-data-not-working/25265 "2017-08-16T12:11:18Z")

</div>

Hi, I am putting the below config in ec2\_lc module for the server to run the script at the time of start. user\_data: { #!/bin/bash source /home/centos/startup.sh } But It is not working. It is giving me below err…

---

## [Does anybody have users stories about the use of multi -inventory introduced in ansible 2.4 ?](https://forum.ansible.com/t/does-anybody-have-users-stories-about-the-use-of-multi-inventory-introduced-in-ansible-2-4/25264)

<div class="topic-metadata">

**Author:** [@Vincent\_JOBARD](https://forum.ansible.com/u/Vincent_JOBARD)\
**Replies:** 0\
**Last updated:** [August 16, 2017, 8:24am UTC](https://forum.ansible.com/t/does-anybody-have-users-stories-about-the-use-of-multi-inventory-introduced-in-ansible-2-4/25264 "2017-08-16T08:24:16Z")

</div>

Hi everyone, I’m studiying ansible 2.4 behaviour and the impact of multi inventory possibilities to evaluate the impact on our project. I tried many things to try to understand how it will work, but I think it could be…

---

## [Skipping: no hosts matched](https://forum.ansible.com/t/skipping-no-hosts-matched/25228)

<div class="topic-metadata">

**Author:** [@eclipxsydney](https://forum.ansible.com/u/eclipxsydney)\
**Replies:** 3\
**Last updated:** [August 16, 2017, 7:42am UTC](https://forum.ansible.com/t/skipping-no-hosts-matched/25228 "2017-08-16T07:42:17Z")

</div>

Hi all, I am in need of help/pointers from the community in setting up Ansible ansible 2.3.2.0 on ubuntu 14.04. At the current stage it has been configure to retrieve the information from the remote server, but when I …

---

## [Using Cpanel with Ansible](https://forum.ansible.com/t/using-cpanel-with-ansible/24894)

<div class="topic-metadata">

**Author:** [@Fayad](https://forum.ansible.com/u/Fayad)\
**Replies:** 9\
**Last updated:** [August 16, 2017, 3:21am UTC](https://forum.ansible.com/t/using-cpanel-with-ansible/24894 "2017-08-16T03:21:09Z")

</div>

Hi, Let me explain our environment first: We have about 500 cpanel servers which are either openvz VEs or physical servers. We are now using puppet to manage and carry out any common system administration tasks on the …

---

## [Total Ansible n00b needing guidance on translating bash command to Ansible playlist](https://forum.ansible.com/t/total-ansible-n00b-needing-guidance-on-translating-bash-command-to-ansible-playlist/25257)

<div class="topic-metadata">

**Author:** [@EspressoBeanies](https://forum.ansible.com/u/EspressoBeanies)\
**Replies:** 7\
**Last updated:** [August 15, 2017, 8:07pm UTC](https://forum.ansible.com/t/total-ansible-n00b-needing-guidance-on-translating-bash-command-to-ansible-playlist/25257 "2017-08-15T20:07:23Z")

</div>

Hi, I’m trying to run the following nested bash command: rm $( locate somefile ) but Ansible is kicking back an error asking me to use “state=absent” instead. How do I execute this while I’m searching for the potential …

---

## [Built-in variable that stores playbook name?](https://forum.ansible.com/t/built-in-variable-that-stores-playbook-name/25262)

<div class="topic-metadata">

**Author:** [@Ryan1](https://forum.ansible.com/u/Ryan1)\
**Replies:** 0\
**Last updated:** [August 15, 2017, 6:56pm UTC](https://forum.ansible.com/t/built-in-variable-that-stores-playbook-name/25262 "2017-08-15T18:56:51Z")

</div>

I am creating log files where I use the playbook name in the name of the log file. I am just hard coding the name into the playbooks, but I was wondering if there was a built-in variable that stores “test” if the playboo…

---

## [Add conditionals to debug msg](https://forum.ansible.com/t/add-conditionals-to-debug-msg/25226)

<div class="topic-metadata">

**Author:** [@Ryan1](https://forum.ansible.com/u/Ryan1)\
**Replies:** 9\
**Last updated:** [August 15, 2017, 6:49pm UTC](https://forum.ansible.com/t/add-conditionals-to-debug-msg/25226 "2017-08-15T18:49:04Z")

</div>

How do I add a conditionals to debug msg lists? name: Print results debug: msg: “Board: {{ ansible\_product\_name }}” “CPU: {{ ansible\_processor\[1\] }} Cores: {{ ansible\_processor\_cores }} CPU Count: {{ ansible\_processo…

---

## [include\_vars behavior](https://forum.ansible.com/t/include-vars-behavior/25261)

<div class="topic-metadata">

**Author:** [@chronidev](https://forum.ansible.com/u/chronidev)\
**Replies:** 0\
**Last updated:** [August 15, 2017, 6:26pm UTC](https://forum.ansible.com/t/include-vars-behavior/25261 "2017-08-15T18:26:40Z")

</div>

Hi, I just want to know if it’s normal that the variables loaded with include\_vars in a play are still accessible in subsequent play ? Does this behavior will change in the future ? Regards,

---

## [ansible\_ssh\_pass parameter with salt encrypt value of ansible\_user password makes client server Unreachable on playbook run](https://forum.ansible.com/t/ansible-ssh-pass-parameter-with-salt-encrypt-value-of-ansible-user-password-makes-client-server-unreachable-on-playbook-run/25124)

<div class="topic-metadata">

**Author:** [@Lorenzo\_Farinas](https://forum.ansible.com/u/Lorenzo_Farinas)\
**Replies:** 11\
**Last updated:** [August 15, 2017, 3:52pm UTC](https://forum.ansible.com/t/ansible-ssh-pass-parameter-with-salt-encrypt-value-of-ansible-user-password-makes-client-server-unreachable-on-playbook-run/25124 "2017-08-15T15:52:58Z")

</div>

I successfully created and tested some Ansible playbooks, that’s when ansible\_ssh\_pass parameter value is the actual password of the ansible\_user for the involved server specified in a group in the /etc/ansible/hosts fil…

---

## [Define group in hosts file based on intersection of 2 groups](https://forum.ansible.com/t/define-group-in-hosts-file-based-on-intersection-of-2-groups/22445)

<div class="topic-metadata">

**Author:** [@Iain\_M\_Conochie](https://forum.ansible.com/u/Iain_M_Conochie)\
**Replies:** 2\
**Last updated:** [August 15, 2017, 3:43pm UTC](https://forum.ansible.com/t/define-group-in-hosts-file-based-on-intersection-of-2-groups/22445 "2017-08-15T15:43:50Z")

</div>

Hello, It is possible to limit the hosts the ansible command runs against by specifying patterns on the command line like so: ansible webservers:!staging -m ping Is it possible to use the same technique to define grou…

---

## [winrm Unable to connect to windows10 desktop](https://forum.ansible.com/t/winrm-unable-to-connect-to-windows10-desktop/22347)

<div class="topic-metadata">

**Author:** [@Deep18](https://forum.ansible.com/u/Deep18)\
**Replies:** 4\
**Last updated:** [August 15, 2017, 3:26pm UTC](https://forum.ansible.com/t/winrm-unable-to-connect-to-windows10-desktop/22347 "2017-08-15T15:26:30Z")

</div>

Hi, I am trying to use ansible to controla windows 10 desktop VM in my lab and cannot seem to get past the connection error.Appreciate your help here. Here is my setup: MacBook is the control host and trying to connec…

---

## [ansible.utils.unicode.to\_str is deprecated.  Use ansible.module\_utils.\_text.to\_native instead](https://forum.ansible.com/t/ansible-utils-unicode-to-str-is-deprecated-use-ansible-module-utils-text-to-native-instead/25254)

<div class="topic-metadata">

**Author:** [@Fabrizio\_Pandini](https://forum.ansible.com/u/Fabrizio_Pandini)\
**Replies:** 1\
**Last updated:** [August 15, 2017, 3:17pm UTC](https://forum.ansible.com/t/ansible-utils-unicode-to-str-is-deprecated-use-ansible-module-utils-text-to-native-instead/25254 "2017-08-15T15:17:17Z")

</div>

According to the message in the codebase ansible.utils.unicode.to\_str is deprecated, and instead we have to use ansible.module\_utils.\_text.to\_native starting from 2.4 which is expected in mid september. However, the pac…

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

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