# Archives

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

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

**Page:** 539

---

## [Ansible tower - Live events support](https://forum.ansible.com/t/ansible-tower-live-events-support/19112)

<div class="topic-metadata">

**Author:** [@fengnan\_zhao](https://forum.ansible.com/u/fengnan_zhao)\
**Replies:** 5\
**Last updated:** [November 11, 2016, 6:49pm UTC](https://forum.ansible.com/t/ansible-tower-live-events-support/19112 "2016-11-11T18:49:11Z")

</div>

the Live Events doesn’t work on my tower(running in my local ubuntu 14) , so I follow the instruction to hit https://localhost:8080 with my firefox : Secure Connection Failed An error occurred during a connection to ub…

---

## [Ansible 2.2 strategy for using when conditional statements to skip tasks](https://forum.ansible.com/t/ansible-2-2-strategy-for-using-when-conditional-statements-to-skip-tasks/23009)

<div class="topic-metadata">

**Author:** [@Sean\_Cavanaugh1](https://forum.ansible.com/u/Sean_Cavanaugh1)\
**Replies:** 1\
**Last updated:** [November 11, 2016, 4:23pm UTC](https://forum.ansible.com/t/ansible-2-2-strategy-for-using-when-conditional-statements-to-skip-tasks/23009 "2016-11-11T16:23:31Z")

</div>

In a lot our templates we have loads of variables that we may or may not use within tasks. The desired behavior is ‘if’ the variable is not defined within vars or group\_vars that we just skip the task. This has been wond…

---

## [Move on second server only if first server is unreachable](https://forum.ansible.com/t/move-on-second-server-only-if-first-server-is-unreachable/22999)

<div class="topic-metadata">

**Author:** [@Mpampis\_Mpigkonias](https://forum.ansible.com/u/Mpampis_Mpigkonias)\
**Replies:** 4\
**Last updated:** [November 11, 2016, 4:09pm UTC](https://forum.ansible.com/t/move-on-second-server-only-if-first-server-is-unreachable/22999 "2016-11-11T16:09:16Z")

</div>

Hello people, I have two synced LDAP servers (Master / Master configured). I want to call a role on one server and try to connect to the second ldap server to run this role ONLY IF the first server is not reachable for …

---

## [Custom Connection Plugin - to instatiate any generic "connection"](https://forum.ansible.com/t/custom-connection-plugin-to-instatiate-any-generic-connection/23004)

<div class="topic-metadata">

**Author:** [@ayynadar](https://forum.ansible.com/u/ayynadar)\
**Replies:** 2\
**Last updated:** [November 11, 2016, 3:27pm UTC](https://forum.ansible.com/t/custom-connection-plugin-to-instatiate-any-generic-connection/23004 "2016-11-11T15:27:59Z")

</div>

Hello - I spend a fair bit of time researching and the answer eludes me. Hoping that it is a simple mis-conception of mine that someone will correct. I currently have a custom module to make REST API calls to a bunch of…

---

## [Host variables validation using action\_plugins](https://forum.ansible.com/t/host-variables-validation-using-action-plugins/23008)

<div class="topic-metadata">

**Author:** [@David\_Schweikert](https://forum.ansible.com/u/David_Schweikert)\
**Replies:** 0\
**Last updated:** [November 11, 2016, 1:33pm UTC](https://forum.ansible.com/t/host-variables-validation-using-action-plugins/23008 "2016-11-11T13:33:11Z")

</div>

Hi, I just discovered a way to validate my host variables before starting to push changes, and I wrote an article about it. Maybe it is of interest to somebody: https://medium.com/@schweikert/host-variables-validation…

---

## [failed (rc=2) with output: python:inventory.py':\[Errno 2\] No such file or directory](https://forum.ansible.com/t/failed-rc-2-with-output-python-inventory-py-errno-2-no-such-file-or-directory/23002)

<div class="topic-metadata">

**Author:** [@Amit\_Saini](https://forum.ansible.com/u/Amit_Saini)\
**Replies:** 1\
**Last updated:** [November 10, 2016, 11:26pm UTC](https://forum.ansible.com/t/failed-rc-2-with-output-python-inventory-py-errno-2-no-such-file-or-directory/23002 "2016-11-10T23:26:32Z")

</div>

Hi Friends, I am trying to add and run Inventory with custom script in ansible tower but every time getting this error RuntimeError: \[‘proot’, ‘-v’, ‘0’, ‘-r’, ‘/’, ‘-b’, ‘/tmp/ansible\_tower\_launch\_11iaMR/tmp41GNon:/et…

---

## [where to install systemd unit files](https://forum.ansible.com/t/where-to-install-systemd-unit-files/23005)

<div class="topic-metadata">

**Author:** [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Replies:** 3\
**Last updated:** [November 10, 2016, 10:05pm UTC](https://forum.ansible.com/t/where-to-install-systemd-unit-files/23005 "2016-11-10T22:05:50Z")

</div>

HI! Is there any fact or similar pointing to the directory where to install systemd unit files on different Linux distros? Output of systemd-path is not helpful for this. Currently I have in a custom map: Debian: …

---

## [return values of dictionary fields using j2](https://forum.ansible.com/t/return-values-of-dictionary-fields-using-j2/23000)

<div class="topic-metadata">

**Author:** [@Alix\_Ak](https://forum.ansible.com/u/Alix_Ak)\
**Replies:** 2\
**Last updated:** [November 10, 2016, 5:38pm UTC](https://forum.ansible.com/t/return-values-of-dictionary-fields-using-j2/23000 "2016-11-10T17:38:11Z")

</div>

hallo all, i have defined following variables in my playbook:

---

## [Ansible production and development, change hostname](https://forum.ansible.com/t/ansible-production-and-development-change-hostname/22989)

<div class="topic-metadata">

**Author:** [@Victor\_Caballero](https://forum.ansible.com/u/Victor_Caballero)\
**Replies:** 2\
**Last updated:** [November 10, 2016, 5:11pm UTC](https://forum.ansible.com/t/ansible-production-and-development-change-hostname/22989 "2016-11-10T17:11:31Z")

</div>

Hello, I want to use the same playbook for production and development. The playbook is divided in separate role-hosts, let’s say: pubsubservers and mongoservers. I have a hosts file assigning the hostnames: \[mongoserve…

---

## [Ansible Tower connection error with Node in CentOS](https://forum.ansible.com/t/ansible-tower-connection-error-with-node-in-centos/22998)

<div class="topic-metadata">

**Author:** [@Balu\_Kompalli](https://forum.ansible.com/u/Balu_Kompalli)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 1:10pm UTC](https://forum.ansible.com/t/ansible-tower-connection-error-with-node-in-centos/22998 "2016-11-10T13:10:44Z")

</div>

Hello Team, I have installed Ansible tower in my VM and I disable all my firewalls. I have public IP and changed the Apache tomcat port from default to 1010 as my necessity. But Ansible tower is not able to connect to…

---

## [Create fluentd tag in dynamic way](https://forum.ansible.com/t/create-fluentd-tag-in-dynamic-way/22996)

<div class="topic-metadata">

**Author:** [@Viktor\_Kucher](https://forum.ansible.com/u/Viktor_Kucher)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 10:35am UTC](https://forum.ansible.com/t/create-fluentd-tag-in-dynamic-way/22996 "2016-11-10T10:35:41Z")

</div>

Hi everyone, I would like run docker container with log-driver as fluentd. I can’t create fluentd tag in dynamic way, like below name: “run container” docker: name: api image: api state: started restart\_policy: a…

---

## [ansible-galaxy download roles for offline installs](https://forum.ansible.com/t/ansible-galaxy-download-roles-for-offline-installs/22992)

<div class="topic-metadata">

**Author:** [@Liam\_Chasteen](https://forum.ansible.com/u/Liam_Chasteen)\
**Replies:** 1\
**Last updated:** [November 10, 2016, 10:22am UTC](https://forum.ansible.com/t/ansible-galaxy-download-roles-for-offline-installs/22992 "2016-11-10T10:22:19Z")

</div>

Hello all- I’m using Ansible at work to automate various workflows, and one of the requirements is deterministic repeatable installs of the ansible environment. As part of this, all installations need to be able to inst…

---

## [Pull Request 3414 New modules to manage tenant/project quotas in cloud OpenStack](https://forum.ansible.com/t/pull-request-3414-new-modules-to-manage-tenant-project-quotas-in-cloud-openstack/22995)

<div class="topic-metadata">

**Author:** [@Andrea\_Mercanti](https://forum.ansible.com/u/Andrea_Mercanti)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 9:07am UTC](https://forum.ansible.com/t/pull-request-3414-new-modules-to-manage-tenant-project-quotas-in-cloud-openstack/22995 "2016-11-10T09:07:52Z")

</div>

Hi, I have done the pull request 3414 to propose three modules: os\_compute\_quotas os\_network\_quotas os\_volume\_quotas to manage tenant/project quotas in cloud OpenStack. I need help with the pull request, the CI auto…

---

## [/etc/ansible/facts.d/common.fact =\> \[Errno 8\] Exec format error](https://forum.ansible.com/t/etc-ansible-facts-d-common-fact-errno-8-exec-format-error/22991)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 1\
**Last updated:** [November 10, 2016, 8:39am UTC](https://forum.ansible.com/t/etc-ansible-facts-d-common-fact-errno-8-exec-format-error/22991 "2016-11-10T08:39:40Z")

</div>

I believe the code path will look to see if the file is executable, and try to execute it. I’d make sure that the file isn’t executable. If it’s not executable, ansible will just read it, and then parse.

---

## [Script to be run from the ansible module docker\_container](https://forum.ansible.com/t/script-to-be-run-from-the-ansible-module-docker-container/22994)

<div class="topic-metadata">

**Author:** [@MHM\_Reddy](https://forum.ansible.com/u/MHM_Reddy)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 8:14am UTC](https://forum.ansible.com/t/script-to-be-run-from-the-ansible-module-docker-container/22994 "2016-11-10T08:14:15Z")

</div>

Hi All, I am very new to ansible and trying to explore. I have requirement of launching docker container out of my box and execute series of scripts in the docker container. name: Execute xpcgen inside the container …

---

## [requirements for share roles](https://forum.ansible.com/t/requirements-for-share-roles/22993)

<div class="topic-metadata">

**Author:** [@Jian\_Zhang](https://forum.ansible.com/u/Jian_Zhang)\
**Replies:** 0\
**Last updated:** [November 10, 2016, 3:42am UTC](https://forum.ansible.com/t/requirements-for-share-roles/22993 "2016-11-10T03:42:36Z")

</div>

Hi Guys, I not clear the requirements for source-roles on the Github. Assume that I have a ansible project on the github, including multi roles and other files. Can I use it as a role via ansible-galaxy command direct…

---

## [ansible 2.0.1.0 run show version with Cisco ASA-55x0](https://forum.ansible.com/t/ansible-2-0-1-0-run-show-version-with-cisco-asa-55x0/21625)

<div class="topic-metadata">

**Author:** [@Ludi\_Fang](https://forum.ansible.com/u/Ludi_Fang)\
**Replies:** 29\
**Last updated:** [November 9, 2016, 9:26pm UTC](https://forum.ansible.com/t/ansible-2-0-1-0-run-show-version-with-cisco-asa-55x0/21625 "2016-11-09T21:26:08Z")

</div>

I could login the cisco device with SSH and run the show version successfully.

---

## [Inconsistent regex search results in where conditional?](https://forum.ansible.com/t/inconsistent-regex-search-results-in-where-conditional/22955)

<div class="topic-metadata">

**Author:** [@burns498](https://forum.ansible.com/u/burns498)\
**Replies:** 2\
**Last updated:** [November 9, 2016, 9:00pm UTC](https://forum.ansible.com/t/inconsistent-regex-search-results-in-where-conditional/22955 "2016-11-09T21:00:26Z")

</div>

Hello - I am working through some seemingly inconsistent results for regex search results in where clauses. I’m trying to take actions when stdout contains a certain regex pattern. I have one method using shell module, …

---

## [Unable to upgrade the package with latest](https://forum.ansible.com/t/unable-to-upgrade-the-package-with-latest/22990)

<div class="topic-metadata">

**Author:** [@Rayees\_Namathponnan](https://forum.ansible.com/u/Rayees_Namathponnan)\
**Replies:** 3\
**Last updated:** [November 9, 2016, 7:39pm UTC](https://forum.ansible.com/t/unable-to-upgrade-the-package-with-latest/22990 "2016-11-09T19:39:50Z")

</div>

Hi All, Graylog server is running in my host version “graylog-server-2.1.1-3.noarch.rpm”, i am trying to upgrade this to “graylog-server-2.1.2-1.noarch.rpm” Here is my ansible script \` name: Install Graylog server …

---

## [\[ansible 2.2.0\] Blocks and When condiftion](https://forum.ansible.com/t/ansible-2-2-0-blocks-and-when-condiftion/22980)

<div class="topic-metadata">

**Author:** [@Patrick\_Montanari](https://forum.ansible.com/u/Patrick_Montanari)\
**Replies:** 2\
**Last updated:** [November 9, 2016, 5:41pm UTC](https://forum.ansible.com/t/ansible-2-2-0-blocks-and-when-condiftion/22980 "2016-11-09T17:41:40Z")

</div>

Hello, Since ansible 2.2.0 when using a when condition for a block, inner when are no more evaluated and are executed. Ex: blocks: include xxx.yml when: condition1 include: yyy.yml when: condition2 when: …

---

## [Escape space in Windows directory path in playbook](https://forum.ansible.com/t/escape-space-in-windows-directory-path-in-playbook/22943)

<div class="topic-metadata">

**Author:** [@Tim3](https://forum.ansible.com/u/Tim3)\
**Replies:** 4\
**Last updated:** [November 9, 2016, 4:45pm UTC](https://forum.ansible.com/t/escape-space-in-windows-directory-path-in-playbook/22943 "2016-11-09T16:45:21Z")

</div>

Hi, I want to copy some files to the Startup folder using “win\_copy”. The problem is, that the destination directory is “dest=C:/ProgramData/Microsoft/Windows/Start Menu/Programs/StartUp/link.lnk” which has a space bet…

---

## [Access All Variables in Plugin - Ansible 2.1](https://forum.ansible.com/t/access-all-variables-in-plugin-ansible-2-1/22983)

<div class="topic-metadata">

**Author:** [@Nick\_Chandler](https://forum.ansible.com/u/Nick_Chandler)\
**Replies:** 2\
**Last updated:** [November 9, 2016, 2:24pm UTC](https://forum.ansible.com/t/access-all-variables-in-plugin-ansible-2-1/22983 "2016-11-09T14:24:45Z")

</div>

Hi, everyone. I have an Ansible project that has a number of roles, along with several different playbooks. Several roles require certain variables to be set in order for the roles to execute properly. These variables m…

---

## [Making 100% sure content of directory will not get deleted](https://forum.ansible.com/t/making-100-sure-content-of-directory-will-not-get-deleted/22988)

<div class="topic-metadata">

**Author:** [@Wasim\_Khamlichi](https://forum.ansible.com/u/Wasim_Khamlichi)\
**Replies:** 0\
**Last updated:** [November 9, 2016, 1:33pm UTC](https://forum.ansible.com/t/making-100-sure-content-of-directory-will-not-get-deleted/22988 "2016-11-09T13:33:27Z")

</div>

I’m writing a play to create a few symlinks in my app directory that link to some shared directories on a NFS mount. Because of the way the application is, in the location where I’m trying to place the symlink, there ma…

---

## [Howto get value of passed limit](https://forum.ansible.com/t/howto-get-value-of-passed-limit/22987)

<div class="topic-metadata">

**Author:** [@William\_Leemans](https://forum.ansible.com/u/William_Leemans)\
**Replies:** 0\
**Last updated:** [November 9, 2016, 10:41am UTC](https://forum.ansible.com/t/howto-get-value-of-passed-limit/22987 "2016-11-09T10:41:20Z")

</div>

Hello, I am looking for a way to obtain the limit specified when running a playbook. http://docs.ansible.com/ansible/playbooks\_variables.html doesn’t seem to contain information about this. vars\[‘ansible\_play\_batch’\] …

---

## [AWS AMIs and Launch configuration UserData](https://forum.ansible.com/t/aws-amis-and-launch-configuration-userdata/22901)

<div class="topic-metadata">

**Author:** [@James1](https://forum.ansible.com/u/James1)\
**Replies:** 4\
**Last updated:** [November 9, 2016, 8:33am UTC](https://forum.ansible.com/t/aws-amis-and-launch-configuration-userdata/22901 "2016-11-09T08:33:42Z")

</div>

Hi all This is my first post of (hopefully) many. I’m James, I’m an IT contractor, and I’m currently working in an infrastructure team that heavily uses Ansible, my background is mainly Java, so I’m less infrastructure …

---

## [Ansible Tower - Job Type: Check with --diff](https://forum.ansible.com/t/ansible-tower-job-type-check-with-diff/22986)

<div class="topic-metadata">

**Author:** [@Lance\_Le\_Roux](https://forum.ansible.com/u/Lance_Le_Roux)\
**Replies:** 0\
**Last updated:** [November 9, 2016, 12:22am UTC](https://forum.ansible.com/t/ansible-tower-job-type-check-with-diff/22986 "2016-11-09T00:22:51Z")

</div>

I am using junos\_check and like to run my playbook with the --check --diff arguments as it returns what configuration changes will actually be applied to the network device. i.e. \[edit system arp\] aging-timer 240; a…

---

## [developing on the Ansible Project.](https://forum.ansible.com/t/developing-on-the-ansible-project/22985)

<div class="topic-metadata">

**Author:** [@Dave\_Germiquet](https://forum.ansible.com/u/Dave_Germiquet)\
**Replies:** 0\
**Last updated:** [November 9, 2016, 12:19am UTC](https://forum.ansible.com/t/developing-on-the-ansible-project/22985 "2016-11-09T00:19:40Z")

</div>

Hi Everyone, I’m looking to become a developer and contributor on the ansible project, just came by to say hello.

---

## [How to get latest versions of roles using galaxy?](https://forum.ansible.com/t/how-to-get-latest-versions-of-roles-using-galaxy/22982)

<div class="topic-metadata">

**Author:** [@Zhomart\_Mukhamejanov](https://forum.ansible.com/u/Zhomart_Mukhamejanov)\
**Replies:** 2\
**Last updated:** [November 8, 2016, 8:23pm UTC](https://forum.ansible.com/t/how-to-get-latest-versions-of-roles-using-galaxy/22982 "2016-11-08T20:23:06Z")

</div>

Currently I’m using a role with it’s dependencies. Author of the role fixed some major bugs but didn’t pushed the release to the galaxy.ansible.com. I want to get latest version of the role and it’s dependencies from gi…

---

## [nxos\_command using the src option](https://forum.ansible.com/t/nxos-command-using-the-src-option/22981)

<div class="topic-metadata">

**Author:** [@mamullen13316](https://forum.ansible.com/u/mamullen13316)\
**Replies:** 0\
**Last updated:** [November 8, 2016, 6:43pm UTC](https://forum.ansible.com/t/nxos-command-using-the-src-option/22981 "2016-11-08T18:43:52Z")

</div>

I’m using the src parameter of nxos\_config to enter several configuration lines at once. When it detects that one of the lines differs from the running configuration, does it push the entire block from the src file or ju…

---

## [Targeting Windows 2008 R2 machines with Ansible?](https://forum.ansible.com/t/targeting-windows-2008-r2-machines-with-ansible/22975)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 2\
**Last updated:** [November 8, 2016, 4:23pm UTC](https://forum.ansible.com/t/targeting-windows-2008-r2-machines-with-ansible/22975 "2016-11-08T16:23:28Z")

</div>

Hello, I’m curious if anyone is making use of Server 2008/R2 versions of Windows Server any more. I am setting up a S2008R2 VM at the moment to test a PR and I’m wondering how much use this version of windows is gettin…

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

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