# Latest

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

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

**Page:** 746

---

## [Parallelism in single host](https://forum.ansible.com/t/parallelism-in-single-host/21961)

<div class="topic-metadata">

**Author:** [@Krishnakumar](https://forum.ansible.com/u/Krishnakumar)\
**Replies:** 2\
**Last updated:** [July 8, 2016, 12:18pm UTC](https://forum.ansible.com/t/parallelism-in-single-host/21961 "2016-07-08T12:18:16Z")

</div>

Is it possible to execute tasks in parallel within same host without splitting the plays. Is there any new functionality added newly for this ?

---

## [Postgresql\_privs module question](https://forum.ansible.com/t/postgresql-privs-module-question/21960)

<div class="topic-metadata">

**Author:** [@Milky\_Milk](https://forum.ansible.com/u/Milky_Milk)\
**Replies:** 0\
**Last updated:** [July 8, 2016, 10:29am UTC](https://forum.ansible.com/t/postgresql-privs-module-question/21960 "2016-07-08T10:29:08Z")

</div>

Hello there. I can’t find a way to create default privileges in postgresql with Ansible. For example: \` ALTER DEFAULT PRIVILEGES FOR ROLE reader IN SCHEMA public GRANT SELECT ON TABLES TO username \` Is it possible? …

---

## [Updating existing route tables](https://forum.ansible.com/t/updating-existing-route-tables/21959)

<div class="topic-metadata">

**Author:** [@Prashant\_Bhosale](https://forum.ansible.com/u/Prashant_Bhosale)\
**Replies:** 0\
**Last updated:** [July 8, 2016, 9:49am UTC](https://forum.ansible.com/t/updating-existing-route-tables/21959 "2016-07-08T09:49:08Z")

</div>

I have successfully created a VPC B and now I want to peer VPC B and VPC A. In VPC B I can add the vpc\_peering id in route table, but struggling with how to update the route table of VPC A with the vpc\_peering id. Trie…

---

## [Build a custom apache module vs. using it through a role](https://forum.ansible.com/t/build-a-custom-apache-module-vs-using-it-through-a-role/21958)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [July 8, 2016, 9:28am UTC](https://forum.ansible.com/t/build-a-custom-apache-module-vs-using-it-through-a-role/21958 "2016-07-08T09:28:25Z")

</div>

Hi I'm using the geerlingguy.apache role to deploy apache, in my case onto Ubuntu 16.04. This works great. The machine needs to run a custom build apache module, but I'm not sure what the best way is to order things…

---

## [Loops and includes](https://forum.ansible.com/t/loops-and-includes/21946)

<div class="topic-metadata">

**Author:** [@Bence\_Takacs](https://forum.ansible.com/u/Bence_Takacs)\
**Replies:** 2\
**Last updated:** [July 8, 2016, 9:01am UTC](https://forum.ansible.com/t/loops-and-includes/21946 "2016-07-08T09:01:15Z")

</div>

What is the difference between the following syntaxes? === 1st scenario outside.yaml: --- - include: inside.yaml vars: my\_inner\_item: "{{ item }}" with\_items: - A - B - C inside.yaml: --- - de…

---

## [start-at-task arguments](https://forum.ansible.com/t/start-at-task-arguments/21957)

<div class="topic-metadata">

**Author:** [@Steven\_Graham](https://forum.ansible.com/u/Steven_Graham)\
**Replies:** 0\
**Last updated:** [July 8, 2016, 8:59am UTC](https://forum.ansible.com/t/start-at-task-arguments/21957 "2016-07-08T08:59:54Z")

</div>

I have ansible 1.9.4 Trying to understand the use of --start-at-task flag. I can start at a task by using something like “start the Cassandra instance” or if its in a role can use a | to separate the role from the task …

---

## [How to use git on ansible ?](https://forum.ansible.com/t/how-to-use-git-on-ansible/21956)

<div class="topic-metadata">

**Author:** [@Javier\_Barroso](https://forum.ansible.com/u/Javier_Barroso)\
**Replies:** 0\
**Last updated:** [July 8, 2016, 8:38am UTC](https://forum.ansible.com/t/how-to-use-git-on-ansible/21956 "2016-07-08T08:38:39Z")

</div>

Hello, I have reviewed ansible git module \[1\], but I don’t find how it could work with my workflow. My workflow is the next: dir\_fschanges: /srv/ansible/fschanges project: myproject Create a local {{dir\_fschanges}}/{…

---

## [unbale to perform actions as sudo su - on 2.1.0](https://forum.ansible.com/t/unbale-to-perform-actions-as-sudo-su-on-2-1-0/21955)

<div class="topic-metadata">

**Author:** [@PN1](https://forum.ansible.com/u/PN1)\
**Replies:** 0\
**Last updated:** [July 8, 2016, 4:51am UTC](https://forum.ansible.com/t/unbale-to-perform-actions-as-sudo-su-on-2-1-0/21955 "2016-07-08T04:51:50Z")

</div>

In my servers i can able to execute commands only via “sudo su -” . so I’m looking option to login server with my local username and do sudo su - to excute commands . I could see some path on https://github.com/ansible/…

---

## [Ansible 2.1.1 RC2 is ready for testing](https://forum.ansible.com/t/ansible-2-1-1-rc2-is-ready-for-testing/21954)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [July 7, 2016, 9:30pm UTC](https://forum.ansible.com/t/ansible-2-1-1-rc2-is-ready-for-testing/21954 "2016-07-07T21:30:57Z")

</div>

Hi all, we’re happy to announce that RC2 for 2.1.1 is now available for testing. This release candidate fixes several more bugs since the RC1 release: Several fixes to the way async works to prevent race conditions an…

---

## [ssh difference between ansible ad-hoc and ansible-playbook for localhost](https://forum.ansible.com/t/ssh-difference-between-ansible-ad-hoc-and-ansible-playbook-for-localhost/21951)

<div class="topic-metadata">

**Author:** [@Anthony\_Cheng](https://forum.ansible.com/u/Anthony_Cheng)\
**Replies:** 3\
**Last updated:** [July 7, 2016, 8:56pm UTC](https://forum.ansible.com/t/ssh-difference-between-ansible-ad-hoc-and-ansible-playbook-for-localhost/21951 "2016-07-07T20:56:17Z")

</div>

I noticed in troubleshooting SSH authentication that there is a difference between ansible ad-hoc and ansible-playbook in terms of SSH for localhost. Specifically, I was able to get a playbook targeted at localhost to w…

---

## [Ansible UFW module: inaccurate documentation?](https://forum.ansible.com/t/ansible-ufw-module-inaccurate-documentation/15817)

<div class="topic-metadata">

**Author:** [@Lars\_Sommer](https://forum.ansible.com/u/Lars_Sommer)\
**Replies:** 2\
**Last updated:** [July 7, 2016, 8:47pm UTC](https://forum.ansible.com/t/ansible-ufw-module-inaccurate-documentation/15817 "2016-07-07T20:47:11Z")

</div>

Having a hell of a time getting UFW to play nicely. Here’s what I’ve got: Each role (in this case the role is “common”, part of our baseline role) has a ufw.yml task file that gets imported to main.yml:

---

## [Using vars\_prompt with role name](https://forum.ansible.com/t/using-vars-prompt-with-role-name/21953)

<div class="topic-metadata">

**Author:** [@Kenneth\_Koski](https://forum.ansible.com/u/Kenneth_Koski)\
**Replies:** 0\
**Last updated:** [July 7, 2016, 8:09pm UTC](https://forum.ansible.com/t/using-vars-prompt-with-role-name/21953 "2016-07-07T20:09:18Z")

</div>

Apologies if this is an easy question, but I have limited experience with Ansible, and I’ve been unable to find anything about this online. I’ve got a codebase that looks like this: \` deploy.yml

---

## [Avoid conflicting roles on same machine](https://forum.ansible.com/t/avoid-conflicting-roles-on-same-machine/21921)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 3\
**Last updated:** [July 7, 2016, 7:32pm UTC](https://forum.ansible.com/t/avoid-conflicting-roles-on-same-machine/21921 "2016-07-07T19:32:52Z")

</div>

Hi I have 4 roles, nginx, apache, kibana and grafana. The kibana role has a requirement to the nginx role and grafana role has a requirement of the apache role. Since both nginx and apache uses the same port numbers 8…

---

## [acl module - Does it work for nfs4 acls?](https://forum.ansible.com/t/acl-module-does-it-work-for-nfs4-acls/21952)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 1\
**Last updated:** [July 7, 2016, 7:29pm UTC](https://forum.ansible.com/t/acl-module-does-it-work-for-nfs4-acls/21952 "2016-07-07T19:29:44Z")

</div>

I am new to NFSv4, but I have it mostly working with my IPA (kerberized) domain. I just noticed that my nfs clients are not picking up the ACLs from the NFS server, that I set with the ACL Ansible module. So, I suspect t…

---

## [can't get embedded quotes to work in replace string of lineinfile](https://forum.ansible.com/t/cant-get-embedded-quotes-to-work-in-replace-string-of-lineinfile/21944)

<div class="topic-metadata">

**Author:** [@Leo\_P](https://forum.ansible.com/u/Leo_P)\
**Replies:** 1\
**Last updated:** [July 7, 2016, 5:46pm UTC](https://forum.ansible.com/t/cant-get-embedded-quotes-to-work-in-replace-string-of-lineinfile/21944 "2016-07-07T17:46:20Z")

</div>

I have tried escaping characters but it didn’t seem to make any difference. According to the documentation I’ve seen, this should work: \` name: Change keyboard layout to U.S. lineinfile: dest=/etc/default/keyboard r…

---

## [Synchronize command not working when upgraded to Ansible 2.1.0](https://forum.ansible.com/t/synchronize-command-not-working-when-upgraded-to-ansible-2-1-0/21922)

<div class="topic-metadata">

**Author:** [@Michael\_Lennon](https://forum.ansible.com/u/Michael_Lennon)\
**Replies:** 2\
**Last updated:** [July 7, 2016, 5:41pm UTC](https://forum.ansible.com/t/synchronize-command-not-working-when-upgraded-to-ansible-2-1-0/21922 "2016-07-07T17:41:11Z")

</div>

Hi, We were recently upgraded to Ansible 2.1.0, from 1.9.4 (I think). Now have an issue with any playbooks that make use of the synchronize module. I have a a test playbook that simply copies a text file from Host A to …

---

## [Jboss ansible module](https://forum.ansible.com/t/jboss-ansible-module/21945)

<div class="topic-metadata">

**Author:** [@Arun\_Mathew](https://forum.ansible.com/u/Arun_Mathew)\
**Replies:** 1\
**Last updated:** [July 7, 2016, 5:37pm UTC](https://forum.ansible.com/t/jboss-ansible-module/21945 "2016-07-07T17:37:52Z")

</div>

Can jboss ansible module be used for deploying to wildfy?

---

## [iptables\_raw Module - Manage Iptables the Easy Way](https://forum.ansible.com/t/iptables-raw-module-manage-iptables-the-easy-way/21948)

<div class="topic-metadata">

**Author:** [@Strahinja\_Kustudic1](https://forum.ansible.com/u/Strahinja_Kustudic1)\
**Replies:** 2\
**Last updated:** [July 7, 2016, 4:32pm UTC](https://forum.ansible.com/t/iptables-raw-module-manage-iptables-the-easy-way/21948 "2016-07-07T16:32:13Z")

</div>

We wrote a new module called iptables\_raw (docs) to make it easy to manage iptables. The module has the following features: use iptables syntax to define rules keep iptables state order rules by weigh support…

---

## [Invitation to the Second Ansible Contributor Summit](https://forum.ansible.com/t/invitation-to-the-second-ansible-contributor-summit/21950)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 0\
**Last updated:** [July 7, 2016, 2:48pm UTC](https://forum.ansible.com/t/invitation-to-the-second-ansible-contributor-summit/21950 "2016-07-07T14:48:41Z")

</div>

We will be holding our second Ansible Contributor Summit on the day before AnsibleFest San Francisco (https://www.ansible.com/ansiblefest), and you are invited to participate! The Summit will take place at 335 Powell …

---

## [How to use display.vvv in an Ansible module?](https://forum.ansible.com/t/how-to-use-display-vvv-in-an-ansible-module/21732)

<div class="topic-metadata">

**Author:** [@Hiroaki\_Nakamura](https://forum.ansible.com/u/Hiroaki_Nakamura)\
**Replies:** 3\
**Last updated:** [July 7, 2016, 12:40pm UTC](https://forum.ansible.com/t/how-to-use-display-vvv-in-an-ansible-module/21732 "2016-07-07T12:40:15Z")

</div>

Hi all, I'm creating the lxd\_container module and would like to use display.vvv for debug prints. https://github.com/ansible/ansible-modules-extras/pull/2208 I copied code in some module, but nothing was printed. Co…

---

## [Output var values to screen](https://forum.ansible.com/t/output-var-values-to-screen/21938)

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 1\
**Last updated:** [July 7, 2016, 8:47am UTC](https://forum.ansible.com/t/output-var-values-to-screen/21938 "2016-07-07T08:47:16Z")

</div>

Control Node: CentOS 7 Ansible 2.1 pywinrm version from May 19th, 2016 Remote Node: Windows 7 Powershell 3 How do I display the values of my vars to the person running my playbook?

---

## [\--check (dry run) fires notify handlers](https://forum.ansible.com/t/check-dry-run-fires-notify-handlers/21947)

<div class="topic-metadata">

**Author:** [@ja.garcia.ballester](https://forum.ansible.com/u/ja.garcia.ballester)\
**Replies:** 0\
**Last updated:** [July 7, 2016, 8:45am UTC](https://forum.ansible.com/t/check-dry-run-fires-notify-handlers/21947 "2016-07-07T08:45:20Z")

</div>

Hi, I am runnig a playbook in check mode (–check --diff) to verify which changes are going to be applied in a service config file. The problem is that the dry run thinks the change is applied and fires the notify handl…

---

## [Passing values in a file](https://forum.ansible.com/t/passing-values-in-a-file/21905)

<div class="topic-metadata">

**Author:** [@Rakshatha\_shetty1](https://forum.ansible.com/u/Rakshatha_shetty1)\
**Replies:** 5\
**Last updated:** [July 7, 2016, 6:22am UTC](https://forum.ansible.com/t/passing-values-in-a-file/21905 "2016-07-07T06:22:49Z")

</div>

Hi, I’m using Ansible 2.0.0.2 to create multiple directories by passing path to directories in a file and reading the values from file. How can multiple values be passed in a single file? Please revert with the format i…

---

## [Strange behavior of Jinja2 expression for same input vars](https://forum.ansible.com/t/strange-behavior-of-jinja2-expression-for-same-input-vars/21930)

<div class="topic-metadata">

**Author:** [@cosbug](https://forum.ansible.com/u/cosbug)\
**Replies:** 4\
**Last updated:** [July 7, 2016, 5:37am UTC](https://forum.ansible.com/t/strange-behavior-of-jinja2-expression-for-same-input-vars/21930 "2016-07-07T05:37:28Z")

</div>

Hi All, I’m using a Jinja2 expression to exclude form one list the elements present in another list but it doesn’t work as expected. Here is an extract from a larger playbook which captures the input and out put before…

---

## [django\_manage problem](https://forum.ansible.com/t/django-manage-problem/21943)

<div class="topic-metadata">

**Author:** [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Replies:** 0\
**Last updated:** [July 7, 2016, 5:28am UTC](https://forum.ansible.com/t/django-manage-problem/21943 "2016-07-07T05:28:23Z")

</div>

I need to run python manage.py migrate in an activated virtualenv I used the django\_manage module specifying the virtual env but it gives the same error as when I run migrate without activating, at the command line. Is…

---

## [What has changed in terms of sudo in Ansible 2.1](https://forum.ansible.com/t/what-has-changed-in-terms-of-sudo-in-ansible-2-1/21942)

<div class="topic-metadata">

**Author:** [@Sebin](https://forum.ansible.com/u/Sebin)\
**Replies:** 0\
**Last updated:** [July 7, 2016, 12:24am UTC](https://forum.ansible.com/t/what-has-changed-in-terms-of-sudo-in-ansible-2-1/21942 "2016-07-07T00:24:36Z")

</div>

Hi All, I have recently switched to Ansible 2.1 from Ansible 2.0 Surprisingly in one of my environments the playbooks and ad-hoc commands do not run when executed with sudo. is there any way I can debug this to find o…

---

## [Execute role tasks before executing role dependencies](https://forum.ansible.com/t/execute-role-tasks-before-executing-role-dependencies/21941)

<div class="topic-metadata">

**Author:** [@Thomas\_Steinbach](https://forum.ansible.com/u/Thomas_Steinbach)\
**Replies:** 0\
**Last updated:** [July 6, 2016, 10:33pm UTC](https://forum.ansible.com/t/execute-role-tasks-before-executing-role-dependencies/21941 "2016-07-06T22:33:41Z")

</div>

Hi, is there a way for executing role tasks before executing role dependencies? In my apache\_httpd role I want to deploy some configuration files before calling the sub role docker\_application. Latter will do some boile…

---

## [Unable to look up dict by key if the dict key contains a variable](https://forum.ansible.com/t/unable-to-look-up-dict-by-key-if-the-dict-key-contains-a-variable/21940)

<div class="topic-metadata">

**Author:** [@Aneesh\_Joseph](https://forum.ansible.com/u/Aneesh_Joseph)\
**Replies:** 0\
**Last updated:** [July 6, 2016, 9:38pm UTC](https://forum.ansible.com/t/unable-to-look-up-dict-by-key-if-the-dict-key-contains-a-variable/21940 "2016-07-06T21:38:29Z")

</div>

vars.yml \`

---

## [role meta/main.yml dependency with source control repository url, automatically pulled](https://forum.ansible.com/t/role-meta-main-yml-dependency-with-source-control-repository-url-automatically-pulled/21939)

<div class="topic-metadata">

**Author:** [@Brian\_I](https://forum.ansible.com/u/Brian_I)\
**Replies:** 0\
**Last updated:** [July 6, 2016, 9:24pm UTC](https://forum.ansible.com/t/role-meta-main-yml-dependency-with-source-control-repository-url-automatically-pulled/21939 "2016-07-06T21:24:45Z")

</div>

Using ansible 2.1.0.0 I’d like to have a role that lists private source control repositories like this in the meta/main.yml: dependencies: src: ‘git+git@mygitlab.example.com:/anisble/myrole.git,v1.0.0’ Is this possi…

---

## [shell module find -exec chown - how to parse/escape {} \\; ?](https://forum.ansible.com/t/shell-module-find-exec-chown-how-to-parse-escape/21936)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 1\
**Last updated:** [July 6, 2016, 6:25pm UTC](https://forum.ansible.com/t/shell-module-find-exec-chown-how-to-parse-escape/21936 "2016-07-06T18:25:55Z")

</div>

I want to find and chown about 4000 users’ files while migrating to a new authentication protocol and domain. I have a task that looks like this: \` name: find and fix UID ownerships in all staff homedirs shell: “fin…

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

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