# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=295

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

**Page:** 296

---

## [Using python functions in ansbile](https://forum.ansible.com/t/using-python-functions-in-ansbile/26175)

<div class="topic-metadata">

**Author:** [@bernienik](https://forum.ansible.com/u/bernienik)\
**Replies:** 0\
**Last updated:** [November 30, 2017, 12:12pm UTC](https://forum.ansible.com/t/using-python-functions-in-ansbile/26175 "2017-11-30T12:12:49Z")

</div>

Hi i wonder in which sittuations python functions can be used in templates, as i have found no infos on this in the documentation. For example this works: name: get some results shell: ls -lrt register: shell\_res …

---

## [Seeing glibc is not defined error when running ansible-container build](https://forum.ansible.com/t/seeing-glibc-is-not-defined-error-when-running-ansible-container-build/26173)

<div class="topic-metadata">

**Author:** [@ManiGandan\_T](https://forum.ansible.com/u/ManiGandan_T)\
**Replies:** 0\
**Last updated:** [November 30, 2017, 8:57am UTC](https://forum.ansible.com/t/seeing-glibc-is-not-defined-error-when-running-ansible-container-build/26173 "2017-11-30T08:57:18Z")

</div>

Bug Report container.yml version: ‘2’ settings: conductor\_base: centos:7 services: ansible.play\_container: roles: play\_container ports: “9000:9000” user: play command: \[‘app/xxx/docker-entrypoint.sh’\] regist…

---

## [PyCharm & Modules](https://forum.ansible.com/t/pycharm-modules/16635)

<div class="topic-metadata">

**Author:** [@Tennis\_Smith](https://forum.ansible.com/u/Tennis_Smith)\
**Replies:** 9\
**Last updated:** [November 30, 2017, 6:48am UTC](https://forum.ansible.com/t/pycharm-modules/16635 "2017-11-30T06:48:03Z")

</div>

Hi, Has anyone found a good way to debug ansible modules via the PyCharm debugger? -T

---

## [Metadata for \*groups\*](https://forum.ansible.com/t/metadata-for-groups/26172)

<div class="topic-metadata">

**Author:** [@burton](https://forum.ansible.com/u/burton)\
**Replies:** 0\
**Last updated:** [November 30, 2017, 4:42am UTC](https://forum.ansible.com/t/metadata-for-groups/26172 "2017-11-30T04:42:50Z")

</div>

I have a setup where I have N named elasticsearch clusters. Each cluster has a group in the Ansible configuration. Then I have an haproxy role. The haproxy needs to discovery every group, and whether it’s an ES cluste…

---

## [Ansible 2.4.2 has been released](https://forum.ansible.com/t/ansible-2-4-2-has-been-released/26170)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [November 29, 2017, 9:21pm UTC](https://forum.ansible.com/t/ansible-2-4-2-has-been-released/26170 "2017-11-29T21:21:51Z")

</div>

On behalf of the entire Ansible open source community, we are very happy to announce that Ansible 2.4.2 has been released! This release includes many bugfixes to the 2.4 codebase. For full details, please see the Cha…

---

## [Playbook into python](https://forum.ansible.com/t/playbook-into-python/26169)

<div class="topic-metadata">

**Author:** [@Fabio\_Santos](https://forum.ansible.com/u/Fabio_Santos)\
**Replies:** 0\
**Last updated:** [November 29, 2017, 6:27pm UTC](https://forum.ansible.com/t/playbook-into-python/26169 "2017-11-29T18:27:07Z")

</div>

Hi all, I’m newer in ansible, so I made some playbooks (working fine). But now I want to call these playbooks inside python script and record the output from ansible playbook in python variable. How can i do that? See …

---

## [The Difference Between AWX and Ansible Tower Functionality](https://forum.ansible.com/t/the-difference-between-awx-and-ansible-tower-functionality/25930)

<div class="topic-metadata">

**Author:** [@Rizal\_Muttaqin](https://forum.ansible.com/u/Rizal_Muttaqin)\
**Replies:** 1\
**Last updated:** [November 29, 2017, 6:00pm UTC](https://forum.ansible.com/t/the-difference-between-awx-and-ansible-tower-functionality/25930 "2017-11-29T18:00:17Z")

</div>

Hello All, I’m new to Ansible. I’ve read both Ansible Core and Ansible Tower documentations. Just a quick dumb question: What the big difference especially in functionality between AWX as community based version and Tow…

---

## [How to get the extra\_vars from Ansible Callback?](https://forum.ansible.com/t/how-to-get-the-extra-vars-from-ansible-callback/26167)

<div class="topic-metadata">

**Author:** [@Stephane\_Bernier](https://forum.ansible.com/u/Stephane_Bernier)\
**Replies:** 2\
**Last updated:** [November 29, 2017, 3:52pm UTC](https://forum.ansible.com/t/how-to-get-the-extra-vars-from-ansible-callback/26167 "2017-11-29T15:52:02Z")

</div>

Hi, I’m facing an issue with Ansible Callbacks when trying to get the extra\_vars. From the v2\_playbook\_on\_start I’m able to get access to the Playbook object thanks to the play parameter of the method. Unfortunately, …

---

## [anskbile-galaxy install -r requirements/my-play-reqs.yml -p roles/ installs roles in /etc/ansible/roles instead of /path\_to\_playbooks/roles?](https://forum.ansible.com/t/anskbile-galaxy-install-r-requirements-my-play-reqs-yml-p-roles-installs-roles-in-etc-ansible-roles-instead-of-path-to-playbooks-roles/26166)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [November 29, 2017, 3:22pm UTC](https://forum.ansible.com/t/anskbile-galaxy-install-r-requirements-my-play-reqs-yml-p-roles-installs-roles-in-etc-ansible-roles-instead-of-path-to-playbooks-roles/26166 "2017-11-29T15:22:00Z")

</div>

I have the following directory structure. The my-play-reqs.yml file contains the roles that I need for the my-play.yml playbook. /path\_to\_playbooks/my-play.yml /path\_to\_playbooks/requirements/my-play-reqs.yml …and I ru…

---

## [ERROR for unarchive module with password protected file](https://forum.ansible.com/t/error-for-unarchive-module-with-password-protected-file/26164)

<div class="topic-metadata">

**Author:** [@Sandeep\_Panchal1](https://forum.ansible.com/u/Sandeep_Panchal1)\
**Replies:** 1\
**Last updated:** [November 29, 2017, 2:37pm UTC](https://forum.ansible.com/t/error-for-unarchive-module-with-password-protected-file/26164 "2017-11-29T14:37:19Z")

</div>

Hi All, i am trying to use unarchive module to extract a password protected zip file, using extra\_opts option but unable to achieve it. Is it really supported by unarchive module or not ? below is snippet what i tried…

---

## [unarchive dry-run is never changed](https://forum.ansible.com/t/unarchive-dry-run-is-never-changed/26163)

<div class="topic-metadata">

**Author:** [@Christophe\_Pache](https://forum.ansible.com/u/Christophe_Pache)\
**Replies:** 0\
**Last updated:** [November 29, 2017, 7:52am UTC](https://forum.ansible.com/t/unarchive-dry-run-is-never-changed/26163 "2017-11-29T07:52:23Z")

</div>

Hello everyone! I’m quite new to ansible and I’m trying to test the --check command and to understand how much I can test the deployed system with. I’m deploying an archive and extracting it to a folder and would like t…

---

## [local sudo rsync](https://forum.ansible.com/t/local-sudo-rsync/26161)

<div class="topic-metadata">

**Author:** [@jayen](https://forum.ansible.com/u/jayen)\
**Replies:** 2\
**Last updated:** [November 29, 2017, 6:28am UTC](https://forum.ansible.com/t/local-sudo-rsync/26161 "2017-11-29T06:28:03Z")

</div>

Hi there, I haven’ been able to figure out how to use synchronize with local sudo, so I used a shell command: local\_action: shell sudo rsync -aL --rsync-path="sudo rsync" -e "ssh -i {{ ansible\_user\_dir }}/.ssh/id\_rsa" S…

---

## [ERROR! 'with\_indexed\_items' is not a valid attribute for a Play](https://forum.ansible.com/t/error-with-indexed-items-is-not-a-valid-attribute-for-a-play/26159)

<div class="topic-metadata">

**Author:** [@Markus\_Iser](https://forum.ansible.com/u/Markus_Iser)\
**Replies:** 1\
**Last updated:** [November 28, 2017, 10:24pm UTC](https://forum.ansible.com/t/error-with-indexed-items-is-not-a-valid-attribute-for-a-play/26159 "2017-11-28T22:24:34Z")

</div>

Hello, I just gave myself a crashcourse in Ansible in order to setup a cluster at my university. As I was eager to just do anything with Ansible I running through a rather complicated bootstrapping. Now that I’m testin…

---

## [Galaxy Maintenance - ACTION REQUIRED](https://forum.ansible.com/t/galaxy-maintenance-action-required/26157)

<div class="topic-metadata">

**Author:** [@chousekn](https://forum.ansible.com/u/chousekn)\
**Replies:** 0\
**Last updated:** [November 28, 2017, 7:51pm UTC](https://forum.ansible.com/t/galaxy-maintenance-action-required/26157 "2017-11-28T19:51:02Z")

</div>

We will be performing Galaxy database maintenance on December 4, 2017, and if your GitHub username or organization appears on the list below, one or more of your roles may be removed from the Galaxy site. What does this…

---

## [Is it possible to do a yum update via yum module?](https://forum.ansible.com/t/is-it-possible-to-do-a-yum-update-via-yum-module/26153)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 5\
**Last updated:** [November 28, 2017, 5:36pm UTC](https://forum.ansible.com/t/is-it-possible-to-do-a-yum-update-via-yum-module/26153 "2017-11-28T17:36:01Z")

</div>

I believe the answer to my question is “No” since I don’t see it documented in yum - Manages packages with the yum package manager but thought I would ask. For example if I have gitlab-ce-8.14.3 and want to update to git…

---

## [Unable to Open Shell](https://forum.ansible.com/t/unable-to-open-shell/26144)

<div class="topic-metadata">

**Author:** [@Lukas\_M](https://forum.ansible.com/u/Lukas_M)\
**Replies:** 4\
**Last updated:** [November 28, 2017, 3:51pm UTC](https://forum.ansible.com/t/unable-to-open-shell/26144 "2017-11-28T15:51:35Z")

</div>

Hello, I am still new to ansible and have been trying to get a simple playbook together using cisco IOS modules. I am testing with a Cisco Catalyst 3850 switch (running IOS XE 16.6.2) and at this stage am trying to coll…

---

## [win\_chocolatey issue](https://forum.ansible.com/t/win-chocolatey-issue/26151)

<div class="topic-metadata">

**Author:** [@SurferL](https://forum.ansible.com/u/SurferL)\
**Replies:** 0\
**Last updated:** [November 28, 2017, 2:57pm UTC](https://forum.ansible.com/t/win-chocolatey-issue/26151 "2017-11-28T14:57:15Z")

</div>

I’m not sure if this is a win\_chocolatey issue, or an issue with the maintainers of the chocolatey installation (using Ansible 2.4.1.0) However, I’m having issues with installing git.install using win\_chocolatey (when I…

---

## [ansible\_winrm\_read\_timeout\_sec & ansible\_winrm\_operation\_timeout\_sec errors?](https://forum.ansible.com/t/ansible-winrm-read-timeout-sec-ansible-winrm-operation-timeout-sec-errors/26138)

<div class="topic-metadata">

**Author:** [@SurferL](https://forum.ansible.com/u/SurferL)\
**Replies:** 3\
**Last updated:** [November 28, 2017, 2:44pm UTC](https://forum.ansible.com/t/ansible-winrm-read-timeout-sec-ansible-winrm-operation-timeout-sec-errors/26138 "2017-11-28T14:44:44Z")

</div>

$Customer here is confused :slight\_smile: using ansible version 2.4.1.0 I get fatal: \[redacted-url\]: UNREACHABLE! =\> {"changed": false, "msg": "ssl: a float is required", "unreachable": true} When I use it in the comma…

---

## [unable to get password protected archived files unarchived using ansible module "unarchive"](https://forum.ansible.com/t/unable-to-get-password-protected-archived-files-unarchived-using-ansible-module-unarchive/26140)

<div class="topic-metadata">

**Author:** [@Sandeep\_Panchal](https://forum.ansible.com/u/Sandeep_Panchal)\
**Replies:** 1\
**Last updated:** [November 28, 2017, 1:57pm UTC](https://forum.ansible.com/t/unable-to-get-password-protected-archived-files-unarchived-using-ansible-module-unarchive/26140 "2017-11-28T13:57:07Z")

</div>

Dear Team I am trying to use ansible module unarchive with option extra\_opts, Please help me get it understood well. below is what i am trying with a password protected file unzip using this module but appears to be n…

---

## [access system facts in custom filter](https://forum.ansible.com/t/access-system-facts-in-custom-filter/26147)

<div class="topic-metadata">

**Author:** [@lupindeterd](https://forum.ansible.com/u/lupindeterd)\
**Replies:** 1\
**Last updated:** [November 28, 2017, 1:49pm UTC](https://forum.ansible.com/t/access-system-facts-in-custom-filter/26147 "2017-11-28T13:49:38Z")

</div>

Hi, Is it possible to access the facts(e.g. mounts) inside custom filter without it being passed explicitly? I want to parse and retrieve the mount-point and free space. Cheers Lupin

---

## [3 Solutions to structure a deployment ?](https://forum.ansible.com/t/3-solutions-to-structure-a-deployment/26124)

<div class="topic-metadata">

**Author:** [@akazia.info](https://forum.ansible.com/u/akazia.info)\
**Replies:** 1\
**Last updated:** [November 28, 2017, 11:38am UTC](https://forum.ansible.com/t/3-solutions-to-structure-a-deployment/26124 "2017-11-28T11:38:17Z")

</div>

Hello I am currently deploying a new product and came across some problems to structure my Playbook and roles. I have three different solutions and hope to get some input which path might be the best. The product is a …

---

## [dereferensing ec2\_vpc\_route\_table\_facts](https://forum.ansible.com/t/dereferensing-ec2-vpc-route-table-facts/26049)

<div class="topic-metadata">

**Author:** [@SN1](https://forum.ansible.com/u/SN1)\
**Replies:** 1\
**Last updated:** [November 27, 2017, 8:22pm UTC](https://forum.ansible.com/t/dereferensing-ec2-vpc-route-table-facts/26049 "2017-11-27T20:22:27Z")

</div>

Hey gang. Need some help. I tried multiple ways, nothing seem to work exactly as i need/expect. I think my question could be generalized better, but let me try it with my exact use case. So, for a given VPC, i need to …

---

## [ansible 1.9.4 to 2.4.1.0 migration issue](https://forum.ansible.com/t/ansible-1-9-4-to-2-4-1-0-migration-issue/26135)

<div class="topic-metadata">

**Author:** [@George\_V](https://forum.ansible.com/u/George_V)\
**Replies:** 2\
**Last updated:** [November 27, 2017, 6:46pm UTC](https://forum.ansible.com/t/ansible-1-9-4-to-2-4-1-0-migration-issue/26135 "2017-11-27T18:46:27Z")

</div>

Hi all, I have been avoiding to upgrade Ansible 1.9.4 on Centos 6 for the past few months, however since the upgrade project is again on my desk, I am actively working through the warnings and errors e.g. substituting i…

---

## [strange error on a google cloud sdk install](https://forum.ansible.com/t/strange-error-on-a-google-cloud-sdk-install/26110)

<div class="topic-metadata">

**Author:** [@lpescatore](https://forum.ansible.com/u/lpescatore)\
**Replies:** 1\
**Last updated:** [November 27, 2017, 6:11pm UTC](https://forum.ansible.com/t/strange-error-on-a-google-cloud-sdk-install/26110 "2017-11-27T18:11:48Z")

</div>

Hi, On a WIn 10 home system (from my linux ctrl machine), I am running the following: name: Download Google Cloud SDK win\_get\_url: url: https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe d…

---

## [issue "ENTER THE SERVER NAME /GROUPNAME"](https://forum.ansible.com/t/issue-enter-the-server-name-groupname/26085)

<div class="topic-metadata">

**Author:** [@aliane.amara](https://forum.ansible.com/u/aliane.amara)\
**Replies:** 2\
**Last updated:** [November 27, 2017, 3:08pm UTC](https://forum.ansible.com/t/issue-enter-the-server-name-groupname/26085 "2017-11-27T15:08:40Z")

</div>

Hello guys, I am beginner with Ansible Tower and I need a solution to run a playbook on specific group. When I am trying to start a template job and tower ask me “ENTER THE SERVER NAME /GROUPNAME” when I put a groupnam…

---

## [To transfer a script into remote hosts and run that script into the remote machines which needs some inputs to configure](https://forum.ansible.com/t/to-transfer-a-script-into-remote-hosts-and-run-that-script-into-the-remote-machines-which-needs-some-inputs-to-configure/26074)

<div class="topic-metadata">

**Author:** [@Iqbal\_Chowdhury](https://forum.ansible.com/u/Iqbal_Chowdhury)\
**Replies:** 5\
**Last updated:** [November 27, 2017, 2:05pm UTC](https://forum.ansible.com/t/to-transfer-a-script-into-remote-hosts-and-run-that-script-into-the-remote-machines-which-needs-some-inputs-to-configure/26074 "2017-11-27T14:05:58Z")

</div>

Dear Ansible friends, I need some automation like to run a script into all remotes machines which requires some interactive input described as below: Master server:

---

## [How to use when condition with value in range](https://forum.ansible.com/t/how-to-use-when-condition-with-value-in-range/26141)

<div class="topic-metadata">

**Author:** [@sushil\_kumar](https://forum.ansible.com/u/sushil_kumar)\
**Replies:** 1\
**Last updated:** [November 27, 2017, 12:39pm UTC](https://forum.ansible.com/t/how-to-use-when-condition-with-value-in-range/26141 "2017-11-27T12:39:25Z")

</div>

Hi Team, I have a requirement to use replace module of ansible when a specific variable value is in some range like below Release (2.1) and ABOVE Release 2.0.3 → 2.0.99 Release 1.8.8 → 1.8.99 Release 1.7.11 → 1.7.99 …

---

## [unable to use archive module of ansible](https://forum.ansible.com/t/unable-to-use-archive-module-of-ansible/26139)

<div class="topic-metadata">

**Author:** [@Sandeep\_Panchal](https://forum.ansible.com/u/Sandeep_Panchal)\
**Replies:** 0\
**Last updated:** [November 27, 2017, 11:27am UTC](https://forum.ansible.com/t/unable-to-use-archive-module-of-ansible/26139 "2017-11-27T11:27:33Z")

</div>

Dear Team, i am trying to use archive on test vm which i created at my end but its getting me into error which i am clueless now, Can someone help on the same. Below are the details. Thanks upfront. $ /usr/bin/ansible …

---

## [Ansible hangs when calling a script that runs commands over ssh](https://forum.ansible.com/t/ansible-hangs-when-calling-a-script-that-runs-commands-over-ssh/26133)

<div class="topic-metadata">

**Author:** [@6MT](https://forum.ansible.com/u/6MT)\
**Replies:** 3\
**Last updated:** [November 27, 2017, 7:49am UTC](https://forum.ansible.com/t/ansible-hangs-when-calling-a-script-that-runs-commands-over-ssh/26133 "2017-11-27T07:49:55Z")

</div>

Hi all, I have a script on a remote machine that ssh’s into other machines to do stuff. On the control machine, if I use the command or shell module to execute the script, everything works fine if the script is as simp…

---

## [register module help](https://forum.ansible.com/t/register-module-help/26136)

<div class="topic-metadata">

**Author:** [@Viju\_Venugopal](https://forum.ansible.com/u/Viju_Venugopal)\
**Replies:** 1\
**Last updated:** [November 27, 2017, 5:49am UTC](https://forum.ansible.com/t/register-module-help/26136 "2017-11-27T05:49:10Z")

</div>

– name: verify application/database processes are not running shell: if ps -eaf | egrep ‘apache|http’|grep -v grep \> /dev/null ;then echo ‘process\_running’;else echo ‘process\_not\_running’;fi ignore\_errors: true regist…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=294)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=296)
