# Latest

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

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

**Page:** 471

---

## [Ansible-2.8.0 delay](https://forum.ansible.com/t/ansible-2-8-0-delay/29947)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 3\
**Last updated:** [April 4, 2019, 6:09pm UTC](https://forum.ansible.com/t/ansible-2-8-0-delay/29947 "2019-04-04T18:09:11Z")

</div>

Hello all, As some of you may have noticed, Ansible-2.8.0-alpha1 has been delayed. It was scheduled for last week but we have one important feature that we're still working on. To give it a chance to be finished up…

---

## [Splunk Administror](https://forum.ansible.com/t/splunk-administror/30065)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 1\
**Last updated:** [April 4, 2019, 6:04pm UTC](https://forum.ansible.com/t/splunk-administror/30065 "2019-04-04T18:04:39Z")

</div>

Can we ban the spammers?

---

## [How to execute a playbook before a role?](https://forum.ansible.com/t/how-to-execute-a-playbook-before-a-role/30064)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [April 4, 2019, 5:12pm UTC](https://forum.ansible.com/t/how-to-execute-a-playbook-before-a-role/30064 "2019-04-04T17:12:57Z")

</div>

This doesn’t work of course, but shows what I am trying to do. I wish to call a playbook before a couple of roles. How might I do this? Doesn’t work, but is an explanatory example: \`

---

## [Running tasks on GCP hosts using service account](https://forum.ansible.com/t/running-tasks-on-gcp-hosts-using-service-account/30063)

<div class="topic-metadata">

**Author:** [@Jan\_D](https://forum.ansible.com/u/Jan_D)\
**Replies:** 1\
**Last updated:** [April 4, 2019, 4:27pm UTC](https://forum.ansible.com/t/running-tasks-on-gcp-hosts-using-service-account/30063 "2019-04-04T16:27:07Z")

</div>

I have been playing with the GCP Inventory plugin and can now succesfully view/list my GCE VM instances with my dynamic inventory file. It looks like this: plugin: gcp\_compute projects: my-project filters: …

---

## [Ansible with gpg-agent prompts for private key password constantly](https://forum.ansible.com/t/ansible-with-gpg-agent-prompts-for-private-key-password-constantly/30053)

<div class="topic-metadata">

**Author:** [@Mark\_Clarke](https://forum.ansible.com/u/Mark_Clarke)\
**Replies:** 4\
**Last updated:** [April 4, 2019, 3:42pm UTC](https://forum.ansible.com/t/ansible-with-gpg-agent-prompts-for-private-key-password-constantly/30053 "2019-04-04T15:42:13Z")

</div>

Hi all, We are using gpg-agent to provide ssh-agent functionality for the caching the private key passphrases. Some of the keys will be stored in the gpg keyring whilst some services such as ansible uses a standard ssh …

---

## [What is the difference between runing playbook on ansible host and from Jenkins](https://forum.ansible.com/t/what-is-the-difference-between-runing-playbook-on-ansible-host-and-from-jenkins/30061)

<div class="topic-metadata">

**Author:** [@Jinna\_Balu](https://forum.ansible.com/u/Jinna_Balu)\
**Replies:** 0\
**Last updated:** [April 4, 2019, 3:14pm UTC](https://forum.ansible.com/t/what-is-the-difference-between-runing-playbook-on-ansible-host-and-from-jenkins/30061 "2019-04-04T15:14:54Z")

</div>

SUMMARY Failed to connect to the host via ssh: Host key verification failed I have set of EC2 instance, i want to do application automation through jenkins UI using ansible plugin. ISSUE TYPE- Bug Report I am able to r…

---

## [AWX select credential in job template dynamically based on logged in user](https://forum.ansible.com/t/awx-select-credential-in-job-template-dynamically-based-on-logged-in-user/28753)

<div class="topic-metadata">

**Author:** [@Darkhan](https://forum.ansible.com/u/Darkhan)\
**Replies:** 6\
**Last updated:** [April 4, 2019, 2:30pm UTC](https://forum.ansible.com/t/awx-select-credential-in-job-template-dynamically-based-on-logged-in-user/28753 "2019-04-04T14:30:00Z")

</div>

Hello, In our organization each user must use his own credentials for audit purposes so i can’t have one central key for awx. Therefore every user will define his own machine type credential with his ssh key attached to…

---

## [template Text Area value from AWX survey](https://forum.ansible.com/t/template-text-area-value-from-awx-survey/30059)

<div class="topic-metadata">

**Author:** [@guhan\_kumar](https://forum.ansible.com/u/guhan_kumar)\
**Replies:** 0\
**Last updated:** [April 4, 2019, 11:47am UTC](https://forum.ansible.com/t/template-text-area-value-from-awx-survey/30059 "2019-04-04T11:47:20Z")

</div>

Hi All, I have to create the variable in group vars as below disk: { device: /dev/sdb pvname: /dev/sdb1 } { device: /dev/sdc pvname: /dev/sdc1 } i am getting disks name from job template survey i textarea , while te…

---

## [Custom Virtual Environments Not Registered](https://forum.ansible.com/t/custom-virtual-environments-not-registered/30052)

<div class="topic-metadata">

**Author:** [@Kim\_Spasaro](https://forum.ansible.com/u/Kim_Spasaro)\
**Replies:** 3\
**Last updated:** [April 4, 2019, 11:21am UTC](https://forum.ansible.com/t/custom-virtual-environments-not-registered/30052 "2019-04-04T11:21:58Z")

</div>

I’ve been following instructions for setting up custom virtual environments on AWX, but I the venvs never become accessible. Any idea what I’m doing wrong? (cross-posted to StackOverflow) Steps so far: Created virtual…

---

## [Module yum: update revision](https://forum.ansible.com/t/module-yum-update-revision/29853)

<div class="topic-metadata">

**Author:** [@Ricardo\_Ferreira](https://forum.ansible.com/u/Ricardo_Ferreira)\
**Replies:** 1\
**Last updated:** [April 4, 2019, 10:20am UTC](https://forum.ansible.com/t/module-yum-update-revision/29853 "2019-04-04T10:20:51Z")

</div>

Hi all, I need to update a list of packages but to a new revision inside a version. If I use state latest the yum module just ignore the version and install the latest version avaliable. If I use the state present and…

---

## [ansible concatenate variables](https://forum.ansible.com/t/ansible-concatenate-variables/30025)

<div class="topic-metadata">

**Author:** [@Krzysztof\_Kulaj](https://forum.ansible.com/u/Krzysztof_Kulaj)\
**Replies:** 1\
**Last updated:** [April 3, 2019, 9:35pm UTC](https://forum.ansible.com/t/ansible-concatenate-variables/30025 "2019-04-03T21:35:27Z")

</div>

Hello, I have simple question about concatenating variables in Ansible. I am using a role https://github.com/singleplatform-eng/ansible-users . I would like to define root user in group\_vars/all . It works well. The p…

---

## [connection caching throughout a play](https://forum.ansible.com/t/connection-caching-throughout-a-play/30030)

<div class="topic-metadata">

**Author:** [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Replies:** 1\
**Last updated:** [April 3, 2019, 8:41pm UTC](https://forum.ansible.com/t/connection-caching-throughout-a-play/30030 "2019-04-03T20:41:51Z")

</div>

HI! On the ansible controller I'd like to establish an authenticated LDAP connection at the beginning of a playbook run and use this afterwards in several tasks. Up to now the ansible modules I reviewed seem to re-op…

---

## [How to write an Ansible Module that does not do the initial check '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''](https://forum.ansible.com/t/how-to-write-an-ansible-module-that-does-not-do-the-initial-check-bin-sh-c-echo-sleep-0/30031)

<div class="topic-metadata">

**Author:** [@Mikael\_Liljebladh](https://forum.ansible.com/u/Mikael_Liljebladh)\
**Replies:** 1\
**Last updated:** [April 3, 2019, 8:23pm UTC](https://forum.ansible.com/t/how-to-write-an-ansible-module-that-does-not-do-the-initial-check-bin-sh-c-echo-sleep-0/30031 "2019-04-03T20:23:17Z")

</div>

Hi, I am writing a module to a storage nas that allows me to connect to it using ssh. However, it does not provide a standard shell. So I cannot connect to it using command and shell modules. It works with raw assuming …

---

## [more freedom and options for \`run\_once\`](https://forum.ansible.com/t/more-freedom-and-options-for-run-once/30037)

<div class="topic-metadata">

**Author:** [@Uffi\_Schnuffi1](https://forum.ansible.com/u/Uffi_Schnuffi1)\
**Replies:** 1\
**Last updated:** [April 3, 2019, 7:52pm UTC](https://forum.ansible.com/t/more-freedom-and-options-for-run-once/30037 "2019-04-03T19:52:19Z")

</div>

Currently something like the following: - \<some action\> run\_once: true when: item == true with\_random\_choice: - true - false Will run only once even when the task is skipped (item = false). There are cases when it …

---

## [How to copy directory from remote machine to ansible machine](https://forum.ansible.com/t/how-to-copy-directory-from-remote-machine-to-ansible-machine/30048)

<div class="topic-metadata">

**Author:** [@amit\_ahuja](https://forum.ansible.com/u/amit_ahuja)\
**Replies:** 3\
**Last updated:** [April 3, 2019, 7:46pm UTC](https://forum.ansible.com/t/how-to-copy-directory-from-remote-machine-to-ansible-machine/30048 "2019-04-03T19:46:29Z")

</div>

Hi, i want to know if there is any way to copy complete directory from remote machine to local ansible machine . i tried to used fetch method but it is copying files with complete path which i dont want . pls help . th…

---

## [Ansible unable to except any other body format except raw and jason in the uri module and upload a zip or a jar via POST method](https://forum.ansible.com/t/ansible-unable-to-except-any-other-body-format-except-raw-and-jason-in-the-uri-module-and-upload-a-zip-or-a-jar-via-post-method/27582)

<div class="topic-metadata">

**Author:** [@Apu\_Mondal](https://forum.ansible.com/u/Apu_Mondal)\
**Replies:** 2\
**Last updated:** [April 3, 2019, 5:56pm UTC](https://forum.ansible.com/t/ansible-unable-to-except-any-other-body-format-except-raw-and-jason-in-the-uri-module-and-upload-a-zip-or-a-jar-via-post-method/27582 "2019-04-03T17:56:43Z")

</div>

Zip file not getting POST to the server with the uri module in Ansible. These are the codes I am trying to execute name: Transfering the Proxies uri: headers: Authorization: ‘{{API\_USER\_PASS\_BASE64\_ENCRYPT}}’ Cont…

---

## [What is the parameter attribute to use VM storage Policy](https://forum.ansible.com/t/what-is-the-parameter-attribute-to-use-vm-storage-policy/30023)

<div class="topic-metadata">

**Author:** [@himanshu\_gupta](https://forum.ansible.com/u/himanshu_gupta)\
**Replies:** 1\
**Last updated:** [April 3, 2019, 2:41pm UTC](https://forum.ansible.com/t/what-is-the-parameter-attribute-to-use-vm-storage-policy/30023 "2019-04-03T14:41:14Z")

</div>

Hi Team, We are using Ansible to build the VM on Vmware ESXi host and recently we configured the VASA to use the VVOLS. We have created some VM Storgare Policies and we now want to pass these VM storage policy while cre…

---

## [How to avoid backslash and quote from variable](https://forum.ansible.com/t/how-to-avoid-backslash-and-quote-from-variable/30035)

<div class="topic-metadata">

**Author:** [@Bikram](https://forum.ansible.com/u/Bikram)\
**Replies:** 2\
**Last updated:** [April 3, 2019, 1:07pm UTC](https://forum.ansible.com/t/how-to-avoid-backslash-and-quote-from-variable/30035 "2019-04-03T13:07:37Z")

</div>

Hello, I am running an audit against some interfaces on Cisco switches: Here is the task: ios\_command: provider: “{{ cli }}” commands: show run interface “{{ item }}” | i no cdp timeout: 15 register: no\_cdp with…

---

## [Apache ProxyPass: Page not refreshing automatically after SSL installed](https://forum.ansible.com/t/apache-proxypass-page-not-refreshing-automatically-after-ssl-installed/30049)

<div class="topic-metadata">

**Author:** [@TOB](https://forum.ansible.com/u/TOB)\
**Replies:** 0\
**Last updated:** [April 3, 2019, 12:17pm UTC](https://forum.ansible.com/t/apache-proxypass-page-not-refreshing-automatically-after-ssl-installed/30049 "2019-04-03T12:17:40Z")

</div>

Hi, yesterday I configured an Apache Reverse Proxy to get a SSL certificate for Ansible AWX inside docker running on port 8080. Apache with the proxy is in front of the docker listening on port 80. Everything’s working…

---

## [Ansible how to get output as variable without brackets and u](https://forum.ansible.com/t/ansible-how-to-get-output-as-variable-without-brackets-and-u/30047)

<div class="topic-metadata">

**Author:** [@wanexa77](https://forum.ansible.com/u/wanexa77)\
**Replies:** 3\
**Last updated:** [April 3, 2019, 9:53am UTC](https://forum.ansible.com/t/ansible-how-to-get-output-as-variable-without-brackets-and-u/30047 "2019-04-03T09:53:12Z")

</div>

I have the result of a query from ansible and I tried to use the result as a variable My playbook is like this - name: Query oracle\_sql: username: "{{ user }}" password: "{{ password }}" service\_name: "{{…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/30043)

<div class="topic-metadata">

**Author:** [@Pawel\_Szatkowski](https://forum.ansible.com/u/Pawel_Szatkowski)\
**Replies:** 0\
**Last updated:** [April 3, 2019, 8:12am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/30043 "2019-04-03T08:12:17Z")

</div>

Hello Community, I’ve recently created pull request “New module for managing btrfs quota #54728”. I wrote some integration tests that were passed, however when I checked details on shippable I noticed that actually none…

---

## [vault not decrypting in loops](https://forum.ansible.com/t/vault-not-decrypting-in-loops/30042)

<div class="topic-metadata">

**Author:** [@P\_Varsha](https://forum.ansible.com/u/P_Varsha)\
**Replies:** 0\
**Last updated:** [April 3, 2019, 6:21am UTC](https://forum.ansible.com/t/vault-not-decrypting-in-loops/30042 "2019-04-03T06:21:58Z")

</div>

hello, try once instead of two quotation use one. thanks

---

## [Check Number Of Wheel Group Members](https://forum.ansible.com/t/check-number-of-wheel-group-members/30039)

<div class="topic-metadata">

**Author:** [@Jon\_Adcock](https://forum.ansible.com/u/Jon_Adcock)\
**Replies:** 5\
**Last updated:** [April 2, 2019, 6:52pm UTC](https://forum.ansible.com/t/check-number-of-wheel-group-members/30039 "2019-04-02T18:52:44Z")

</div>

I’m trying to add a task to my security playbook to ensure that there are no members in the default Linux wheel group. This has turned out to be more difficult than I thought it would be. Can someone out there help get …

---

## [Edit playbook to work with Packer Ansible Provisioner](https://forum.ansible.com/t/edit-playbook-to-work-with-packer-ansible-provisioner/30041)

<div class="topic-metadata">

**Author:** [@gigit1000](https://forum.ansible.com/u/gigit1000)\
**Replies:** 2\
**Last updated:** [April 2, 2019, 6:19pm UTC](https://forum.ansible.com/t/edit-playbook-to-work-with-packer-ansible-provisioner/30041 "2019-04-02T18:19:20Z")

</div>

Hello, I’m trying to call a playbook from Packer for the first time. I’m using the Packer Ansible provisioner. The documentation says that Packer will “dynamically create an inventory file to use with the playbook” If t…

---

## [IOS Command ARP Issue](https://forum.ansible.com/t/ios-command-arp-issue/30040)

<div class="topic-metadata">

**Author:** [@Emir\_Hayric](https://forum.ansible.com/u/Emir_Hayric)\
**Replies:** 0\
**Last updated:** [April 2, 2019, 5:19pm UTC](https://forum.ansible.com/t/ios-command-arp-issue/30040 "2019-04-02T17:19:16Z")

</div>

I am trying to develop a Playbook which will reference an external variables file that contains numerous MAC addresses that I want to interrogate a network core device for. If I use a very simple playbook just showing t…

---

## [loop with dynamic item.x](https://forum.ansible.com/t/loop-with-dynamic-item-x/30034)

<div class="topic-metadata">

**Author:** [@Guillaume\_D](https://forum.ansible.com/u/Guillaume_D)\
**Replies:** 3\
**Last updated:** [April 1, 2019, 6:46pm UTC](https://forum.ansible.com/t/loop-with-dynamic-item-x/30034 "2019-04-01T18:46:21Z")

</div>

Hello, I’m blocking on this all the weekend. I’m trying to build dynamically a variable with “item” for browsing in a list. \` debug: msg: "{{ item.dev }} " loop: “{{ nginx }}” \` This is working well. But I need…

---

## [Error running AWX 4 on Minishift 3.11](https://forum.ansible.com/t/error-running-awx-4-on-minishift-3-11/30033)

<div class="topic-metadata">

**Author:** [@mlessard](https://forum.ansible.com/u/mlessard)\
**Replies:** 0\
**Last updated:** [April 1, 2019, 6:07pm UTC](https://forum.ansible.com/t/error-running-awx-4-on-minishift-3-11/30033 "2019-04-01T18:07:14Z")

</div>

Hi, I did lunch the install playbook for AWX 4 on my Minishift 3.11, and i’m getting stuck at this task : TASK \[kubernetes : Wait for management pod to start\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* In Minisift, when i click on thew…

---

## [searching for non-virtual machines....](https://forum.ansible.com/t/searching-for-non-virtual-machines/30032)

<div class="topic-metadata">

**Author:** [@dmakovey](https://forum.ansible.com/u/dmakovey)\
**Replies:** 0\
**Last updated:** [April 1, 2019, 4:37pm UTC](https://forum.ansible.com/t/searching-for-non-virtual-machines/30032 "2019-04-01T16:37:20Z")

</div>

Hi, I'm trying to figure out how to use Tower Search ( https://docs.ansible.com/ansible-tower/3.4.0/html/userguide/search\_sort.html ) either ad-hoc or as a smart inventory to pick up all the non-virtual machines. Nav…

---

## [Unable to install local package with win\_chocolatey](https://forum.ansible.com/t/unable-to-install-local-package-with-win-chocolatey/30027)

<div class="topic-metadata">

**Author:** [@gigit1000](https://forum.ansible.com/u/gigit1000)\
**Replies:** 2\
**Last updated:** [March 31, 2019, 7:36pm UTC](https://forum.ansible.com/t/unable-to-install-local-package-with-win-chocolatey/30027 "2019-03-31T19:36:17Z")

</div>

Hello, I am able to manually install this package from the command line on the windows host like this: choco install C:\\updater\\GoogleChrome-AllUsers.26.0.1410.64.nupkg But I’m not able to do it using the win\_chocolat…

---

## [List of invalid character(s)](https://forum.ansible.com/t/list-of-invalid-character-s/30029)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 3\
**Last updated:** [March 29, 2019, 9:58pm UTC](https://forum.ansible.com/t/list-of-invalid-character-s/30029 "2019-03-29T21:58:58Z")

</div>

Is the list of invalid character(s) documented somewhere? I did have dashes in my group names and I replaced them with underscores but now ansible is complaining the period is invalid! Makes use FQDN for group names a …

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

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