# Archives

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

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

**Page:** 577

---

## [SSLError: \[SSL: CERTIFICATE\_VERIFY\_FAILED\] certificate verify failed](https://forum.ansible.com/t/sslerror-ssl-certificate-verify-failed-certificate-verify-failed/21870)

<div class="topic-metadata">

**Author:** [@Hugo\_Enrique\_Hernand](https://forum.ansible.com/u/Hugo_Enrique_Hernand)\
**Replies:** 5\
**Last updated:** [June 30, 2016, 4:46pm UTC](https://forum.ansible.com/t/sslerror-ssl-certificate-verify-failed-certificate-verify-failed/21870 "2016-06-30T16:46:53Z")

</div>

Hi I’m running ansible against a windows host for testing purposes. but i am getting this error : Red Hat 7.2 Ansible 1.9.2 \[ansible-windows\]$ ansible windows -i host -m win\_ping -vvvvv \<srvspodvlmx01.wt.mx.corp\> ES…

---

## [What arguments/parameters to deploy to VM?](https://forum.ansible.com/t/what-arguments-parameters-to-deploy-to-vm/21900)

<div class="topic-metadata">

**Author:** [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Replies:** 0\
**Last updated:** [June 30, 2016, 1:53pm UTC](https://forum.ansible.com/t/what-arguments-parameters-to-deploy-to-vm/21900 "2016-06-30T13:53:44Z")

</div>

I have a Virtualbox VM (CentOS) I need to deploy packages to. What are the settings to use the Vagrant SSH tunnel, so that Ansible can deploy to the VM just like to a remote physical machine? The user would be ‘vagrant…

---

## [How to use pip module wiht multiple packages and versions](https://forum.ansible.com/t/how-to-use-pip-module-wiht-multiple-packages-and-versions/21897)

<div class="topic-metadata">

**Author:** [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Replies:** 2\
**Last updated:** [June 30, 2016, 1:48pm UTC](https://forum.ansible.com/t/how-to-use-pip-module-wiht-multiple-packages-and-versions/21897 "2016-06-30T13:48:22Z")

</div>

I have a long list packages to install in the fashion: pip install == I can see that you can do pip: name={{ item }} state=present with\_items: - \<package\> - \<package\> ... But how can I specify the version in a…

---

## [run playbooks in rc.local](https://forum.ansible.com/t/run-playbooks-in-rc-local/21852)

<div class="topic-metadata">

**Author:** [@Xiaohui\_Liu](https://forum.ansible.com/u/Xiaohui_Liu)\
**Replies:** 2\
**Last updated:** [June 30, 2016, 1:34pm UTC](https://forum.ansible.com/t/run-playbooks-in-rc-local/21852 "2016-06-30T13:34:07Z")

</div>

I met a problem using ansible-playbook today. I prepared a playbook, and tried to trigger the playbook inside rc.local. The idea is that the machine will be bootstrapped automatically on boot. But rc.local does not out…

---

## [Single quotes inside Jinja2 string literals](https://forum.ansible.com/t/single-quotes-inside-jinja2-string-literals/20358)

<div class="topic-metadata">

**Author:** [@Christian\_Thiemann](https://forum.ansible.com/u/Christian_Thiemann)\
**Replies:** 2\
**Last updated:** [June 30, 2016, 10:12am UTC](https://forum.ansible.com/t/single-quotes-inside-jinja2-string-literals/20358 "2016-06-30T10:12:27Z")

</div>

How can I include single quotes in single-quoted Jinja2 string literals in Ansible 2.0? Minimal test case: \`

---

## [deploy VM undera  DRS cluster](https://forum.ansible.com/t/deploy-vm-undera-drs-cluster/21867)

<div class="topic-metadata">

**Author:** [@Ayan\_Dasgupta](https://forum.ansible.com/u/Ayan_Dasgupta)\
**Replies:** 2\
**Last updated:** [June 30, 2016, 7:30am UTC](https://forum.ansible.com/t/deploy-vm-undera-drs-cluster/21867 "2016-06-30T07:30:38Z")

</div>

Hi, Can we deploy a VM under a specific DRS cluster instead of providing datastore name. Any help would be greatly appreciated. Warm regards, Ayan

---

## [question on lineinfile module](https://forum.ansible.com/t/question-on-lineinfile-module/21884)

<div class="topic-metadata">

**Author:** [@Werner\_Flamme](https://forum.ansible.com/u/Werner_Flamme)\
**Replies:** 4\
**Last updated:** [June 30, 2016, 6:43am UTC](https://forum.ansible.com/t/question-on-lineinfile-module/21884 "2016-06-30T06:43:17Z")

</div>

Hi everyone, I have one play that does not do what I want it to: - name: set kernel multiversions lineinfile: dest: /etc/zypp/zypp.conf line: "multiversion.kernels = latest,oldest,running" regexp: "mu…

---

## [Ansible + Packer = nothing?](https://forum.ansible.com/t/ansible-packer-nothing/21893)

<div class="topic-metadata">

**Author:** [@Foster\_Rilindo](https://forum.ansible.com/u/Foster_Rilindo)\
**Replies:** 0\
**Last updated:** [June 29, 2016, 7:02pm UTC](https://forum.ansible.com/t/ansible-packer-nothing/21893 "2016-06-29T19:02:24Z")

</div>

I dumbs. I had a reboot option in my packer config, which mean that the machine was rebooting right when I was running ansible code. It works now. J Rilindo

---

## [List all variables/facts that are used in a playbook?](https://forum.ansible.com/t/list-all-variables-facts-that-are-used-in-a-playbook/21892)

<div class="topic-metadata">

**Author:** [@Kevin\_Schumacher](https://forum.ansible.com/u/Kevin_Schumacher)\
**Replies:** 1\
**Last updated:** [June 29, 2016, 6:52pm UTC](https://forum.ansible.com/t/list-all-variables-facts-that-are-used-in-a-playbook/21892 "2016-06-29T18:52:57Z")

</div>

Hi all, I am looking for a way to list all variables referenced by a playbook without executing any tasks. Ideally, I would also be able to spit out the values of those variables for each host matched in the play. My u…

---

## [Using backslash in Windows path](https://forum.ansible.com/t/using-backslash-in-windows-path/21875)

<div class="topic-metadata">

**Author:** [@Karol\_Olczak](https://forum.ansible.com/u/Karol_Olczak)\
**Replies:** 4\
**Last updated:** [June 29, 2016, 6:21pm UTC](https://forum.ansible.com/t/using-backslash-in-windows-path/21875 "2016-06-29T18:21:36Z")

</div>

Hi What is the most efficient way to "push" backslashes in ansible playbooks ? My playbook does not work because Python cut backslashes or add new one. e.g. //hostname001/foo/

---

## [Synchronize module fails to push data to hosted local VMs](https://forum.ansible.com/t/synchronize-module-fails-to-push-data-to-hosted-local-vms/21854)

<div class="topic-metadata">

**Author:** [@Frederic\_Lionello](https://forum.ansible.com/u/Frederic_Lionello)\
**Replies:** 2\
**Last updated:** [June 29, 2016, 2:40pm UTC](https://forum.ansible.com/t/synchronize-module-fails-to-push-data-to-hosted-local-vms/21854 "2016-06-29T14:40:24Z")

</div>

Hello, In my ansible inventory, I have VMs on localhost defined: myvm ansible\_port=15022 ansible\_host=127.0.0.1 ansible\_user=tibco I’m trying to synchronize a local directory from the control host (running ansible) to…

---

## [Ansible set\_fact not working](https://forum.ansible.com/t/ansible-set-fact-not-working/21878)

<div class="topic-metadata">

**Author:** [@sreenivas\_narayan](https://forum.ansible.com/u/sreenivas_narayan)\
**Replies:** 1\
**Last updated:** [June 29, 2016, 1:57pm UTC](https://forum.ansible.com/t/ansible-set-fact-not-working/21878 "2016-06-29T13:57:15Z")

</div>

I am trying to list the directory size of certain directory in list of servers. In the below playbook the ruby script along with ansible task will create file with all instance details and saving it in region-ec2-list.tx…

---

## [~/.my.cnf path](https://forum.ansible.com/t/my-cnf-path/21888)

<div class="topic-metadata">

**Author:** [@sdarwin](https://forum.ansible.com/u/sdarwin)\
**Replies:** 0\
**Last updated:** [June 29, 2016, 11:10am UTC](https://forum.ansible.com/t/my-cnf-path/21888 "2016-06-29T11:10:15Z")

</div>

Hi, Question about the location of ~/.my.cnf . For ansible, would this refer to the “become” user’s home directory ( which is /root/.my.cnf ), or the ansible user’s home directory ( such as, during testing, /home/vagran…

---

## [About Inventory](https://forum.ansible.com/t/about-inventory/21886)

<div class="topic-metadata">

**Author:** [@user12](https://forum.ansible.com/u/user12)\
**Replies:** 2\
**Last updated:** [June 29, 2016, 10:37am UTC](https://forum.ansible.com/t/about-inventory/21886 "2016-06-29T10:37:40Z")

</div>

I’am a beginning user of Ansible,One problem has been bothering me： whether all host must be add into a single file with “hosts”? if i have a lots of host,It will lead to very large files,How to divide into multiple fil…

---

## [Still in 2.1?: Nested values always cast to string](https://forum.ansible.com/t/still-in-2-1-nested-values-always-cast-to-string/21871)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 4\
**Last updated:** [June 29, 2016, 8:03am UTC](https://forum.ansible.com/t/still-in-2-1-nested-values-always-cast-to-string/21871 "2016-06-29T08:03:20Z")

</div>

I thought one of the big improvements in 2.x was not blindly casting nested values to strings: \` vars: a\_var\_number: 200 tasks: mymodule: module\_args: a\_fixed\_number: 100 a\_var\_number: “{{ a\_number }}” a\_var\_nu…

---

## [Installation of 2.0](https://forum.ansible.com/t/installation-of-2-0/21611)

<div class="topic-metadata">

**Author:** [@aaron.trujillo](https://forum.ansible.com/u/aaron.trujillo)\
**Replies:** 12\
**Last updated:** [June 29, 2016, 6:40am UTC](https://forum.ansible.com/t/installation-of-2-0/21611 "2016-06-29T06:40:59Z")

</div>

I am in need of assistance in upgrading Ansible to version 2.0. Every time I attempt to install I get the 1.7.2 version. I have about 10 windows vm machines that I am looking to manage with the Ansible application and …

---

## [Ansible + Packer = nothing?](https://forum.ansible.com/t/ansible-packer-nothing/21883)

<div class="topic-metadata">

**Author:** [@Foster\_Rilindo](https://forum.ansible.com/u/Foster_Rilindo)\
**Replies:** 0\
**Last updated:** [June 29, 2016, 12:02am UTC](https://forum.ansible.com/t/ansible-packer-nothing/21883 "2016-06-29T00:02:01Z")

</div>

I am currently experimenting with deploying using Packer’s Ansible local provisioning and for some odd reason, it doesn’t appear to be executing the tasks in the playbook. Packer, after installing the pre-requiresites fo…

---

## [\[RFC\] - Migrating ansible's paramiko SSH client to asynchronous parallel SSH client](https://forum.ansible.com/t/rfc-migrating-ansibles-paramiko-ssh-client-to-asynchronous-parallel-ssh-client/21672)

<div class="topic-metadata">

**Author:** [@Dan9](https://forum.ansible.com/u/Dan9)\
**Replies:** 2\
**Last updated:** [June 28, 2016, 11:17pm UTC](https://forum.ansible.com/t/rfc-migrating-ansibles-paramiko-ssh-client-to-asynchronous-parallel-ssh-client/21672 "2016-06-28T23:17:05Z")

</div>

Hello dev list, Many thanks for your efforts on ansible, very useful tool. Have a new feature I’d like to work on that would like to float by you for comments and if it sounds like a good feature to implement before su…

---

## [Windows - Ansible freezes when network connection disrupted](https://forum.ansible.com/t/windows-ansible-freezes-when-network-connection-disrupted/21342)

<div class="topic-metadata">

**Author:** [@hodgese](https://forum.ansible.com/u/hodgese)\
**Replies:** 10\
**Last updated:** [June 28, 2016, 10:52pm UTC](https://forum.ansible.com/t/windows-ansible-freezes-when-network-connection-disrupted/21342 "2016-06-28T22:52:57Z")

</div>

I am running Windows modules that disrupt the network connection. For instance, the installation of a network driver or the creation of a Network Team. The IP address doesn’t change, and the network connection is only ou…

---

## [500 WinRMTransport. SSL: CERTIFCATE\_VERIFY\_FAILED](https://forum.ansible.com/t/500-winrmtransport-ssl-certifcate-verify-failed/21881)

<div class="topic-metadata">

**Author:** [@Brian](https://forum.ansible.com/u/Brian)\
**Replies:** 1\
**Last updated:** [June 28, 2016, 10:01pm UTC](https://forum.ansible.com/t/500-winrmtransport-ssl-certifcate-verify-failed/21881 "2016-06-28T22:01:30Z")

</div>

Installed ansible 2.1.0.0 on Ubuntu and I’m getting the infamous: ssl: 500 WinRMTransport. \[SSL: CERTIFICATE\_VERIFY\_FAILED\] certificate verify failed (\_ssl.c:590) error when trying to connect to a windows client. I fol…

---

## [Ubuntu playbook syntax](https://forum.ansible.com/t/ubuntu-playbook-syntax/21879)

<div class="topic-metadata">

**Author:** [@teddy\_mills](https://forum.ansible.com/u/teddy_mills)\
**Replies:** 1\
**Last updated:** [June 28, 2016, 9:12pm UTC](https://forum.ansible.com/t/ubuntu-playbook-syntax/21879 "2016-06-28T21:12:06Z")

</div>

This playbook works, but I dont think this is the proper way to install multiple packages. Can someone correct this and show how it should be done ? TIA ansible-playbook /root/aplays/core.pb -u teddy -k

---

## [Authentication or Permission Failure](https://forum.ansible.com/t/authentication-or-permission-failure/21882)

<div class="topic-metadata">

**Author:** [@brendan\_maynard](https://forum.ansible.com/u/brendan_maynard)\
**Replies:** 1\
**Last updated:** [June 28, 2016, 8:33pm UTC](https://forum.ansible.com/t/authentication-or-permission-failure/21882 "2016-06-28T20:33:32Z")

</div>

I am getting a issue that appears to be a file E & W error on my local machine when executing simple ad hoc modules (i.e. ping) - test@ubuntu:~$ ansible hosts -m ping -vvvv Using /etc/ansible/ansible.cfg as config file …

---

## [Environment-separated inventories ignored with cached host data](https://forum.ansible.com/t/environment-separated-inventories-ignored-with-cached-host-data/21880)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 1\
**Last updated:** [June 28, 2016, 7:08pm UTC](https://forum.ansible.com/t/environment-separated-inventories-ignored-with-cached-host-data/21880 "2016-06-28T19:08:21Z")

</div>

I have my inventory separated into environment-specific directories, with an ec2 dynamic inventory script in each inventory dir. Each ec2 inventory script filters out instances by their “Environment” tag. I run my playbo…

---

## [Creating Dynamic Inventory with CloudFormation Outputs](https://forum.ansible.com/t/creating-dynamic-inventory-with-cloudformation-outputs/21799)

<div class="topic-metadata">

**Author:** [@divya\_mangotra](https://forum.ansible.com/u/divya_mangotra)\
**Replies:** 2\
**Last updated:** [June 28, 2016, 6:04pm UTC](https://forum.ansible.com/t/creating-dynamic-inventory-with-cloudformation-outputs/21799 "2016-06-28T18:04:50Z")

</div>

I am using AWS CloudFormation to create infrastructure and the template creates EC2 instances, Elasticache cluster and RDS instance. Now, I am wondering as to how to use the CloudFormation outputs to create Ansible Dynam…

---

## [ec2.py and the incredibly no good bad corporate overlords policies.](https://forum.ansible.com/t/ec2-py-and-the-incredibly-no-good-bad-corporate-overlords-policies/21856)

<div class="topic-metadata">

**Author:** [@Joe\_Garcia](https://forum.ansible.com/u/Joe_Garcia)\
**Replies:** 2\
**Last updated:** [June 28, 2016, 4:04pm UTC](https://forum.ansible.com/t/ec2-py-and-the-incredibly-no-good-bad-corporate-overlords-policies/21856 "2016-06-28T16:04:06Z")

</div>

Hey All, Our corporate overlords have deemed it prudent to not allow IP addresses to go out through our proxy. So we cannot ssh to an IP address and have to use the FQDN. The ec2.py script does not return the DNS record…

---

## [ansible when statement error](https://forum.ansible.com/t/ansible-when-statement-error/21877)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 2\
**Last updated:** [June 28, 2016, 2:07pm UTC](https://forum.ansible.com/t/ansible-when-statement-error/21877 "2016-06-28T14:07:12Z")

</div>

\--- - hosts: all gather\_facts: no vars: XQWATCHER\_GIT\_IDENTITY: !!null tasks: - debug: msg: "Test Success" when: XQWATCHER\_GIT\_IDENTITY is defined Getting this error when I run the playbook …

---

## [lineinfile with a backslash in the regexp field](https://forum.ansible.com/t/lineinfile-with-a-backslash-in-the-regexp-field/21876)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 2:01pm UTC](https://forum.ansible.com/t/lineinfile-with-a-backslash-in-the-regexp-field/21876 "2016-06-28T14:01:23Z")

</div>

Hello, I would like to replace the following line: jstl.jar,taglibs-standard-spec-.jar\*\*,\* with: jstl.jar,taglibs-standard-spec-\*.jar,icu4j-2.6.1.jar,\\ I tried to double the backslash without any success, the issue …

---

## [compare dates in filenames to variable](https://forum.ansible.com/t/compare-dates-in-filenames-to-variable/21874)

<div class="topic-metadata">

**Author:** [@Guy\_Przytula](https://forum.ansible.com/u/Guy_Przytula)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 11:20am UTC](https://forum.ansible.com/t/compare-dates-in-filenames-to-variable/21874 "2016-06-28T11:20:17Z")

</div>

we are using an older version of ansible 1.4 (Because we had a problem after upgarde) on linux and targetting linux and aix I have a question about how to : having a folder with filenames like : SAP500.4.db2istm5.DBPAR…

---

## [by using ansible-playbook how to built a server on awazon web service cloud](https://forum.ansible.com/t/by-using-ansible-playbook-how-to-built-a-server-on-awazon-web-service-cloud/21873)

<div class="topic-metadata">

**Author:** [@rameshlinux86](https://forum.ansible.com/u/rameshlinux86)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 9:26am UTC](https://forum.ansible.com/t/by-using-ansible-playbook-how-to-built-a-server-on-awazon-web-service-cloud/21873 "2016-06-28T09:26:13Z")

</div>

Hi how to create ansible-playbook on awazon web services cloud.? install a t2.micro server in the “us east” region with 15Gb additional EBS storage. pick ubuntu 14.04 LTS 64 bit and install apache,php,mysql,ntp pleas…

---

## [how can i use delegate\_to with special connection plugin](https://forum.ansible.com/t/how-can-i-use-delegate-to-with-special-connection-plugin/21872)

<div class="topic-metadata">

**Author:** [@Fans\_Miea](https://forum.ansible.com/u/Fans_Miea)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 7:48am UTC](https://forum.ansible.com/t/how-can-i-use-delegate-to-with-special-connection-plugin/21872 "2016-06-28T07:48:29Z")

</div>

i rewrite the connection plugin, and i can use it with name: check version shell: sudo -u admin rpm -q tair | grep -v {{ version }} but when i use it like name: check version shell: sudo -u admin rpm -q tair | gre…

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

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