# Latest

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

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

**Page:** 600

---

## [Run once with when statement causes only skipped action to run](https://forum.ansible.com/t/run-once-with-when-statement-causes-only-skipped-action-to-run/26230)

<div class="topic-metadata">

**Author:** [@ddrake2012](https://forum.ansible.com/u/ddrake2012)\
**Replies:** 8\
**Last updated:** [December 11, 2017, 4:47pm UTC](https://forum.ansible.com/t/run-once-with-when-statement-causes-only-skipped-action-to-run/26230 "2017-12-11T16:47:57Z")

</div>

Hey, I’m seeing some weird behavior that does not seem intuitive when trying to use run\_once with when. Intuitively I think this should run an action one time when the conditional is met, however what I’m seeing is that…

---

## [Slack Callback Plugin Usage](https://forum.ansible.com/t/slack-callback-plugin-usage/26243)

<div class="topic-metadata">

**Author:** [@andrew.sumner](https://forum.ansible.com/u/andrew.sumner)\
**Replies:** 1\
**Last updated:** [December 11, 2017, 3:32pm UTC](https://forum.ansible.com/t/slack-callback-plugin-usage/26243 "2017-12-11T15:32:27Z")

</div>

I’m trying to use the Slack callback plugin (https://docs.ansible.com/ansible/devel/plugins/callback/slack.html) in the hopes that it will send notifications as a playbook is executed and when it completes successfully o…

---

## [Can't add multiple choice values?](https://forum.ansible.com/t/cant-add-multiple-choice-values/26246)

<div class="topic-metadata">

**Author:** [@Cody\_Harlow](https://forum.ansible.com/u/Cody_Harlow)\
**Replies:** 1\
**Last updated:** [December 11, 2017, 2:29pm UTC](https://forum.ansible.com/t/cant-add-multiple-choice-values/26246 "2017-12-11T14:29:35Z")

</div>

Not sure if it’s changed but before I could press enter and the cursor would drop down a line so I can enter multiple options. Can’t seem to be able to do it now. Anyone else having this issue or is there just a new way …

---

## [Jenkins ansible](https://forum.ansible.com/t/jenkins-ansible/26245)

<div class="topic-metadata">

**Author:** [@venkatesh\_rasipuram](https://forum.ansible.com/u/venkatesh_rasipuram)\
**Replies:** 0\
**Last updated:** [December 11, 2017, 9:15am UTC](https://forum.ansible.com/t/jenkins-ansible/26245 "2017-12-11T09:15:56Z")

</div>

HI team, I am writing ansbile scripting and I need to exit from the Jenkins build as and when the conditions met. what is the ansible command to exit from the jenkins build?

---

## [New Fly.io module review help needed!](https://forum.ansible.com/t/new-fly-io-module-review-help-needed/26244)

<div class="topic-metadata">

**Author:** [@Andrew\_Wilson](https://forum.ansible.com/u/Andrew_Wilson)\
**Replies:** 0\
**Last updated:** [December 11, 2017, 7:33am UTC](https://forum.ansible.com/t/new-fly-io-module-review-help-needed/26244 "2017-12-11T07:33:22Z")

</div>

Hi all, Anyone interested in helping me review / test a new module? Its for integrating with Fly.io’s Application Delivery - the module interacts with their API allows users to create hostnames, link backends and add ru…

---

## [Wont be able to ping Windows Machines Via Linux Ansible Server](https://forum.ansible.com/t/wont-be-able-to-ping-windows-machines-via-linux-ansible-server/26097)

<div class="topic-metadata">

**Author:** [@shilpa\_motghare](https://forum.ansible.com/u/shilpa_motghare)\
**Replies:** 10\
**Last updated:** [December 11, 2017, 6:41am UTC](https://forum.ansible.com/t/wont-be-able-to-ping-windows-machines-via-linux-ansible-server/26097 "2017-12-11T06:41:19Z")

</div>

Guys Need help here I am posting /etc/ansible/hosts file for windows entry is \[windows\] Lenovo-PC Lenovo-PC entry is added in my /etc/hosts file AND /etc/ansible/windows.yml file is ansible\_user: Administrator ans…

---

## [Write dynmaic variables in variable file and load into playbooks](https://forum.ansible.com/t/write-dynmaic-variables-in-variable-file-and-load-into-playbooks/26212)

<div class="topic-metadata">

**Author:** [@Python\_Guru](https://forum.ansible.com/u/Python_Guru)\
**Replies:** 4\
**Last updated:** [December 11, 2017, 5:31am UTC](https://forum.ansible.com/t/write-dynmaic-variables-in-variable-file-and-load-into-playbooks/26212 "2017-12-11T05:31:34Z")

</div>

Need suggestion on how to deal the below scenario, as i am working on a story about Oracle EBS clone, for the Existing shell script project uses different conf files, where it exports the number of variables to linux en…

---

## [ansible 2.4 api and the all.yml file](https://forum.ansible.com/t/ansible-2-4-api-and-the-all-yml-file/26225)

<div class="topic-metadata">

**Author:** [@Paul\_Cuzner](https://forum.ansible.com/u/Paul_Cuzner)\
**Replies:** 5\
**Last updated:** [December 10, 2017, 11:53pm UTC](https://forum.ansible.com/t/ansible-2-4-api-and-the-all-yml-file/26225 "2017-12-10T23:53:47Z")

</div>

Hi, I’m using ansible 2.4.1 to run a couple of playbooks behind a text UI. At the time the script starts, group\_vars/all.yml doesn’t exist - I run a dynamic playbook within the script to gather some facts to define the …

---

## [with\_first\_found and with\_items](https://forum.ansible.com/t/with-first-found-and-with-items/26242)

<div class="topic-metadata">

**Author:** [@George\_V](https://forum.ansible.com/u/George_V)\
**Replies:** 0\
**Last updated:** [December 10, 2017, 7:56pm UTC](https://forum.ansible.com/t/with-first-found-and-with-items/26242 "2017-12-10T19:56:25Z")

</div>

Hi Ansible List, There is a need to dynamically add new groups to icinga configs so each time a new grpup is added to /etc/ansible/hosts, a template should be added to icinga monitoring into /etc/icinga/objects. I’ve ma…

---

## [Same role - parts run on different servers](https://forum.ansible.com/t/same-role-parts-run-on-different-servers/26240)

<div class="topic-metadata">

**Author:** [@Shlomit\_Afgin](https://forum.ansible.com/u/Shlomit_Afgin)\
**Replies:** 1\
**Last updated:** [December 10, 2017, 2:13pm UTC](https://forum.ansible.com/t/same-role-parts-run-on-different-servers/26240 "2017-12-10T14:13:49Z")

</div>

Hi, I need to add new user to server1 and create his home directory on server2. Do I must run those part in separate Ansible roles or it can be in the same role and I can tell on which server run which part of the role…

---

## [Array in Ansible](https://forum.ansible.com/t/array-in-ansible/26238)

<div class="topic-metadata">

**Author:** [@Saurabh](https://forum.ansible.com/u/Saurabh)\
**Replies:** 4\
**Last updated:** [December 10, 2017, 9:25am UTC](https://forum.ansible.com/t/array-in-ansible/26238 "2017-12-10T09:25:45Z")

</div>

How to read variables in ansible? Below Example :

---

## [Meaning of Variable Name Starting With "\_\_"?](https://forum.ansible.com/t/meaning-of-variable-name-starting-with/26239)

<div class="topic-metadata">

**Author:** [@Robert\_F](https://forum.ansible.com/u/Robert_F)\
**Replies:** 1\
**Last updated:** [December 10, 2017, 12:06am UTC](https://forum.ansible.com/t/meaning-of-variable-name-starting-with/26239 "2017-12-10T00:06:15Z")

</div>

I’m about to use geerlingguy.apache and saw this code in the main.yml task: \` name: Define apache\_packages. set\_fact: apache\_packages: “{{ \_\_apache\_packages | list }}” when: apache\_packages is not defined \` What …

---

## [Windows folks: help test the new pywinrm beta!](https://forum.ansible.com/t/windows-folks-help-test-the-new-pywinrm-beta/26237)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 1\
**Last updated:** [December 9, 2017, 7:56pm UTC](https://forum.ansible.com/t/windows-folks-help-test-the-new-pywinrm-beta/26237 "2017-12-09T19:56:00Z")

</div>

We’re pleased to announce the release of pywinrm 0.3.0 beta 1, and hoping our friends that manage Windows with Ansible will put it through its paces… The marquee feature on this release enables HTTP message encryption o…

---

## [unable to create directory](https://forum.ansible.com/t/unable-to-create-directory/26235)

<div class="topic-metadata">

**Author:** [@coach.rhca](https://forum.ansible.com/u/coach.rhca)\
**Replies:** 5\
**Last updated:** [December 9, 2017, 6:13pm UTC](https://forum.ansible.com/t/unable-to-create-directory/26235 "2017-12-09T18:13:40Z")

</div>

I am trying to clone a git repository using the git clone command but it is unable to create the directory structure and copies the entire files in the parent directory. example when i do the git: repo=http://pathtoth…

---

## [How to provide prompt inputs](https://forum.ansible.com/t/how-to-provide-prompt-inputs/26236)

<div class="topic-metadata">

**Author:** [@Vishal\_Bhargava](https://forum.ansible.com/u/Vishal_Bhargava)\
**Replies:** 1\
**Last updated:** [December 9, 2017, 9:53am UTC](https://forum.ansible.com/t/how-to-provide-prompt-inputs/26236 "2017-12-09T09:53:04Z")

</div>

HI, I am trying to write an ansible playbook which will run some command on a remote server, but the problem is when this command is run, it asks for user and password which I cannot provide from the command line. I am …

---

## [Shortcut for making Ansible groups from EC2 tags](https://forum.ansible.com/t/shortcut-for-making-ansible-groups-from-ec2-tags/17078)

<div class="topic-metadata">

**Author:** [@Quentin\_Stafford-Fra](https://forum.ansible.com/u/Quentin_Stafford-Fra)\
**Replies:** 6\
**Last updated:** [December 8, 2017, 10:34pm UTC](https://forum.ansible.com/t/shortcut-for-making-ansible-groups-from-ec2-tags/17078 "2017-12-08T22:34:58Z")

</div>

I spent a long time trying to get this to work, and eventually managed it, so just in case it’s useful for anyone else… I wanted to tag my EC2 instances with, say ‘webserver: True’ and have them then appear in the ‘webs…

---

## [Ansible Tower (AWX) with Openstack](https://forum.ansible.com/t/ansible-tower-awx-with-openstack/26224)

<div class="topic-metadata">

**Author:** [@Sammic30](https://forum.ansible.com/u/Sammic30)\
**Replies:** 1\
**Last updated:** [December 8, 2017, 8:59pm UTC](https://forum.ansible.com/t/ansible-tower-awx-with-openstack/26224 "2017-12-08T20:59:07Z")

</div>

Hi, I’m new to Ansible tower and not sure if its right forum to ask this question. Can we use open source Ansible Tower (AWX) with Openstack? If yes, Is there any documentation available?

---

## [Does nginx config need to be changed when running in a production environment?](https://forum.ansible.com/t/does-nginx-config-need-to-be-changed-when-running-in-a-production-environment/26231)

<div class="topic-metadata">

**Author:** [@Ben\_Donnaloia](https://forum.ansible.com/u/Ben_Donnaloia)\
**Replies:** 1\
**Last updated:** [December 8, 2017, 8:57pm UTC](https://forum.ansible.com/t/does-nginx-config-need-to-be-changed-when-running-in-a-production-environment/26231 "2017-12-08T20:57:44Z")

</div>

"no live upstreams while connecting to upstream, client: 10.255.0.2, server: \_, request: “GET /api/v2/users/1/admin\_of\_organizations/ HTTP/1.1”, upstream: “uwsgi://uwsgi” I see this message in my logs on almost every re…

---

## [Ansible web directory](https://forum.ansible.com/t/ansible-web-directory/26232)

<div class="topic-metadata">

**Author:** [@RB\_BR](https://forum.ansible.com/u/RB_BR)\
**Replies:** 0\
**Last updated:** [December 8, 2017, 7:55pm UTC](https://forum.ansible.com/t/ansible-web-directory/26232 "2017-12-08T19:55:51Z")

</div>

I’m looking to move the default web directory for ansible to a sub directory or even create an alias to push to a sub directory. I have figured out how to do this with a base nginx config file. Is this possible with the…

---

## [Ansible fails to connect to newly provisioned EC2 on 3rd task after successful running first 2 tasks](https://forum.ansible.com/t/ansible-fails-to-connect-to-newly-provisioned-ec2-on-3rd-task-after-successful-running-first-2-tasks/26009)

<div class="topic-metadata">

**Author:** [@ddrake2012](https://forum.ansible.com/u/ddrake2012)\
**Replies:** 3\
**Last updated:** [December 8, 2017, 7:42pm UTC](https://forum.ansible.com/t/ansible-fails-to-connect-to-newly-provisioned-ec2-on-3rd-task-after-successful-running-first-2-tasks/26009 "2017-12-08T19:42:48Z")

</div>

I have a playbook that creates EC2 instances and adds them to an in memory group using the add\_host module. I am then able to connect to the in memory group and perform two successful commands before a third fails. I am…

---

## [vmware modules](https://forum.ansible.com/t/vmware-modules/26228)

<div class="topic-metadata">

**Author:** [@phrantic7](https://forum.ansible.com/u/phrantic7)\
**Replies:** 3\
**Last updated:** [December 8, 2017, 3:06pm UTC](https://forum.ansible.com/t/vmware-modules/26228 "2017-12-08T15:06:24Z")

</div>

Hello Guys, I am new in Ansible but I like and I am eager to dig deeper in it. Anyway, I am trying to use vmware\_vm\_facts module in order get any VM list from vCenter however I got “Failed to connect to the host via ss…

---

## [ansible 2.4 reports an error when extra var is passed](https://forum.ansible.com/t/ansible-2-4-reports-an-error-when-extra-var-is-passed/26227)

<div class="topic-metadata">

**Author:** [@cmoullia](https://forum.ansible.com/u/cmoullia)\
**Replies:** 3\
**Last updated:** [December 8, 2017, 2:20pm UTC](https://forum.ansible.com/t/ansible-2-4-reports-an-error-when-extra-var-is-passed/26227 "2017-12-08T14:20:35Z")

</div>

Hi ansible playbook reports an error when one of the value of the yaml config file imported as var is passed on the command line using -e Yaml Config File \`

---

## [Ansible with Windows](https://forum.ansible.com/t/ansible-with-windows/26154)

<div class="topic-metadata">

**Author:** [@Alicia\_Nguyen](https://forum.ansible.com/u/Alicia_Nguyen)\
**Replies:** 1\
**Last updated:** [December 8, 2017, 12:02pm UTC](https://forum.ansible.com/t/ansible-with-windows/26154 "2017-12-08T12:02:05Z")

</div>

Hi, I had ansible controlling a few Windows machines but I’ve had to disable Basic Authentication for WinRM due to security concerns. Is it possible to use control Windows machines via ansible without basic WinRM authen…

---

## [Ansible for loop on csv file, break out title line](https://forum.ansible.com/t/ansible-for-loop-on-csv-file-break-out-title-line/26165)

<div class="topic-metadata">

**Author:** [@Adolphson](https://forum.ansible.com/u/Adolphson)\
**Replies:** 14\
**Last updated:** [December 8, 2017, 7:57am UTC](https://forum.ansible.com/t/ansible-for-loop-on-csv-file-break-out-title-line/26165 "2017-12-08T07:57:06Z")

</div>

I have a playbook where I am using csv file to create a vars file. The for loop iterates through the csvfile, skips the first title line then splits each line into a list. Works fine, but I was hoping to instead of skipp…

---

## [Custom Privilege Escalation Method](https://forum.ansible.com/t/custom-privilege-escalation-method/26223)

<div class="topic-metadata">

**Author:** [@agasthi.kothurkar](https://forum.ansible.com/u/agasthi.kothurkar)\
**Replies:** 1\
**Last updated:** [December 7, 2017, 10:03pm UTC](https://forum.ansible.com/t/custom-privilege-escalation-method/26223 "2017-12-07T22:03:04Z")

</div>

I am working on a project in a secure environment where getting sudo / su access to root is not allowed. There is a custom privilege escalation method “suexec” via BoKS (product which we use for Centralized access contro…

---

## [Variable in role not overriden by inventory](https://forum.ansible.com/t/variable-in-role-not-overriden-by-inventory/26222)

<div class="topic-metadata">

**Author:** [@Thibaud\_LEBRET](https://forum.ansible.com/u/Thibaud_LEBRET)\
**Replies:** 3\
**Last updated:** [December 7, 2017, 8:30pm UTC](https://forum.ansible.com/t/variable-in-role-not-overriden-by-inventory/26222 "2017-12-07T20:30:37Z")

</div>

Hello I have the following directory and I run ansible 2.4.1.0 with python 2.7 , on Redhat 6/7 server inventories/ production/ hosts.prod # inventory file group\_vars/ all host\_vars/ dev/ hosts.dev # inventory fi…

---

## [directory is exists or not](https://forum.ansible.com/t/directory-is-exists-or-not/26219)

<div class="topic-metadata">

**Author:** [@Bhautik\_K](https://forum.ansible.com/u/Bhautik_K)\
**Replies:** 5\
**Last updated:** [December 7, 2017, 7:01pm UTC](https://forum.ansible.com/t/directory-is-exists-or-not/26219 "2017-12-07T19:01:59Z")

</div>

Looking for solution. I have write below yml for if directory is exists or not but getting below error. Could you please correct me where I did mistake ? hosts: compute tasks: name: Ansible check directory exists. s…

---

## [Jump host and ansible\_ssh\_private\_key\_file](https://forum.ansible.com/t/jump-host-and-ansible-ssh-private-key-file/26221)

<div class="topic-metadata">

**Author:** [@autogun](https://forum.ansible.com/u/autogun)\
**Replies:** 0\
**Last updated:** [December 7, 2017, 4:44pm UTC](https://forum.ansible.com/t/jump-host-and-ansible-ssh-private-key-file/26221 "2017-12-07T16:44:47Z")

</div>

Hey there, I’ve been following the documentation on how to configure a jump host to access servers which can be found here. My jump server has the private keys needed to access different servers so when I try to set my…

---

## [Ansible 2.4.3 Beta1 is ready for testing](https://forum.ansible.com/t/ansible-2-4-3-beta1-is-ready-for-testing/26216)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 1\
**Last updated:** [December 7, 2017, 3:05pm UTC](https://forum.ansible.com/t/ansible-2-4-3-beta1-is-ready-for-testing/26216 "2017-12-07T15:05:44Z")

</div>

Hi all, we're happy to announce that Beta1 for 2.4.3 is now available for testing. How do you get it?

---

## [bool and string evaluation gives mixed result if using curly brackets](https://forum.ansible.com/t/bool-and-string-evaluation-gives-mixed-result-if-using-curly-brackets/26218)

<div class="topic-metadata">

**Author:** [@jepper](https://forum.ansible.com/u/jepper)\
**Replies:** 3\
**Last updated:** [December 7, 2017, 11:30am UTC](https://forum.ansible.com/t/bool-and-string-evaluation-gives-mixed-result-if-using-curly-brackets/26218 "2017-12-07T11:30:46Z")

</div>

The snippet below evaluates to true, then false with myvar=false. How come? ansible version 2.2.1.0 on OSX High Sierra

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

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