# Latest

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

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

**Page:** 684

---

## [ValueError: No closing quotation](https://forum.ansible.com/t/valueerror-no-closing-quotation/23780)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 1\
**Last updated:** [February 21, 2017, 2:04pm UTC](https://forum.ansible.com/t/valueerror-no-closing-quotation/23780 "2017-02-21T14:04:06Z")

</div>

Hi, ansible-playbook -i hosts site.yml -vvvv -c paramiko Traceback (most recent call last): File “/usr/bin/ansible-playbook”, line 324, in sys.exit(main(sys.argv\[1:\])) File “/usr/bin/ansible-playbook”, line 157, in…

---

## [Galaxy Outage Starting Friday, Feb 24 at 7:00 PM Eastern](https://forum.ansible.com/t/galaxy-outage-starting-friday-feb-24-at-7-00-pm-eastern/23785)

<div class="topic-metadata">

**Author:** [@Chris\_Houseknecht](https://forum.ansible.com/u/Chris_Houseknecht)\
**Replies:** 0\
**Last updated:** [February 21, 2017, 1:16pm UTC](https://forum.ansible.com/t/galaxy-outage-starting-friday-feb-24-at-7-00-pm-eastern/23785 "2017-02-21T13:16:03Z")

</div>

Beginning Friday, Feb 24 at 7:00 PM Eastern we will be migrating Galaxy from its current hosting provider to EC2. As a result of the migration, Galaxy will be down for a short period of time. We do not anticipate the ou…

---

## [Galaxy Outage Starting Friday, Feb 24 at 7:00 PM Eastern](https://forum.ansible.com/t/galaxy-outage-starting-friday-feb-24-at-7-00-pm-eastern/23784)

<div class="topic-metadata">

**Author:** [@Chris\_Houseknecht](https://forum.ansible.com/u/Chris_Houseknecht)\
**Replies:** 0\
**Last updated:** [February 21, 2017, 1:14pm UTC](https://forum.ansible.com/t/galaxy-outage-starting-friday-feb-24-at-7-00-pm-eastern/23784 "2017-02-21T13:14:49Z")

</div>

Beginning Friday, Feb 24 at 7:00 PM Eastern we will be migrating Galaxy from its current hosting provider to EC2. As a result of the migration, Galaxy will be down for a short period of time. We do not anticipate the ou…

---

## [\[Question\] Jinja2 template - check variable](https://forum.ansible.com/t/question-jinja2-template-check-variable/23783)

<div class="topic-metadata">

**Author:** [@belajzus](https://forum.ansible.com/u/belajzus)\
**Replies:** 0\
**Last updated:** [February 21, 2017, 12:36pm UTC](https://forum.ansible.com/t/question-jinja2-template-check-variable/23783 "2017-02-21T12:36:05Z")

</div>

Hi, is it possible in Jinja2 template to define possible values for some variable. Let say I have template config1.j2: parameter1={{var1 | default(1) }} parameter2={{var2 | default(2) }} parameter3={{var3 | default(…

---

## [CommandError: Another instance is already registered as primary](https://forum.ansible.com/t/commanderror-another-instance-is-already-registered-as-primary/23781)

<div class="topic-metadata">

**Author:** [@telltoanilsray](https://forum.ansible.com/u/telltoanilsray)\
**Replies:** 0\
**Last updated:** [February 21, 2017, 9:32am UTC](https://forum.ansible.com/t/commanderror-another-instance-is-already-registered-as-primary/23781 "2017-02-21T09:32:56Z")

</div>

Hi Team, I am trying to install ansible tower in AWS with external database. But i am getting below error. TASK \[misc : Register the primary instance in the database.\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[localhost\]: FAILED! =\>…

---

## [How to print the content of the file with new line characters as it appears on the file](https://forum.ansible.com/t/how-to-print-the-content-of-the-file-with-new-line-characters-as-it-appears-on-the-file/23779)

<div class="topic-metadata">

**Author:** [@Chandan\_Javaregowda](https://forum.ansible.com/u/Chandan_Javaregowda)\
**Replies:** 0\
**Last updated:** [February 21, 2017, 4:59am UTC](https://forum.ansible.com/t/how-to-print-the-content-of-the-file-with-new-line-characters-as-it-appears-on-the-file/23779 "2017-02-21T04:59:55Z")

</div>

I am trying to print the content of the file with new line characters as it appears on the file. What is the best way to do it?

---

## [\[Question\] Is there a variable for ansible tmp location/dir/path?](https://forum.ansible.com/t/question-is-there-a-variable-for-ansible-tmp-location-dir-path/23777)

<div class="topic-metadata">

**Author:** [@K\_Cheng](https://forum.ansible.com/u/K_Cheng)\
**Replies:** 0\
**Last updated:** [February 21, 2017, 12:44am UTC](https://forum.ansible.com/t/question-is-there-a-variable-for-ansible-tmp-location-dir-path/23777 "2017-02-21T00:44:24Z")

</div>

Hey guys, Just wondering if Ansible has a builtin variable that can be used in tasks that reflects the Ansible tmp location/dir/path? Cheers

---

## [Randomly Fuzzing/Exercising all variables in a Config file](https://forum.ansible.com/t/randomly-fuzzing-exercising-all-variables-in-a-config-file/23776)

<div class="topic-metadata">

**Author:** [@sami.joseph](https://forum.ansible.com/u/sami.joseph)\
**Replies:** 0\
**Last updated:** [February 21, 2017, 12:35am UTC](https://forum.ansible.com/t/randomly-fuzzing-exercising-all-variables-in-a-config-file/23776 "2017-02-21T00:35:58Z")

</div>

Hi, I built an App that gets its deployment data from a yaml/json config file, the deployment data are set as variables, for example : number of virtual machine to be spun or how many CPUs are needed per Virtual machine…

---

## [RFC: Extracting yaml parsing code into separate library](https://forum.ansible.com/t/rfc-extracting-yaml-parsing-code-into-separate-library/23773)

<div class="topic-metadata">

**Author:** [@Brandon\_LeBlanc](https://forum.ansible.com/u/Brandon_LeBlanc)\
**Replies:** 0\
**Last updated:** [February 20, 2017, 5:05pm UTC](https://forum.ansible.com/t/rfc-extracting-yaml-parsing-code-into-separate-library/23773 "2017-02-20T17:05:58Z")

</div>

I like Ansible’s modified YAML with support for loops, variable substitution, etc. I would like to pull that out into a separate library that can be used and developed independently of Ansible. I’ve given this library th…

---

## [Calling a dictionary based on an existing variable](https://forum.ansible.com/t/calling-a-dictionary-based-on-an-existing-variable/23729)

<div class="topic-metadata">

**Author:** [@Nicholas\_Santiago](https://forum.ansible.com/u/Nicholas_Santiago)\
**Replies:** 2\
**Last updated:** [February 20, 2017, 4:34pm UTC](https://forum.ansible.com/t/calling-a-dictionary-based-on-an-existing-variable/23729 "2017-02-20T16:34:47Z")

</div>

I have a playbook (ldapconfig.yml) with a variables file (ldapconfig\_vars.yml), and am hoping to use an inventory var to specify which dictionary of the below to call. So, if env=PVS, it calls the ldapserver\_pvs diction…

---

## [reboot with ignore\_errors still errors out](https://forum.ansible.com/t/reboot-with-ignore-errors-still-errors-out/23767)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 2\
**Last updated:** [February 20, 2017, 2:45pm UTC](https://forum.ansible.com/t/reboot-with-ignore-errors-still-errors-out/23767 "2017-02-20T14:45:39Z")

</div>

trying to reboot with ignore\_errors: true still errors out. control machine and all ceph nodes run ubuntu 16.04. ansible 2.2.1.0 installed with pip \`

---

## [Ansible Hangs at the end of a Host list](https://forum.ansible.com/t/ansible-hangs-at-the-end-of-a-host-list/23768)

<div class="topic-metadata">

**Author:** [@eyal\_gershon](https://forum.ansible.com/u/eyal_gershon)\
**Replies:** 0\
**Last updated:** [February 19, 2017, 10:00am UTC](https://forum.ansible.com/t/ansible-hangs-at-the-end-of-a-host-list/23768 "2017-02-19T10:00:27Z")

</div>

Hey Everyone, I am running ansible version 1.8.4. Running the same task on multiple Hosts list - \`

---

## [win\_comand / win\_shell : The system cannot find the file specified](https://forum.ansible.com/t/win-comand-win-shell-the-system-cannot-find-the-file-specified/23764)

<div class="topic-metadata">

**Author:** [@John\_Norris](https://forum.ansible.com/u/John_Norris)\
**Replies:** 2\
**Last updated:** [February 19, 2017, 8:12am UTC](https://forum.ansible.com/t/win-comand-win-shell-the-system-cannot-find-the-file-specified/23764 "2017-02-19T08:12:12Z")

</div>

Hi, I am currently just trying stuff on the command line, I will do the playbook later. Ansible 2.2.1.0 on centos7. Trying to run a command on a windows 10 PC. ansible mesh -u user -k -m win\_ping SSH password: mesh…

---

## [rebooting and detecting failure](https://forum.ansible.com/t/rebooting-and-detecting-failure/23766)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 0\
**Last updated:** [February 19, 2017, 3:22am UTC](https://forum.ansible.com/t/rebooting-and-detecting-failure/23766 "2017-02-19T03:22:20Z")

</div>

https://support.ansible.com/hc/en-us/articles/201958037-Reboot-a-server-and-wait-for-it-to-come-back \` name: restart machine command: shutdown -r now “Ansible updates triggered” async: 0 poll: 0 ignore\_errors: tru…

---

## [Generating html module docs locally?](https://forum.ansible.com/t/generating-html-module-docs-locally/23756)

<div class="topic-metadata">

**Author:** [@Lorin\_Hochstein2](https://forum.ansible.com/u/Lorin_Hochstein2)\
**Replies:** 2\
**Last updated:** [February 18, 2017, 4:58am UTC](https://forum.ansible.com/t/generating-html-module-docs-locally/23756 "2017-02-18T04:58:03Z")

</div>

I wanted to take a stab at https://github.com/ansible/ansible/issues/21556. I tried doing “make webdocs” against devel (7bf56cee), and got the following error: rendering: include\_role Traceback (most recent call last): …

---

## [ansible's ip filter are broken since a long time - alternatives?](https://forum.ansible.com/t/ansibles-ip-filter-are-broken-since-a-long-time-alternatives/23762)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 0\
**Last updated:** [February 17, 2017, 6:51pm UTC](https://forum.ansible.com/t/ansibles-ip-filter-are-broken-since-a-long-time-alternatives/23762 "2017-02-17T18:51:00Z")

</div>

Hi, since ansible's ip filter are broken \[1\] and don't look like they get fixed anytime soon I'm wondering if there are any other easy options? thanks, nusenu \[1\] https://github.com/ansible/ansible/issues/14829

---

## [True or false debug msg](https://forum.ansible.com/t/true-or-false-debug-msg/23760)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 2\
**Last updated:** [February 17, 2017, 5:47pm UTC](https://forum.ansible.com/t/true-or-false-debug-msg/23760 "2017-02-17T17:47:56Z")

</div>

All, Probably a crummy subject line, but here’s what I’m trying to do: I want my debug message to return “file exists” or file doesn’t exist. Here’s my playbook, so far:

---

## [New to Ansible - Want to Contribute](https://forum.ansible.com/t/new-to-ansible-want-to-contribute/23755)

<div class="topic-metadata">

**Author:** [@Dhruvil\_Thakkar](https://forum.ansible.com/u/Dhruvil_Thakkar)\
**Replies:** 1\
**Last updated:** [February 17, 2017, 3:38pm UTC](https://forum.ansible.com/t/new-to-ansible-want-to-contribute/23755 "2017-02-17T15:38:08Z")

</div>

Hello Everyone, I just started messing and learning ansible. I would like to contribute. I read in one of the documentation to drop a note in this mailing list. Please let me know how can I start contributing. -Regards…

---

## [Ansible Core Engine Freeze for Version 2.3](https://forum.ansible.com/t/ansible-core-engine-freeze-for-version-2-3/23759)

<div class="topic-metadata">

**Author:** [@jmckerr](https://forum.ansible.com/u/jmckerr)\
**Replies:** 0\
**Last updated:** [February 17, 2017, 3:21pm UTC](https://forum.ansible.com/t/ansible-core-engine-freeze-for-version-2-3/23759 "2017-02-17T15:21:36Z")

</div>

The next version of the open source Ansible project (version 2.3) is currently in development. I’m a little (2 days) late but the development branch for Ansible 2.3 Core Engine is now FROZEN for features. Bug fixes will …

---

## [Credstash Plugin Lookup Failure with Variable](https://forum.ansible.com/t/credstash-plugin-lookup-failure-with-variable/23758)

<div class="topic-metadata">

**Author:** [@Foster\_Rilindo](https://forum.ansible.com/u/Foster_Rilindo)\
**Replies:** 0\
**Last updated:** [February 17, 2017, 3:08pm UTC](https://forum.ansible.com/t/credstash-plugin-lookup-failure-with-variable/23758 "2017-02-17T15:08:21Z")

</div>

I am trying to lookup a secret through Ansible’s credstash plugin by first setting the variable of the table (since I have multiple credstash tables) and then looking it up - , something like this: \` credstash\_table: “…

---

## [Create a Array of integer](https://forum.ansible.com/t/create-a-array-of-integer/23724)

<div class="topic-metadata">

**Author:** [@Christian\_Iuga](https://forum.ansible.com/u/Christian_Iuga)\
**Replies:** 1\
**Last updated:** [February 17, 2017, 11:49am UTC](https://forum.ansible.com/t/create-a-array-of-integer/23724 "2017-02-17T11:49:36Z")

</div>

Hi, To manage ldap entry ( via new ansible modules ldap\_attr and ldap\_entry ) i need a different uidNumber than already exist to making it i’m doing these jobs : name: Initialize an empty list for our strings set\_fa…

---

## [How we declare 'ssh\_args' when use ansible api](https://forum.ansible.com/t/how-we-declare-ssh-args-when-use-ansible-api/23757)

<div class="topic-metadata">

**Author:** [@colynn\_liu](https://forum.ansible.com/u/colynn_liu)\
**Replies:** 0\
**Last updated:** [February 17, 2017, 7:43am UTC](https://forum.ansible.com/t/how-we-declare-ssh-args-when-use-ansible-api/23757 "2017-02-17T07:43:38Z")

</div>

\` \` \` \` even though, we can defined ssh\_args in ‘options’, but play\_context still use default defined of ‘ssh\_args’ ， \_ssh\_args = FieldAttribute(isa=‘string’, default=C.ANSIBLE\_SSH\_ARGS) \` get ssh options FIXME…

---

## [Ansible and Vsphere](https://forum.ansible.com/t/ansible-and-vsphere/23750)

<div class="topic-metadata">

**Author:** [@Robert\_Williams1](https://forum.ansible.com/u/Robert_Williams1)\
**Replies:** 1\
**Last updated:** [February 17, 2017, 7:36am UTC](https://forum.ansible.com/t/ansible-and-vsphere/23750 "2017-02-17T07:36:01Z")

</div>

All , i have searched many sites but i am able to get this playbook to work. I am trying to build a vm via ansible and i get the following error message below. I have also posted my playbook. Any help would be greatly ap…

---

## [OVF deployment in ESXi using Ansible](https://forum.ansible.com/t/ovf-deployment-in-esxi-using-ansible/18323)

<div class="topic-metadata">

**Author:** [@tarun\_emany](https://forum.ansible.com/u/tarun_emany)\
**Replies:** 1\
**Last updated:** [February 17, 2017, 1:39am UTC](https://forum.ansible.com/t/ovf-deployment-in-esxi-using-ansible/18323 "2017-02-17T01:39:46Z")

</div>

Hi All, Is there any way we can do OVF deployment using Ansible. I tried with pysphere but wanted to try with Ansible as well. -Tarun

---

## [\`from\_yaml\` seems to strips newlines from values in yaml strings](https://forum.ansible.com/t/from-yaml-seems-to-strips-newlines-from-values-in-yaml-strings/23749)

<div class="topic-metadata">

**Author:** [@james4](https://forum.ansible.com/u/james4)\
**Replies:** 0\
**Last updated:** [February 16, 2017, 8:26pm UTC](https://forum.ansible.com/t/from-yaml-seems-to-strips-newlines-from-values-in-yaml-strings/23749 "2017-02-16T20:26:23Z")

</div>

Name: "{{item.name}}" Platform: "{{item.platform}}" Attributes: PlatformCredential: "{{platform\_credential.stdout|regex\_replace('\\n', '\\\\n')}}" PlatformPrincipal: "{{platform\_principal.stdout|regex\_replace('\\n', …

---

## [How to use Ansible playbook loops to create multiple specific VMware guests on multiple free ESXi hosts using vsphere\_guest module.](https://forum.ansible.com/t/how-to-use-ansible-playbook-loops-to-create-multiple-specific-vmware-guests-on-multiple-free-esxi-hosts-using-vsphere-guest-module/23702)

<div class="topic-metadata">

**Author:** [@Alex\_Lien](https://forum.ansible.com/u/Alex_Lien)\
**Replies:** 4\
**Last updated:** [February 16, 2017, 7:57pm UTC](https://forum.ansible.com/t/how-to-use-ansible-playbook-loops-to-create-multiple-specific-vmware-guests-on-multiple-free-esxi-hosts-using-vsphere-guest-module/23702 "2017-02-16T19:57:18Z")

</div>

I am running ansible version 2.2.0.0. I have several free ESXi hosts. I would like to create multiple specific guests on each of the free ESXi hosts. I have tried to use with\_dict with guests variables, hoping to loop th…

---

## [ansible\_connection ansible\_user](https://forum.ansible.com/t/ansible-connection-ansible-user/23748)

<div class="topic-metadata">

**Author:** [@trg.achilles](https://forum.ansible.com/u/trg.achilles)\
**Replies:** 0\
**Last updated:** [February 16, 2017, 7:25pm UTC](https://forum.ansible.com/t/ansible-connection-ansible-user/23748 "2017-02-16T19:25:22Z")

</div>

Hello, I’m new to ansible and struggle to find a way create a role that could install application both on Windows and Linux os. I’m having problem to allocate correct ansible\_connection ansible\_user. It seems like if I …

---

## [Reworking a few AWS modules...looking for advice](https://forum.ansible.com/t/reworking-a-few-aws-modules-looking-for-advice/23669)

<div class="topic-metadata">

**Author:** [@Jackson\_Murtha](https://forum.ansible.com/u/Jackson_Murtha)\
**Replies:** 3\
**Last updated:** [February 16, 2017, 6:51pm UTC](https://forum.ansible.com/t/reworking-a-few-aws-modules-looking-for-advice/23669 "2017-02-16T18:51:50Z")

</div>

Ahoy, I’m new to this list, so apologies if I violate convention (let me know). I’ve been working happily with Ansible for a while, but I’ve found many AWS modules behave in unexpected ways. Many are excellent, but the…

---

## [Ansible installation without internet](https://forum.ansible.com/t/ansible-installation-without-internet/23740)

<div class="topic-metadata">

**Author:** [@Abhinav\_Sanakkayala](https://forum.ansible.com/u/Abhinav_Sanakkayala)\
**Replies:** 1\
**Last updated:** [February 16, 2017, 3:45pm UTC](https://forum.ansible.com/t/ansible-installation-without-internet/23740 "2017-02-16T15:45:43Z")

</div>

Hi All, I am trying to install Ansible on my Ubuntu16.04 version, the path that I can think of is to first install the Python Jinja2 package and then set the source for the Ansible installation file. I have googled it a…

---

## [Not able to use full URI in the playbook](https://forum.ansible.com/t/not-able-to-use-full-uri-in-the-playbook/23745)

<div class="topic-metadata">

**Author:** [@shanmuga\_Mahalingam](https://forum.ansible.com/u/shanmuga_Mahalingam)\
**Replies:** 0\
**Last updated:** [February 16, 2017, 2:33pm UTC](https://forum.ansible.com/t/not-able-to-use-full-uri-in-the-playbook/23745 "2017-02-16T14:33:59Z")

</div>

I tried to specify full URI in the vurtual\_network\_name and ansible can’t find the subnet within the virtual network. azure\_rm\_networkinterface: name: testnetworkinfrastructure resource\_group: testsourcegroup1 virtua…

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

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