# Latest

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

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

**Page:** 635

---

## [jfrog artifactory module search  for ansible](https://forum.ansible.com/t/jfrog-artifactory-module-search-for-ansible/25191)

<div class="topic-metadata">

**Author:** [@bhaskarreddy\_A](https://forum.ansible.com/u/bhaskarreddy_A)\
**Replies:** 1\
**Last updated:** [August 8, 2017, 11:13am UTC](https://forum.ansible.com/t/jfrog-artifactory-module-search-for-ansible/25191 "2017-08-08T11:13:53Z")

</div>

can any one suggest me, is their any module in ansible to pull latest war file from Jfrog artifactory

---

## [Setting Variables Conditionally](https://forum.ansible.com/t/setting-variables-conditionally/25199)

<div class="topic-metadata">

**Author:** [@Ryan1](https://forum.ansible.com/u/Ryan1)\
**Replies:** 2\
**Last updated:** [August 8, 2017, 7:50am UTC](https://forum.ansible.com/t/setting-variables-conditionally/25199 "2017-08-08T07:50:49Z")

</div>

I need to set some variables that are the same no matter the client, and other variables need to be set conditionally based on values from Ansible facts. Basically I need an if/else case statement. What is the correct wa…

---

## [hashi\_vault lookup not recognizing hvac module](https://forum.ansible.com/t/hashi-vault-lookup-not-recognizing-hvac-module/25198)

<div class="topic-metadata">

**Author:** [@ben.tennant](https://forum.ansible.com/u/ben.tennant)\
**Replies:** 0\
**Last updated:** [August 8, 2017, 2:23am UTC](https://forum.ansible.com/t/hashi-vault-lookup-not-recognizing-hvac-module/25198 "2017-08-08T02:23:11Z")

</div>

I’m having issues with the hashi\_vault lookup plugin. I’ve verified that Python, pip, and hvac are all installed on both the remote host and the local host. However, whenever I try to run my app\_server.yml playbook, I r…

---

## [Test for set membership from a set?](https://forum.ansible.com/t/test-for-set-membership-from-a-set/25185)

<div class="topic-metadata">

**Author:** [@Tim\_Gaastra](https://forum.ansible.com/u/Tim_Gaastra)\
**Replies:** 2\
**Last updated:** [August 7, 2017, 6:01pm UTC](https://forum.ansible.com/t/test-for-set-membership-from-a-set/25185 "2017-08-07T18:01:36Z")

</div>

Is there any way in Ansible to succinctly test for set membership in a list, from a list? An example in psuedo-Ansible code: users: name: Jim employee\_roles: Admin name: Bob employee\_roles: DBA name: Suz employee\_…

---

## [Minutes from Ansible Container WG meeting, 31 July, 2017](https://forum.ansible.com/t/minutes-from-ansible-container-wg-meeting-31-july-2017/25195)

<div class="topic-metadata">

**Author:** [@Joshua\_jag\_Ginsberg](https://forum.ansible.com/u/Joshua_jag_Ginsberg)\
**Replies:** 0\
**Last updated:** [August 7, 2017, 3:53pm UTC](https://forum.ansible.com/t/minutes-from-ansible-container-wg-meeting-31-july-2017/25195 "2017-08-07T15:53:31Z")

</div>

Apologies for the delay in getting these out, but here are the minutes from the first Ansible Container WG meeting from last Monday. I hope y’all had a great weekend! Present: gregdek j00bar chouseknecht ryansb tto…

---

## [vars\_files and non-existing files](https://forum.ansible.com/t/vars-files-and-non-existing-files/25193)

<div class="topic-metadata">

**Author:** [@w.pietruszewski](https://forum.ansible.com/u/w.pietruszewski)\
**Replies:** 0\
**Last updated:** [August 7, 2017, 12:36pm UTC](https://forum.ansible.com/t/vars-files-and-non-existing-files/25193 "2017-08-07T12:36:22Z")

</div>

Hi, I’d like to propose a change/feature to vars\_files and how it loads the files. Right now when the vars file does not exists an error is risen: raise AnsibleFileNotFound(“vars file %s was not found” % vars\_file\_item…

---

## [Windows service status not changing from stoppending to stopped](https://forum.ansible.com/t/windows-service-status-not-changing-from-stoppending-to-stopped/25192)

<div class="topic-metadata">

**Author:** [@amitbitcse](https://forum.ansible.com/u/amitbitcse)\
**Replies:** 0\
**Last updated:** [August 7, 2017, 11:30am UTC](https://forum.ansible.com/t/windows-service-status-not-changing-from-stoppending-to-stopped/25192 "2017-08-07T11:30:45Z")

</div>

While executing my playbook, I cancelled the playbook execution when win\_service task for stopping a service was in play. When I re-ran the playbook, it failed to stop the windows service. The windows service status was …

---

## [RE: Starting with Ansible Containers](https://forum.ansible.com/t/re-starting-with-ansible-containers/25190)

<div class="topic-metadata">

**Author:** [@ManiGandan\_T](https://forum.ansible.com/u/ManiGandan_T)\
**Replies:** 0\
**Last updated:** [August 7, 2017, 6:56am UTC](https://forum.ansible.com/t/re-starting-with-ansible-containers/25190 "2017-08-07T06:56:34Z")

</div>

Hi Team, I am a beginner to Ansible tool. I have been asked to work on Ansible Containers in my project. Is it easy to work with Ansible Containers without having experience in Ansible. Please advise me on this. BR Ma…

---

## [Adding dynamic keys and values as module attributes](https://forum.ansible.com/t/adding-dynamic-keys-and-values-as-module-attributes/25189)

<div class="topic-metadata">

**Author:** [@Thomas](https://forum.ansible.com/u/Thomas)\
**Replies:** 0\
**Last updated:** [August 6, 2017, 6:36pm UTC](https://forum.ansible.com/t/adding-dynamic-keys-and-values-as-module-attributes/25189 "2017-08-06T18:36:19Z")

</div>

Hi Does anyone knows how it is possible to include all sub elements of a value to modules as attributes? vars extra\_vars: function: “server” anotherkey: “anothervalue” ansible\_ssh\_private\_key\_file: “/home/someuser/…

---

## [PR to update kinesis\_stream module has been opened for 3 months but no one looked at it](https://forum.ansible.com/t/pr-to-update-kinesis-stream-module-has-been-opened-for-3-months-but-no-one-looked-at-it/25181)

<div class="topic-metadata">

**Author:** [@jchen](https://forum.ansible.com/u/jchen)\
**Replies:** 1\
**Last updated:** [August 5, 2017, 6:37pm UTC](https://forum.ansible.com/t/pr-to-update-kinesis-stream-module-has-been-opened-for-3-months-but-no-one-looked-at-it/25181 "2017-08-05T18:37:30Z")

</div>

I’ve written a patch to the kinesis\_stream module 3 months ago and opened a PR. I’ve also emailed the original author. However, there is still no one merges my PR even though it has been approved and the ansible bot has …

---

## [Deep list merging](https://forum.ansible.com/t/deep-list-merging/25184)

<div class="topic-metadata">

**Author:** [@Giles\_Westwood](https://forum.ansible.com/u/Giles_Westwood)\
**Replies:** 0\
**Last updated:** [August 4, 2017, 7:30pm UTC](https://forum.ansible.com/t/deep-list-merging/25184 "2017-08-04T19:30:50Z")

</div>

I wrote some code to deep merge lists and submitted it as a feature request but it’s not been accepted. I thought I’d leave a record of it here if someone else asks for the same feature:- https://github.com/ansible/ansi…

---

## [Using docker\_\* modules on Windows](https://forum.ansible.com/t/using-docker-modules-on-windows/25145)

<div class="topic-metadata">

**Author:** [@Yuriy\_Ostapenko](https://forum.ansible.com/u/Yuriy_Ostapenko)\
**Replies:** 4\
**Last updated:** [August 4, 2017, 5:21pm UTC](https://forum.ansible.com/t/using-docker-modules-on-windows/25145 "2017-08-04T17:21:54Z")

</div>

Hi everyone, Are docker\_\* modules to be expected to work on Windows? I try to pull image like this: \` name: Pull hello world image docker\_image: name: hello-world:nanoserver docker\_host: npipe:// \` and get this…

---

## [local\_action when unreachable.](https://forum.ansible.com/t/local-action-when-unreachable/25173)

<div class="topic-metadata">

**Author:** [@William\_McKenzie](https://forum.ansible.com/u/William_McKenzie)\
**Replies:** 5\
**Last updated:** [August 4, 2017, 5:18pm UTC](https://forum.ansible.com/t/local-action-when-unreachable/25173 "2017-08-04T17:18:03Z")

</div>

Seems like this should be pretty simple, but I can’t seem to find a way to do it. Is there some way to perform a local\_action whenever a target is unreachable? I just want to post to a slack channel if ping fails. ~Bill …

---

## [How to distribute public keys to every server except myself?](https://forum.ansible.com/t/how-to-distribute-public-keys-to-every-server-except-myself/25182)

<div class="topic-metadata">

**Author:** [@chbndrhnns](https://forum.ansible.com/u/chbndrhnns)\
**Replies:** 3\
**Last updated:** [August 4, 2017, 11:04am UTC](https://forum.ansible.com/t/how-to-distribute-public-keys-to-every-server-except-myself/25182 "2017-08-04T11:04:09Z")

</div>

Hey there, I have a setup with host1, host2, host3. I need to read a file into a variable per server, pass it to a Jinja2 template and fill in values. Each host should only get the values from the other two ones. I have…

---

## [Add option to docker\_container module to copy file into container directly](https://forum.ansible.com/t/add-option-to-docker-container-module-to-copy-file-into-container-directly/24732)

<div class="topic-metadata">

**Author:** [@Anton\_Bormotov](https://forum.ansible.com/u/Anton_Bormotov)\
**Replies:** 3\
**Last updated:** [August 4, 2017, 9:02am UTC](https://forum.ansible.com/t/add-option-to-docker-container-module-to-copy-file-into-container-directly/24732 "2017-08-04T09:02:00Z")

</div>

Sometimes, I have to copy files into running docker container. Would it make sense to add option to “docker\_container” module, for example “cp\_file”? If so, how can I contribute? Thanks,

---

## [How to select hosts based on facts?](https://forum.ansible.com/t/how-to-select-hosts-based-on-facts/25174)

<div class="topic-metadata">

**Author:** [@Cev\_Ing](https://forum.ansible.com/u/Cev_Ing)\
**Replies:** 5\
**Last updated:** [August 4, 2017, 8:25am UTC](https://forum.ansible.com/t/how-to-select-hosts-based-on-facts/25174 "2017-08-04T08:25:42Z")

</div>

I wrote a role for Solaris systems. And now I would like to apply the role to all systems, which have been identified by Ansible to be a Solaris host. I know that I can write an inventory group containing all Solaris se…

---

## [Unable to attach an EIP to a VPC Instance](https://forum.ansible.com/t/unable-to-attach-an-eip-to-a-vpc-instance/25177)

<div class="topic-metadata">

**Author:** [@Stephen\_Nelson-Smith](https://forum.ansible.com/u/Stephen_Nelson-Smith)\
**Replies:** 3\
**Last updated:** [August 4, 2017, 6:44am UTC](https://forum.ansible.com/t/unable-to-attach-an-eip-to-a-vpc-instance/25177 "2017-08-04T06:44:32Z")

</div>

I’m trying to attach an elastic IP to an instance in a VPC, but despite following what seem to be working examples in online documentation, I’m getting an error. To keep it as simple as possible, I have: Launched an …

---

## [Best practice to change root pass](https://forum.ansible.com/t/best-practice-to-change-root-pass/25141)

<div class="topic-metadata">

**Author:** [@Daniel\_Cure](https://forum.ansible.com/u/Daniel_Cure)\
**Replies:** 2\
**Last updated:** [August 4, 2017, 3:38am UTC](https://forum.ansible.com/t/best-practice-to-change-root-pass/25141 "2017-08-04T03:38:58Z")

</div>

hi peole thanks so much for your kindly help. Im mew here and i hope to help so much. Im just learning ansible and im new to this but im going to learn fast. My question is, do you what is the best method for changing ro…

---

## [Ansible tag with include](https://forum.ansible.com/t/ansible-tag-with-include/25176)

<div class="topic-metadata">

**Author:** [@tailorpreet](https://forum.ansible.com/u/tailorpreet)\
**Replies:** 1\
**Last updated:** [August 3, 2017, 9:10pm UTC](https://forum.ansible.com/t/ansible-tag-with-include/25176 "2017-08-03T21:10:28Z")

</div>

With latest Ansible 2.3.1, I was not able to use tags with include statemenet my code looks like this ansible-playbook -i inventories/app.inventory -v -e “host=resource” test.yml and heres test.yml. include: pipe.ym…

---

## [registered variables being dumped to local files](https://forum.ansible.com/t/registered-variables-being-dumped-to-local-files/25179)

<div class="topic-metadata">

**Author:** [@Dewey\_Hylton](https://forum.ansible.com/u/Dewey_Hylton)\
**Replies:** 3\
**Last updated:** [August 3, 2017, 8:26pm UTC](https://forum.ansible.com/t/registered-variables-being-dumped-to-local-files/25179 "2017-08-03T20:26:42Z")

</div>

hi all. i run a python script on a linux server that produces a report relating to patch levels and such. it's a fairly simple thing that was requested for audit purposes. it's a home-grown script. it works fine, and d…

---

## [Install Openstack-Nova ocata using ansible but with RPMs](https://forum.ansible.com/t/install-openstack-nova-ocata-using-ansible-but-with-rpms/25158)

<div class="topic-metadata">

**Author:** [@Sruthi\_Ramesh\_Vani](https://forum.ansible.com/u/Sruthi_Ramesh_Vani)\
**Replies:** 2\
**Last updated:** [August 3, 2017, 8:09pm UTC](https://forum.ansible.com/t/install-openstack-nova-ocata-using-ansible-but-with-rpms/25158 "2017-08-03T20:09:24Z")

</div>

Hi, I am new to OpenStack .I want to install Openstack-Nova ocata using Ansible but not using containers, but with rpms. Where should I start? I couldn’t find the support for rpms.

---

## [In playbook, reference hosts variable in tags](https://forum.ansible.com/t/in-playbook-reference-hosts-variable-in-tags/25178)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 0\
**Last updated:** [August 3, 2017, 7:03pm UTC](https://forum.ansible.com/t/in-playbook-reference-hosts-variable-in-tags/25178 "2017-08-03T19:03:21Z")

</div>

Can I do sth like this? hosts: myhost tags: “{{ hosts }}”

---

## [run ios\_command in enable mode](https://forum.ansible.com/t/run-ios-command-in-enable-mode/25175)

<div class="topic-metadata">

**Author:** [@Akku](https://forum.ansible.com/u/Akku)\
**Replies:** 0\
**Last updated:** [August 3, 2017, 5:05pm UTC](https://forum.ansible.com/t/run-ios-command-in-enable-mode/25175 "2017-08-03T17:05:19Z")

</div>

---

## [Deleting a windows file](https://forum.ansible.com/t/deleting-a-windows-file/25167)

<div class="topic-metadata">

**Author:** [@Chris13](https://forum.ansible.com/u/Chris13)\
**Replies:** 2\
**Last updated:** [August 3, 2017, 4:20pm UTC](https://forum.ansible.com/t/deleting-a-windows-file/25167 "2017-08-03T16:20:20Z")

</div>

I would like to see if there is a similar command in windows to the wait\_for module. I’m deleting a file and would like the playbook to not copy over the new file until it’s complete. Perhaps there’s a different Windows …

---

## [How to use a variable as index to an array](https://forum.ansible.com/t/how-to-use-a-variable-as-index-to-an-array/25153)

<div class="topic-metadata">

**Author:** [@Joseph\_Murdock](https://forum.ansible.com/u/Joseph_Murdock)\
**Replies:** 4\
**Last updated:** [August 3, 2017, 2:27pm UTC](https://forum.ansible.com/t/how-to-use-a-variable-as-index-to-an-array/25153 "2017-08-03T14:27:04Z")

</div>

Hello, I am trying to figure out the correct syntax for using a variable as an index to an array: set\_fact: cnt: “{{ response.stdout\_lines | count - 1 }}” filename: “{{ response.stdout\_lines\[3\] }}” filename: “{{ res…

---

## [Testing by activating CI on your fork of Ansible?](https://forum.ansible.com/t/testing-by-activating-ci-on-your-fork-of-ansible/25123)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 2\
**Last updated:** [August 3, 2017, 1:16pm UTC](https://forum.ansible.com/t/testing-by-activating-ci-on-your-fork-of-ansible/25123 "2017-08-03T13:16:22Z")

</div>

I’d like to run the tests on my fork of the Ansible project. How do I do that? The documentation is sparse and many broken links (I’ve opened issues on the broken links) Ansible moved from TravisCI to Shippable? If s…

---

## [env-setup & ./hacking missing gtom ansible.tat.gz](https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602)

<div class="topic-metadata">

**Author:** [@hubrecht.v.dalsen](https://forum.ansible.com/u/hubrecht.v.dalsen)\
**Replies:** 6\
**Last updated:** [August 3, 2017, 12:51pm UTC](https://forum.ansible.com/t/env-setup-hacking-missing-gtom-ansible-tat-gz/21602 "2017-08-03T12:51:59Z")

</div>

Hi all, I am trying to use Ansible on a Linux master server that is completely locked down(no internet access at all) So I have downloaded a tarball from releases.ansible.com, and looked at “running form source” to get…

---

## [Filter Return Value "results"](https://forum.ansible.com/t/filter-return-value-results/25172)

<div class="topic-metadata">

**Author:** [@theo.reber](https://forum.ansible.com/u/theo.reber)\
**Replies:** 0\
**Last updated:** [August 3, 2017, 10:58am UTC](https://forum.ansible.com/t/filter-return-value-results/25172 "2017-08-03T10:58:14Z")

</div>

Hi I\`m new in Ansible and try to spin up droplets at Digital Ocean Cloud. Playbook works fine. I would like to filter the return value “results” to display only ip\_address and droplet id. At the moment it shows all t…

---

## [Fetch password and username value from Tower credentials.](https://forum.ansible.com/t/fetch-password-and-username-value-from-tower-credentials/25166)

<div class="topic-metadata">

**Author:** [@Akku](https://forum.ansible.com/u/Akku)\
**Replies:** 1\
**Last updated:** [August 3, 2017, 8:22am UTC](https://forum.ansible.com/t/fetch-password-and-username-value-from-tower-credentials/25166 "2017-08-03T08:22:39Z")

</div>

Is it possible to declare a variable in the playbook which fetch the value from Ansible tower credentials? example : hosts: "{{ target }}’ var: passwd "{{ password }}’ user “{{ username }}” tasks -name install ap…

---

## [win\_command installing application on window machine](https://forum.ansible.com/t/win-command-installing-application-on-window-machine/25171)

<div class="topic-metadata">

**Author:** [@Cindy\_Lee](https://forum.ansible.com/u/Cindy_Lee)\
**Replies:** 1\
**Last updated:** [August 3, 2017, 5:29am UTC](https://forum.ansible.com/t/win-command-installing-application-on-window-machine/25171 "2017-08-03T05:29:03Z")

</div>

Hi, I have some problems using Ansible with Windows I’m trying to install program to the window with win\_command. Below is the part of the playbook which causes an issue.

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

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