# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=597

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

**Page:** 598

---

## [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

---

## [Escaping Json String](https://forum.ansible.com/t/escaping-json-string/21249)

<div class="topic-metadata">

**Author:** [@ben2](https://forum.ansible.com/u/ben2)\
**Replies:** 0\
**Last updated:** [April 24, 2016, 1:07pm UTC](https://forum.ansible.com/t/escaping-json-string/21249 "2016-04-24T13:07:08Z")

</div>

In version 2.0.2.0 (in version 2.0.0.2 it works fine) In a local action I’m generating the following json object https://gist.github.com/thebenwaters/7795d1cdead9280e0c5abcbc23b9ca59 Then registering it to standard ou…

---

## [Python API Documentation](https://forum.ansible.com/t/python-api-documentation/20395)

<div class="topic-metadata">

**Author:** [@Michael\_Mattioli](https://forum.ansible.com/u/Michael_Mattioli)\
**Replies:** 23\
**Last updated:** [April 23, 2016, 7:42pm UTC](https://forum.ansible.com/t/python-api-documentation/20395 "2016-04-23T19:42:18Z")

</div>

Documentation for the Python API is very sparse; aside from this page, there’s really nothing else to offer aside from “read the source code and figure it out”. While the source code is generously commented, it would be …

---

## [Ansible hangs](https://forum.ansible.com/t/ansible-hangs/21182)

<div class="topic-metadata">

**Author:** [@Vivek\_Aggarwal](https://forum.ansible.com/u/Vivek_Aggarwal)\
**Replies:** 1\
**Last updated:** [April 23, 2016, 6:44pm UTC](https://forum.ansible.com/t/ansible-hangs/21182 "2016-04-23T18:44:49Z")

</div>

While running my ansible playbook on 350 hosts, the ansible process hangs in between & shows a couple of defunct processes. Is there any way out i can resolve this,Please suggest i m using below version :-

---

## [passign arguments to the handler](https://forum.ansible.com/t/passign-arguments-to-the-handler/21248)

<div class="topic-metadata">

**Author:** [@Pathangi\_Janardhanan](https://forum.ansible.com/u/Pathangi_Janardhanan)\
**Replies:** 1\
**Last updated:** [April 23, 2016, 12:24am UTC](https://forum.ansible.com/t/passign-arguments-to-the-handler/21248 "2016-04-23T00:24:55Z")

</div>

Hi, I see many thread of discussion on this topic, but I am not able to find any resolution on this. I want to be able to pass parameters to my handler. I am managing a set of Redis DB on a node, and if the configurati…

---

## [Variable "role" in play is undefined](https://forum.ansible.com/t/variable-role-in-play-is-undefined/21244)

<div class="topic-metadata">

**Author:** [@Jeff\_Hardy](https://forum.ansible.com/u/Jeff_Hardy)\
**Replies:** 5\
**Last updated:** [April 22, 2016, 9:46pm UTC](https://forum.ansible.com/t/variable-role-in-play-is-undefined/21244 "2016-04-22T21:46:14Z")

</div>

I have a static inventory setup with the hope of applying different roles to different hosts, but am finding that this playbook is not achieving what I would like: hosts: “{{target}}” pre\_tasks: debug: var=role roles…

---

## [Create exception for service on a host](https://forum.ansible.com/t/create-exception-for-service-on-a-host/21230)

<div class="topic-metadata">

**Author:** [@Pogan](https://forum.ansible.com/u/Pogan)\
**Replies:** 2\
**Last updated:** [April 22, 2016, 6:38pm UTC](https://forum.ansible.com/t/create-exception-for-service-on-a-host/21230 "2016-04-22T18:38:51Z")

</div>

Hi, I guess this is fairly simple question, but I’m stuck with it… I have a playbook that checks whether services are up on hosts and starts them if they are not in started state, for example: hosts: mailservers ta…

---

## [with\_dict keys with "." was working in Ansible 1.9.4 but not with 2.1.0](https://forum.ansible.com/t/with-dict-keys-with-was-working-in-ansible-1-9-4-but-not-with-2-1-0/21245)

<div class="topic-metadata">

**Author:** [@Ryan\_Groten](https://forum.ansible.com/u/Ryan_Groten)\
**Replies:** 0\
**Last updated:** [April 22, 2016, 2:55pm UTC](https://forum.ansible.com/t/with-dict-keys-with-was-working-in-ansible-1-9-4-but-not-with-2-1-0/21245 "2016-04-22T14:55:49Z")

</div>

When setting sysctl parameters I use the following variable: kernel\_params: kernel.sem: 250 32000 100 128 kernel.shmmni: 4096 net.core.rmem\_max: 4194304 net.core.rmem\_default: 262144 net.core.wmem\_max: 1048576 net.core.…

---

## [binary module seems does not work](https://forum.ansible.com/t/binary-module-seems-does-not-work/12713)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 10\
**Last updated:** [April 22, 2016, 2:55pm UTC](https://forum.ansible.com/t/binary-module-seems-does-not-work/12713 "2016-04-22T14:55:24Z")

</div>

I don’t think there’s going to be that many needs where the system will require a native binary module for speed reasons, though I would support patches that detected the file was binary and attempted to /not/ process i…

---

## [Async and expect module](https://forum.ansible.com/t/async-and-expect-module/21139)

<div class="topic-metadata">

**Author:** [@David\_Gonzalez\_Marti](https://forum.ansible.com/u/David_Gonzalez_Marti)\
**Replies:** 3\
**Last updated:** [April 22, 2016, 12:34pm UTC](https://forum.ansible.com/t/async-and-expect-module/21139 "2016-04-22T12:34:37Z")

</div>

I’m trying to use expect Ansible module to perform an interactive task in a virtual machine. The module works, but the task is very long and I have problems with the timeout. I get an error like this. I tried to use asyn…

---

## [Patch Management by Ansible](https://forum.ansible.com/t/patch-management-by-ansible/21243)

<div class="topic-metadata">

**Author:** [@Deepak\_Pradhan](https://forum.ansible.com/u/Deepak_Pradhan)\
**Replies:** 0\
**Last updated:** [April 22, 2016, 10:20am UTC](https://forum.ansible.com/t/patch-management-by-ansible/21243 "2016-04-22T10:20:44Z")

</div>

Hi Team, How we can do? Patching as a maintenance task to maintain various images as compared to a master golden image – How can we use Ansible to do the patch management and ensure both images are alike. Thanks, Dee…

---

## [Issue with using raw module with double quoted parameters under Windows](https://forum.ansible.com/t/issue-with-using-raw-module-with-double-quoted-parameters-under-windows/21234)

<div class="topic-metadata">

**Author:** [@Alexey\_Larsky](https://forum.ansible.com/u/Alexey_Larsky)\
**Replies:** 3\
**Last updated:** [April 22, 2016, 6:31am UTC](https://forum.ansible.com/t/issue-with-using-raw-module-with-double-quoted-parameters-under-windows/21234 "2016-04-22T06:31:49Z")

</div>

I’ve stuck with using raw module with double quoted parameters under Windows. According with http://docs.ansible.com/ansible/intro\_windows.html raw: cmd /c “net use \\server\\share & second\_command” works, but how to us…

---

## [Best practices for provisioning multiple interconnecting environments](https://forum.ansible.com/t/best-practices-for-provisioning-multiple-interconnecting-environments/21207)

<div class="topic-metadata">

**Author:** [@Yuri\_Lukyanov](https://forum.ansible.com/u/Yuri_Lukyanov)\
**Replies:** 4\
**Last updated:** [April 22, 2016, 3:50am UTC](https://forum.ansible.com/t/best-practices-for-provisioning-multiple-interconnecting-environments/21207 "2016-04-22T03:50:09Z")

</div>

Hi, Here is what I’m trying to achieve. There are several environments (or clusters) that are relatively independent but still have some connections in between. Let’s say I have ‘production’, ‘staging’ and ‘general’ en…

---

## ["Simple" set\_fact issue](https://forum.ansible.com/t/simple-set-fact-issue/21241)

<div class="topic-metadata">

**Author:** [@Moshe\_Suberri](https://forum.ansible.com/u/Moshe_Suberri)\
**Replies:** 0\
**Last updated:** [April 22, 2016, 3:10am UTC](https://forum.ansible.com/t/simple-set-fact-issue/21241 "2016-04-22T03:10:18Z")

</div>

I am trying to create a list from a set of variables and have some problem doing that. I must admit I do not understand why it is not easy to manipulate list/dict/vars in Ansible. I must be missing somthing. So here is…

---

## [Appending a variable to a list, howto?  - "Error was can only concatenat e list (not \\"unicode\\") to list"}"](https://forum.ansible.com/t/appending-a-variable-to-a-list-howto-error-was-can-only-concatenat-e-list-not-unicode-to-list/21240)

<div class="topic-metadata">

**Author:** [@Moshe\_Suberri](https://forum.ansible.com/u/Moshe_Suberri)\
**Replies:** 0\
**Last updated:** [April 22, 2016, 2:23am UTC](https://forum.ansible.com/t/appending-a-variable-to-a-list-howto-error-was-can-only-concatenat-e-list-not-unicode-to-list/21240 "2016-04-22T02:23:10Z")

</div>

Error message: fatal: \[localhost\]: FAILED! =\> {“failed”: true, “msg”: “an unexpected type error occurred. Error was can only concatenate list (not "unicode") to list”} Example: my\_list= my\_var=“var1” my\_list= mylist+…

---

## [fact module return values](https://forum.ansible.com/t/fact-module-return-values/21239)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 2\
**Last updated:** [April 22, 2016, 1:56am UTC](https://forum.ansible.com/t/fact-module-return-values/21239 "2016-04-22T01:56:12Z")

</div>

Hey all, Can anyone provide any guidance on how a fact module should return an optional fact that is empty? Is it better to not list that fact at all in the response? So one could use “'fact in foo” Or to list it, but…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=596)

[Next page](https://forum.ansible.com/c/archives/31.md?page=598)
