# Archives

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

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

**Page:** 525

---

## [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. …

---

## [nxos\_vpc\_portchannel](https://forum.ansible.com/t/nxos-vpc-portchannel/23407)

<div class="topic-metadata">

**Author:** [@John\_Smith2](https://forum.ansible.com/u/John_Smith2)\
**Replies:** 0\
**Last updated:** [January 8, 2017, 2:44pm UTC](https://forum.ansible.com/t/nxos-vpc-portchannel/23407 "2017-01-08T14:44:30Z")

</div>

Hi, started looking at automation for Cisco Nexus devices. Have a feeling it is a bit too subdivided. An extreme example is “nxos\_vpc\_portchannel” module, making port-channel VPC instead of simple link bundle. IMHO this…

---

## [digital\_ocean module and host\_vars](https://forum.ansible.com/t/digital-ocean-module-and-host-vars/23389)

<div class="topic-metadata">

**Author:** [@ticktockhouse](https://forum.ansible.com/u/ticktockhouse)\
**Replies:** 2\
**Last updated:** [January 8, 2017, 12:13pm UTC](https://forum.ansible.com/t/digital-ocean-module-and-host-vars/23389 "2017-01-08T12:13:58Z")

</div>

Hi All, It looks like I’ve stumbled across a bug with the digital\_ocean module. I’ve been following the digital ocean tutorial here, but I want to parameterise as much as possible. I’m building a role, and this is the …

---

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

<div class="topic-metadata">

**Author:** [@sgampawa](https://forum.ansible.com/u/sgampawa)\
**Replies:** 2\
**Last updated:** [January 8, 2017, 9:45am UTC](https://forum.ansible.com/t/encountering-module-failure-error-while-using-ios-template-module/23397 "2017-01-08T09:45:24Z")

</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. …

---

## [Help with filesystem module and apt\_key](https://forum.ansible.com/t/help-with-filesystem-module-and-apt-key/23403)

<div class="topic-metadata">

**Author:** [@Shyam\_Yenna](https://forum.ansible.com/u/Shyam_Yenna)\
**Replies:** 0\
**Last updated:** [January 7, 2017, 8:47pm UTC](https://forum.ansible.com/t/help-with-filesystem-module-and-apt-key/23403 "2017-01-07T20:47:42Z")

</div>

I am trying to format attached volume of an instances it is throwing an error below. “changed”: false, “failed”: true, “invocation”: { “module\_args”: { “dev”: “/dev/xvdf”, “force”: false, “fstype”: “ext4”, “opts”…

---

## [Using lookup plugin within include\_vars to build file name](https://forum.ansible.com/t/using-lookup-plugin-within-include-vars-to-build-file-name/23391)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 2\
**Last updated:** [January 7, 2017, 6:27pm UTC](https://forum.ansible.com/t/using-lookup-plugin-within-include-vars-to-build-file-name/23391 "2017-01-07T18:27:32Z")

</div>

Running Ansible 2.1.1 I want to dynamically build the variable name for a file I wish to load using “include\_vars.” it doesn’t work using the lookup plugin but the lookup plugin itself does work when I use the “debug” m…

---

## [Callback Plugins capture output when using 'With\_items'](https://forum.ansible.com/t/callback-plugins-capture-output-when-using-with-items/23401)

<div class="topic-metadata">

**Author:** [@Matt4](https://forum.ansible.com/u/Matt4)\
**Replies:** 0\
**Last updated:** [January 6, 2017, 10:15pm UTC](https://forum.ansible.com/t/callback-plugins-capture-output-when-using-with-items/23401 "2017-01-06T22:15:15Z")

</div>

Hi , I have ansible tasks that prints the values in the logs through loop using with-items. Any idea on capturing the output in my custom callback plugin when I use ‘With-items’. If it is a single item, it works perfect…

---

## [how to synchronize files or Dir between different remote hosts?](https://forum.ansible.com/t/how-to-synchronize-files-or-dir-between-different-remote-hosts/23385)

<div class="topic-metadata">

**Author:** [@user117](https://forum.ansible.com/u/user117)\
**Replies:** 1\
**Last updated:** [January 6, 2017, 8:34pm UTC](https://forum.ansible.com/t/how-to-synchronize-files-or-dir-between-different-remote-hosts/23385 "2017-01-06T20:34:33Z")

</div>

how to synchronize files or Dir between different remote hosts? if there are 2 hosts: s1 and s2, and ansible running at s3, how to synchronize dirs on s1 and s2？

---

## [wait\_for\_ip\_address timeout in vmware\_guest module](https://forum.ansible.com/t/wait-for-ip-address-timeout-in-vmware-guest-module/23390)

<div class="topic-metadata">

**Author:** [@Neil\_Watson](https://forum.ansible.com/u/Neil_Watson)\
**Replies:** 2\
**Last updated:** [January 6, 2017, 8:30pm UTC](https://forum.ansible.com/t/wait-for-ip-address-timeout-in-vmware-guest-module/23390 "2017-01-06T20:30:04Z")

</div>

Greetings, I’m seeing evidence that the vmware\_guest module does not wait long enough to get the guest’s new IP. Is there a way to increase the wait time? TASK \[provision\_vm\_and\_set\_ip : Create VM from template\] \*\*\*\*\*\*…

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

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