# Latest

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

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

**Page:** 890

---

## [shell module and escaping special characters](https://forum.ansible.com/t/shell-module-and-escaping-special-characters/17669)

<div class="topic-metadata">

**Author:** [@Jim\_McMahon](https://forum.ansible.com/u/Jim_McMahon)\
**Replies:** 2\
**Last updated:** [March 5, 2015, 4:10am UTC](https://forum.ansible.com/t/shell-module-and-escaping-special-characters/17669 "2015-03-05T04:10:58Z")

</div>

The shell module seems to escape special characters like \\ and ". Is there a way so that the shell module doesn’t escape these characters? Are there any tips on how handle situations where you want double quotes?

---

## [using dynamic inventory (folder) with vars\_plugins fails](https://forum.ansible.com/t/using-dynamic-inventory-folder-with-vars-plugins-fails/17671)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 0\
**Last updated:** [March 5, 2015, 12:44am UTC](https://forum.ansible.com/t/using-dynamic-inventory-folder-with-vars-plugins-fails/17671 "2015-03-05T00:44:03Z")

</div>

I use different ansible canonical project directories to separate out devops from platform from deployment variables. Ansible affords gluing things together quite nicely using the roles\_path: in .ansible.cfg However,…

---

## [URI Module instead of curl](https://forum.ansible.com/t/uri-module-instead-of-curl/17665)

<div class="topic-metadata">

**Author:** [@cselden](https://forum.ansible.com/u/cselden)\
**Replies:** 1\
**Last updated:** [March 5, 2015, 12:01am UTC](https://forum.ansible.com/t/uri-module-instead-of-curl/17665 "2015-03-05T00:01:22Z")

</div>

Hey all, Trying to use the URI module instead of a curl command and I can’t seem to get the usage right. Here’s the shell command: curl -X POST --data “action=login&username={{api\_user}}&password={{api\_pass}}” {{api\_U…

---

## [Flummoxed with tags and environment variables](https://forum.ansible.com/t/flummoxed-with-tags-and-environment-variables/17652)

<div class="topic-metadata">

**Author:** [@James\_Armstrong](https://forum.ansible.com/u/James_Armstrong)\
**Replies:** 1\
**Last updated:** [March 4, 2015, 10:45pm UTC](https://forum.ansible.com/t/flummoxed-with-tags-and-environment-variables/17652 "2015-03-04T22:45:00Z")

</div>

We’re trying to incorporate some parts of the CIS tree into our ansible playbooks using include: include: “/{{ansible\_env.CIS\_HOME)}}/CIS/playbook.yml tags=section1.1.14,section1.2.1,section1.2.2,section1.5.2,section1.…

---

## [URI Module and self signed SSL cerfiticates](https://forum.ansible.com/t/uri-module-and-self-signed-ssl-cerfiticates/17662)

<div class="topic-metadata">

**Author:** [@Jan\_Mattsson](https://forum.ansible.com/u/Jan_Mattsson)\
**Replies:** 1\
**Last updated:** [March 4, 2015, 10:44pm UTC](https://forum.ansible.com/t/uri-module-and-self-signed-ssl-cerfiticates/17662 "2015-03-04T22:44:28Z")

</div>

I am trying to connect to an internal web service that uses SSL and self signed certificates When I try to connect ansible fails, httplib2 gets SSL handshake error with the message “SSL23\_GET\_SERVER\_HELLO:unknown protoc…

---

## [Gentoo node not emerging package](https://forum.ansible.com/t/gentoo-node-not-emerging-package/17654)

<div class="topic-metadata">

**Author:** [@Jose\_Guevarra](https://forum.ansible.com/u/Jose_Guevarra)\
**Replies:** 2\
**Last updated:** [March 4, 2015, 9:42pm UTC](https://forum.ansible.com/t/gentoo-node-not-emerging-package/17654 "2015-03-04T21:42:33Z")

</div>

Hi, I’m trying to have a remote Gentoo node emerge a package but, the control machine states that “ok: \[rnce-lcl\] =\> {“changed”: false, “msg”: “Packages already present.”}”. Control machine is ansible 1.8.2 on CentOS7

---

## [Properly wait for apache to run before inserting into load balancer](https://forum.ansible.com/t/properly-wait-for-apache-to-run-before-inserting-into-load-balancer/17667)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 2\
**Last updated:** [March 4, 2015, 8:29pm UTC](https://forum.ansible.com/t/properly-wait-for-apache-to-run-before-inserting-into-load-balancer/17667 "2015-03-04T20:29:56Z")

</div>

In my post task I insert the web servers back into the pool. What’s a good way to make sure Apache is running prior to running the post task section? post\_tasks: name: enable in the lb netscaler: nsc\_host={{nsc\_host…

---

## [Ansible for ypinit](https://forum.ansible.com/t/ansible-for-ypinit/17666)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 0\
**Last updated:** [March 4, 2015, 8:02pm UTC](https://forum.ansible.com/t/ansible-for-ypinit/17666 "2015-03-04T20:02:50Z")

</div>

Hi there, I am working on making a role for nis slave server. Has anyone already written some Ansible that works instead of the command-line interactive utility ypinit? Joanna Delaporte

---

## [Tagging EC2 VPC route tables and gateways](https://forum.ansible.com/t/tagging-ec2-vpc-route-tables-and-gateways/16296)

<div class="topic-metadata">

**Author:** [@Steven\_Ringo](https://forum.ansible.com/u/Steven_Ringo)\
**Replies:** 4\
**Last updated:** [March 4, 2015, 5:22pm UTC](https://forum.ansible.com/t/tagging-ec2-vpc-route-tables-and-gateways/16296 "2015-03-04T17:22:13Z")

</div>

Hi, We are looking at having a policy that all resources on AWS have tags. I would like to add tags to route tables and gateways. It doesn’t seem to be available using ec2\_vpc, where these are initially defined. There …

---

## [Best client platform to run Ansible from?](https://forum.ansible.com/t/best-client-platform-to-run-ansible-from/17622)

<div class="topic-metadata">

**Author:** [@Bruce](https://forum.ansible.com/u/Bruce)\
**Replies:** 5\
**Last updated:** [March 4, 2015, 4:02pm UTC](https://forum.ansible.com/t/best-client-platform-to-run-ansible-from/17622 "2015-03-04T16:02:03Z")

</div>

Hi, I asked this in the github issue tracker, but the mailing list is a more appropriate place. I have a 2k+ server farm, with a mix of operating systems, and the problems associated with large installs. (Some hosts won…

---

## [Python Module not working](https://forum.ansible.com/t/python-module-not-working/17633)

<div class="topic-metadata">

**Author:** [@Cali\_Ban](https://forum.ansible.com/u/Cali_Ban)\
**Replies:** 1\
**Last updated:** [March 4, 2015, 3:17pm UTC](https://forum.ansible.com/t/python-module-not-working/17633 "2015-03-04T15:17:29Z")

</div>

Hello, while the example time module in the ansible documentation is working, i wrote a new simple test module, but this is not running: \` import socket import json hostname = str(socket.gethostname()) print json.d…

---

## [managing Gentoo services](https://forum.ansible.com/t/managing-gentoo-services/17630)

<div class="topic-metadata">

**Author:** [@Phil\_Barron](https://forum.ansible.com/u/Phil_Barron)\
**Replies:** 1\
**Last updated:** [March 4, 2015, 2:59pm UTC](https://forum.ansible.com/t/managing-gentoo-services/17630 "2015-03-04T14:59:48Z")

</div>

Hi, I have a playbook that enables the vixie-cron service on Gentoo However it fails to start the service using init scripts. Is there a different way of managing services on Gentoo systems? Thanks.

---

## [Loops in Variable Files](https://forum.ansible.com/t/loops-in-variable-files/17635)

<div class="topic-metadata">

**Author:** [@Kelvin\_Nicholson](https://forum.ansible.com/u/Kelvin_Nicholson)\
**Replies:** 1\
**Last updated:** [March 4, 2015, 2:56pm UTC](https://forum.ansible.com/t/loops-in-variable-files/17635 "2015-03-04T14:56:27Z")

</div>

Hi, I’m wishing to use various Roles from Galaxy, and they often require configuration via variables. My question is: is it possible to dynamically build these files? For instance, let’s say I want to configure a few …

---

## [list-tasks function won't work with skip-tags](https://forum.ansible.com/t/list-tasks-function-wont-work-with-skip-tags/17634)

<div class="topic-metadata">

**Author:** [@operations.v3d](https://forum.ansible.com/u/operations.v3d)\
**Replies:** 1\
**Last updated:** [March 4, 2015, 2:51pm UTC](https://forum.ansible.com/t/list-tasks-function-wont-work-with-skip-tags/17634 "2015-03-04T14:51:49Z")

</div>

Hi all, I am trying to know which tasks will be played with the –list-tasks option. I want also to specified tags to be skipped with –skip-tags. The use of these two options produce strange behavior. To illustrate: I …

---

## [changelog](https://forum.ansible.com/t/changelog/17636)

<div class="topic-metadata">

**Author:** [@James\_Morgan](https://forum.ansible.com/u/James_Morgan)\
**Replies:** 1\
**Last updated:** [March 4, 2015, 2:26pm UTC](https://forum.ansible.com/t/changelog/17636 "2015-03-04T14:26:23Z")

</div>

Hi, Its there a different changelog to https://github.com/ansible/ansible/blob/devel/CHANGELOG.md or is it just out of date I’m keen to see what has been included in 1.8.3/4 Thanks J

---

## [Not able to configure server using Ansible Dynamic Inventory](https://forum.ansible.com/t/not-able-to-configure-server-using-ansible-dynamic-inventory/17643)

<div class="topic-metadata">

**Author:** [@Rahul\_Mehrotra](https://forum.ansible.com/u/Rahul_Mehrotra)\
**Replies:** 2\
**Last updated:** [March 3, 2015, 11:00pm UTC](https://forum.ansible.com/t/not-able-to-configure-server-using-ansible-dynamic-inventory/17643 "2015-03-03T23:00:24Z")

</div>

I am using ec2.py dynamic inventory for provisioning with ansible. I have placed the ec2.py in /etc/ansible/hosts file and marked it executable. I also have the ec2.ini file in /etc/ansible/hosts. \[ec2\] regions = us-w…

---

## [Setting ansible\_sudo\_pass in ansible.cfg?](https://forum.ansible.com/t/setting-ansible-sudo-pass-in-ansible-cfg/17656)

<div class="topic-metadata">

**Author:** [@Simon\_Munoz](https://forum.ansible.com/u/Simon_Munoz)\
**Replies:** 3\
**Last updated:** [March 3, 2015, 7:50pm UTC](https://forum.ansible.com/t/setting-ansible-sudo-pass-in-ansible-cfg/17656 "2015-03-03T19:50:50Z")

</div>

Hi all, is it possible to set ansible\_sudo\_pass in /etc/ansible/ansible.cfg to avoid having to enter the sudo pass in a group of local clients? Thanks in advance, Simon.

---

## [Writing ansible module in shell/bash script](https://forum.ansible.com/t/writing-ansible-module-in-shell-bash-script/12145)

<div class="topic-metadata">

**Author:** [@Ser\_Heang\_Tan](https://forum.ansible.com/u/Ser_Heang_Tan)\
**Replies:** 15\
**Last updated:** [March 3, 2015, 7:01pm UTC](https://forum.ansible.com/t/writing-ansible-module-in-shell-bash-script/12145 "2015-03-03T19:01:04Z")

</div>

Hi, I am not sure whether there is any document on writing BASH/SH module in ansible, but I did found a few example. But I would like to know what is return value for JSON as indicated in this post here https://groups.g…

---

## [Hacky solution for running synchronize with sudo](https://forum.ansible.com/t/hacky-solution-for-running-synchronize-with-sudo/17659)

<div class="topic-metadata">

**Author:** [@Mirko\_Friedenhagen](https://forum.ansible.com/u/Mirko_Friedenhagen)\
**Replies:** 0\
**Last updated:** [March 3, 2015, 4:32pm UTC](https://forum.ansible.com/t/hacky-solution-for-running-synchronize-with-sudo/17659 "2015-03-03T16:32:49Z")

</div>

Hello, I need to run a synchronize task as user root to copy some files while preserving permissions etc. My first solution was to create an exception so the ssh user is allowed to run rsync via a sudoers rule with N…

---

## [Problem utilizing Survey data in template](https://forum.ansible.com/t/problem-utilizing-survey-data-in-template/17657)

<div class="topic-metadata">

**Author:** [@Jay\_Turner](https://forum.ansible.com/u/Jay_Turner)\
**Replies:** 1\
**Last updated:** [March 3, 2015, 2:00pm UTC](https://forum.ansible.com/t/problem-utilizing-survey-data-in-template/17657 "2015-03-03T14:00:46Z")

</div>

I am using a survey (textarea) to prompt for one or more entity names, and then wish to loop through those names in a template, creating a stanza for each entity. But it seems that no matter what types of escaping/format…

---

## [Custom startup scripts not working with service module](https://forum.ansible.com/t/custom-startup-scripts-not-working-with-service-module/17658)

<div class="topic-metadata">

**Author:** [@James\_Martin1](https://forum.ansible.com/u/James_Martin1)\
**Replies:** 0\
**Last updated:** [March 3, 2015, 1:44pm UTC](https://forum.ansible.com/t/custom-startup-scripts-not-working-with-service-module/17658 "2015-03-03T13:44:02Z")

</div>

Init scripts should follow the LSB standard for init scripts and return the appropriate return codes for the service module to interact with them properly: http://refspecs.linux-foundation.org/LSB\_3.2.0/LSB-Core-generic/…

---

## [Command line variables not respected in case of an include and variable rename](https://forum.ansible.com/t/command-line-variables-not-respected-in-case-of-an-include-and-variable-rename/17655)

<div class="topic-metadata">

**Author:** [@Ivan\_Spasov](https://forum.ansible.com/u/Ivan_Spasov)\
**Replies:** 0\
**Last updated:** [March 3, 2015, 10:05am UTC](https://forum.ansible.com/t/command-line-variables-not-respected-in-case-of-an-include-and-variable-rename/17655 "2015-03-03T10:05:46Z")

</div>

I have the following scenarion I have definied a variable named old\_var\_name inside group\_vars/all/common.yml the following way group\_vars/all/common.yml old\_var\_name: some\_text I have a foo.yml and a bar.yml files d…

---

## [Running ansible from jenkins execute shell](https://forum.ansible.com/t/running-ansible-from-jenkins-execute-shell/16291)

<div class="topic-metadata">

**Author:** [@Naween\_Ghimire](https://forum.ansible.com/u/Naween_Ghimire)\
**Replies:** 12\
**Last updated:** [March 3, 2015, 7:42am UTC](https://forum.ansible.com/t/running-ansible-from-jenkins-execute-shell/16291 "2015-03-03T07:42:47Z")

</div>

Hi All, I am trying to run an ansible playbook from jenkins build to have jenkins trigger my ansible execution. As part of my ansible-playbook run i need to pass extra-vars to the playbook during execution. eg: ansib…

---

## [Need Ansible Presentation Advice](https://forum.ansible.com/t/need-ansible-presentation-advice/17629)

<div class="topic-metadata">

**Author:** [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Replies:** 3\
**Last updated:** [March 3, 2015, 4:11am UTC](https://forum.ansible.com/t/need-ansible-presentation-advice/17629 "2015-03-03T04:11:22Z")

</div>

I have used Ansible for our data center migration and now it’s time to tell the whole department about it. The problem is that I did not need to make very advanced use of Ansible to automate the big move, and covering i…

---

## [SmartOS/Illumos pfexec support](https://forum.ansible.com/t/smartos-illumos-pfexec-support/17510)

<div class="topic-metadata">

**Author:** [@Preston\_Marshall](https://forum.ansible.com/u/Preston_Marshall)\
**Replies:** 2\
**Last updated:** [March 2, 2015, 10:53pm UTC](https://forum.ansible.com/t/smartos-illumos-pfexec-support/17510 "2015-03-02T22:53:21Z")

</div>

Hi all, I am working on writing some Ansible playbooks to manage my SmartOS deployment. I’m using Illumos/SmartOS’s support for RBAC instead of sudo/su, but I’m running into some issues with it. Basically I just need to…

---

## [Ansible and use of cloudlfare](https://forum.ansible.com/t/ansible-and-use-of-cloudlfare/17589)

<div class="topic-metadata">

**Author:** [@riemers](https://forum.ansible.com/u/riemers)\
**Replies:** 2\
**Last updated:** [March 2, 2015, 10:16pm UTC](https://forum.ansible.com/t/ansible-and-use-of-cloudlfare/17589 "2015-03-02T22:16:45Z")

</div>

All, I have tower installed, but wanted to add Cloudflare protection on top of that (also to mask the ip and such) i know that the docs have Cloudflare on it too. So my question, can i use cloudflare with Tower? Becaus…

---

## [galaxy could have a platform filter](https://forum.ansible.com/t/galaxy-could-have-a-platform-filter/17644)

<div class="topic-metadata">

**Author:** [@Bas\_Meijer1](https://forum.ansible.com/u/Bas_Meijer1)\
**Replies:** 3\
**Last updated:** [March 2, 2015, 8:55pm UTC](https://forum.ansible.com/t/galaxy-could-have-a-platform-filter/17644 "2015-03-02T20:55:04Z")

</div>

When looking for roles on ansible galaxy, for instance for mongodb, it would help if I can filter the ones that work on Centos, or the ones that work on Ubuntu. Now everything is shown and it takes too much time to find…

---

## [New Module: nfsexport](https://forum.ansible.com/t/new-module-nfsexport/17651)

<div class="topic-metadata">

**Author:** [@Randy\_N](https://forum.ansible.com/u/Randy_N)\
**Replies:** 0\
**Last updated:** [March 2, 2015, 5:58pm UTC](https://forum.ansible.com/t/new-module-nfsexport/17651 "2015-03-02T17:58:03Z")

</div>

Hi all, I’ve (co)written a new module, nfsexport, for working with nfs export entries in /etc/exports. https://github.com/randynobx/ansible-modules-extras/blob/devel/system/nfsexport.py I plan on submitting a pull-req…

---

## [ansible-playbook structure](https://forum.ansible.com/t/ansible-playbook-structure/17650)

<div class="topic-metadata">

**Author:** [@Khoa\_Nguyen](https://forum.ansible.com/u/Khoa_Nguyen)\
**Replies:** 0\
**Last updated:** [March 2, 2015, 4:56pm UTC](https://forum.ansible.com/t/ansible-playbook-structure/17650 "2015-03-02T16:56:46Z")

</div>

Hi I make a playbook with structure: ansible-test/ ├── playbook.yaml └── staging ├── group\_vars │ ├── test1 │ └── test2 └── inventory playbook.yaml: hosts: test1 gather\_facts: false tasks: debug: var={{ e…

---

## [ansible-galaxy and requirements.yml](https://forum.ansible.com/t/ansible-galaxy-and-requirements-yml/17649)

<div class="topic-metadata">

**Author:** [@George\_Shuklin](https://forum.ansible.com/u/George_Shuklin)\
**Replies:** 0\
**Last updated:** [March 2, 2015, 4:44pm UTC](https://forum.ansible.com/t/ansible-galaxy-and-requirements-yml/17649 "2015-03-02T16:44:13Z")

</div>

Hello. I’m learning Ansible and found that example on this page: does not work. When I put inside of requirements.yml any yaml, ansible-galaxy trying to download pieces of yaml like it is a text file: $ head require…

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

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