# Latest

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

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

**Page:** 679

---

## [ANsible Opestack integration give 400 error.](https://forum.ansible.com/t/ansible-opestack-integration-give-400-error/23924)

<div class="topic-metadata">

**Author:** [@balubhai555](https://forum.ansible.com/u/balubhai555)\
**Replies:** 0\
**Last updated:** [March 9, 2017, 5:58pm UTC](https://forum.ansible.com/t/ansible-opestack-integration-give-400-error/23924 "2017-03-09T17:58:22Z")

</div>

Hello Team, I am trying to do integration of Ansible with OpenStack. I got the below error. So please help me to solve this error. error: TASK \[launch an instance\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Single-tenant application deployment to AWS](https://forum.ansible.com/t/single-tenant-application-deployment-to-aws/23921)

<div class="topic-metadata">

**Author:** [@Timo\_Carl](https://forum.ansible.com/u/Timo_Carl)\
**Replies:** 0\
**Last updated:** [March 9, 2017, 3:55pm UTC](https://forum.ansible.com/t/single-tenant-application-deployment-to-aws/23921 "2017-03-09T15:55:07Z")

</div>

All, I am scratching my head over this question for a while now, but can’t seem to find a good answer. However this should be a pretty common question/concern. Maybe someone can tell me how they solved this: We have a…

---

## [deployment notifications - for all cases - OK and failed.](https://forum.ansible.com/t/deployment-notifications-for-all-cases-ok-and-failed/23799)

<div class="topic-metadata">

**Author:** [@epiq\_sty](https://forum.ansible.com/u/epiq_sty)\
**Replies:** 3\
**Last updated:** [March 9, 2017, 2:07pm UTC](https://forum.ansible.com/t/deployment-notifications-for-all-cases-ok-and-failed/23799 "2017-03-09T14:07:11Z")

</div>

Hello! Can you please advice the best way - for sending notifications , if role failed on several hosts ? We have implemented slack notifications about successfully deployed hosts, but how we can get list of failed hos…

---

## [Installation issue (asciidoc error)](https://forum.ansible.com/t/installation-issue-asciidoc-error/23915)

<div class="topic-metadata">

**Author:** [@Rajesh\_Shan](https://forum.ansible.com/u/Rajesh_Shan)\
**Replies:** 1\
**Last updated:** [March 9, 2017, 2:07pm UTC](https://forum.ansible.com/t/installation-issue-asciidoc-error/23915 "2017-03-09T14:07:06Z")

</div>

I tried to install Ansible in RHEL 7.2 server. But it give the following error : \[root@ip-172-31-23-152 ansible\]# make rpm sed “s/%VERSION%/2.3.0/” docs/man/man1/ansible.1.asciidoc.in \> docs/man/man1/ansible.1.asciidoc …

---

## [Setup module finding package information](https://forum.ansible.com/t/setup-module-finding-package-information/23902)

<div class="topic-metadata">

**Author:** [@Drew\_Mullen](https://forum.ansible.com/u/Drew_Mullen)\
**Replies:** 1\
**Last updated:** [March 9, 2017, 12:10pm UTC](https://forum.ansible.com/t/setup-module-finding-package-information/23902 "2017-03-09T12:10:40Z")

</div>

Can the setup module provide information like: is java install? which versions are installed? where are they installed? I noticed in my first test run of the module that python is investigated but didn’t se…

---

## [How to read the --limit command line option](https://forum.ansible.com/t/how-to-read-the-limit-command-line-option/23916)

<div class="topic-metadata">

**Author:** [@Marco\_Buttu](https://forum.ansible.com/u/Marco_Buttu)\
**Replies:** 1\
**Last updated:** [March 9, 2017, 11:56am UTC](https://forum.ansible.com/t/how-to-read-the-limit-command-line-option/23916 "2017-03-09T11:56:41Z")

</div>

Hi all, I would like to get the value of --limit. For instance, let’s have this command: $ ansible-playbook site.yml --limit foo I would like to read {{ limit }} from a task. Is there a solution or do I have to do some…

---

## [Ansible Connection](https://forum.ansible.com/t/ansible-connection/23893)

<div class="topic-metadata">

**Author:** [@albert.suwandhi](https://forum.ansible.com/u/albert.suwandhi)\
**Replies:** 2\
**Last updated:** [March 9, 2017, 5:34am UTC](https://forum.ansible.com/t/ansible-connection/23893 "2017-03-09T05:34:02Z")

</div>

Hi All, I have just started learning ansible to use it with Cisco IOS. I try several playbook and I see that there is connection:local, I am a bit confused as I know we are not run the playbook against our local machine…

---

## [Timestamp without gathering facts](https://forum.ansible.com/t/timestamp-without-gathering-facts/22073)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 1\
**Last updated:** [March 8, 2017, 9:49pm UTC](https://forum.ansible.com/t/timestamp-without-gathering-facts/22073 "2017-03-08T21:49:21Z")

</div>

I want to come up with a timestamp for the current time; it doesn't have to be perfectly accurate, this is just to uniquely name something, but if I run it twice in a row I want to be pretty sure that the second time w…

---

## [accessing vars from lookup](https://forum.ansible.com/t/accessing-vars-from-lookup/23917)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 7:59pm UTC](https://forum.ansible.com/t/accessing-vars-from-lookup/23917 "2017-03-08T19:59:50Z")

</div>

Hello! I hope this is the correct mailing-list for this question . . . I’m writing a custom lookup function and would like to access group\_vars from it. They seem to be passed to the run method of the LookupModule class …

---

## [Become (priv escalation) on localhost fails for file content lookup](https://forum.ansible.com/t/become-priv-escalation-on-localhost-fails-for-file-content-lookup/22126)

<div class="topic-metadata">

**Author:** [@Anthony\_Cheng](https://forum.ansible.com/u/Anthony_Cheng)\
**Replies:** 1\
**Last updated:** [March 8, 2017, 7:21pm UTC](https://forum.ansible.com/t/become-priv-escalation-on-localhost-fails-for-file-content-lookup/22126 "2017-03-08T19:21:11Z")

</div>

I think this is a bug (https://github.com/ansible/ansible/issues/16833) where file lookup doesn’t get sudo permission on localhost even with become=true. In my testing, shell command on localhost requiring sudo works fin…

---

## [Crons on a collection of servers](https://forum.ansible.com/t/crons-on-a-collection-of-servers/23914)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 1\
**Last updated:** [March 8, 2017, 4:32pm UTC](https://forum.ansible.com/t/crons-on-a-collection-of-servers/23914 "2017-03-08T16:32:24Z")

</div>

We have a collection of load balanced web servers, and we have cron jobs spread across the server base. I would like to manage these cron jobs in Ansible. The current state is to have all the cron jobs on all the serve…

---

## [dynamic inventory and --list printing the groupname](https://forum.ansible.com/t/dynamic-inventory-and-list-printing-the-groupname/14529)

<div class="topic-metadata">

**Author:** [@habeeb\_rahman](https://forum.ansible.com/u/habeeb_rahman)\
**Replies:** 3\
**Last updated:** [March 8, 2017, 4:06pm UTC](https://forum.ansible.com/t/dynamic-inventory-and-list-printing-the-groupname/14529 "2017-03-08T16:06:47Z")

</div>

Hi Ansiblers, I just finished a python program to query our mysql inventory. when I do python getinv.py --list, i can see the json output. And ‘ansible us-east-1\_app1 --list-hosts’ works as well. The only problem is i…

---

## [global default for pip extra\_args?](https://forum.ansible.com/t/global-default-for-pip-extra-args/23913)

<div class="topic-metadata">

**Author:** [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 3:48pm UTC](https://forum.ansible.com/t/global-default-for-pip-extra-args/23913 "2017-03-08T15:48:06Z")

</div>

HI! Is it possible to set a global default value for argument extra\_args in pip module? Something like pip\_extra\_args? Ciao, Michael.

---

## [/usr/sbin/semodule:  Could not connect to policy handler](https://forum.ansible.com/t/usr-sbin-semodule-could-not-connect-to-policy-handler/23912)

<div class="topic-metadata">

**Author:** [@Andre\_Meeuwesen\_Busi](https://forum.ansible.com/u/Andre_Meeuwesen_Busi)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 3:33pm UTC](https://forum.ansible.com/t/usr-sbin-semodule-could-not-connect-to-policy-handler/23912 "2017-03-08T15:33:39Z")

</div>

Hallo folks, I am Andre, a newby on Ansible. Working en Living in the Netherlands. Linux sysadmin for a long time, but no selinux and ansible master. I want to import a selinux .pp file with ansible name: import nag…

---

## [RDS](https://forum.ansible.com/t/rds/23908)

<div class="topic-metadata">

**Author:** [@daniel4](https://forum.ansible.com/u/daniel4)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 11:26am UTC](https://forum.ansible.com/t/rds/23908 "2017-03-08T11:26:59Z")

</div>

Hi i an mew to ansible and i cant get an rds snapshot to be deployed using ansible. can enyone send me an working yml file that i can rebuild it in my DR script please Kindest regards, Daniël Visser …

---

## [ec2 fails on botocore / boto3 required](https://forum.ansible.com/t/ec2-fails-on-botocore-boto3-required/23907)

<div class="topic-metadata">

**Author:** [@AutoMac](https://forum.ansible.com/u/AutoMac)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 10:11am UTC](https://forum.ansible.com/t/ec2-fails-on-botocore-boto3-required/23907 "2017-03-08T10:11:01Z")

</div>

Running on Mac with Sierra and using Ansible v 2.2.1.0, with the latest versions of pip, botocore, boto3 installed. Tried uninstalling and reinstalling and power cycled the system. Also tried running with elevated privil…

---

## [How to get the first group defined in inventory for current inventory\_hostname involved in multiple groups](https://forum.ansible.com/t/how-to-get-the-first-group-defined-in-inventory-for-current-inventory-hostname-involved-in-multiple-groups/22230)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 2\
**Last updated:** [March 8, 2017, 9:11am UTC](https://forum.ansible.com/t/how-to-get-the-first-group-defined-in-inventory-for-current-inventory-hostname-involved-in-multiple-groups/22230 "2017-03-08T09:11:08Z")

</div>

Ansible 2.1.1.0 Several hierarchical groups can be defined for a particular device in inventory. Since hostvars\[inventory\_hostname\].group\_names lists all device groups listed in alphabetical order, hostvars\[inventory\_h…

---

## [List in lists](https://forum.ansible.com/t/list-in-lists/23906)

<div class="topic-metadata">

**Author:** [@oravirt](https://forum.ansible.com/u/oravirt)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 8:57am UTC](https://forum.ansible.com/t/list-in-lists/23906 "2017-03-08T08:57:15Z")

</div>

Hi, Gist available at: https://gist.github.com/oravirt/c13406766e820e99be9d1e5c30562075 I’ve got a structure like this: \` blergh: parent: first\_layer first\_layer\_list: { name: first\_layer\_list\_1st\_name } { name: f…

---

## [Failed to validate the SSL certificate for archive.apache.org:443](https://forum.ansible.com/t/failed-to-validate-the-ssl-certificate-for-archive-apache-org-443/23896)

<div class="topic-metadata">

**Author:** [@Pedro\_Ferro](https://forum.ansible.com/u/Pedro_Ferro)\
**Replies:** 4\
**Last updated:** [March 8, 2017, 8:46am UTC](https://forum.ansible.com/t/failed-to-validate-the-ssl-certificate-for-archive-apache-org-443/23896 "2017-03-08T08:46:22Z")

</div>

Hi, Have this yml file \`

---

## [Since upgrade to Ansible 2.x we cannot import custom filter from another custom filter](https://forum.ansible.com/t/since-upgrade-to-ansible-2-x-we-cannot-import-custom-filter-from-another-custom-filter/23905)

<div class="topic-metadata">

**Author:** [@John\_Wadleigh](https://forum.ansible.com/u/John_Wadleigh)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 8:34am UTC](https://forum.ansible.com/t/since-upgrade-to-ansible-2-x-we-cannot-import-custom-filter-from-another-custom-filter/23905 "2017-03-08T08:34:05Z")

</div>

ISSUE TYPE Bug Report COMPONENT NAME ansible-playbook ANSIBLE VERSION ansible-playbook --version ansible-playbook 2.2.1.0 config file = /automation/ansible/playbooks/ansible.cfg configured module search path = \['libra…

---

## [apt module fails with serial setting greater than 1](https://forum.ansible.com/t/apt-module-fails-with-serial-setting-greater-than-1/22243)

<div class="topic-metadata">

**Author:** [@Max\_Gonzih](https://forum.ansible.com/u/Max_Gonzih)\
**Replies:** 1\
**Last updated:** [March 7, 2017, 6:19pm UTC](https://forum.ansible.com/t/apt-module-fails-with-serial-setting-greater-than-1/22243 "2017-03-07T18:19:20Z")

</div>

Hello everyone, I’m just starting to use ansible and encountered weird issue. apt module on target machines that run ubuntu 16.04 (ec2 image ami-1967056a) fails with locking issues (11: Resource temporarily unavailable…

---

## [Script ending after first include statement](https://forum.ansible.com/t/script-ending-after-first-include-statement/23898)

<div class="topic-metadata">

**Author:** [@Brik\_Royster](https://forum.ansible.com/u/Brik_Royster)\
**Replies:** 2\
**Last updated:** [March 7, 2017, 4:38pm UTC](https://forum.ansible.com/t/script-ending-after-first-include-statement/23898 "2017-03-07T16:38:52Z")

</div>

Hi all, I have a script here with some weird behaviors that I can’t really explain. The general layout of the script looks like this: \` hosts: ‘localhost’ tasks: name: ‘launch AWS environment’ cloudformation: stac…

---

## [How do I record just what ansible is doing](https://forum.ansible.com/t/how-do-i-record-just-what-ansible-is-doing/23886)

<div class="topic-metadata">

**Author:** [@David\_Brendlinger](https://forum.ansible.com/u/David_Brendlinger)\
**Replies:** 3\
**Last updated:** [March 7, 2017, 3:17pm UTC](https://forum.ansible.com/t/how-do-i-record-just-what-ansible-is-doing/23886 "2017-03-07T15:17:11Z")

</div>

writing scripts and trying them in a sandbox environment is one thing however … If I run Ansible in a production environment and someone wants to know exactly what I have changes, they are going to want some kind of log…

---

## [file module: absent recurse=yes and Directory not empty](https://forum.ansible.com/t/file-module-absent-recurse-yes-and-directory-not-empty/14938)

<div class="topic-metadata">

**Author:** [@Maxim\_Odinintsev](https://forum.ansible.com/u/Maxim_Odinintsev)\
**Replies:** 5\
**Last updated:** [March 7, 2017, 2:24pm UTC](https://forum.ansible.com/t/file-module-absent-recurse-yes-and-directory-not-empty/14938 "2017-03-07T14:24:40Z")

</div>

Hello, When I’m run this job, but on some hosts return output: rmtree failed: \[Errno 39\] Directory not empty: ‘/home/master/www/static.master/images/posters’ Sure this directories is not empty, and I’m want remove it …

---

## [I want to to make a basic playbook using the -find module ----- but how do I get the names of the files returned ?](https://forum.ansible.com/t/i-want-to-to-make-a-basic-playbook-using-the-find-module-but-how-do-i-get-the-names-of-the-files-returned/23899)

<div class="topic-metadata">

**Author:** [@David\_Brendlinger](https://forum.ansible.com/u/David_Brendlinger)\
**Replies:** 1\
**Last updated:** [March 7, 2017, 9:20am UTC](https://forum.ansible.com/t/i-want-to-to-make-a-basic-playbook-using-the-find-module-but-how-do-i-get-the-names-of-the-files-returned/23899 "2017-03-07T09:20:46Z")

</div>

the example from expansible works great: ----- but how do I get the names of the files returned ? # Recursively find /tmp files older than 2 days - find: paths: "/tmp" age: "2d" recurse: yes I do not get…

---

## [Ansible and Jenkins integration](https://forum.ansible.com/t/ansible-and-jenkins-integration/23859)

<div class="topic-metadata">

**Author:** [@belajzus](https://forum.ansible.com/u/belajzus)\
**Replies:** 2\
**Last updated:** [March 7, 2017, 6:32am UTC](https://forum.ansible.com/t/ansible-and-jenkins-integration/23859 "2017-03-07T06:32:48Z")

</div>

Hi to all! I would like to integrate Ansible and Jenkins using ansible plugin from Jenkins. Is it possible to run Ansible commands on remote host from Jenkins, or the idea of Ansible plugin for Jenkins is that both of …

---

## [ansible\_s3 does not support delegate\_to](https://forum.ansible.com/t/ansible-s3-does-not-support-delegate-to/23894)

<div class="topic-metadata">

**Author:** [@Mohamed\_Naccach](https://forum.ansible.com/u/Mohamed_Naccach)\
**Replies:** 1\
**Last updated:** [March 6, 2017, 11:29pm UTC](https://forum.ansible.com/t/ansible-s3-does-not-support-delegate-to/23894 "2017-03-06T23:29:39Z")

</div>

Hi Guys, when i try to add the delegate\_to: localhost in my playbook to put file on AWS S3 it shows the error below: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “unsupported parameter for module: delegate\_to…

---

## [Ansible managing Windows hosts with non admin user](https://forum.ansible.com/t/ansible-managing-windows-hosts-with-non-admin-user/20636)

<div class="topic-metadata">

**Author:** [@Julian\_Saunders](https://forum.ansible.com/u/Julian_Saunders)\
**Replies:** 14\
**Last updated:** [March 6, 2017, 11:04pm UTC](https://forum.ansible.com/t/ansible-managing-windows-hosts-with-non-admin-user/20636 "2017-03-06T23:04:44Z")

</div>

Hello, I use Ansible to manage Linux hosts and just recently had a requirement to manage Windows Servers. I have Ansible working against a Windows 2012 R2 host using an account (test\_user) that is part of the “administ…

---

## [How to make ansible not zip modules when uploading to remote nodes?](https://forum.ansible.com/t/how-to-make-ansible-not-zip-modules-when-uploading-to-remote-nodes/23887)

<div class="topic-metadata">

**Author:** [@Yuri\_Kanivetsky](https://forum.ansible.com/u/Yuri_Kanivetsky)\
**Replies:** 1\
**Last updated:** [March 6, 2017, 7:58pm UTC](https://forum.ansible.com/t/how-to-make-ansible-not-zip-modules-when-uploading-to-remote-nodes/23887 "2017-03-06T19:58:01Z")

</div>

Hi, When running ansible with ANSIBLE\_KEEP\_REMOTE\_FILES=1, e.g. ANSIBLE\_KEEP\_REMOTE\_FILES=1 ansible-playbook -i c2, playbook.yml -vv -u root -k and then looking at the uploaded files (~/.ansible/tmp/…), I see no modul…

---

## [Ansible and Jenkins plugins](https://forum.ansible.com/t/ansible-and-jenkins-plugins/23897)

<div class="topic-metadata">

**Author:** [@joehail853](https://forum.ansible.com/u/joehail853)\
**Replies:** 0\
**Last updated:** [March 6, 2017, 7:53pm UTC](https://forum.ansible.com/t/ansible-and-jenkins-plugins/23897 "2017-03-06T19:53:34Z")

</div>

I have an ansible playbook that gathers information from every host in a host file (6 jenkins servers). I’m not sure if this is possible which is why I’m posting this question on here: Each server users the jenkins plu…

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

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