# Latest

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

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

**Page:** 585

---

## [unable to run ping command from Ansible server to Application server](https://forum.ansible.com/t/unable-to-run-ping-command-from-ansible-server-to-application-server/26699)

<div class="topic-metadata">

**Author:** [@Lokanath\_Veluru](https://forum.ansible.com/u/Lokanath_Veluru)\
**Replies:** 0\
**Last updated:** [February 9, 2018, 7:19pm UTC](https://forum.ansible.com/t/unable-to-run-ping-command-from-ansible-server-to-application-server/26699 "2018-02-09T19:19:53Z")

</div>

Hi Suresh, Are you able to login SSH manually (ssh 10.XXX.XXX.XX)? → Request you to regenerate the keys and make copy on both servers. It should work…

---

## [Ansible: Failed to connect to the host via ssh](https://forum.ansible.com/t/ansible-failed-to-connect-to-the-host-via-ssh/26697)

<div class="topic-metadata">

**Author:** [@Lokanath\_Veluru](https://forum.ansible.com/u/Lokanath_Veluru)\
**Replies:** 0\
**Last updated:** [February 9, 2018, 3:01pm UTC](https://forum.ansible.com/t/ansible-failed-to-connect-to-the-host-via-ssh/26697 "2018-02-09T15:01:00Z")

</div>

Hi Ansible Team: This is application requirement to do package installation and configuration tunning on multiple servers and i have done with my requirement on all servers except one server(10.XXX.XXX.XX). 10.XXX.XXX.…

---

## [Ansible reporting wrong service status](https://forum.ansible.com/t/ansible-reporting-wrong-service-status/26684)

<div class="topic-metadata">

**Author:** [@Sidh](https://forum.ansible.com/u/Sidh)\
**Replies:** 2\
**Last updated:** [February 9, 2018, 1:17pm UTC](https://forum.ansible.com/t/ansible-reporting-wrong-service-status/26684 "2018-02-09T13:17:04Z")

</div>

Ansible - 2.4 With below snippet, service failed to start at remote host but ansible reports that lighttpd service has been restarted and ok.

---

## [hi how to we manage Solaris 8 & 9 servers via ansible](https://forum.ansible.com/t/hi-how-to-we-manage-solaris-8-9-servers-via-ansible/26696)

<div class="topic-metadata">

**Author:** [@Ashish\_Badgujar](https://forum.ansible.com/u/Ashish_Badgujar)\
**Replies:** 0\
**Last updated:** [February 9, 2018, 10:44am UTC](https://forum.ansible.com/t/hi-how-to-we-manage-solaris-8-9-servers-via-ansible/26696 "2018-02-09T10:44:49Z")

</div>

hi how to we manage Solaris 8 & 9 servers via ansible \[root@t1 ~\]# ansible -m command -a ‘uptime’ \*\*\*\*\*\*\*\*\*\*\*\*\* \[WARNING\]: Could not match supplied host pattern, ignoring: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \[WARNING\]: No hosts matched,…

---

## [Ansible 2.5.0 Beta 1 is available](https://forum.ansible.com/t/ansible-2-5-0-beta-1-is-available/26694)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [February 9, 2018, 6:50am UTC](https://forum.ansible.com/t/ansible-2-5-0-beta-1-is-available/26694 "2018-02-09T06:50:34Z")

</div>

Hi all- we’re happy to announce that Beta 1 of Ansible 2.5.0 is now available! The core engine and all modules are now considered “feature complete” for the 2.5 release series. Bugfix and stabilization activities will co…

---

## [Ansible process email](https://forum.ansible.com/t/ansible-process-email/26686)

<div class="topic-metadata">

**Author:** [@timothy.n.mcgibbon](https://forum.ansible.com/u/timothy.n.mcgibbon)\
**Replies:** 1\
**Last updated:** [February 9, 2018, 6:22am UTC](https://forum.ansible.com/t/ansible-process-email/26686 "2018-02-09T06:22:37Z")

</div>

Has anyone have done email reading using Ansible. I am working on a project that is sending out email with a link to the task that the Ansible Tower would schedule a job to run. The email could be the trigger or the Ans…

---

## [Reusing custom action plugin across multiple custom modules](https://forum.ansible.com/t/reusing-custom-action-plugin-across-multiple-custom-modules/26466)

<div class="topic-metadata">

**Author:** [@Pathangi\_Janardhanan](https://forum.ansible.com/u/Pathangi_Janardhanan)\
**Replies:** 1\
**Last updated:** [February 9, 2018, 6:08am UTC](https://forum.ansible.com/t/reusing-custom-action-plugin-across-multiple-custom-modules/26466 "2018-02-09T06:08:57Z")

</div>

Hi, I have to write a few modules but all of them need some common local host work to be done, which I do in the action plugin. The problem is I am putting one action plugin for each module (since the action plugin has …

---

## [printing readable error message while in playbook debug mode](https://forum.ansible.com/t/printing-readable-error-message-while-in-playbook-debug-mode/26690)

<div class="topic-metadata">

**Author:** [@Tim\_Black](https://forum.ansible.com/u/Tim_Black)\
**Replies:** 2\
**Last updated:** [February 9, 2018, 5:52am UTC](https://forum.ansible.com/t/printing-readable-error-message-while-in-playbook-debug-mode/26690 "2018-02-09T05:52:44Z")

</div>

I get this error when I run my playbook (with debug strategy enabled): \` TASK \[Add authorized keys for developer user\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Failure on only one server running ansible playbook for key/user management](https://forum.ansible.com/t/failure-on-only-one-server-running-ansible-playbook-for-key-user-management/26692)

<div class="topic-metadata">

**Author:** [@Joe\_G](https://forum.ansible.com/u/Joe_G)\
**Replies:** 0\
**Last updated:** [February 8, 2018, 11:09pm UTC](https://forum.ansible.com/t/failure-on-only-one-server-running-ansible-playbook-for-key-user-management/26692 "2018-02-08T23:09:37Z")

</div>

I’ll preface this by saying I’m novice to ansible and certainly not a linux expert so I might need extra details if you ask me to do anything, so please be specific with instructions. This has been working flawlessly in …

---

## [Issues with celery work pidbox and connection reset by peer for jobs over 5 minute run time](https://forum.ansible.com/t/issues-with-celery-work-pidbox-and-connection-reset-by-peer-for-jobs-over-5-minute-run-time/26688)

<div class="topic-metadata">

**Author:** [@Matthew\_Neumark](https://forum.ansible.com/u/Matthew_Neumark)\
**Replies:** 2\
**Last updated:** [February 8, 2018, 8:34pm UTC](https://forum.ansible.com/t/issues-with-celery-work-pidbox-and-connection-reset-by-peer-for-jobs-over-5-minute-run-time/26688 "2018-02-08T20:34:45Z")

</div>

Hello, I’m having issues with the tasks showing as “failed” in the UI but they are still running in the background. According to UI they are failed, but the tasks are still running in the background and when all the p…

---

## [How to loop over result and retry in the same task?](https://forum.ansible.com/t/how-to-loop-over-result-and-retry-in-the-same-task/26527)

<div class="topic-metadata">

**Author:** [@Eric\_Chong](https://forum.ansible.com/u/Eric_Chong)\
**Replies:** 3\
**Last updated:** [February 8, 2018, 7:50pm UTC](https://forum.ansible.com/t/how-to-loop-over-result-and-retry-in-the-same-task/26527 "2018-02-08T19:50:39Z")

</div>

For example, if I want a task to pull ec2\_instance\_facts until any instance is in running state, and retry if none is running.

---

## [How to log what a perl script does,called from an Ansible shell module?](https://forum.ansible.com/t/how-to-log-what-a-perl-script-does-called-from-an-ansible-shell-module/26685)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 3\
**Last updated:** [February 8, 2018, 6:07pm UTC](https://forum.ansible.com/t/how-to-log-what-a-perl-script-does-called-from-an-ansible-shell-module/26685 "2018-02-08T18:07:57Z")

</div>

I’m trying to automate installation of gitsyncd and gitmirrord applications via download of the git-syncing.git repository, which installs a /tmp/git-sync/install.pl PERL script. I then run the following: \` name: Inst…

---

## [YAML code to list yum repositories and yum history using yum module.?](https://forum.ansible.com/t/yaml-code-to-list-yum-repositories-and-yum-history-using-yum-module/26687)

<div class="topic-metadata">

**Author:** [@Mohan\_Ganesan](https://forum.ansible.com/u/Mohan_Ganesan)\
**Replies:** 0\
**Last updated:** [February 8, 2018, 5:19pm UTC](https://forum.ansible.com/t/yaml-code-to-list-yum-repositories-and-yum-history-using-yum-module/26687 "2018-02-08T17:19:26Z")

</div>

I would like to explore yum module in my yaml code. I am looking for a YAML code to list yum repositories and yum history using yum module. Are the commands yum repolist & yum history built on the yum module? Please l…

---

## [Ansible on CENTOS VM SSH failing](https://forum.ansible.com/t/ansible-on-centos-vm-ssh-failing/26677)

<div class="topic-metadata">

**Author:** [@Alfredo\_Bosca\_Batall](https://forum.ansible.com/u/Alfredo_Bosca_Batall)\
**Replies:** 1\
**Last updated:** [February 8, 2018, 5:05pm UTC](https://forum.ansible.com/t/ansible-on-centos-vm-ssh-failing/26677 "2018-02-08T17:05:38Z")

</div>

Hi gents, After installing ansible and check that my version is 2.4.2.0 I have created a inventory file like this: Afterward, I have tried to access one of them throught ssh but I can’t. The fail message is the next: …

---

## [Is there a Docker image for the latest Ansible 2.5.0](https://forum.ansible.com/t/is-there-a-docker-image-for-the-latest-ansible-2-5-0/26683)

<div class="topic-metadata">

**Author:** [@DK1](https://forum.ansible.com/u/DK1)\
**Replies:** 2\
**Last updated:** [February 8, 2018, 3:40pm UTC](https://forum.ansible.com/t/is-there-a-docker-image-for-the-latest-ansible-2-5-0/26683 "2018-02-08T15:40:34Z")

</div>

Hi, I’m looking for a Docker image to run some playbook and roles with the latest Ansible version? I tried build my own but I’m not a python user. FROM python:3.6.4-alpine3.7 RUN apk --update add git WORKDIR /opt R…

---

## [How Ansible Works?](https://forum.ansible.com/t/how-ansible-works/26681)

<div class="topic-metadata">

**Author:** [@lucielina02](https://forum.ansible.com/u/lucielina02)\
**Replies:** 0\
**Last updated:** [February 8, 2018, 9:44am UTC](https://forum.ansible.com/t/how-ansible-works/26681 "2018-02-08T09:44:36Z")

</div>

There are many similar automation tools available like Puppet, Capistrano, Chef, Salt, Space Walk etc, but Ansible categorize into two types of server: controlling machines and nodes. The controlling machine, where Ansi…

---

## [errors in backing up a config from a juniper device](https://forum.ansible.com/t/errors-in-backing-up-a-config-from-a-juniper-device/26640)

<div class="topic-metadata">

**Author:** [@DOkuwa](https://forum.ansible.com/u/DOkuwa)\
**Replies:** 8\
**Last updated:** [February 8, 2018, 9:24am UTC](https://forum.ansible.com/t/errors-in-backing-up-a-config-from-a-juniper-device/26640 "2018-02-08T09:24:41Z")

</div>

hello all I have this in my backup\_config\_yaml

---

## [Unable to use specified private key when connecting as a different user](https://forum.ansible.com/t/unable-to-use-specified-private-key-when-connecting-as-a-different-user/26680)

<div class="topic-metadata">

**Author:** [@0lai.m.mariano](https://forum.ansible.com/u/0lai.m.mariano)\
**Replies:** 0\
**Last updated:** [February 8, 2018, 8:33am UTC](https://forum.ansible.com/t/unable-to-use-specified-private-key-when-connecting-as-a-different-user/26680 "2018-02-08T08:33:11Z")

</div>

Scenario - I am logged in to my Ansible server as “0lai” but would like to run my testPlay.yml as a different user (“ansible”) so I used the —user option. However, I don’t know user ansible’s password and would like to m…

---

## [sudo su - oracle not working](https://forum.ansible.com/t/sudo-su-oracle-not-working/26679)

<div class="topic-metadata">

**Author:** [@P\_L](https://forum.ansible.com/u/P_L)\
**Replies:** 0\
**Last updated:** [February 8, 2018, 4:05am UTC](https://forum.ansible.com/t/sudo-su-oracle-not-working/26679 "2018-02-08T04:05:32Z")

</div>

Hi, I’m trying to to Oracle patch name: opatch lsinv shell: /app/oracle/OPatch/opatch lsinv become: true become\_method: sudo become\_user: oracle become\_flags: ‘su - /bin/sh’ it is faling saying PERMISSION DENIED…

---

## [Not able to change runlevel in /etc/inittab using aix\_inittab module](https://forum.ansible.com/t/not-able-to-change-runlevel-in-etc-inittab-using-aix-inittab-module/26513)

<div class="topic-metadata">

**Author:** [@Anurag\_Berdia](https://forum.ansible.com/u/Anurag_Berdia)\
**Replies:** 2\
**Last updated:** [February 8, 2018, 12:29am UTC](https://forum.ansible.com/t/not-able-to-change-runlevel-in-etc-inittab-using-aix-inittab-module/26513 "2018-02-08T00:29:53Z")

</div>

Hi, I am new to Ansible and this is my first post on this community. I am trying to use “aix\_inittab” module and this is how my playbook looks like: name: Change runlevel aix\_inittab: name: myservice runlevel: 4 …

---

## [Download multiple files from S3](https://forum.ansible.com/t/download-multiple-files-from-s3/26676)

<div class="topic-metadata">

**Author:** [@groupfiles14](https://forum.ansible.com/u/groupfiles14)\
**Replies:** 1\
**Last updated:** [February 7, 2018, 2:34pm UTC](https://forum.ansible.com/t/download-multiple-files-from-s3/26676 "2018-02-07T14:34:11Z")

</div>

How can i download multiple files from same bucket, can we use wildcard for this? i am confused a bit name: Download from S3 s3: profile: iupdate region: ap-southeast-1 bucket: reareses object: sdaces/{{item}} wi…

---

## [ansible vmware\_guest failed to find a matching datastore](https://forum.ansible.com/t/ansible-vmware-guest-failed-to-find-a-matching-datastore/25628)

<div class="topic-metadata">

**Author:** [@Victor1](https://forum.ansible.com/u/Victor1)\
**Replies:** 1\
**Last updated:** [February 7, 2018, 11:39am UTC](https://forum.ansible.com/t/ansible-vmware-guest-failed-to-find-a-matching-datastore/25628 "2018-02-07T11:39:22Z")

</div>

Hi , I have upgraded to ansible 2.4 and using vmware\_guest module to create a VM. I am getting “Failed to find a matching datastore”. same code works fine in ansiblke 2.3. is this a known issue or am i missing somethi…

---

## [synchronize not working between](https://forum.ansible.com/t/synchronize-not-working-between/26600)

<div class="topic-metadata">

**Author:** [@Gopi\_Krishna](https://forum.ansible.com/u/Gopi_Krishna)\
**Replies:** 1\
**Last updated:** [February 7, 2018, 10:33am UTC](https://forum.ansible.com/t/synchronize-not-working-between/26600 "2018-02-07T10:33:25Z")

</div>

Hi all, synchronize command is not working.

---

## [requests-credssp and credentials encryprion at first hop.](https://forum.ansible.com/t/requests-credssp-and-credentials-encryprion-at-first-hop/26597)

<div class="topic-metadata">

**Author:** [@user92](https://forum.ansible.com/u/user92)\
**Replies:** 12\
**Last updated:** [February 7, 2018, 6:09am UTC](https://forum.ansible.com/t/requests-credssp-and-credentials-encryprion-at-first-hop/26597 "2018-02-07T06:09:13Z")

</div>

Hello. I have security-related question. In our environment we use ansible for application deployment. Ansible playbooks running by jenkins. Scope for deployment contains Windows-based servers (2008R2+). In some case…

---

## [Using Ansible per directory instead of per host](https://forum.ansible.com/t/using-ansible-per-directory-instead-of-per-host/26675)

<div class="topic-metadata">

**Author:** [@Emmanuel\_Jaep](https://forum.ansible.com/u/Emmanuel_Jaep)\
**Replies:** 1\
**Last updated:** [February 6, 2018, 9:47pm UTC](https://forum.ansible.com/t/using-ansible-per-directory-instead-of-per-host/26675 "2018-02-06T21:47:49Z")

</div>

I know it will sound a bit strange but I wonder if there is a way to use Ansible per directory instead of per host. Our current use case is the following: the same application (here WordPress) is deployed into multiple …

---

## ['service' should succeed to stop a service, even if non-existant (and spelling issues)](https://forum.ansible.com/t/service-should-succeed-to-stop-a-service-even-if-non-existant-and-spelling-issues/26674)

<div class="topic-metadata">

**Author:** [@burton](https://forum.ansible.com/u/burton)\
**Replies:** 2\
**Last updated:** [February 6, 2018, 6:21pm UTC](https://forum.ansible.com/t/service-should-succeed-to-stop-a-service-even-if-non-existant-and-spelling-issues/26674 "2018-02-06T18:21:56Z")

</div>

Right now if you stop a service which isn’t installed you get an error. service: name=kube-apiserver state=stopped … if the kube-apiservice service isn’t installed it will just fail. It shouldn’t fail. It’s ‘stopped’ …

---

## [project\_data\_dir in inventory](https://forum.ansible.com/t/project-data-dir-in-inventory/26671)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 1\
**Last updated:** [February 6, 2018, 3:27pm UTC](https://forum.ansible.com/t/project-data-dir-in-inventory/26671 "2018-02-06T15:27:51Z")

</div>

Hi i try to set project\_data\_dir=/mypath but not works… it still empty and i find the file in the /var/lib/docker/overlay2/514f0a15

---

## [Is the following ansible documentation incorrect? "the first 10: --limit boston\[1:10\]". Shouldn't it be "--limit boston\[0:9\]"](https://forum.ansible.com/t/is-the-following-ansible-documentation-incorrect-the-first-10-limit-boston-1-10-shouldnt-it-be-limit-boston-0-9/26629)

<div class="topic-metadata">

**Author:** [@Mike\_Cavedon](https://forum.ansible.com/u/Mike_Cavedon)\
**Replies:** 3\
**Last updated:** [February 6, 2018, 3:27pm UTC](https://forum.ansible.com/t/is-the-following-ansible-documentation-incorrect-the-first-10-limit-boston-1-10-shouldnt-it-be-limit-boston-0-9/26629 "2018-02-06T15:27:11Z")

</div>

I’m seeing what appears to be two different definitions of how limits work. There is the first one here: http://docs.ansible.com/ansible/latest/playbooks\_best\_practices.html What about just the first 10, and then the n…

---

## [Missing interpreter of module (setup)](https://forum.ansible.com/t/missing-interpreter-of-module-setup/26669)

<div class="topic-metadata">

**Author:** [@leima2046](https://forum.ansible.com/u/leima2046)\
**Replies:** 1\
**Last updated:** [February 6, 2018, 3:20pm UTC](https://forum.ansible.com/t/missing-interpreter-of-module-setup/26669 "2018-02-06T15:20:00Z")

</div>

Hi, Anybody has ideas about this issue? It’s a very simple playbook. {“failed”: true, “msg”: “module (setup) is missing interpreter line”} It happens even with a very simple playbook like below. hosts: localhost ga…

---

## [\--limit \[exclusive, inclusive\] not working as expected](https://forum.ansible.com/t/limit-exclusive-inclusive-not-working-as-expected/26673)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [February 6, 2018, 3:05pm UTC](https://forum.ansible.com/t/limit-exclusive-inclusive-not-working-as-expected/26673 "2018-02-06T15:05:29Z")

</div>

The range is inclusive.

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

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