# Latest

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

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

**Page:** 528

---

## [location of \`group\_vars/\` for included playbooks changed in 2.4+ ?](https://forum.ansible.com/t/location-of-group-vars-for-included-playbooks-changed-in-2-4/28378)

<div class="topic-metadata">

**Author:** [@Riccardo\_Murri](https://forum.ansible.com/u/Riccardo_Murri)\
**Replies:** 2\
**Last updated:** [August 21, 2018, 9:19pm UTC](https://forum.ansible.com/t/location-of-group-vars-for-included-playbooks-changed-in-2-4/28378 "2018-08-21T21:19:31Z")

</div>

Hello, I am updating some playbooks written initially for Ansible 2.2. and 2.3 to remove the features that were deprecated in Ansible 2.4+ The playbook is divided across multiple files, where main.yml would include: ro…

---

## [template module thinks validation succeeded when it should have failed.](https://forum.ansible.com/t/template-module-thinks-validation-succeeded-when-it-should-have-failed/28376)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 2\
**Last updated:** [August 21, 2018, 7:52pm UTC](https://forum.ansible.com/t/template-module-thinks-validation-succeeded-when-it-should-have-failed/28376 "2018-08-21T19:52:54Z")

</div>

Can anyone clarify how the validate option of the template module works? I have deliberately configured apache with invalid configuration. On the command line apache2 -t -f /etc/apache2/apache2.conf fails with a syntax e…

---

## [azure fileservices in ansible 2.6](https://forum.ansible.com/t/azure-fileservices-in-ansible-2-6/28389)

<div class="topic-metadata">

**Author:** [@Alexei\_Vasiliev](https://forum.ansible.com/u/Alexei_Vasiliev)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 7:07pm UTC](https://forum.ansible.com/t/azure-fileservices-in-ansible-2-6/28389 "2018-08-21T19:07:40Z")

</div>

Hi, Can someone say if it is possible to create an azure file share (azure storage/files) via new Ansible 2.6 There was mentioned that it can deploy various resources via REST APi, but no examples about shares. Does a…

---

## [Solution for add keys mutual](https://forum.ansible.com/t/solution-for-add-keys-mutual/28381)

<div class="topic-metadata">

**Author:** [@Henrik\_Schuetze](https://forum.ansible.com/u/Henrik_Schuetze)\
**Replies:** 7\
**Last updated:** [August 21, 2018, 5:44pm UTC](https://forum.ansible.com/t/solution-for-add-keys-mutual/28381 "2018-08-21T17:44:22Z")

</div>

Hi, i want to enable ssh between two linux hosts. i generate the ssh key on both hosts. and then i need to add the keys on the other servers respectively Does anyone has a ready solution for that? greetings Henri…

---

## [Configuration mgmt use case](https://forum.ansible.com/t/configuration-mgmt-use-case/28387)

<div class="topic-metadata">

**Author:** [@harshal2006](https://forum.ansible.com/u/harshal2006)\
**Replies:** 1\
**Last updated:** [August 21, 2018, 5:43pm UTC](https://forum.ansible.com/t/configuration-mgmt-use-case/28387 "2018-08-21T17:43:58Z")

</div>

Since system audit tracker is deprecated, how can we check changes to configs? Also, I created playbook that check specific registry keys on Windows with register but can’t see them in facts in those hosts under inventor…

---

## [ansible on docker installation](https://forum.ansible.com/t/ansible-on-docker-installation/28380)

<div class="topic-metadata">

**Author:** [@nbctcp](https://forum.ansible.com/u/nbctcp)\
**Replies:** 1\
**Last updated:** [August 21, 2018, 5:01pm UTC](https://forum.ansible.com/t/ansible-on-docker-installation/28380 "2018-08-21T17:01:42Z")

</div>

Hi, I am trying to install ansible on docker on Ubuntu Desktop 18.04LTS PROBLEMS: error when try to docker run whether docker hub ansible/ansible already has ssh client/server inside it If doesn’t then how to instal…

---

## [Ansible set\_fact sets fact even when another fact is undefined?](https://forum.ansible.com/t/ansible-set-fact-sets-fact-even-when-another-fact-is-undefined/28384)

<div class="topic-metadata">

**Author:** [@Ford\_FasteRR](https://forum.ansible.com/u/Ford_FasteRR)\
**Replies:** 3\
**Last updated:** [August 21, 2018, 4:07pm UTC](https://forum.ansible.com/t/ansible-set-fact-sets-fact-even-when-another-fact-is-undefined/28384 "2018-08-21T16:07:14Z")

</div>

0down votefavorite I’m seeing strange behavior in ansible 2.5.5 (on centos 6.10)

---

## [Galaxy Release 3.0.8](https://forum.ansible.com/t/galaxy-release-3-0-8/28382)

<div class="topic-metadata">

**Author:** [@chousekn](https://forum.ansible.com/u/chousekn)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 1:25pm UTC](https://forum.ansible.com/t/galaxy-release-3-0-8/28382 "2018-08-21T13:25:50Z")

</div>

Galaxy bug fix release 3.0.8 will be deployed tomorrow morning, 22 August, at 4:00 AM Eastern. This release includes the following: Bug Fixes- Made the help link more obvious, and added a link to the Galaxy project iss…

---

## [How to assign virtual network to sqlserver on Azure](https://forum.ansible.com/t/how-to-assign-virtual-network-to-sqlserver-on-azure/28379)

<div class="topic-metadata">

**Author:** [@Michael\_Wild](https://forum.ansible.com/u/Michael_Wild)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 11:06am UTC](https://forum.ansible.com/t/how-to-assign-virtual-network-to-sqlserver-on-azure/28379 "2018-08-21T11:06:56Z")

</div>

Dear all I successfully created an SQL Server instance with the azure\_rm\_sqlserver module. However, for it to be useful, I need to connect it with a “vnet rule” to a virtual network. How can I do this? I would expect so…

---

## [ansible.vault not working anymore?](https://forum.ansible.com/t/ansible-vault-not-working-anymore/28328)

<div class="topic-metadata">

**Author:** [@vid.jelen1](https://forum.ansible.com/u/vid.jelen1)\
**Replies:** 8\
**Last updated:** [August 21, 2018, 7:53am UTC](https://forum.ansible.com/t/ansible-vault-not-working-anymore/28328 "2018-08-21T07:53:58Z")

</div>

Had a functional ansible-vault setup up until today. With each run now I get the following: ERROR! Unexpected Exception, this is probably a bug: from\_buffer() cannot return the address of the raw string within a str or…

---

## [ansible exadata module](https://forum.ansible.com/t/ansible-exadata-module/28377)

<div class="topic-metadata">

**Author:** [@bennet\_samuel](https://forum.ansible.com/u/bennet_samuel)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 7:21am UTC](https://forum.ansible.com/t/ansible-exadata-module/28377 "2018-08-21T07:21:43Z")

</div>

Just to know if ansible has any exadata/dcli/ module. If not, is the best practice to use shell command?

---

## [How to setup variable files to contain multiple versions of vaulted variables](https://forum.ansible.com/t/how-to-setup-variable-files-to-contain-multiple-versions-of-vaulted-variables/28375)

<div class="topic-metadata">

**Author:** [@dan\_linder](https://forum.ansible.com/u/dan_linder)\
**Replies:** 0\
**Last updated:** [August 20, 2018, 8:49pm UTC](https://forum.ansible.com/t/how-to-setup-variable-files-to-contain-multiple-versions-of-vaulted-variables/28375 "2018-08-20T20:49:04Z")

</div>

I’m running Ansible 2.6.2 and trying to wrap my head around the –vault-id and multiple vault passwords. As I understand it, the usefulness it is bringing is that different users can have their playbook decrypt their tea…

---

## [move messages from error queue to parent queue in Redhat Active MQ](https://forum.ansible.com/t/move-messages-from-error-queue-to-parent-queue-in-redhat-active-mq/28368)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 1\
**Last updated:** [August 20, 2018, 8:35pm UTC](https://forum.ansible.com/t/move-messages-from-error-queue-to-parent-queue-in-redhat-active-mq/28368 "2018-08-20T20:35:29Z")

</div>

Hi, I would like to move messages from error queue to parent queue in Redhat Active MQ. I want to automate Jolokia REST Url moveMessages(int,java.lang.String,java.lang.String,boolean) concept through ansible uri module…

---

## [azure\_rm\_virtualmachine error when using zeros...](https://forum.ansible.com/t/azure-rm-virtualmachine-error-when-using-zeros/28374)

<div class="topic-metadata">

**Author:** [@Eric\_Rousse](https://forum.ansible.com/u/Eric_Rousse)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 7:18pm UTC](https://forum.ansible.com/t/azure-rm-virtualmachine-error-when-using-zeros/28374 "2018-08-20T19:18:05Z")

</div>

Hello, I have a case here were I need to create VMs with a name based on a sequence and that sequence will generate numbers from 01 to 05 for example. When I use the same sequence with azure\_rm\_networkinterface and azu…

---

## [How to pass different executable files in ansible / pass run the script using source and expect?](https://forum.ansible.com/t/how-to-pass-different-executable-files-in-ansible-pass-run-the-script-using-source-and-expect/28373)

<div class="topic-metadata">

**Author:** [@Swathi\_Cutie](https://forum.ansible.com/u/Swathi_Cutie)\
**Replies:** 1\
**Last updated:** [August 20, 2018, 6:36pm UTC](https://forum.ansible.com/t/how-to-pass-different-executable-files-in-ansible-pass-run-the-script-using-source-and-expect/28373 "2018-08-20T18:36:36Z")

</div>

I am trying to pass a prompt y in ansible when it executes command. When i do manually on server it asks for a prompt. The issue is for command to run i need to pass the executable /bin/bash command: source /etc/profi…

---

## [Passing inventory as parameter to workflows](https://forum.ansible.com/t/passing-inventory-as-parameter-to-workflows/26570)

<div class="topic-metadata">

**Author:** [@gaetano\_FICHERA](https://forum.ansible.com/u/gaetano_FICHERA)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 5:30pm UTC](https://forum.ansible.com/t/passing-inventory-as-parameter-to-workflows/26570 "2018-08-20T17:30:45Z")

</div>

Hi all, It seems not possible to change inventory of a workflow globally ( for example to specify it when triggered via API ). Inventories used by workflows seem to be defined at node level in the workflow editor (or at…

---

## [details of instance value](https://forum.ansible.com/t/details-of-instance-value/28372)

<div class="topic-metadata">

**Author:** [@coach.rhca](https://forum.ansible.com/u/coach.rhca)\
**Replies:** 0\
**Last updated:** [August 20, 2018, 5:27pm UTC](https://forum.ansible.com/t/details-of-instance-value/28372 "2018-08-20T17:27:53Z")

</div>

Hi, Could you please help … am unable to retrieve the public ip address of the ec2 instance to add it to the host inventory… name: Create an ec2 instance ec2: key\_name: “{{ keypair }}” group: sg\_webserver\_group i…

---

## [webserver secure](https://forum.ansible.com/t/webserver-secure/28342)

<div class="topic-metadata">

**Author:** [@coach.rhca](https://forum.ansible.com/u/coach.rhca)\
**Replies:** 12\
**Last updated:** [August 20, 2018, 5:24pm UTC](https://forum.ansible.com/t/webserver-secure/28342 "2018-08-20T17:24:57Z")

</div>

Hi, Trying to create an ec2 instance using ansible. which will host a normal webserver but not sure on how to add the self signed certificate to the http - webserver using ansible. Also how to redirect all the http req…

---

## [Move messages from error queue to parent queue in Redhat Active MQ via ansible script](https://forum.ansible.com/t/move-messages-from-error-queue-to-parent-queue-in-redhat-active-mq-via-ansible-script/28367)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 4:47pm UTC](https://forum.ansible.com/t/move-messages-from-error-queue-to-parent-queue-in-redhat-active-mq-via-ansible-script/28367 "2018-08-20T16:47:05Z")

</div>

Hi, I would like to move messages from error queue to parent queue in Redhat Active MQ. I want to automate Jolokia REST Url moveMessages(int,java.lang.String,java.lang.String,boolean) concept through ansible uri module…

---

## [access Splunk alerts through ansible](https://forum.ansible.com/t/access-splunk-alerts-through-ansible/28370)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 1\
**Last updated:** [August 20, 2018, 4:46pm UTC](https://forum.ansible.com/t/access-splunk-alerts-through-ansible/28370 "2018-08-20T16:46:08Z")

</div>

I would like to access Splunk alerts through ansible. We have several alerts in Splunk which we wants to access through ansible. Please do let me know can we access splunk alerts via ansible. If so, let me know the steps…

---

## [How to solve the {"Failed to connect to the host via ssh: Permission denied (publickey,password).\\r\\n", "unreachable": true} issue](https://forum.ansible.com/t/how-to-solve-the-failed-to-connect-to-the-host-via-ssh-permission-denied-publickey-password-r-n-unreachable-true-issue/28353)

<div class="topic-metadata">

**Author:** [@Jim\_H](https://forum.ansible.com/u/Jim_H)\
**Replies:** 2\
**Last updated:** [August 20, 2018, 4:24pm UTC](https://forum.ansible.com/t/how-to-solve-the-failed-to-connect-to-the-host-via-ssh-permission-denied-publickey-password-r-n-unreachable-true-issue/28353 "2018-08-20T16:24:15Z")

</div>

I am using Ansible to create and setup new virtual machine. after the VM is created, if I use playbook to setup VM ansible-playbook config-vm.yml -i …/…/vms --extra-vars “target=10.150.200.30” --extra-vars “@password.j…

---

## [Best practice - Passwordless authentication or use --ask-pass before executing playbook?](https://forum.ansible.com/t/best-practice-passwordless-authentication-or-use-ask-pass-before-executing-playbook/28366)

<div class="topic-metadata">

**Author:** [@amruth](https://forum.ansible.com/u/amruth)\
**Replies:** 1\
**Last updated:** [August 20, 2018, 3:41pm UTC](https://forum.ansible.com/t/best-practice-passwordless-authentication-or-use-ask-pass-before-executing-playbook/28366 "2018-08-20T15:41:26Z")

</div>

Hi, Can someone please say me the best practice of connecting to remote machines from Ansible hosted machine? Would it be a password less authentication by adding ssh-keys or use --ask-pass every time I execute the play…

---

## [ansible\_os\_family values](https://forum.ansible.com/t/ansible-os-family-values/14086)

<div class="topic-metadata">

**Author:** [@anatoly\_techtonik](https://forum.ansible.com/u/anatoly_techtonik)\
**Replies:** 10\
**Last updated:** [August 20, 2018, 3:28pm UTC](https://forum.ansible.com/t/ansible-os-family-values/14086 "2018-08-20T15:28:56Z")

</div>

Hi, I know ansible\_os\_family can be “RedHat” or “Debian”, where “RedHat” includes Fedora and “Debian” is for Ubuntu. Where to find the list of all values that “ansible\_os\_family” can take? It would be awesome if every…

---

## [Understanding become\_user Privilege Escalation](https://forum.ansible.com/t/understanding-become-user-privilege-escalation/28337)

<div class="topic-metadata">

**Author:** [@amruth](https://forum.ansible.com/u/amruth)\
**Replies:** 4\
**Last updated:** [August 20, 2018, 2:53pm UTC](https://forum.ansible.com/t/understanding-become-user-privilege-escalation/28337 "2018-08-20T14:53:27Z")

</div>

Hi All, I am trying to create a file in /opt folder. My playbook(from test role) looks like, name: create file file: path: /opt/testfile state: touch And main.yml looks like, hosts: ‘{{ host }}’ become: ye…

---

## [Create VM on VMWare and register on RHN](https://forum.ansible.com/t/create-vm-on-vmware-and-register-on-rhn/28364)

<div class="topic-metadata">

**Author:** [@enzo.tano](https://forum.ansible.com/u/enzo.tano)\
**Replies:** 4\
**Last updated:** [August 20, 2018, 2:18pm UTC](https://forum.ansible.com/t/create-vm-on-vmware-and-register-on-rhn/28364 "2018-08-20T14:18:58Z")

</div>

Hi, I’m a beginner on awx and ansible. I have a template with RHEL7 on vmware and I trying to clone a vm and register on rhn. My playbook create vm without issue and take all parameters from survey on awx, but I have …

---

## [only show run give error](https://forum.ansible.com/t/only-show-run-give-error/28339)

<div class="topic-metadata">

**Author:** [@nbctcp](https://forum.ansible.com/u/nbctcp)\
**Replies:** 4\
**Last updated:** [August 19, 2018, 9:19am UTC](https://forum.ansible.com/t/only-show-run-give-error/28339 "2018-08-19T09:19:22Z")

</div>

Hi, I have working playbook to cisco on eve-ng. It will give error only when I want to run “show run”. Other commands like “show version” “show clock” all ok Please help tq cat showrun.yml

---

## [Unable to register ec2 instance under an elb](https://forum.ansible.com/t/unable-to-register-ec2-instance-under-an-elb/28362)

<div class="topic-metadata">

**Author:** [@Siva\_Shashank](https://forum.ansible.com/u/Siva_Shashank)\
**Replies:** 0\
**Last updated:** [August 19, 2018, 6:30am UTC](https://forum.ansible.com/t/unable-to-register-ec2-instance-under-an-elb/28362 "2018-08-19T06:30:03Z")

</div>

Hello, I am trying to launch an ec2-instance, a classic load balancer and then register the ec2 instance under the load balancer. When I run the playbook, I see no errors and was able to successfully launch ec2 instance…

---

## [Usage of the zone plugin](https://forum.ansible.com/t/usage-of-the-zone-plugin/28348)

<div class="topic-metadata">

**Author:** [@Tim\_Shaw](https://forum.ansible.com/u/Tim_Shaw)\
**Replies:** 2\
**Last updated:** [August 19, 2018, 12:13am UTC](https://forum.ansible.com/t/usage-of-the-zone-plugin/28348 "2018-08-19T00:13:29Z")

</div>

Hi, I’m attempting to use the zone plugin to connect to Solaris 11 zones to re-configure the primary network. Here’s my test inventory file; \[playpen\] localhost e7812svsun003 \[my-zones\] e7812svsun031 ansible\_zone\_…

---

## [Output without double quote and comma](https://forum.ansible.com/t/output-without-double-quote-and-comma/28360)

<div class="topic-metadata">

**Author:** [@nbctcp](https://forum.ansible.com/u/nbctcp)\
**Replies:** 5\
**Last updated:** [August 18, 2018, 11:41pm UTC](https://forum.ansible.com/t/output-without-double-quote-and-comma/28360 "2018-08-18T23:41:53Z")

</div>

Hi I have playbook with screen output like this “interface Ethernet0/0”, " ip address 10.0.10.121 255.255.255.0", I want like this interface Ethernet0/0 ip address 10.0.10.121 255.255.255.0 Basically exactly like …

---

## [ansible security question /bin/sh](https://forum.ansible.com/t/ansible-security-question-bin-sh/28361)

<div class="topic-metadata">

**Author:** [@Anil](https://forum.ansible.com/u/Anil)\
**Replies:** 0\
**Last updated:** [August 18, 2018, 5:10pm UTC](https://forum.ansible.com/t/ansible-security-question-bin-sh/28361 "2018-08-18T17:10:11Z")

</div>

Hello Folks, ansible(before 2.4) uses /bin/sh for executing tasks, we want to restrict ansible account in sudo for certain tasks, in the process of this we need to give specifiy /bin/sh in sudoers command list for ansib…

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

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