# Archives

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

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

**Page:** 521

---

## [Uncompress module](https://forum.ansible.com/t/uncompress-module/23550)

<div class="topic-metadata">

**Author:** [@Jonathan\_Mainguy](https://forum.ansible.com/u/Jonathan_Mainguy)\
**Replies:** 0\
**Last updated:** [January 24, 2017, 4:08pm UTC](https://forum.ansible.com/t/uncompress-module/23550 "2017-01-24T16:08:35Z")

</div>

I wrote an uncompress module awhile back and did’nt keep up with it enough to get merged in. I believe other people are working on uncompress / compress stuff at the moment. Is there any value in https://github.com/ansi…

---

## [notifier is not working](https://forum.ansible.com/t/notifier-is-not-working/23511)

<div class="topic-metadata">

**Author:** [@jithendra\_myla](https://forum.ansible.com/u/jithendra_myla)\
**Replies:** 2\
**Last updated:** [January 24, 2017, 3:38pm UTC](https://forum.ansible.com/t/notifier-is-not-working/23511 "2017-01-24T15:38:41Z")

</div>

notifier is not working even though i mention everything correctly, Please help \[ansible@centos1 ansible\_playbooks\]$ cat install\_plays.yml — # install software on multiple hosts hosts: apacheweb remote\_user: ansibl…

---

## [ansible command to get the deafult options for ansible modules](https://forum.ansible.com/t/ansible-command-to-get-the-deafult-options-for-ansible-modules/23260)

<div class="topic-metadata">

**Author:** [@jithendra\_myla](https://forum.ansible.com/u/jithendra_myla)\
**Replies:** 2\
**Last updated:** [January 24, 2017, 3:37pm UTC](https://forum.ansible.com/t/ansible-command-to-get-the-deafult-options-for-ansible-modules/23260 "2017-01-24T15:37:45Z")

</div>

ansible command to get the available default options for ansible modules like ansible all -m setup —\> should show all available option i have to utilize the setup module. Thank you very much for helping me, your help is…

---

## [Variable not defined error](https://forum.ansible.com/t/variable-not-defined-error/23245)

<div class="topic-metadata">

**Author:** [@Elliott\_Barrere](https://forum.ansible.com/u/Elliott_Barrere)\
**Replies:** 9\
**Last updated:** [January 24, 2017, 3:25pm UTC](https://forum.ansible.com/t/variable-not-defined-error/23245 "2017-01-24T15:25:27Z")

</div>

Hi there — I have a variable called pbis\_require\_membership\_of defined in group\_vars/all.yaml, and it is overridden for a particular host under role/vars/hostname, however neither of the values are being used at runtime…

---

## [ansible-playbook exit codes bug?](https://forum.ansible.com/t/ansible-playbook-exit-codes-bug/23548)

<div class="topic-metadata">

**Author:** [@Mpampis\_Mpigkonias](https://forum.ansible.com/u/Mpampis_Mpigkonias)\
**Replies:** 0\
**Last updated:** [January 24, 2017, 3:16pm UTC](https://forum.ansible.com/t/ansible-playbook-exit-codes-bug/23548 "2017-01-24T15:16:10Z")

</div>

Hello, I have a question regarding the ansible exit codes. I run a playbook and I have the following “PLAY RECAP” \` 10:52:35 | | | PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Setup module command line: permissions denied](https://forum.ansible.com/t/setup-module-command-line-permissions-denied/23537)

<div class="topic-metadata">

**Author:** [@Billie\_XU](https://forum.ansible.com/u/Billie_XU)\
**Replies:** 2\
**Last updated:** [January 24, 2017, 2:44pm UTC](https://forum.ansible.com/t/setup-module-command-line-permissions-denied/23537 "2017-01-24T14:44:31Z")

</div>

Hi all, I need to get a list of available facts from one of my machines. I can run playbook against it (ssh keys and password-less access already setup) but for some reason when I run the following command it complains …

---

## [Help with Nested Loops](https://forum.ansible.com/t/help-with-nested-loops/23536)

<div class="topic-metadata">

**Author:** [@vnick](https://forum.ansible.com/u/vnick)\
**Replies:** 1\
**Last updated:** [January 24, 2017, 11:52am UTC](https://forum.ansible.com/t/help-with-nested-loops/23536 "2017-01-24T11:52:49Z")

</div>

Hey, everyone, I’m having figuring out how to use with\_items (or some variation thereof) in order to loop over a list of items within another list. What I’m trying to do is allow a playbook to accept a mountpoint variab…

---

## [blockinfile - learning pains](https://forum.ansible.com/t/blockinfile-learning-pains/23535)

<div class="topic-metadata">

**Author:** [@MarkD](https://forum.ansible.com/u/MarkD)\
**Replies:** 1\
**Last updated:** [January 24, 2017, 11:50am UTC](https://forum.ansible.com/t/blockinfile-learning-pains/23535 "2017-01-24T11:50:00Z")

</div>

Hi, I am trying to remove from a file a block of text defined by (start/end) the following line

---

## [is with\_nested the right approach here?](https://forum.ansible.com/t/is-with-nested-the-right-approach-here/23532)

<div class="topic-metadata">

**Author:** [@raphael.bauduin](https://forum.ansible.com/u/raphael.bauduin)\
**Replies:** 2\
**Last updated:** [January 24, 2017, 10:43am UTC](https://forum.ansible.com/t/is-with-nested-the-right-approach-here/23532 "2017-01-24T10:43:16Z")

</div>

Hi, I’m writing a cookbook to deploy a service, of which multiple instances can run at the same time on the same host. Each instance requires 3 config files: config\_X.yml, config\_X.env, log\_X.conf, where X=instance num…

---

## [Work around for ansible v2.2 to manage windows 2003 with powershell 2.0](https://forum.ansible.com/t/work-around-for-ansible-v2-2-to-manage-windows-2003-with-powershell-2-0/23522)

<div class="topic-metadata">

**Author:** [@Jayzzz](https://forum.ansible.com/u/Jayzzz)\
**Replies:** 1\
**Last updated:** [January 24, 2017, 10:22am UTC](https://forum.ansible.com/t/work-around-for-ansible-v2-2-to-manage-windows-2003-with-powershell-2-0/23522 "2017-01-24T10:22:53Z")

</div>

Hi Everyone My circumstance required me to be able to reboot windows 2003 servers via ansible and wait for them to come back and check availability. we do not need to properly configuration manage windows 2003 servers. …

---

## [Ansible work with array](https://forum.ansible.com/t/ansible-work-with-array/23545)

<div class="topic-metadata">

**Author:** [@Stepan\_Harutyunyan](https://forum.ansible.com/u/Stepan_Harutyunyan)\
**Replies:** 0\
**Last updated:** [January 24, 2017, 8:20am UTC](https://forum.ansible.com/t/ansible-work-with-array/23545 "2017-01-24T08:20:34Z")

</div>

Hi Everyone, Hear is some part of my ansible code, I want to take severety from Json array when contactAccount is someemail2@somedomain.com, but I got following error: FAILED! =\> {“failed”: true, “msg”: “‘thresholds’ i…

---

## [Install nagios to all host with Ansible Playbook](https://forum.ansible.com/t/install-nagios-to-all-host-with-ansible-playbook/23521)

<div class="topic-metadata">

**Author:** [@Joao\_Figueia](https://forum.ansible.com/u/Joao_Figueia)\
**Replies:** 2\
**Last updated:** [January 24, 2017, 7:36am UTC](https://forum.ansible.com/t/install-nagios-to-all-host-with-ansible-playbook/23521 "2017-01-24T07:36:15Z")

</div>

Hello guys, I’m new to ansible and I would like to know how it is possible to install Nagios in all hosts. Regards, João Figueira.

---

## [Error running module out of 'library' with Ansible 2.2.0 from epel](https://forum.ansible.com/t/error-running-module-out-of-library-with-ansible-2-2-0-from-epel/23544)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 0\
**Last updated:** [January 24, 2017, 6:45am UTC](https://forum.ansible.com/t/error-running-module-out-of-library-with-ansible-2-2-0-from-epel/23544 "2017-01-24T06:45:47Z")

</div>

I have installed Ansible 2.2.0 from epel on an Amazon Linux image. I have created a ‘library’ directory in /etc/ansible and added my own custom module. Actually the module is iam\_role.py that has already been merged to …

---

## [Ansible (hangs)stops and does not progress](https://forum.ansible.com/t/ansible-hangs-stops-and-does-not-progress/23542)

<div class="topic-metadata">

**Author:** [@Oscar\_M\_A](https://forum.ansible.com/u/Oscar_M_A)\
**Replies:** 0\
**Last updated:** [January 24, 2017, 12:46am UTC](https://forum.ansible.com/t/ansible-hangs-stops-and-does-not-progress/23542 "2017-01-24T00:46:19Z")

</div>

I explain my problem I get an inventory of 10,000 servers (Linux) through a python in json format, I have a playbook that is responsible for collecting information from the servers and at the end with java I assemble a …

---

## [Ansible (hangs)stops and does not progress](https://forum.ansible.com/t/ansible-hangs-stops-and-does-not-progress/23541)

<div class="topic-metadata">

**Author:** [@Oscar\_Martinez](https://forum.ansible.com/u/Oscar_Martinez)\
**Replies:** 0\
**Last updated:** [January 24, 2017, 12:34am UTC](https://forum.ansible.com/t/ansible-hangs-stops-and-does-not-progress/23541 "2017-01-24T00:34:33Z")

</div>

I explain my problem I get an inventory of 10,000 servers (Linux) through a python in json format, I have a playbook that is responsible for collecting information from the servers and at the end with java I assemble a …

---

## [Design ideas ansible provision with docker compose](https://forum.ansible.com/t/design-ideas-ansible-provision-with-docker-compose/23517)

<div class="topic-metadata">

**Author:** [@Sonny\_Heer](https://forum.ansible.com/u/Sonny_Heer)\
**Replies:** 9\
**Last updated:** [January 23, 2017, 11:24pm UTC](https://forum.ansible.com/t/design-ideas-ansible-provision-with-docker-compose/23517 "2017-01-23T23:24:51Z")

</div>

Goal: use same roles regardless of container, VM, bare metal, swarm, or other cloud provider easily add/remove nodes (containers) use existing docker-compose files I can’t seem to find an example of docker\_service whi…

---

## [pip module doing incomplete installation on Raspberry Pi](https://forum.ansible.com/t/pip-module-doing-incomplete-installation-on-raspberry-pi/23528)

<div class="topic-metadata">

**Author:** [@Greg\_Trasuk](https://forum.ansible.com/u/Greg_Trasuk)\
**Replies:** 2\
**Last updated:** [January 23, 2017, 8:47pm UTC](https://forum.ansible.com/t/pip-module-doing-incomplete-installation-on-raspberry-pi/23528 "2017-01-23T20:47:11Z")

</div>

I’m seeing a funny behavior when using Ansible to manage an installation on a Raspberry Pi running Raspbian Jessie lite. The playbook includes the following, to install a Python program called ‘power-cycle’ from a GitHu…

---

## [BOT updates.](https://forum.ansible.com/t/bot-updates/23538)

<div class="topic-metadata">

**Author:** [@jtanner](https://forum.ansible.com/u/jtanner)\
**Replies:** 0\
**Last updated:** [January 23, 2017, 7:49pm UTC](https://forum.ansible.com/t/bot-updates/23538 "2017-01-23T19:49:12Z")

</div>

I wanted to point out a few recent changes to ansibullbot/“ansibot”. First off, all the code is publicly available at https://github.com/ansible/ansibullbot should you have any desire to see how it works. The codebase h…

---

## [A tool for writing playbooks in Java](https://forum.ansible.com/t/a-tool-for-writing-playbooks-in-java/23534)

<div class="topic-metadata">

**Author:** [@brthanmathwoag](https://forum.ansible.com/u/brthanmathwoag)\
**Replies:** 0\
**Last updated:** [January 23, 2017, 4:56pm UTC](https://forum.ansible.com/t/a-tool-for-writing-playbooks-in-java/23534 "2017-01-23T16:56:19Z")

</div>

Hi everyone, I’ve recently had some time to work on a side project and wanted to share it with you here. jancy is a tool that lets you express playbooks as JVM code and translates them to Ansible YAML; So you can write…

---

## [Using an int for task name](https://forum.ansible.com/t/using-an-int-for-task-name/23530)

<div class="topic-metadata">

**Author:** [@Rob\_Cutmore](https://forum.ansible.com/u/Rob_Cutmore)\
**Replies:** 0\
**Last updated:** [January 23, 2017, 1:35pm UTC](https://forum.ansible.com/t/using-an-int-for-task-name/23530 "2017-01-23T13:35:43Z")

</div>

Hello, I’m looking to contribute to Ansible and started looking at this issue: Github #19520. Is using an int as a task name is expected to work? I’m guessing not since it isn’t permitted for role names (this is checke…

---

## [SemLock / No space left on device](https://forum.ansible.com/t/semlock-no-space-left-on-device/23508)

<div class="topic-metadata">

**Author:** [@David\_Blackburn](https://forum.ansible.com/u/David_Blackburn)\
**Replies:** 1\
**Last updated:** [January 23, 2017, 3:13am UTC](https://forum.ansible.com/t/semlock-no-space-left-on-device/23508 "2017-01-23T03:13:12Z")

</div>

This is not a Ansible problem but its stopping me from using Ansible on my Mac, if I reboot the system the problem goes away for about a day. I am unable to find much information about this problem this is the most rele…

---

## [CentOS 7 yum or pip](https://forum.ansible.com/t/centos-7-yum-or-pip/23527)

<div class="topic-metadata">

**Author:** [@aaron](https://forum.ansible.com/u/aaron)\
**Replies:** 0\
**Last updated:** [January 23, 2017, 2:42am UTC](https://forum.ansible.com/t/centos-7-yum-or-pip/23527 "2017-01-23T02:42:22Z")

</div>

We want to stay current with the stable branch for ansible and the dependencies we use. We’re a mostly Windows shop using WinRM with AD credentials, so we need… pywinrm pykerberos ansible anything those need (crypto,…

---

## [get\_url, "unsupported parameter for module: checksum"](https://forum.ansible.com/t/get-url-unsupported-parameter-for-module-checksum/23526)

<div class="topic-metadata">

**Author:** [@Adam\_Williams1](https://forum.ansible.com/u/Adam_Williams1)\
**Replies:** 0\
**Last updated:** [January 23, 2017, 2:29am UTC](https://forum.ansible.com/t/get-url-unsupported-parameter-for-module-checksum/23526 "2017-01-23T02:29:00Z")

</div>

Hello, I’ve got a Vagrant Ubuntu 14.04 machine provisioned with: \` sudo apt-get install -y software-properties-common sudo apt-add-repository ppa:ansible/ansible sudo apt-get update sudo apt-get install -y ansible …

---

## [docker commit](https://forum.ansible.com/t/docker-commit/23525)

<div class="topic-metadata">

**Author:** [@Sonny\_Heer](https://forum.ansible.com/u/Sonny_Heer)\
**Replies:** 0\
**Last updated:** [January 23, 2017, 1:09am UTC](https://forum.ansible.com/t/docker-commit/23525 "2017-01-23T01:09:23Z")

</div>

I have a set of containers running in a VM (via docker\_container module). I would like to provision these containers and then save what was changed. What is the best approach to do this? I’m using docker\_container with o…

---

## [using docker:xenial image in chrismeyersfsu/provision\_docker role](https://forum.ansible.com/t/using-docker-xenial-image-in-chrismeyersfsu-provision-docker-role/23507)

<div class="topic-metadata">

**Author:** [@Mathias\_Aldrin](https://forum.ansible.com/u/Mathias_Aldrin)\
**Replies:** 2\
**Last updated:** [January 22, 2017, 9:19pm UTC](https://forum.ansible.com/t/using-docker-xenial-image-in-chrismeyersfsu-provision-docker-role/23507 "2017-01-22T21:19:27Z")

</div>

Hi, I have plenty of ansible scripts installing SW on VMs. I would like to try to containerize my VMs. I found the role chrismeyersfsu/provision\_docker which first looked suitable. My applications are running on ubun…

---

## [Execute windows batch file which called another batch file](https://forum.ansible.com/t/execute-windows-batch-file-which-called-another-batch-file/23496)

<div class="topic-metadata">

**Author:** [@Gad](https://forum.ansible.com/u/Gad)\
**Replies:** 4\
**Last updated:** [January 22, 2017, 8:30am UTC](https://forum.ansible.com/t/execute-windows-batch-file-which-called-another-batch-file/23496 "2017-01-22T08:30:42Z")

</div>

Hi Im tryin to execute “c:\\my files\\a.bat” which call : “c:\\my files\\c.bat” i did try using the raw module like: raw: “cd "c:\\my-files" & "c:\\my-files\\a.bat"” but ansible refuse to pipe the sign & also tried with "&…

---

## [Can I define a Map variable in Playbook vars](https://forum.ansible.com/t/can-i-define-a-map-variable-in-playbook-vars/23523)

<div class="topic-metadata">

**Author:** [@wenxing\_zheng](https://forum.ansible.com/u/wenxing_zheng)\
**Replies:** 0\
**Last updated:** [January 22, 2017, 2:48am UTC](https://forum.ansible.com/t/can-i-define-a-map-variable-in-playbook-vars/23523 "2017-01-22T02:48:38Z")

</div>

Dear all, I have a role which is common to the app side, and then the app side needs to define a Map variable in their own playbooks. In the common role, the template file will generate the corresponding configuration…

---

## [Variables from csv and loops with random records](https://forum.ansible.com/t/variables-from-csv-and-loops-with-random-records/23472)

<div class="topic-metadata">

**Author:** [@Matyas\_Kovacs](https://forum.ansible.com/u/Matyas_Kovacs)\
**Replies:** 9\
**Last updated:** [January 21, 2017, 5:17pm UTC](https://forum.ansible.com/t/variables-from-csv-and-loops-with-random-records/23472 "2017-01-21T17:17:49Z")

</div>

Hi All, I hope you can help me with this problem. There are 50 different servers, each of them has different iptables firewall and rules. I want them to be managed by Ansible. My idea is to create a csv file, like this…

---

## [docker\_login and docker\_service can't find docker-py when docker pip package is installed?](https://forum.ansible.com/t/docker-login-and-docker-service-cant-find-docker-py-when-docker-pip-package-is-installed/23485)

<div class="topic-metadata">

**Author:** [@Gerald\_Spencer](https://forum.ansible.com/u/Gerald_Spencer)\
**Replies:** 1\
**Last updated:** [January 21, 2017, 11:58am UTC](https://forum.ansible.com/t/docker-login-and-docker-service-cant-find-docker-py-when-docker-pip-package-is-installed/23485 "2017-01-21T11:58:18Z")

</div>

Playbook:

---

## [Help on ansible tasks](https://forum.ansible.com/t/help-on-ansible-tasks/23405)

<div class="topic-metadata">

**Author:** [@Shyam\_Yenna](https://forum.ansible.com/u/Shyam_Yenna)\
**Replies:** 3\
**Last updated:** [January 21, 2017, 11:32am UTC](https://forum.ansible.com/t/help-on-ansible-tasks/23405 "2017-01-21T11:32:09Z")

</div>

Please can someone help as i am having hard time to debug or troubleshoot below ansible module tasks. I am trying to format an ebs volume attached to an ec2 instance.i am getting below error. { “changed”: false, “fai…

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

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