# Latest

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

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

**Page:** 696

---

## [getting 'play recap' changed variable from playbook](https://forum.ansible.com/t/getting-play-recap-changed-variable-from-playbook/23417)

<div class="topic-metadata">

**Author:** [@Pieter\_Voet](https://forum.ansible.com/u/Pieter_Voet)\
**Replies:** 2\
**Last updated:** [January 11, 2017, 4:12pm UTC](https://forum.ansible.com/t/getting-play-recap-changed-variable-from-playbook/23417 "2017-01-11T16:12:13Z")

</div>

Hi all, if any play in a playbook actually changes something, I want to display a ‘please restart something’ message to the playbook user. Is there a way to get the ‘PLAY RECAP’ changed variable value from a playbook ? …

---

## [zypper module no longer working in check\_mode: unknown option '--dry-run'](https://forum.ansible.com/t/zypper-module-no-longer-working-in-check-mode-unknown-option-dry-run/23415)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 5\
**Last updated:** [January 11, 2017, 3:28pm UTC](https://forum.ansible.com/t/zypper-module-no-longer-working-in-check-mode-unknown-option-dry-run/23415 "2017-01-11T15:28:30Z")

</div>

Dear all, the zypper module (and thus the package module) is no longer working on my openSUSE Leap 42.1 / 42.2 or Tumbleweed machines, since zypper does not like being called with --dry-run in check\_mode: fatal: \[XXX…

---

## ["stableinterface" Module Status Question](https://forum.ansible.com/t/stableinterface-module-status-question/23425)

<div class="topic-metadata">

**Author:** [@Valentyn\_Boginskey](https://forum.ansible.com/u/Valentyn_Boginskey)\
**Replies:** 3\
**Last updated:** [January 11, 2017, 3:28pm UTC](https://forum.ansible.com/t/stableinterface-module-status-question/23425 "2017-01-11T15:28:23Z")

</div>

Hi, I’d like to propose a simple improvement to the ec2\_lc module. The module has a user\_data parameter that allows the user to pass an opaque blob of data to any instances launched with this launch configuration. Howev…

---

## [Feature request: Adding an option to yum module to just update the packagecache](https://forum.ansible.com/t/feature-request-adding-an-option-to-yum-module-to-just-update-the-packagecache/23436)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 1:44pm UTC](https://forum.ansible.com/t/feature-request-adding-an-option-to-yum-module-to-just-update-the-packagecache/23436 "2017-01-11T13:44:16Z")

</div>

Dear all, would anybody else find it useful to have the yum module just update the package cache? Instead of using a command-task calling "yum makecache" and getting yelled at by ansible to consider using the yum mod…

---

## [$HOME/.ansible/tmp not cleaned up](https://forum.ansible.com/t/home-ansible-tmp-not-cleaned-up/23419)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 2\
**Last updated:** [January 11, 2017, 1:40pm UTC](https://forum.ansible.com/t/home-ansible-tmp-not-cleaned-up/23419 "2017-01-11T13:40:18Z")

</div>

Hello, I use ansible 2.1.2.0 When running a playbook , the $HOME/.ansible/tmp temporary files are not cleaned up on the remote server, , a copy file is created and not deleted. Do you know why ? We have 3Go a tempora…

---

## [Question about ec2\_asg module](https://forum.ansible.com/t/question-about-ec2-asg-module/23434)

<div class="topic-metadata">

**Author:** [@Cvijan\_Uros](https://forum.ansible.com/u/Cvijan_Uros)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 1:39pm UTC](https://forum.ansible.com/t/question-about-ec2-asg-module/23434 "2017-01-11T13:39:35Z")

</div>

Hi, I have a question that is bothering me. I am using Anislbe to do the rolling deploy on Amazon. Have set the health check to be ELB, set up all the intervals, number of checks or the instance to be healthy and unheal…

---

## [ERROR COMES WHEN ADD LDAP ENTRY](https://forum.ansible.com/t/error-comes-when-add-ldap-entry/23431)

<div class="topic-metadata">

**Author:** [@Arvind\_Jha](https://forum.ansible.com/u/Arvind_Jha)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 10:44am UTC](https://forum.ansible.com/t/error-comes-when-add-ldap-entry/23431 "2017-01-11T10:44:08Z")

</div>

when i want to add ldap entry in bdb database using ansible following error is comming please help me out. fatal: \[IP: FAILED! =\> {“changed”: false, “failed”: true, “module\_stderr”: “”, “module\_stdout”: “Traceback (most…

---

## [remove files from host that are not in a dictionary](https://forum.ansible.com/t/remove-files-from-host-that-are-not-in-a-dictionary/23416)

<div class="topic-metadata">

**Author:** [@mekonhead100](https://forum.ansible.com/u/mekonhead100)\
**Replies:** 1\
**Last updated:** [January 11, 2017, 10:28am UTC](https://forum.ansible.com/t/remove-files-from-host-that-are-not-in-a-dictionary/23416 "2017-01-11T10:28:34Z")

</div>

I’m trying to remove config files from a host if they are no longer managed by ansible. The ansible managed files are in a dictionary similar to the following : config\_files: vhost01: servername: vhost01 domain: com…

---

## [What is best practice to determine if object has property (ideally at any depth)?](https://forum.ansible.com/t/what-is-best-practice-to-determine-if-object-has-property-ideally-at-any-depth/23423)

<div class="topic-metadata">

**Author:** [@james4](https://forum.ansible.com/u/james4)\
**Replies:** 1\
**Last updated:** [January 11, 2017, 8:49am UTC](https://forum.ansible.com/t/what-is-best-practice-to-determine-if-object-has-property-ideally-at-any-depth/23423 "2017-01-11T08:49:54Z")

</div>

What is the best way to test this condition? when: “{{object is defined and object.property is defined and object.property.property is defined and object.property.property == ‘mystring’}}” A custom lookup?

---

## [Zabbix\_host module self signed SSL issue](https://forum.ansible.com/t/zabbix-host-module-self-signed-ssl-issue/23429)

<div class="topic-metadata">

**Author:** [@j2b](https://forum.ansible.com/u/j2b)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 8:45am UTC](https://forum.ansible.com/t/zabbix-host-module-self-signed-ssl-issue/23429 "2017-01-11T08:45:43Z")

</div>

I have an issue connecting to Zabbix API over SSL, because I use self-signed one. Is it possible within role or Ansible configuration to set, that zabbix\_host module communications over unverified SSL certificate should…

---

## [HTTP Load Balancer for Google Cloud](https://forum.ansible.com/t/http-load-balancer-for-google-cloud/23428)

<div class="topic-metadata">

**Author:** [@Mehul\_Ved](https://forum.ansible.com/u/Mehul_Ved)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 8:44am UTC](https://forum.ansible.com/t/http-load-balancer-for-google-cloud/23428 "2017-01-11T08:44:26Z")

</div>

I am working on a google cloud setup. I am looking to setup a load balancer in front of my instances. While going through the ansible and google cloud documentation, I realized that ansible only supports L4 Load Balancer…

---

## [Currently logged in users in Tower](https://forum.ansible.com/t/currently-logged-in-users-in-tower/23427)

<div class="topic-metadata">

**Author:** [@Bapi](https://forum.ansible.com/u/Bapi)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 7:27am UTC](https://forum.ansible.com/t/currently-logged-in-users-in-tower/23427 "2017-01-11T07:27:05Z")

</div>

Hello, We are using Ansible Tower 2.4.5. Is there any way we can find out who are the currently logged in users to Ansible Tower? Regards Bapi

---

## [Need to source .bash\_profile on target system](https://forum.ansible.com/t/need-to-source-bash-profile-on-target-system/17827)

<div class="topic-metadata">

**Author:** [@bob.bean](https://forum.ansible.com/u/bob.bean)\
**Replies:** 4\
**Last updated:** [January 11, 2017, 6:59am UTC](https://forum.ansible.com/t/need-to-source-bash-profile-on-target-system/17827 "2017-01-11T06:59:45Z")

</div>

Hi, I’m new to ansible and I’m trying to get ansible to source the .bash\_profile of the user on the target system. We set many environment variables there in order to run a multitude of scripts. I know that ansible does…

---

## [Install tomcat server on an ec2 instance](https://forum.ansible.com/t/install-tomcat-server-on-an-ec2-instance/23373)

<div class="topic-metadata">

**Author:** [@Chethan\_ARAVIND\_T\_S](https://forum.ansible.com/u/Chethan_ARAVIND_T_S)\
**Replies:** 1\
**Last updated:** [January 11, 2017, 6:52am UTC](https://forum.ansible.com/t/install-tomcat-server-on-an-ec2-instance/23373 "2017-01-11T06:52:43Z")

</div>

Hi, I want to install tomcat server on an ec2 instance. Can I use the simple method of provisioning an instance without any vpc and using a default security group? If yes, can anyone send me a sample playbook to do it? …

---

## [Setup Ansible server to manage several AWS Accounts using dynamic inventory?](https://forum.ansible.com/t/setup-ansible-server-to-manage-several-aws-accounts-using-dynamic-inventory/23380)

<div class="topic-metadata">

**Author:** [@challa.tek](https://forum.ansible.com/u/challa.tek)\
**Replies:** 1\
**Last updated:** [January 11, 2017, 6:48am UTC](https://forum.ansible.com/t/setup-ansible-server-to-manage-several-aws-accounts-using-dynamic-inventory/23380 "2017-01-11T06:48:28Z")

</div>

How do i setup Ansible server to manage multiple Aws accounts using dynamic inventory, so, i have 20 Aws accounts and want to manage all those from single server (VPC’s in all accounts are peered with each other), So i…

---

## [Creating a GCE instance with reserved ip address](https://forum.ansible.com/t/creating-a-gce-instance-with-reserved-ip-address/23414)

<div class="topic-metadata">

**Author:** [@Mehul\_Ved](https://forum.ansible.com/u/Mehul_Ved)\
**Replies:** 3\
**Last updated:** [January 11, 2017, 6:26am UTC](https://forum.ansible.com/t/creating-a-gce-instance-with-reserved-ip-address/23414 "2017-01-11T06:26:22Z")

</div>

I am trying to create a new instance in google compute engine with a reserved external IP address. Since ansible doesn’t have a module to reserve static IP, I have used gcloud command to do that and then use gce module …

---

## [Download file from S3 into EC2 instance](https://forum.ansible.com/t/download-file-from-s3-into-ec2-instance/23424)

<div class="topic-metadata">

**Author:** [@Kalyan\_Raj\_Sista](https://forum.ansible.com/u/Kalyan_Raj_Sista)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 2:16am UTC](https://forum.ansible.com/t/download-file-from-s3-into-ec2-instance/23424 "2017-01-11T02:16:01Z")

</div>

hi, I want to download a file from S3 bucket in EC2 instance. I want this to be done remotely without connecting to the EC2 instance. I want to know if this can be done or not. Regards, Kalyan

---

## [When to use static vs dynamic task include](https://forum.ansible.com/t/when-to-use-static-vs-dynamic-task-include/23422)

<div class="topic-metadata">

**Author:** [@Divya\_Vavili](https://forum.ansible.com/u/Divya_Vavili)\
**Replies:** 0\
**Last updated:** [January 10, 2017, 8:36pm UTC](https://forum.ansible.com/t/when-to-use-static-vs-dynamic-task-include/23422 "2017-01-10T20:36:47Z")

</div>

Hi, I want to understand when to use static task inclusion vs dynamic. I recently ran into an issue where the ignore\_errors directive was not getting passed to the included tasks because it was not dynamically loaded. …

---

## [maven\_artifact fails](https://forum.ansible.com/t/maven-artifact-fails/23421)

<div class="topic-metadata">

**Author:** [@g.roberts](https://forum.ansible.com/u/g.roberts)\
**Replies:** 0\
**Last updated:** [January 10, 2017, 6:09pm UTC](https://forum.ansible.com/t/maven-artifact-fails/23421 "2017-01-10T18:09:53Z")

</div>

What am I doing wrong? I am trying to use the maven artifact. I have archiva installed and am trying to run the example (below) but I get the following error: fatal: \[localhost\]: FAILED! =\> {“changed”: false, “failed”:…

---

## [Zabbix\_host extra module - cannot comunicate with zabbix api over ssl with self signed cert.](https://forum.ansible.com/t/zabbix-host-extra-module-cannot-comunicate-with-zabbix-api-over-ssl-with-self-signed-cert/23420)

<div class="topic-metadata">

**Author:** [@j2b](https://forum.ansible.com/u/j2b)\
**Replies:** 0\
**Last updated:** [January 10, 2017, 5:18pm UTC](https://forum.ansible.com/t/zabbix-host-extra-module-cannot-comunicate-with-zabbix-api-over-ssl-with-self-signed-cert/23420 "2017-01-10T17:18:43Z")

</div>

Hey, guys! Working on Ansible v2.2 role for registering host on Zabbix server (extra module zabbix\_host: http://docs.ansible.com/ansible/zabbix\_hostmacro\_module.html). Role --check fail, as there’s an error of SSL cert…

---

## [ipaddr filter returns true for 10.247](https://forum.ansible.com/t/ipaddr-filter-returns-true-for-10-247/23418)

<div class="topic-metadata">

**Author:** [@Mumshad\_Mannambeth](https://forum.ansible.com/u/Mumshad_Mannambeth)\
**Replies:** 0\
**Last updated:** [January 10, 2017, 2:29pm UTC](https://forum.ansible.com/t/ipaddr-filter-returns-true-for-10-247/23418 "2017-01-10T14:29:39Z")

</div>

Hi, I am trying to use the ipaddr ir ipv4 filter to test if a string is a valid ip address. \` 10.247.1.1 → True 10.247.1. → False 10.247 → True → 10.247.0.0 \` The last condition returns True even if the text only …

---

## [uri\_module POST with template as body, is it possible?](https://forum.ansible.com/t/uri-module-post-with-template-as-body-is-it-possible/19330)

<div class="topic-metadata">

**Author:** [@Par\_Svensson](https://forum.ansible.com/u/Par_Svensson)\
**Replies:** 4\
**Last updated:** [January 10, 2017, 11:44am UTC](https://forum.ansible.com/t/uri-module-post-with-template-as-body-is-it-possible/19330 "2017-01-10T11:44:12Z")

</div>

Hello! I’m trying to make a task that uses a REST api to do some final configuration of a previously installed component. I want to make a POST request with a body that is a template that uses host specific variables. …

---

## [Canonical way to correct a broken symlink](https://forum.ansible.com/t/canonical-way-to-correct-a-broken-symlink/23412)

<div class="topic-metadata">

**Author:** [@Lorens\_Kockum](https://forum.ansible.com/u/Lorens_Kockum)\
**Replies:** 1\
**Last updated:** [January 10, 2017, 7:43am UTC](https://forum.ansible.com/t/canonical-way-to-correct-a-broken-symlink/23412 "2017-01-10T07:43:23Z")

</div>

Hi, I’m just starting out with Ansible, and I probably haven’t yet read all the docs I should, but I’m trying, so bear with me. I have a simple play: name: test file: path: “/path/to/file” owner: username group: …

---

## [Found bug in "apt\_rpm" module, fixed it.  Not sure how to help.](https://forum.ansible.com/t/found-bug-in-apt-rpm-module-fixed-it-not-sure-how-to-help/23404)

<div class="topic-metadata">

**Author:** [@pallenrupp](https://forum.ansible.com/u/pallenrupp)\
**Replies:** 1\
**Last updated:** [January 9, 2017, 6:20pm UTC](https://forum.ansible.com/t/found-bug-in-apt-rpm-module-fixed-it-not-sure-how-to-help/23404 "2017-01-09T18:20:35Z")

</div>

Hello, this is my first post to the ansible community. I’m a newby to Ansible, but a very experienced python developer. Anyway, after installing the latest Ansible 2.2.2.0, I tried out a simple module call to verify if…

---

## [New UCS Ansible Module Based on UCS Python SDK Logout Issue](https://forum.ansible.com/t/new-ucs-ansible-module-based-on-ucs-python-sdk-logout-issue/23406)

<div class="topic-metadata">

**Author:** [@brian\_hopkins](https://forum.ansible.com/u/brian_hopkins)\
**Replies:** 4\
**Last updated:** [January 9, 2017, 5:51pm UTC](https://forum.ansible.com/t/new-ucs-ansible-module-based-on-ucs-python-sdk-logout-issue/23406 "2017-01-09T17:51:44Z")

</div>

Hello Everyone, I’m working on my first Ansible module to interact with UCS and will be hopefully creating more of these to do new builds of UCS servers. I have the following code already https://github.com/btotharye/an…

---

## [Call webhook - error 411 the request must be chunked or have a content length](https://forum.ansible.com/t/call-webhook-error-411-the-request-must-be-chunked-or-have-a-content-length/23409)

<div class="topic-metadata">

**Author:** [@Ansible\_Red](https://forum.ansible.com/u/Ansible_Red)\
**Replies:** 0\
**Last updated:** [January 9, 2017, 12:56pm UTC](https://forum.ansible.com/t/call-webhook-error-411-the-request-must-be-chunked-or-have-a-content-length/23409 "2017-01-09T12:56:02Z")

</div>

Hi, I want to call a webhook from Ansible via the URI module, this is the playbook:

---

## [Automate sphinx installation on multiple servers using Ansible](https://forum.ansible.com/t/automate-sphinx-installation-on-multiple-servers-using-ansible/23400)

<div class="topic-metadata">

**Author:** [@Vincent](https://forum.ansible.com/u/Vincent)\
**Replies:** 4\
**Last updated:** [January 8, 2017, 7:39pm UTC](https://forum.ansible.com/t/automate-sphinx-installation-on-multiple-servers-using-ansible/23400 "2017-01-08T19:39:20Z")

</div>

I would like to automate sphinx installation on multiple servers using Ansible. Can you anyone send the procedure to accomplish this task?

---

## [How to use Pam module to set different ulimit values for different accounts in one go](https://forum.ansible.com/t/how-to-use-pam-module-to-set-different-ulimit-values-for-different-accounts-in-one-go/23408)

<div class="topic-metadata">

**Author:** [@neetu\_sharma](https://forum.ansible.com/u/neetu_sharma)\
**Replies:** 1\
**Last updated:** [January 8, 2017, 7:35pm UTC](https://forum.ansible.com/t/how-to-use-pam-module-to-set-different-ulimit-values-for-different-accounts-in-one-go/23408 "2017-01-08T19:35:01Z")

</div>

Hi Guys, I want to set ulimit (nproc,nofile and core) for multiple accounts with different value for each type. Please let me know what can be done for this , if anybody has idea regarding this. Thanks, -Neetu

---

## [Error while deploying virtual machine from a template on VMware VCenter Server. Cannot complete login due to an incorrect user name or password.](https://forum.ansible.com/t/error-while-deploying-virtual-machine-from-a-template-on-vmware-vcenter-server-cannot-complete-login-due-to-an-incorrect-user-name-or-password/23393)

<div class="topic-metadata">

**Author:** [@Mick\_st\_john](https://forum.ansible.com/u/Mick_st_john)\
**Replies:** 1\
**Last updated:** [January 8, 2017, 7:28pm UTC](https://forum.ansible.com/t/error-while-deploying-virtual-machine-from-a-template-on-vmware-vcenter-server-cannot-complete-login-due-to-an-incorrect-user-name-or-password/23393 "2017-01-08T19:28:44Z")

</div>

ANSIBLE VERSION USED: 2.2.0 I am trying to deploy a virtual machine from a template that is already present on an ESX which is managed by a VCenter Server. I’m getting the following error after the execution of my play…

---

## [ENCOUNTERING MODULE FAILURE Error while using IOS\_template module](https://forum.ansible.com/t/encountering-module-failure-error-while-using-ios-template-module/23396)

<div class="topic-metadata">

**Author:** [@sgampawa](https://forum.ansible.com/u/sgampawa)\
**Replies:** 1\
**Last updated:** [January 8, 2017, 5:51pm UTC](https://forum.ansible.com/t/encountering-module-failure-error-while-using-ios-template-module/23396 "2017-01-08T17:51:55Z")

</div>

Hello, I am writing simple playbook to add configuration in Cisco 2800 router using jinja2 templates,Where I am able to generate Configuration file using Template module.But after generating the configuration file i.e. …

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

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