# Latest

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

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

**Page:** 769

---

## [Passing parameters to custom module](https://forum.ansible.com/t/passing-parameters-to-custom-module/21288)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 2\
**Last updated:** [April 27, 2016, 10:56pm UTC](https://forum.ansible.com/t/passing-parameters-to-custom-module/21288 "2016-04-27T22:56:43Z")

</div>

Hi, I have written custom modules in python. I am calling the modules from my task file like below: name: Collect logstash details action: get\_logstash\_details path={{ logstash\_path }} register: result name: Displa…

---

## [Is apt-get really idempotent? How does it work?](https://forum.ansible.com/t/is-apt-get-really-idempotent-how-does-it-work/21275)

<div class="topic-metadata">

**Author:** [@Robert\_Glenn](https://forum.ansible.com/u/Robert_Glenn)\
**Replies:** 1\
**Last updated:** [April 27, 2016, 6:30pm UTC](https://forum.ansible.com/t/is-apt-get-really-idempotent-how-does-it-work/21275 "2016-04-27T18:30:31Z")

</div>

Hi, I’m trying to understand how Ansible’s “idempotency” is achieved for e.g. apt-get updates. For example: suppose I have X servers, fully provisioned some time ago, and now want to scale up to X+Y servers. The playbo…

---

## [Shell command with problems since 2.0.2.0](https://forum.ansible.com/t/shell-command-with-problems-since-2-0-2-0/21289)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas2](https://forum.ansible.com/u/Jurgen_Haas2)\
**Replies:** 5\
**Last updated:** [April 27, 2016, 10:49am UTC](https://forum.ansible.com/t/shell-command-with-problems-since-2-0-2-0/21289 "2016-04-27T10:49:47Z")

</div>

My task calls this \` shell: free | awk '/Mem:/ {print $4}' \` and the output is empty. Up until Version 2.0.1.0 this correctly output the 4th string of the second line from the free command. When changing that to \` …

---

## [New AWS Module for managing AWS Nat Gateways.](https://forum.ansible.com/t/new-aws-module-for-managing-aws-nat-gateways/21285)

<div class="topic-metadata">

**Author:** [@Allen\_Sanabria1](https://forum.ansible.com/u/Allen_Sanabria1)\
**Replies:** 0\
**Last updated:** [April 27, 2016, 2:37am UTC](https://forum.ansible.com/t/new-aws-module-for-managing-aws-nat-gateways/21285 "2016-04-27T02:37:52Z")

</div>

I have an open PR for the ec2\_vpc\_nat\_gateway module. (Integration and Unit tests are included) Manage AWS Nat Gateways. Create an AWS Nat Gateway. Delete an AWS Nat Gateway. If Nat Gateway exist in subnet and the opt…

---

## [New AWS Module for managing Kinesis Streams.](https://forum.ansible.com/t/new-aws-module-for-managing-kinesis-streams/21284)

<div class="topic-metadata">

**Author:** [@Allen\_Sanabria1](https://forum.ansible.com/u/Allen_Sanabria1)\
**Replies:** 0\
**Last updated:** [April 27, 2016, 2:35am UTC](https://forum.ansible.com/t/new-aws-module-for-managing-kinesis-streams/21284 "2016-04-27T02:35:01Z")

</div>

I have an open PR for the kinesis\_stream module. (Unit Tests are included in the PR) Create, Delete, and Modify a Kinesis Stream. Create a Kinesis Stream. Tag a Kinesis Stream. Update the Retention Period of a Kinesis…

---

## [Hosts file and ansible.cfg for Cisco IOS](https://forum.ansible.com/t/hosts-file-and-ansible-cfg-for-cisco-ios/21273)

<div class="topic-metadata">

**Author:** [@Inigo\_Esteban\_Oleaga](https://forum.ansible.com/u/Inigo_Esteban_Oleaga)\
**Replies:** 1\
**Last updated:** [April 27, 2016, 1:37am UTC](https://forum.ansible.com/t/hosts-file-and-ansible-cfg-for-cisco-ios/21273 "2016-04-27T01:37:26Z")

</div>

Hi everyone, I am completely new with Ansible and I haven’t been able yet to do nothing with my Cisco test switch. My Cisco switch is a C2960S with Cisco IOS Version 12.2(55) SE7. The switch has SSH server enabled. I ha…

---

## [user module update\_password changing password to and unknown value](https://forum.ansible.com/t/user-module-update-password-changing-password-to-and-unknown-value/21280)

<div class="topic-metadata">

**Author:** [@chrono](https://forum.ansible.com/u/chrono)\
**Replies:** 1\
**Last updated:** [April 26, 2016, 11:52pm UTC](https://forum.ansible.com/t/user-module-update-password-changing-password-to-and-unknown-value/21280 "2016-04-26T23:52:31Z")

</div>

Hello Everyone, I’m trying to change the password of an ID on a few different servers. The result of my playbook says that each of the servers were “changed” however I am unable to login with the new password OR the old…

---

## [Inventory: ERROR! non-essential-servers.py:2: Expected key=value host variable assignment, got: ldap3](https://forum.ansible.com/t/inventory-error-non-essential-servers-py-expected-key-value-host-variable-assignment-got-ldap3/21278)

<div class="topic-metadata">

**Author:** [@Jared\_Jenkins](https://forum.ansible.com/u/Jared_Jenkins)\
**Replies:** 0\
**Last updated:** [April 26, 2016, 6:45pm UTC](https://forum.ansible.com/t/inventory-error-non-essential-servers-py-expected-key-value-host-variable-assignment-got-ldap3/21278 "2016-04-26T18:45:25Z")

</div>

\#!/usr/bin/env python -- coding: utf-8 - import class and constants from ldap3 import Server, Connection, ALL, NTLM, Tls import json import ssl define the server and the connection server = Server(‘server’, use\_ssl=T…

---

## [setup faillure](https://forum.ansible.com/t/setup-faillure/21276)

<div class="topic-metadata">

**Author:** [@ming.chau](https://forum.ansible.com/u/ming.chau)\
**Replies:** 0\
**Last updated:** [April 26, 2016, 4:46pm UTC](https://forum.ansible.com/t/setup-faillure/21276 "2016-04-26T16:46:35Z")

</div>

hello, i’m using Ansible with git distribution. before updating my local repo, everything was OK… but now i have a big problem : TASK \[setup\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: …

---

## [win\_ping Name or service not known](https://forum.ansible.com/t/win-ping-name-or-service-not-known/21264)

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 1\
**Last updated:** [April 26, 2016, 9:49am UTC](https://forum.ansible.com/t/win-ping-name-or-service-not-known/21264 "2016-04-26T09:49:48Z")

</div>

Centos 7 Ansible 2.1 Windows 7 on remote node My inventory file (/etc/ansible/hosts) contains… \[windows\] 123.123.123.123.mycompany.com My /etc/ansible/group\_vars/windows.yml file contains… ansible\_user: username a…

---

## [SVN Module Error](https://forum.ansible.com/t/svn-module-error/21271)

<div class="topic-metadata">

**Author:** [@molnar](https://forum.ansible.com/u/molnar)\
**Replies:** 0\
**Last updated:** [April 25, 2016, 9:27pm UTC](https://forum.ansible.com/t/svn-module-error/21271 "2016-04-25T21:27:32Z")

</div>

Hello, I’m trying to use the svn core module to checkout/update a svn project. My understanding is that this module will checkout or update the svn project depending on whether it exists in the dest folder. Also what i…

---

## [Ansible Not Using \`ansible\_become\_pass\` Variable](https://forum.ansible.com/t/ansible-not-using-ansible-become-pass-variable/21253)

<div class="topic-metadata">

**Author:** [@Chad\_Sheets](https://forum.ansible.com/u/Chad_Sheets)\
**Replies:** 5\
**Last updated:** [April 25, 2016, 8:16pm UTC](https://forum.ansible.com/t/ansible-not-using-ansible-become-pass-variable/21253 "2016-04-25T20:16:12Z")

</div>

Hi Everyone, I recently installed a new Ansible host (Ubuntu Xenial, upgrading ansible from 1.9.4 to 2.0.0.2 in the process) and I can’t get the new host to use the ansible\_become\_pass variable. My plays always start b…

---

## [Branch/Fork basic question](https://forum.ansible.com/t/branch-fork-basic-question/21268)

<div class="topic-metadata">

**Author:** [@Victor\_Schroder](https://forum.ansible.com/u/Victor_Schroder)\
**Replies:** 1\
**Last updated:** [April 25, 2016, 8:09pm UTC](https://forum.ansible.com/t/branch-fork-basic-question/21268 "2016-04-25T20:09:15Z")

</div>

Hello everybody! We have an important use case here that requires certificate-based authentication, when using the uri module, which is not available. I’d like to enhance it to offer this possibility and that will almos…

---

## [Weird idempotency issue with 2.0.2.0 on ec2\_vpc module](https://forum.ansible.com/t/weird-idempotency-issue-with-2-0-2-0-on-ec2-vpc-module/21267)

<div class="topic-metadata">

**Author:** [@Joseph\_DJOMEDA](https://forum.ansible.com/u/Joseph_DJOMEDA)\
**Replies:** 0\
**Last updated:** [April 25, 2016, 7:16pm UTC](https://forum.ansible.com/t/weird-idempotency-issue-with-2-0-2-0-on-ec2-vpc-module/21267 "2016-04-25T19:16:51Z")

</div>

Hello Guys, I just upgraded and quickly got caught up with a weird issue with the ec2\_vpc. It’s a existing playbook and worked fine. The weird part is that the playbook works fine the first type but give this error the …

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/21265)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [April 25, 2016, 7:02pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/21265 "2016-04-25T19:02:54Z")

</div>

Hi All, We’re pleased to announce the addition of a new Ansible Networking Working Group. The group is being formed to drive where network integration grows within Ansible moving forward. We will have a weekly community…

---

## [app namespacing in ansible](https://forum.ansible.com/t/app-namespacing-in-ansible/21263)

<div class="topic-metadata">

**Author:** [@V\_Kurien](https://forum.ansible.com/u/V_Kurien)\
**Replies:** 0\
**Last updated:** [April 25, 2016, 5:02pm UTC](https://forum.ansible.com/t/app-namespacing-in-ansible/21263 "2016-04-25T17:02:15Z")

</div>

Hi Hopefully this is not too much of a FAQ. I was looking for a pattern for app instance deployment in ansible: A user wants to deploy an instance of an app that runs across multiple VMs - a Hadoop cluster is a canoni…

---

## [Execution engine not backward compatible in 2.0](https://forum.ansible.com/t/execution-engine-not-backward-compatible-in-2-0/21262)

<div class="topic-metadata">

**Author:** [@Vincent\_Roy](https://forum.ansible.com/u/Vincent_Roy)\
**Replies:** 0\
**Last updated:** [April 25, 2016, 3:59pm UTC](https://forum.ansible.com/t/execution-engine-not-backward-compatible-in-2-0/21262 "2016-04-25T15:59:24Z")

</div>

Hello, I was wondering if anyone had feedback for this issue: https://github.com/ansible/ansible/issues/15395 I’ve seen other similar reports here: https://github.com/ansible/ansible/issues/15431 https://github.com/a…

---

## [block in file with loop](https://forum.ansible.com/t/block-in-file-with-loop/21256)

<div class="topic-metadata">

**Author:** [@bala\_krishna](https://forum.ansible.com/u/bala_krishna)\
**Replies:** 1\
**Last updated:** [April 25, 2016, 3:32pm UTC](https://forum.ansible.com/t/block-in-file-with-loop/21256 "2016-04-25T15:32:19Z")

</div>

Hi, I am trying to write ansible playbook for Nagios client installation and configuration. - name: untar Plugin Zip file to libexec directory command: mount | grep -v "rootLV" | grep ext4 | awk '{print $3}' …

---

## [Do not run ansible-upstart](https://forum.ansible.com/t/do-not-run-ansible-upstart/21261)

<div class="topic-metadata">

**Author:** [@Fernando\_Cagale](https://forum.ansible.com/u/Fernando_Cagale)\
**Replies:** 0\
**Last updated:** [April 25, 2016, 3:02pm UTC](https://forum.ansible.com/t/do-not-run-ansible-upstart/21261 "2016-04-25T15:02:14Z")

</div>

Hello I’m doing a test with ansible using the “upstart”, but is not run “upstart exec path”. Below example api.yml. Does anyone have any idea why you’re not running? He did not start my Node.js API. {{app\_path}} = /…

---

## [read a file .CSV from ansible](https://forum.ansible.com/t/read-a-file-csv-from-ansible/21260)

<div class="topic-metadata">

**Author:** [@imed\_khaskhoussi](https://forum.ansible.com/u/imed_khaskhoussi)\
**Replies:** 1\
**Last updated:** [April 25, 2016, 2:51pm UTC](https://forum.ansible.com/t/read-a-file-csv-from-ansible/21260 "2016-04-25T14:51:12Z")

</div>

hello , i need to read some value from a .CSV file with ; separator for example : param1;value1 param2;value2 i want to write them in a file using ansible like this : param1=value1 param2=value2 thank you in advance…

---

## [Ansible can't connect using the public DNS provided by AWS, but it can connect with the IP addr.](https://forum.ansible.com/t/ansible-cant-connect-using-the-public-dns-provided-by-aws-but-it-can-connect-with-the-ip-addr/21257)

<div class="topic-metadata">

**Author:** [@Santiago\_Basulto](https://forum.ansible.com/u/Santiago_Basulto)\
**Replies:** 1\
**Last updated:** [April 25, 2016, 2:15pm UTC](https://forum.ansible.com/t/ansible-cant-connect-using-the-public-dns-provided-by-aws-but-it-can-connect-with-the-ip-addr/21257 "2016-04-25T14:15:09Z")

</div>

This issue is strange. If I use the public DNS provided by AWS, Ansible fails to connect (see error report below). But if I use the IP address it can connect and everything works. Just to make sure, I can ssh into it (u…

---

## [Ansible.runner not found](https://forum.ansible.com/t/ansible-runner-not-found/21258)

<div class="topic-metadata">

**Author:** [@Chechu\_Santander](https://forum.ansible.com/u/Chechu_Santander)\
**Replies:** 1\
**Last updated:** [April 25, 2016, 1:54pm UTC](https://forum.ansible.com/t/ansible-runner-not-found/21258 "2016-04-25T13:54:16Z")

</div>

hey guys, I’m trying to create an ansible script with python to launch some playbooks, but when I try to import ansible.runner, I got the library missing Traceback (most recent call last): File “./test\_ansible.py”, li…

---

## [Utilizing timestamps within filenames](https://forum.ansible.com/t/utilizing-timestamps-within-filenames/21232)

<div class="topic-metadata">

**Author:** [@Joe\_Louthan](https://forum.ansible.com/u/Joe_Louthan)\
**Replies:** 9\
**Last updated:** [April 25, 2016, 1:53pm UTC](https://forum.ansible.com/t/utilizing-timestamps-within-filenames/21232 "2016-04-25T13:53:27Z")

</div>

Hello, In my deployments, I tend to do db backups and dump them into filenames containing a timestamp like so: mysqldump dbname | gzip -9c \> ~/dbname.date +%Y-%m-%d.%H%M.sql.gz ; ls -la ~/ | grep date +%Y-%m-%d\` \` A…

---

## [Ansible still able to connect to windows host even after the certificates has expired](https://forum.ansible.com/t/ansible-still-able-to-connect-to-windows-host-even-after-the-certificates-has-expired/21242)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 5\
**Last updated:** [April 25, 2016, 1:01pm UTC](https://forum.ansible.com/t/ansible-still-able-to-connect-to-windows-host-even-after-the-certificates-has-expired/21242 "2016-04-25T13:01:03Z")

</div>

I configured winrm on my windows server 2012 R2 using the script listed at https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 To test the certificate expiration, i provided 3 …

---

## [Windows\_error\_401\_Unauthorized. basic auth failed](https://forum.ansible.com/t/windows-error-401-unauthorized-basic-auth-failed/21251)

<div class="topic-metadata">

**Author:** [@sadaa.19990](https://forum.ansible.com/u/sadaa.19990)\
**Replies:** 1\
**Last updated:** [April 25, 2016, 12:53pm UTC](https://forum.ansible.com/t/windows-error-401-unauthorized-basic-auth-failed/21251 "2016-04-25T12:53:03Z")

</div>

hi is there anyone can help me ! I’m trying to connect to windows machine . ( windows 10) I get this error “401\_Unauthorized. basic auth failed” i use ubuntu 14.04 as controller machine ! ansible version 1.9.1

---

## [need to detect if a service/daemon is running or not](https://forum.ansible.com/t/need-to-detect-if-a-service-daemon-is-running-or-not/21247)

<div class="topic-metadata">

**Author:** [@jyanga](https://forum.ansible.com/u/jyanga)\
**Replies:** 2\
**Last updated:** [April 25, 2016, 12:51pm UTC](https://forum.ansible.com/t/need-to-detect-if-a-service-daemon-is-running-or-not/21247 "2016-04-25T12:51:42Z")

</div>

I am trying to determine if iptables/firewalld is running or not. If the service/daemon is not running, I want to leave it that way. Otherwise, I would like to bounce it. Below is my attempt to perform this. If there is …

---

## [How to stop Ansible from cleaning up temporary files?](https://forum.ansible.com/t/how-to-stop-ansible-from-cleaning-up-temporary-files/21254)

<div class="topic-metadata">

**Author:** [@Howard\_Guo](https://forum.ansible.com/u/Howard_Guo)\
**Replies:** 1\
**Last updated:** [April 25, 2016, 12:35pm UTC](https://forum.ansible.com/t/how-to-stop-ansible-from-cleaning-up-temporary-files/21254 "2016-04-25T12:35:18Z")

</div>

Hello! I am debugging an Ansible playbook that throws an obscure error, the command from “-vvvv” output looks totally sane, but the SSH command does not carry useful information, it only invokes a temporary script locae…

---

## [Windows module development question: msiexec acts up when ran through WinRM](https://forum.ansible.com/t/windows-module-development-question-msiexec-acts-up-when-ran-through-winrm/21224)

<div class="topic-metadata">

**Author:** [@nikobelia](https://forum.ansible.com/u/nikobelia)\
**Replies:** 11\
**Last updated:** [April 25, 2016, 11:28am UTC](https://forum.ansible.com/t/windows-module-development-question-msiexec-acts-up-when-ran-through-winrm/21224 "2016-04-25T11:28:15Z")

</div>

Hi, Ansible devel folks, This week I put together a module that sets the Splunk Universal Forwarder up on Windows machines. One of the nice things Splunk’s done with the forwarder is make some useful flags that you can …

---

## [Simple task breaks with version 2.0.2.0](https://forum.ansible.com/t/simple-task-breaks-with-version-2-0-2-0/21220)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas2](https://forum.ansible.com/u/Jurgen_Haas2)\
**Replies:** 5\
**Last updated:** [April 25, 2016, 9:43am UTC](https://forum.ansible.com/t/simple-task-breaks-with-version-2-0-2-0/21220 "2016-04-25T09:43:52Z")

</div>

The task is this: \` - name: "Check Ansible version" run\_once: true debug: msg="You need at least version 2.0.0.0, currently using version {{ ansible\_version.full }}" failed\_when: "{{ ansible\_version.full | versio…

---

## [401\_Unauthorized. basic auth failed](https://forum.ansible.com/t/401-unauthorized-basic-auth-failed/21250)

<div class="topic-metadata">

**Author:** [@sadaa.19990](https://forum.ansible.com/u/sadaa.19990)\
**Replies:** 0\
**Last updated:** [April 24, 2016, 3:51pm UTC](https://forum.ansible.com/t/401-unauthorized-basic-auth-failed/21250 "2016-04-24T15:51:12Z")

</div>

Hi ! is there anyone can help me l get this errors when I tried to connect to my machine Windows 10 401 Unauthorized. basic auth failed I use Ubuntu 14.04 as controller machine

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

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