# Latest

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

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

**Page:** 766

---

## [Mesos related modules?](https://forum.ansible.com/t/mesos-related-modules/20486)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 3\
**Last updated:** [May 7, 2016, 1:58pm UTC](https://forum.ansible.com/t/mesos-related-modules/20486 "2016-05-07T13:58:34Z")

</div>

Hi I recently started to work with mesos and discovered really simple frameworks rest APIs: marathon https://mesosphere.github.io/marathon/docs/rest-api.html chronos https://mesos.github.io/chronos/docs/api.html Has …

---

## [Define variable with a loop](https://forum.ansible.com/t/define-variable-with-a-loop/21376)

<div class="topic-metadata">

**Author:** [@sylvain2](https://forum.ansible.com/u/sylvain2)\
**Replies:** 0\
**Last updated:** [May 6, 2016, 8:45pm UTC](https://forum.ansible.com/t/define-variable-with-a-loop/21376 "2016-05-06T20:45:28Z")

</div>

Hi All, I’m a new (and enthousiast !) user of ansible. I’m trying to set up an automated way of handling the development environments of our team, using Ansible and some publicly available roles, in particular https://…

---

## [win\_msi issues with Ansible 2.1](https://forum.ansible.com/t/win-msi-issues-with-ansible-2-1/21374)

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 2\
**Last updated:** [May 6, 2016, 8:38pm UTC](https://forum.ansible.com/t/win-msi-issues-with-ansible-2-1/21374 "2016-05-06T20:38:13Z")

</div>

Management Node running: Ansible 2.1 Centos 7 Remote Node running: Windows 7 Powershell 3 The playbook below appears to run without errors but nothing happens on the remote node.

---

## [Ansible 2.0.2.0 + shade 1.8.0 + openstack : Update inventory  not working](https://forum.ansible.com/t/ansible-2-0-2-0-shade-1-8-0-openstack-update-inventory-not-working/21375)

<div class="topic-metadata">

**Author:** [@t10tennn](https://forum.ansible.com/u/t10tennn)\
**Replies:** 0\
**Last updated:** [May 6, 2016, 7:15pm UTC](https://forum.ansible.com/t/ansible-2-0-2-0-shade-1-8-0-openstack-update-inventory-not-working/21375 "2016-05-06T19:15:12Z")

</div>

Hi, I 'm an ansible newbie , I’m following lars blog to get ansible play nice with openstack I have a strange issue Issue. I can launch instances on openstack. But I’m unable to update the inventory. playbook: –sn…

---

## [Can Ansible pause on errors, allowing user to intervene, then proceed?](https://forum.ansible.com/t/can-ansible-pause-on-errors-allowing-user-to-intervene-then-proceed/21367)

<div class="topic-metadata">

**Author:** [@Neil\_Hooey](https://forum.ansible.com/u/Neil_Hooey)\
**Replies:** 4\
**Last updated:** [May 6, 2016, 5:45pm UTC](https://forum.ansible.com/t/can-ansible-pause-on-errors-allowing-user-to-intervene-then-proceed/21367 "2016-05-06T17:45:41Z")

</div>

When initially trying to get an elaborate playbook to work, it’s very costly to repeat the process when a single task fails. I’d like the playbook to automatically pause on a task that I haven’t set ignore\_errors: True …

---

## [Reading a Json file using Ansible](https://forum.ansible.com/t/reading-a-json-file-using-ansible/21371)

<div class="topic-metadata">

**Author:** [@Shwetha\_Hadimani](https://forum.ansible.com/u/Shwetha_Hadimani)\
**Replies:** 1\
**Last updated:** [May 6, 2016, 1:46pm UTC](https://forum.ansible.com/t/reading-a-json-file-using-ansible/21371 "2016-05-06T13:46:10Z")

</div>

Hi, I have a json file like below called “develop.json” { “releasedata”: { “release\_name”: “abcd”, “release\_number”: “22” } Below is my ansible script. I need to fetch release\_name from the file.

---

## [multiple elements from list](https://forum.ansible.com/t/multiple-elements-from-list/21372)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 0\
**Last updated:** [May 6, 2016, 11:47am UTC](https://forum.ansible.com/t/multiple-elements-from-list/21372 "2016-05-06T11:47:56Z")

</div>

Just a guess: debug: msg="{{item.stdout\_lines}}" with\_items: packages.results or just output the whole: debug: var=packages or debug: var=packages.results What do you want to achieve? Johannes

---

## [Apt packages](https://forum.ansible.com/t/apt-packages/21370)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 2\
**Last updated:** [May 6, 2016, 9:29am UTC](https://forum.ansible.com/t/apt-packages/21370 "2016-05-06T09:29:03Z")

</div>

Use something like this: apt: name="{{ item }}" ... with\_items: your\_package\_list and call the playbook with ansible-playbook -e 'your\_package\_list=\[foo,bar,xyz\]' Untested! Johannes

---

## [Reading a json file using Ansible](https://forum.ansible.com/t/reading-a-json-file-using-ansible/21369)

<div class="topic-metadata">

**Author:** [@Shwetha\_Hadimani](https://forum.ansible.com/u/Shwetha_Hadimani)\
**Replies:** 0\
**Last updated:** [May 6, 2016, 8:44am UTC](https://forum.ansible.com/t/reading-a-json-file-using-ansible/21369 "2016-05-06T08:44:19Z")

</div>

Hi, I have a json file called “develop.json” like below, { “releasedata”: { “release\_name”: “abcd”, “release\_number”: “22” } } I want to read this file in ansible and get the value for “release\_name” key. I have …

---

## [Line appending failing](https://forum.ansible.com/t/line-appending-failing/21366)

<div class="topic-metadata">

**Author:** [@amritha\_sanath](https://forum.ansible.com/u/amritha_sanath)\
**Replies:** 1\
**Last updated:** [May 6, 2016, 7:52am UTC](https://forum.ansible.com/t/line-appending-failing/21366 "2016-05-06T07:52:48Z")

</div>

I have a file which is datadog.conf in which i have to append the line dogstreams: /root/ddmonitor/pattern.txt:/opt/datadog-agent/agent/checks/libs/parsers.py:parse-web at EOF i am using ansible lineinfile option and my…

---

## [Obscure error message in Unicode-related jinja2 template fail](https://forum.ansible.com/t/obscure-error-message-in-unicode-related-jinja2-template-fail/21178)

<div class="topic-metadata">

**Author:** [@Alan\_Orth](https://forum.ansible.com/u/Alan_Orth)\
**Replies:** 2\
**Last updated:** [May 6, 2016, 7:47am UTC](https://forum.ansible.com/t/obscure-error-message-in-unicode-related-jinja2-template-fail/21178 "2016-05-06T07:47:41Z")

</div>

Hi, I was trying to template PHP 7’s default pool.conf file and ran into this unhelpful error message with Ansible 2.0.1.0: \[WARNING\]: Failure when attempting to use callback plugin (\<ansible.plugins.callback.default.C…

---

## [using vsphere-guest on esxi 6.0 (free version)](https://forum.ansible.com/t/using-vsphere-guest-on-esxi-6-0-free-version/21357)

<div class="topic-metadata">

**Author:** [@Albert\_Uy](https://forum.ansible.com/u/Albert_Uy)\
**Replies:** 1\
**Last updated:** [May 6, 2016, 12:00am UTC](https://forum.ansible.com/t/using-vsphere-guest-on-esxi-6-0-free-version/21357 "2016-05-06T00:00:57Z")

</div>

Hi All, Any suggestions on what to set the datacenter: parameter to? i have an ESXi 6.0 whitebox at home, and am running Ansible 2.2.0 on an Ubuntu 16.04 vm. i’ve tried setting the datacenter: parameter to the hostname…

---

## [Correct way to get ansible and modules from github and how to keep it tracking devel?](https://forum.ansible.com/t/correct-way-to-get-ansible-and-modules-from-github-and-how-to-keep-it-tracking-devel/21365)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 3\
**Last updated:** [May 5, 2016, 8:29pm UTC](https://forum.ansible.com/t/correct-way-to-get-ansible-and-modules-from-github-and-how-to-keep-it-tracking-devel/21365 "2016-05-05T20:29:07Z")

</div>

Got a new Mac and decided to get ansible from github vs copying it from my old Mac. $ git --version git version 2.8.2 $ git clone https://github.com/ansible/ansible.git $ git submodule update --init --recursive $ …

---

## [Runs a local script on a remote node after transferring it](https://forum.ansible.com/t/runs-a-local-script-on-a-remote-node-after-transferring-it/21360)

<div class="topic-metadata">

**Author:** [@imed\_khaskhoussi](https://forum.ansible.com/u/imed_khaskhoussi)\
**Replies:** 2\
**Last updated:** [May 5, 2016, 6:37pm UTC](https://forum.ansible.com/t/runs-a-local-script-on-a-remote-node-after-transferring-it/21360 "2016-05-05T18:37:04Z")

</div>

hello there , I want to execute a python script in the remote machine , haw to do that ? for the moment i execute the script which is located in the remote machine using this command : -shell: python script but i wan…

---

## [Restart network interfaces](https://forum.ansible.com/t/restart-network-interfaces/21363)

<div class="topic-metadata">

**Author:** [@Carl\_Wainwright](https://forum.ansible.com/u/Carl_Wainwright)\
**Replies:** 2\
**Last updated:** [May 5, 2016, 5:44pm UTC](https://forum.ansible.com/t/restart-network-interfaces/21363 "2016-05-05T17:44:47Z")

</div>

Hello, I am using Ansible to update templated VM machines with correct networking. My inventory contains the templated hosts \[nos5\] and the deployed host \[nos6\]. It should be noted that the interface I am changing is th…

---

## [Is there a json module yet?](https://forum.ansible.com/t/is-there-a-json-module-yet/21334)

<div class="topic-metadata">

**Author:** [@Will\_LaSeur](https://forum.ansible.com/u/Will_LaSeur)\
**Replies:** 3\
**Last updated:** [May 5, 2016, 5:12pm UTC](https://forum.ansible.com/t/is-there-a-json-module-yet/21334 "2016-05-05T17:12:30Z")

</div>

I’m looking for a quick way to update a json file without needing to template the file. I want to be able to change the values each time a job is being run based on user input. I tried this: http://www.geekytidbits.com/…

---

## [Check mode for Windows modules](https://forum.ansible.com/t/check-mode-for-windows-modules/21355)

<div class="topic-metadata">

**Author:** [@hodgese](https://forum.ansible.com/u/hodgese)\
**Replies:** 2\
**Last updated:** [May 5, 2016, 3:15pm UTC](https://forum.ansible.com/t/check-mode-for-windows-modules/21355 "2016-05-05T15:15:55Z")

</div>

Is there a way to implement check mode in a custom Windows module? I didn’t see anything in the documentation about it, and none of the several core modules I checked contained an example. Thanks, Eric

---

## [Problem with mysql core modules when host and/or port are non default](https://forum.ansible.com/t/problem-with-mysql-core-modules-when-host-and-or-port-are-non-default/21364)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas2](https://forum.ansible.com/u/Jurgen_Haas2)\
**Replies:** 0\
**Last updated:** [May 5, 2016, 3:07pm UTC](https://forum.ansible.com/t/problem-with-mysql-core-modules-when-host-and-or-port-are-non-default/21364 "2016-05-05T15:07:58Z")

</div>

According to the docs, Ansible started to support the config file (default: ~/.my.cnf) when connecting to the MySQL database and it reads the username and password from that file to be used when the arguments for login\_u…

---

## [Feedback on ansible playbook linter tool](https://forum.ansible.com/t/feedback-on-ansible-playbook-linter-tool/21362)

<div class="topic-metadata">

**Author:** [@Anshu\_Choubey](https://forum.ansible.com/u/Anshu_Choubey)\
**Replies:** 0\
**Last updated:** [May 5, 2016, 1:14pm UTC](https://forum.ansible.com/t/feedback-on-ansible-playbook-linter-tool/21362 "2016-05-05T13:14:26Z")

</div>

Hi, Lately I’ve been working on a tool to lint ansible playbook for logicall pitfalls. Though in novice stage, the tool can be found here. I could really use some feedback/suggestion on the tool. So, please take a look …

---

## [Feedback/suggestion on an ansible-playbook linter](https://forum.ansible.com/t/feedback-suggestion-on-an-ansible-playbook-linter/21361)

<div class="topic-metadata">

**Author:** [@Anshu\_Choubey](https://forum.ansible.com/u/Anshu_Choubey)\
**Replies:** 0\
**Last updated:** [May 5, 2016, 12:58pm UTC](https://forum.ansible.com/t/feedback-suggestion-on-an-ansible-playbook-linter/21361 "2016-05-05T12:58:32Z")

</div>

Hi, I’ve been lately working on creating a tool that would check ansible playbooks for logical pitfalls or inconsistencies. Though in a very novice stage, the tool/library can be found here. I could really use some feed…

---

## [Use Ansible to discover/document an environment](https://forum.ansible.com/t/use-ansible-to-discover-document-an-environment/19686)

<div class="topic-metadata">

**Author:** [@Jon\_Dison](https://forum.ansible.com/u/Jon_Dison)\
**Replies:** 5\
**Last updated:** [May 5, 2016, 6:04am UTC](https://forum.ansible.com/t/use-ansible-to-discover-document-an-environment/19686 "2016-05-05T06:04:18Z")

</div>

I’m wondering if anyone has any existing playbooks and/or scripts to go through an environment and document the findings. Basically a way to transform the results from the setup module into a useful CSV would be a good …

---

## [Unable to install nodejs from nodesource apt repo with apt module](https://forum.ansible.com/t/unable-to-install-nodejs-from-nodesource-apt-repo-with-apt-module/21354)

<div class="topic-metadata">

**Author:** [@james4](https://forum.ansible.com/u/james4)\
**Replies:** 1\
**Last updated:** [May 4, 2016, 9:54pm UTC](https://forum.ansible.com/t/unable-to-install-nodejs-from-nodesource-apt-repo-with-apt-module/21354 "2016-05-04T21:54:34Z")

</div>

Anyone by chance know why this is no longer working on ansible 2.0.0.2? The apt repo definition is deb https://deb.nodesource.com/node\_4.x trusty main - name: install packages apt: name: "{{item}}" state: pre…

---

## [GIThub, Jenkins and Ansible](https://forum.ansible.com/t/github-jenkins-and-ansible/21325)

<div class="topic-metadata">

**Author:** [@abidewan7](https://forum.ansible.com/u/abidewan7)\
**Replies:** 2\
**Last updated:** [May 4, 2016, 9:54pm UTC](https://forum.ansible.com/t/github-jenkins-and-ansible/21325 "2016-05-04T21:54:23Z")

</div>

Hi Guys, I’m looking for a step by step process to configure GitHub, Jenkins (CI) and Ansible (CD) so that a code from local machine to → Github → Jenkins (CI) → Ansible (CD) → local or EC2 can be deployed. Also lookin…

---

## [Multi-dimensional group\_vars ?](https://forum.ansible.com/t/multi-dimensional-group-vars/21352)

<div class="topic-metadata">

**Author:** [@Renaud\_Guerin](https://forum.ansible.com/u/Renaud_Guerin)\
**Replies:** 1\
**Last updated:** [May 4, 2016, 4:37pm UTC](https://forum.ansible.com/t/multi-dimensional-group-vars/21352 "2016-05-04T16:37:52Z")

</div>

Hi, I have a variable “elasticsearch\_heap\_size” that can take 4 different values depending on 2 dimensions: the host being an Elasticsearch master or data node whether it’s in production or development. At the moment…

---

## [Same host in inventory twice with two different ports, not working](https://forum.ansible.com/t/same-host-in-inventory-twice-with-two-different-ports-not-working/21293)

<div class="topic-metadata">

**Author:** [@John\_Gateley](https://forum.ansible.com/u/John_Gateley)\
**Replies:** 3\
**Last updated:** [May 4, 2016, 3:07pm UTC](https://forum.ansible.com/t/same-host-in-inventory-twice-with-two-different-ports-not-working/21293 "2016-05-04T15:07:41Z")

</div>

Hello, I have an inventory file with the same host twice, once using ssh on port 22, once using ssh on port 12345. This is inventory file bad.hosts2: \[host1\] foo.example.com:22 ansible\_connection=ssh ansible\_ssh\_user=…

---

## [dynamic inventory - hostname or ip address](https://forum.ansible.com/t/dynamic-inventory-hostname-or-ip-address/21309)

<div class="topic-metadata">

**Author:** [@Bill\_WANG](https://forum.ansible.com/u/Bill_WANG)\
**Replies:** 2\
**Last updated:** [May 4, 2016, 12:34pm UTC](https://forum.ansible.com/t/dynamic-inventory-hostname-or-ip-address/21309 "2016-05-04T12:34:36Z")

</div>

Hi all, I got dynamic inventory for ec2 instances via ansible. But the host in export are all IP addresses. In ec2.ini vpc\_destination\_variable = private\_ip\_address Sample of dynamic inventory output: \` “tag\_Name\_a…

---

## [StartProcess doesn't work with raw](https://forum.ansible.com/t/startprocess-doesnt-work-with-raw/21338)

<div class="topic-metadata">

**Author:** [@jacob](https://forum.ansible.com/u/jacob)\
**Replies:** 2\
**Last updated:** [May 4, 2016, 10:30am UTC](https://forum.ansible.com/t/startprocess-doesnt-work-with-raw/21338 "2016-05-04T10:30:40Z")

</div>

I recently started using Ansible to control Windows and I’m have some trouble with the StartProcess command. On a regular Powershell terminal I can open a new shell with this command: StartProcess powershell However t…

---

## [No Kerberos Credentials available and unspecified GSS Error: Ansible Tower](https://forum.ansible.com/t/no-kerberos-credentials-available-and-unspecified-gss-error-ansible-tower/21349)

<div class="topic-metadata">

**Author:** [@Chethan\_S](https://forum.ansible.com/u/Chethan_S)\
**Replies:** 1\
**Last updated:** [May 4, 2016, 10:21am UTC](https://forum.ansible.com/t/no-kerberos-credentials-available-and-unspecified-gss-error-ansible-tower/21349 "2016-05-04T10:21:37Z")

</div>

I have setup my Ansible Tower and Windows Kerberos / Active Directory authentication as specified here. It is the same procedure explained in the official documentation too. For information here is what I did - Install…

---

## [Ansible Error while running Anible-playbook](https://forum.ansible.com/t/ansible-error-while-running-anible-playbook/21351)

<div class="topic-metadata">

**Author:** [@pvlrjr](https://forum.ansible.com/u/pvlrjr)\
**Replies:** 0\
**Last updated:** [May 4, 2016, 9:07am UTC](https://forum.ansible.com/t/ansible-error-while-running-anible-playbook/21351 "2016-05-04T09:07:27Z")

</div>

Hi All, We are using ansible version 2.0.1.0. While running ansible-playbook we are getting Modules Related and SSH related errors. For your reference please find below logs. Password less authentication is also there …

---

## [Ansible ping module query.](https://forum.ansible.com/t/ansible-ping-module-query/21350)

<div class="topic-metadata">

**Author:** [@Joy\_Dsouza](https://forum.ansible.com/u/Joy_Dsouza)\
**Replies:** 0\
**Last updated:** [May 4, 2016, 5:49am UTC](https://forum.ansible.com/t/ansible-ping-module-query/21350 "2016-05-04T05:49:27Z")

</div>

Hello, I am new to Ansible. I have a list of server ip’s and I am using ping module to check if the servers are reachable or not. When I pass the password it works fine, However when I pass the private key it works fo…

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

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