# Latest

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

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

**Page:** 563

---

## [SID to username?](https://forum.ansible.com/t/sid-to-username/27346)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 2\
**Last updated:** [April 23, 2018, 5:42am UTC](https://forum.ansible.com/t/sid-to-username/27346 "2018-04-23T05:42:45Z")

</div>

Is there a way to get the username from the SID with ansible?

---

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

<div class="topic-metadata">

**Author:** [@pi\_co](https://forum.ansible.com/u/pi_co)\
**Replies:** 2\
**Last updated:** [April 23, 2018, 5:26am UTC](https://forum.ansible.com/t/ansible-tower-installation-error/27333 "2018-04-23T05:26:29Z")

</div>

Hi, I’m start using Ansible for learning purpose. I got error again and again when I try to install Ansible Tower in my Cent OS 7. I’m using Ansible Tower Bundel for installation and get it from here : https://releases.a…

---

## [installing windows package with msiexec...](https://forum.ansible.com/t/installing-windows-package-with-msiexec/27331)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 4\
**Last updated:** [April 21, 2018, 2:39am UTC](https://forum.ansible.com/t/installing-windows-package-with-msiexec/27331 "2018-04-21T02:39:56Z")

</div>

Hi… I should probably know how to search for this as I am sure others have asked it - I have a very short time frame to get something working and then I have to work on another project - if anyone could help me with thi…

---

## [Kubernetes on GCP](https://forum.ansible.com/t/kubernetes-on-gcp/27340)

<div class="topic-metadata">

**Author:** [@Richard\_Stanley](https://forum.ansible.com/u/Richard_Stanley)\
**Replies:** 0\
**Last updated:** [April 20, 2018, 11:10pm UTC](https://forum.ansible.com/t/kubernetes-on-gcp/27340 "2018-04-20T23:10:37Z")

</div>

Hi, I’m curious if there is any interest in the community or a roadmap item for a Kubernetes cluster module for Google Cloud Platform. This would be to create/destroy Kubernetes clusters not manage clusters when running…

---

## [Create string from list](https://forum.ansible.com/t/create-string-from-list/27334)

<div class="topic-metadata">

**Author:** [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Replies:** 7\
**Last updated:** [April 20, 2018, 1:34pm UTC](https://forum.ansible.com/t/create-string-from-list/27334 "2018-04-20T13:34:43Z")

</div>

Hi there, I simply cannot figure out how to create a string from a list. What output I want in a variable: "{{10.0.0.1:8080,10.0.0.2:8080}}" I am retrieving a dynamic list of private IPs from Azure Scaleset. \` task…

---

## [Ansible 'win\_shell' working on one server and giving error on another:](https://forum.ansible.com/t/ansible-win-shell-working-on-one-server-and-giving-error-on-another/27328)

<div class="topic-metadata">

**Author:** [@Dinesh\_Vashisht](https://forum.ansible.com/u/Dinesh_Vashisht)\
**Replies:** 2\
**Last updated:** [April 20, 2018, 1:26pm UTC](https://forum.ansible.com/t/ansible-win-shell-working-on-one-server-and-giving-error-on-another/27328 "2018-04-20T13:26:36Z")

</div>

Team, Ansible ‘win\_shell’ working on one server and giving error on another: Success on ‘mytest.mydomain.com’ with .Net framework 4.5 and PowerShell 4. \[user@server1\]# ansible -i /etc/ansible/hosts windows-servers -m …

---

## [How to configure playbook serial value by group var from inventory file?](https://forum.ansible.com/t/how-to-configure-playbook-serial-value-by-group-var-from-inventory-file/26695)

<div class="topic-metadata">

**Author:** [@Bing\_Hsueh](https://forum.ansible.com/u/Bing_Hsueh)\
**Replies:** 4\
**Last updated:** [April 20, 2018, 1:26pm UTC](https://forum.ansible.com/t/how-to-configure-playbook-serial-value-by-group-var-from-inventory-file/26695 "2018-04-20T13:26:14Z")

</div>

I’ve tried to setup a group var “batch\_deploy” in my inventory file and use it in playbook serial field. But always got failed with following message. Is there any concept I misunderstanding? PLAYBOOK: playbook.yml …

---

## [ansible\_connection for Windows apart from winrm](https://forum.ansible.com/t/ansible-connection-for-windows-apart-from-winrm/27335)

<div class="topic-metadata">

**Author:** [@utkarsh\_srivastava](https://forum.ansible.com/u/utkarsh_srivastava)\
**Replies:** 1\
**Last updated:** [April 20, 2018, 11:43am UTC](https://forum.ansible.com/t/ansible-connection-for-windows-apart-from-winrm/27335 "2018-04-20T11:43:43Z")

</div>

Hi, I want to run a very long process on windows machine through ansible. I want to trigger this process in background. But wirnrm does not allow me to do this. it got stuck till that process not completed. I could no…

---

## [Output multi-line string as-is (not JSON format)](https://forum.ansible.com/t/output-multi-line-string-as-is-not-json-format/16207)

<div class="topic-metadata">

**Author:** [@AJ\_Daws](https://forum.ansible.com/u/AJ_Daws)\
**Replies:** 8\
**Last updated:** [April 20, 2018, 11:41am UTC](https://forum.ansible.com/t/output-multi-line-string-as-is-not-json-format/16207 "2018-04-20T11:41:02Z")

</div>

I have a large, multi-line string that I would like to output in a role. Currently I’m using the debug module like this: \` name: Cloud-init user\_data debug: msg: “{{ cloudinit\_user\_data|indent(6) }}” \` However thi…

---

## [service\_facts get full list of services](https://forum.ansible.com/t/service-facts-get-full-list-of-services/27326)

<div class="topic-metadata">

**Author:** [@Stevan\_Svilokos](https://forum.ansible.com/u/Stevan_Svilokos)\
**Replies:** 2\
**Last updated:** [April 20, 2018, 11:03am UTC](https://forum.ansible.com/t/service-facts-get-full-list-of-services/27326 "2018-04-20T11:03:04Z")

</div>

Hi all, I came across service\_facts (seems like previously called scan\_services) to gather information about available services on the host, and their state. Soon I realized that some services were missing, solution wa…

---

## [how to pass the value of a variable from one playbook to another.](https://forum.ansible.com/t/how-to-pass-the-value-of-a-variable-from-one-playbook-to-another/27322)

<div class="topic-metadata">

**Author:** [@radha\_gupta](https://forum.ansible.com/u/radha_gupta)\
**Replies:** 7\
**Last updated:** [April 20, 2018, 7:29am UTC](https://forum.ansible.com/t/how-to-pass-the-value-of-a-variable-from-one-playbook-to-another/27322 "2018-04-20T07:29:17Z")

</div>

Hello Guys, Can you please help me on how can we pass the value of a variables form one playbook to another.

---

## [os\_server module creates Compute Instance From Openstack but Ansible Playbook is Failed](https://forum.ansible.com/t/os-server-module-creates-compute-instance-from-openstack-but-ansible-playbook-is-failed/20328)

<div class="topic-metadata">

**Author:** [@Sachin\_Murkute](https://forum.ansible.com/u/Sachin_Murkute)\
**Replies:** 2\
**Last updated:** [April 20, 2018, 5:19am UTC](https://forum.ansible.com/t/os-server-module-creates-compute-instance-from-openstack-but-ansible-playbook-is-failed/20328 "2018-04-20T05:19:18Z")

</div>

hello, I have to create compute instance in Openstack. I used os\_server Ansible module. It creates instance successfully. But Playbook failed with error message “msg”: “Timeout waiting for the floating IP to be attach…

---

## [creating a list of dicts from a list](https://forum.ansible.com/t/creating-a-list-of-dicts-from-a-list/27332)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 10:26pm UTC](https://forum.ansible.com/t/creating-a-list-of-dicts-from-a-list/27332 "2018-04-19T22:26:46Z")

</div>

Hi, I'm wondering if anyone might know how I would use the standard ansible filters to create a new variable from an existing variable. I would like to take a list of items list1: - foo - bar - baz and conv…

---

## [Dynamic inventory json format question](https://forum.ansible.com/t/dynamic-inventory-json-format-question/27311)

<div class="topic-metadata">

**Author:** [@fseudiba](https://forum.ansible.com/u/fseudiba)\
**Replies:** 6\
**Last updated:** [April 19, 2018, 2:16pm UTC](https://forum.ansible.com/t/dynamic-inventory-json-format-question/27311 "2018-04-19T14:16:28Z")

</div>

Hello, in the past i used this inventory entries. inventory.ini format: \[DATABASE1\] hostname1.com \[DATABASE2\] hostname47.de dynamic inventory json format: { “DATABASE1” : { “hosts” : \[ "hostname1.com \] }, “DATA…

---

## [How to orchestrate master/slave configuration with Ansible group\_by, if that's the proper approach?](https://forum.ansible.com/t/how-to-orchestrate-master-slave-configuration-with-ansible-group-by-if-thats-the-proper-approach/27316)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [April 19, 2018, 2:03pm UTC](https://forum.ansible.com/t/how-to-orchestrate-master-slave-configuration-with-ansible-group-by-if-thats-the-proper-approach/27316 "2018-04-19T14:03:04Z")

</div>

I’m setting up a Github master/slave configuration via Ansible role.I set up my github inventory file looks like this \` \[github1\] github1.domain.com \[github2\] github2.domain.com \[github3\] github3.domain.com (more…

---

## [ansible problem](https://forum.ansible.com/t/ansible-problem/27329)

<div class="topic-metadata">

**Author:** [@liupinzhanglpz](https://forum.ansible.com/u/liupinzhanglpz)\
**Replies:** 0\
**Last updated:** [April 19, 2018, 1:21pm UTC](https://forum.ansible.com/t/ansible-problem/27329 "2018-04-19T13:21:04Z")

</div>

When the sleep value exceeds 10 seconds, restart will not be performed.I want to know why??

---

## [Updating Tomcat server port](https://forum.ansible.com/t/updating-tomcat-server-port/27325)

<div class="topic-metadata">

**Author:** [@Marouane\_Baini](https://forum.ansible.com/u/Marouane_Baini)\
**Replies:** 1\
**Last updated:** [April 19, 2018, 12:49pm UTC](https://forum.ansible.com/t/updating-tomcat-server-port/27325 "2018-04-19T12:49:55Z")

</div>

Hello every one, I’m working with Ansible to manipulate and make automation to tomcat server events, My objective is to update the tomcat server port , the default port is 8080, The port number is in the “server.xml”, …

---

## [Current AWX user in credential](https://forum.ansible.com/t/current-awx-user-in-credential/27324)

<div class="topic-metadata">

**Author:** [@Simon\_Liddicott](https://forum.ansible.com/u/Simon_Liddicott)\
**Replies:** 0\
**Last updated:** [April 19, 2018, 11:04am UTC](https://forum.ansible.com/t/current-awx-user-in-credential/27324 "2018-04-19T11:04:57Z")

</div>

I use LDAP to log in a user and I want the jobs to be run using the same credentials that were used to log in. So I need to make a credential that asks for a password at runtime, but uses the AWX username or for windows…

---

## [Custom Inventory Question](https://forum.ansible.com/t/custom-inventory-question/27323)

<div class="topic-metadata">

**Author:** [@Stephen\_Eaton](https://forum.ansible.com/u/Stephen_Eaton)\
**Replies:** 1\
**Last updated:** [April 19, 2018, 9:48am UTC](https://forum.ansible.com/t/custom-inventory-question/27323 "2018-04-19T09:48:12Z")

</div>

Hi All, I’m new to AWX and have a question around dynamic inventory scripts. AWX/Tower documentation points to the ansible contrib/inventory for examples and I want to use one of these to get my inventory, however it h…

---

## [Ansible 2.5.1 is available](https://forum.ansible.com/t/ansible-2-5-1-is-available/27319)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 8:22am UTC](https://forum.ansible.com/t/ansible-2-5-1-is-available/27319 "2018-04-19T08:22:26Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.1 is now available! How do you get it?

---

## [how to pass the value of a variable from one playbook to another.](https://forum.ansible.com/t/how-to-pass-the-value-of-a-variable-from-one-playbook-to-another/27321)

<div class="topic-metadata">

**Author:** [@radha\_gupta](https://forum.ansible.com/u/radha_gupta)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 8:11am UTC](https://forum.ansible.com/t/how-to-pass-the-value-of-a-variable-from-one-playbook-to-another/27321 "2018-04-19T08:11:28Z")

</div>

Hello Guys, Can you please help me on how can we pass the value of a variables form one playbook to another.

---

## [Test that a variable is a valid IP address](https://forum.ansible.com/t/test-that-a-variable-is-a-valid-ip-address/22157)

<div class="topic-metadata">

**Author:** [@Ryan\_Groten](https://forum.ansible.com/u/Ryan_Groten)\
**Replies:** 4\
**Last updated:** [April 19, 2018, 7:27am UTC](https://forum.ansible.com/t/test-that-a-variable-is-a-valid-ip-address/22157 "2018-04-19T07:27:15Z")

</div>

I’m trying to create a task that verifies a variable is a valid IP address. The task should pass if it is valid, and fail if it’s not. I feel like I’m close, but not quite there with this: \` name: Verify IP address …

---

## [Pip module does nothing when state=absent](https://forum.ansible.com/t/pip-module-does-nothing-when-state-absent/27317)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 2\
**Last updated:** [April 19, 2018, 5:59am UTC](https://forum.ansible.com/t/pip-module-does-nothing-when-state-absent/27317 "2018-04-19T05:59:23Z")

</div>

I recently upgraded to Ansible 2.4 and have run into a weird problem. I added a task to remove a python package that was breaking pip on one of our servers, the task is below: name: Remove pip package ndg-httpsclient a…

---

## [Separate inventories per project](https://forum.ansible.com/t/separate-inventories-per-project/27315)

<div class="topic-metadata">

**Author:** [@Pantelis\_Karamolegko](https://forum.ansible.com/u/Pantelis_Karamolegko)\
**Replies:** 3\
**Last updated:** [April 19, 2018, 4:15am UTC](https://forum.ansible.com/t/separate-inventories-per-project/27315 "2018-04-19T04:15:13Z")

</div>

Is it possible to keep inventories distinct per project? Cause when I am prompted in a playbook run to select an inventory, I see all of my organization’s inventories. Or is the Organization the only way to keep invent…

---

## [Cannot get SCM revision on demo project](https://forum.ansible.com/t/cannot-get-scm-revision-on-demo-project/27306)

<div class="topic-metadata">

**Author:** [@YL1](https://forum.ansible.com/u/YL1)\
**Replies:** 3\
**Last updated:** [April 19, 2018, 4:14am UTC](https://forum.ansible.com/t/cannot-get-scm-revision-on-demo-project/27306 "2018-04-19T04:14:03Z")

</div>

Hello, I deployed AWX (1.0.4.113) on Kubernetes cluster. But I cannot even get SCM revision on Demo Project. I can do this manually on awx\_task container (git clone https://github.com/ansible/ansible-tower-samples). Wha…

---

## [Ansible Tower 3.2.3 os\_server module error](https://forum.ansible.com/t/ansible-tower-3-2-3-os-server-module-error/27309)

<div class="topic-metadata">

**Author:** [@smitconsultant2017](https://forum.ansible.com/u/smitconsultant2017)\
**Replies:** 3\
**Last updated:** [April 19, 2018, 2:24am UTC](https://forum.ansible.com/t/ansible-tower-3-2-3-os-server-module-error/27309 "2018-04-19T02:24:09Z")

</div>

I am trying to build vm on IBM powervc which use actually openstack version 3.12.0 on \*\*RHEL 7.4.\*\*This (os\_server ) module is throwing error “msg”: “shade is required for this module”. After googling, I tried different …

---

## [Ansible 2.5.1 is available](https://forum.ansible.com/t/ansible-2-5-1-is-available/27320)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [April 19, 2018, 12:49am UTC](https://forum.ansible.com/t/ansible-2-5-1-is-available/27320 "2018-04-19T00:49:08Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.5.1 is now available! How do you get it?

---

## [Walking the registry, searching DisplayName, removing matching packages?](https://forum.ansible.com/t/walking-the-registry-searching-displayname-removing-matching-packages/27318)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 1\
**Last updated:** [April 18, 2018, 11:54pm UTC](https://forum.ansible.com/t/walking-the-registry-searching-displayname-removing-matching-packages/27318 "2018-04-18T23:54:23Z")

</div>

I’d like to remove all the “Slack Machine-Wide Installer” packages. My approach is listed below. I’m wondering if there’s an easier way to do this? My approach. Trying to use Ansible to uninstall packages; with a twist…

---

## [How can I use the AWX credential variables in playbooks?](https://forum.ansible.com/t/how-can-i-use-the-awx-credential-variables-in-playbooks/27268)

<div class="topic-metadata">

**Author:** [@Brent\_Clark](https://forum.ansible.com/u/Brent_Clark)\
**Replies:** 6\
**Last updated:** [April 18, 2018, 8:46pm UTC](https://forum.ansible.com/t/how-can-i-use-the-awx-credential-variables-in-playbooks/27268 "2018-04-18T20:46:47Z")

</div>

How can I use the AWX credential variables in playbooks? Im specifically looking to re-use the AWS Credential keys in a playbook that uses ‘ec2\_instance\_facts’ which requires the passing of the keys in order to work. T…

---

## [Ansible 2.5 become directive and include\_tasks](https://forum.ansible.com/t/ansible-2-5-become-directive-and-include-tasks/27313)

<div class="topic-metadata">

**Author:** [@Petr\_Castulik](https://forum.ansible.com/u/Petr_Castulik)\
**Replies:** 2\
**Last updated:** [April 18, 2018, 4:29pm UTC](https://forum.ansible.com/t/ansible-2-5-become-directive-and-include-tasks/27313 "2018-04-18T16:29:55Z")

</div>

Hello, I have a question concerning the become directive and include\_tasks. After Ansible upgrade to 2.5 the become directive is not escalated to included tasks. I’m aware of https://docs.ansible.com/ansible/2.5/portin…

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

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