# Ansible Developer

**URL:** https://forum.ansible.com/c/archives/ansible-developer/29.md?page=26

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

**Page:** 27

---

## [loop and variables](https://forum.ansible.com/t/loop-and-variables/30162)

<div class="topic-metadata">

**Author:** [@mvmpedro](https://forum.ansible.com/u/mvmpedro)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 3:48pm UTC](https://forum.ansible.com/t/loop-and-variables/30162 "2019-04-24T15:48:13Z")

</div>

Hi guys, How are you? I am new at Ansible and doing some great stuffs until now. I have those variables: asm\_disks: { device: ‘sdc’, asm\_disk\_name: ‘ASM\_GRID01’, asm\_diskgroup: ‘GRID01’, asm\_redundancy: ‘NORMAL’, …

---

## [issue: ansible ad-hoc command -u root and -u oracle with -a id giving same output](https://forum.ansible.com/t/issue-ansible-ad-hoc-command-u-root-and-u-oracle-with-a-id-giving-same-output/30171)

<div class="topic-metadata">

**Author:** [@Naren1](https://forum.ansible.com/u/Naren1)\
**Replies:** 6\
**Last updated:** [April 24, 2019, 11:26am UTC](https://forum.ansible.com/t/issue-ansible-ad-hoc-command-u-root-and-u-oracle-with-a-id-giving-same-output/30171 "2019-04-24T11:26:57Z")

</div>

I am expecting “id” command to show the user details passed to “-u \<user name” “id” command to return details of root, oracle, and applmgr users on each run but in below output is showing only one user for all, why ? $…

---

## [Ansible-2.8.0b1 available for testing](https://forum.ansible.com/t/ansible-2-8-0b1-available-for-testing/30115)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [April 15, 2019, 8:42pm UTC](https://forum.ansible.com/t/ansible-2-8-0b1-available-for-testing/30115 "2019-04-15T20:42:27Z")

</div>

Hi all- we're happy to announce that Ansible 2.8.0b1 is now available for testing! How do you get it?

---

## [tasks or roles not played](https://forum.ansible.com/t/tasks-or-roles-not-played/30072)

<div class="topic-metadata">

**Author:** [@philipe.xavier.guino](https://forum.ansible.com/u/philipe.xavier.guino)\
**Replies:** 1\
**Last updated:** [April 13, 2019, 7:00am UTC](https://forum.ansible.com/t/tasks-or-roles-not-played/30072 "2019-04-13T07:00:08Z")

</div>

Hello, I am new on ansible and learning. I encounter a problem, when I launch my playbook, only the task gathering fact is played. If I pass it to no, nothing is played. command line without inventory : ansible-playbo…

---

## [beta1 delayed until Monday](https://forum.ansible.com/t/beta1-delayed-until-monday/30108)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [April 12, 2019, 10:20pm UTC](https://forum.ansible.com/t/beta1-delayed-until-monday/30108 "2019-04-12T22:20:29Z")

</div>

We've spent all day working on timeouts and failures in web services that we're testing against so we're not going to have time to get beta1 out the door before people have to leave work today. New estimate for beta1…

---

## [Ansible-2.8.0beta1 delayed one day](https://forum.ansible.com/t/ansible-2-8-0beta1-delayed-one-day/30100)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [April 12, 2019, 12:53am UTC](https://forum.ansible.com/t/ansible-2-8-0beta1-delayed-one-day/30100 "2019-04-12T00:53:43Z")

</div>

Just a heads up that beta1 will be delayed. There aren't any blockers to getting it out, just a lot of things that have to be performed in serial and we've run out of time to get it out today. It will likely be out …

---

## [Issue with portgroup](https://forum.ansible.com/t/issue-with-portgroup/30097)

<div class="topic-metadata">

**Author:** [@Alaeddine\_JOUINI](https://forum.ansible.com/u/Alaeddine_JOUINI)\
**Replies:** 0\
**Last updated:** [April 11, 2019, 9:33am UTC](https://forum.ansible.com/t/issue-with-portgroup/30097 "2019-04-11T09:33:56Z")

</div>

Hi , i have an issue with portgroup my code

---

## [Ansible having an issue when we pass dictionary as extra variable on centos machine](https://forum.ansible.com/t/ansible-having-an-issue-when-we-pass-dictionary-as-extra-variable-on-centos-machine/30086)

<div class="topic-metadata">

**Author:** [@Krishna\_G](https://forum.ansible.com/u/Krishna_G)\
**Replies:** 3\
**Last updated:** [April 9, 2019, 10:03pm UTC](https://forum.ansible.com/t/ansible-having-an-issue-when-we-pass-dictionary-as-extra-variable-on-centos-machine/30086 "2019-04-09T22:03:00Z")

</div>

Local Machine: Ansible version: 2.4.1.0python version = 2.7.10 Remote Redhat Machine: Ansible version: 2.7.7 Python: 2.7.5 i have ansible running on my local machine(MAC), when i pass extra varibale as map it’s read…

---

## [Ansible dictionary or local facts for blue-green deployment](https://forum.ansible.com/t/ansible-dictionary-or-local-facts-for-blue-green-deployment/30070)

<div class="topic-metadata">

**Author:** [@Daniel\_Bianco](https://forum.ansible.com/u/Daniel_Bianco)\
**Replies:** 0\
**Last updated:** [April 5, 2019, 1:49pm UTC](https://forum.ansible.com/t/ansible-dictionary-or-local-facts-for-blue-green-deployment/30070 "2019-04-05T13:49:51Z")

</div>

I’m working on a kubernetes blue green deployment on Ansible. I know this would probably be easier with Terraform, but we are not using it :S. The variables I’m getting from the requestor are: Application Name Ap…

---

## [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…

---

## [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: …

---

## [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…

---

## [Is there way to access variables from inventory plugin?](https://forum.ansible.com/t/is-there-way-to-access-variables-from-inventory-plugin/30028)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [March 29, 2019, 8:38pm UTC](https://forum.ansible.com/t/is-there-way-to-access-variables-from-inventory-plugin/30028 "2019-03-29T20:38:53Z")

</div>

W/o a definition of what you mean by access, the answer is 'yes'.

---

## [ansible using lambda module](https://forum.ansible.com/t/ansible-using-lambda-module/29979)

<div class="topic-metadata">

**Author:** [@qasim\_sahi](https://forum.ansible.com/u/qasim_sahi)\
**Replies:** 1\
**Last updated:** [March 26, 2019, 7:58pm UTC](https://forum.ansible.com/t/ansible-using-lambda-module/29979 "2019-03-26T19:58:38Z")

</div>

Hi, can someone please help in creating the playbook to stop/start EC2 instance using lambda ?

---

## [dpkg\_divert module](https://forum.ansible.com/t/dpkg-divert-module/29968)

<div class="topic-metadata">

**Author:** [@Klaus\_Ethgen](https://forum.ansible.com/u/Klaus_Ethgen)\
**Replies:** 0\
**Last updated:** [March 24, 2019, 6:39pm UTC](https://forum.ansible.com/t/dpkg-divert-module/29968 "2019-03-24T18:39:31Z")

</div>

Hi folks, as debian needs more and more diversions from there idea of where files should be, I created a dpkg\_divert module to address that from ansible. I'd like to give that to other ansible folks but I am not sure …

---

## [how should I connect to windows clients with dhcp addresses?](https://forum.ansible.com/t/how-should-i-connect-to-windows-clients-with-dhcp-addresses/29932)

<div class="topic-metadata">

**Author:** [@Mike\_V](https://forum.ansible.com/u/Mike_V)\
**Replies:** 2\
**Last updated:** [March 21, 2019, 3:24pm UTC](https://forum.ansible.com/t/how-should-i-connect-to-windows-clients-with-dhcp-addresses/29932 "2019-03-21T15:24:08Z")

</div>

Hi, I want to add windows clients to an Active Directory domain. The clients are getting IP addresses from dhcp and they are not in DNS. Should I write a playbook to query the dhcp server with the known hostnames to gen…

---

## [Ansible in VMware: searching for templates](https://forum.ansible.com/t/ansible-in-vmware-searching-for-templates/29930)

<div class="topic-metadata">

**Author:** [@Justin\_DynamicD](https://forum.ansible.com/u/Justin_DynamicD)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 9:16pm UTC](https://forum.ansible.com/t/ansible-in-vmware-searching-for-templates/29930 "2019-03-20T21:16:00Z")

</div>

So in both AWS and Azure, there are methods that can be used to either directly query an account for all available images that match a regex pattern, or download a list of all images then filter it to accomplish the same…

---

## [ansible-vault fails if vault-pass is passed when env variable defined](https://forum.ansible.com/t/ansible-vault-fails-if-vault-pass-is-passed-when-env-variable-defined/29928)

<div class="topic-metadata">

**Author:** [@Alb0t](https://forum.ansible.com/u/Alb0t)\
**Replies:** 0\
**Last updated:** [March 20, 2019, 7:46pm UTC](https://forum.ansible.com/t/ansible-vault-fails-if-vault-pass-is-passed-when-env-variable-defined/29928 "2019-03-20T19:46:15Z")

</div>

I spent about 4 hours trying to figure out what was going on here. This is the command I was using: ansible-vault encrypt\_string --vault-pass ~/blah/vault\_key Every time I ran this, I was greeted with an error: ERROR…

---

## [Continue on failed task using the debugger](https://forum.ansible.com/t/continue-on-failed-task-using-the-debugger/29927)

<div class="topic-metadata">

**Author:** [@Mike\_Ludwig](https://forum.ansible.com/u/Mike_Ludwig)\
**Replies:** 0\
**Last updated:** [March 20, 2019, 7:26pm UTC](https://forum.ansible.com/t/continue-on-failed-task-using-the-debugger/29927 "2019-03-20T19:26:02Z")

</div>

A task fails and brings me to the debugger. Is it possible to continue executing tasks on the failed host? Using “continue” stops running tasks on the failed host, but continues on other hosts.

---

## [SSH using id\_rsa](https://forum.ansible.com/t/ssh-using-id-rsa/29865)

<div class="topic-metadata">

**Author:** [@Guillermo\_Colmena](https://forum.ansible.com/u/Guillermo_Colmena)\
**Replies:** 2\
**Last updated:** [March 20, 2019, 2:38pm UTC](https://forum.ansible.com/t/ssh-using-id-rsa/29865 "2019-03-20T14:38:22Z")

</div>

Hi Ansible Community, I have been trying to configure the ssh.cfg and ansible.cfg to be able to access using an id\_rsa to connect via ssh to the remote servers. The question comes when I try to configure these 2 config …

---

## [Network performance metrics details and network device details](https://forum.ansible.com/t/network-performance-metrics-details-and-network-device-details/29903)

<div class="topic-metadata">

**Author:** [@Anant\_Chaturvedi](https://forum.ansible.com/u/Anant_Chaturvedi)\
**Replies:** 0\
**Last updated:** [March 18, 2019, 1:16pm UTC](https://forum.ansible.com/t/network-performance-metrics-details-and-network-device-details/29903 "2019-03-18T13:16:52Z")

</div>

Hi team, I am working on a project that needs to set the performance baseline for a network and also needs to get the device details (no. of interfaces, speed, vendor name) for all the devices on the network. Could som…

---

## [New Module Design Question](https://forum.ansible.com/t/new-module-design-question/29900)

<div class="topic-metadata">

**Author:** [@Matthew\_Burtless](https://forum.ansible.com/u/Matthew_Burtless)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 6:52pm UTC](https://forum.ansible.com/t/new-module-design-question/29900 "2019-03-17T18:52:50Z")

</div>

Hi All - Question regarding the correct Ansible friendly abstraction of a new module that interacts with a fairly complex API. I’m working on updating and refactoring NS1’s existing Ansible modules (found here) for subm…

---

## [Openshift cluster management](https://forum.ansible.com/t/openshift-cluster-management/29897)

<div class="topic-metadata">

**Author:** [@ronyjoy](https://forum.ansible.com/u/ronyjoy)\
**Replies:** 1\
**Last updated:** [March 16, 2019, 1:17pm UTC](https://forum.ansible.com/t/openshift-cluster-management/29897 "2019-03-16T13:17:54Z")

</div>

My ansible knowledge is very limited. I would like to get some expert suggestions from the experts here. Our environments (staging(2-3), productions(3-4)) managed through open shift cluster and docker based micro service…

---

## [var/fact validation](https://forum.ansible.com/t/var-fact-validation/29876)

<div class="topic-metadata">

**Author:** [@Justin\_DynamicD](https://forum.ansible.com/u/Justin_DynamicD)\
**Replies:** 0\
**Last updated:** [March 13, 2019, 8:47pm UTC](https://forum.ansible.com/t/var-fact-validation/29876 "2019-03-13T20:47:00Z")

</div>

I’ve gotten in a habit of creating a simple dictionary of expected variables when making a role so that it fails early. Something like this: \` name: “Validate Variables” vars: required\_vars: name: foo msg: “var foo…

---

## [newbie question and help resolving warnings](https://forum.ansible.com/t/newbie-question-and-help-resolving-warnings/29874)

<div class="topic-metadata">

**Author:** [@Gaetano\_Giacalone](https://forum.ansible.com/u/Gaetano_Giacalone)\
**Replies:** 0\
**Last updated:** [March 13, 2019, 6:14pm UTC](https://forum.ansible.com/t/newbie-question-and-help-resolving-warnings/29874 "2019-03-13T18:14:49Z")

</div>

have posted one of my first roles on galaxy, and I am getting warnings. ./galaxy/downloads/tmpQjSwNY/tasks/main.yml:40: \[E503\] Tasks that run when changed should likely be handlers If someone would be so kind as to giv…

---

## [Testing inventory plugins](https://forum.ansible.com/t/testing-inventory-plugins/29580)

<div class="topic-metadata">

**Author:** [@Josh\_R](https://forum.ansible.com/u/Josh_R)\
**Replies:** 4\
**Last updated:** [March 11, 2019, 10:48pm UTC](https://forum.ansible.com/t/testing-inventory-plugins/29580 "2019-03-11T22:48:48Z")

</div>

I’m writing an inventory plugin that gets a list of online machines from an active directory OU structure and dynamically creates groups and host details from it. However, as I write it - I’d like to be able to test the…

---

## [display\_args\_to\_stdout=true - Is it possible to suppress internal args?](https://forum.ansible.com/t/display-args-to-stdout-true-is-it-possible-to-suppress-internal-args/29744)

<div class="topic-metadata">

**Author:** [@Henning\_Juva](https://forum.ansible.com/u/Henning_Juva)\
**Replies:** 1\
**Last updated:** [March 11, 2019, 10:46pm UTC](https://forum.ansible.com/t/display-args-to-stdout-true-is-it-possible-to-suppress-internal-args/29744 "2019-03-11T22:46:57Z")

</div>

I recently upgraded to 2.7.7 from 2.4 and using display\_args\_to\_stdout=true. After upgrade many modules (like stat,command,shell etc) have started including ansible internal args into what is logged for the task on the c…

---

## [ansible all -a "/bin/echo hello"   unable to run command](https://forum.ansible.com/t/ansible-all-a-bin-echo-hello-unable-to-run-command/29857)

<div class="topic-metadata">

**Author:** [@rajendar\_t](https://forum.ansible.com/u/rajendar_t)\
**Replies:** 1\
**Last updated:** [March 10, 2019, 5:48pm UTC](https://forum.ansible.com/t/ansible-all-a-bin-echo-hello-unable-to-run-command/29857 "2019-03-10T17:48:45Z")

</div>

Hi All, I am successfully configured ansible in my laptop I am new to the ansible when I run ansible all -a “/bin/echo hello” command I am getting command not found error can you please explain the reason ?? rajenda…

---

## [Ansible for  Windows node , error using npm module to install packages](https://forum.ansible.com/t/ansible-for-windows-node-error-using-npm-module-to-install-packages/29852)

<div class="topic-metadata">

**Author:** [@Mehedi\_Hashir](https://forum.ansible.com/u/Mehedi_Hashir)\
**Replies:** 1\
**Last updated:** [March 8, 2019, 5:23pm UTC](https://forum.ansible.com/t/ansible-for-windows-node-error-using-npm-module-to-install-packages/29852 "2019-03-08T17:23:09Z")

</div>

The playbook is below. It connects to a windows host and run the installs using Chocolatey successfully. Installing npm packages fail in this playbook. The playbook & error is shown at the end of the post . Any suggest…

---

## [How to store ansible running log to separate log file without touch ANSIBLE\_LOG\_PATH or ansible.cfg](https://forum.ansible.com/t/how-to-store-ansible-running-log-to-separate-log-file-without-touch-ansible-log-path-or-ansible-cfg/29785)

<div class="topic-metadata">

**Author:** [@Qin\_Peter](https://forum.ansible.com/u/Qin_Peter)\
**Replies:** 4\
**Last updated:** [March 5, 2019, 9:47pm UTC](https://forum.ansible.com/t/how-to-store-ansible-running-log-to-separate-log-file-without-touch-ansible-log-path-or-ansible-cfg/29785 "2019-03-05T21:47:08Z")

</div>

Hi All, This is Peter and I am newer to Ansible. I am trying to store the ansible running log to a file. And every playbook will have separate ansible running log file. I know I can use ‘export ANSIBLE\_LOG\_PATH=~/shar…

[Previous page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=25)

[Next page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=27)
