# Latest

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

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

**Page:** 392

---

## [reference role default variable](https://forum.ansible.com/t/reference-role-default-variable/32493)

<div class="topic-metadata">

**Author:** [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Replies:** 2\
**Last updated:** [March 18, 2020, 1:39pm UTC](https://forum.ansible.com/t/reference-role-default-variable/32493 "2020-03-18T13:39:00Z")

</div>

HI! I'd like to override a default for var\_b defined in roles/role\_b/defaults/main.yml with a value of var\_a defined in roles/role\_a/defaults/main.yml Is this possible? Can I reference role vars? Or is this rather…

---

## [Run one simples playbook with roles.](https://forum.ansible.com/t/run-one-simples-playbook-with-roles/32491)

<div class="topic-metadata">

**Author:** [@Marcelo\_Garcia\_Palma](https://forum.ansible.com/u/Marcelo_Garcia_Palma)\
**Replies:** 3\
**Last updated:** [March 18, 2020, 12:18pm UTC](https://forum.ansible.com/t/run-one-simples-playbook-with-roles/32491 "2020-03-18T12:18:29Z")

</div>

Hi guys! I’m need someone help me. I am new at world of ansible, then I create one sample for learning more, but I have a problem with roles. I have two roles one myql and one webserver, I did the struture correctly, …

---

## [Ansible Operation output diffrent result with “with\_sequence” and “debug module”](https://forum.ansible.com/t/ansible-operation-output-diffrent-result-with-with-sequence-and-debug-module/32492)

<div class="topic-metadata">

**Author:** [@SeungJoon](https://forum.ansible.com/u/SeungJoon)\
**Replies:** 1\
**Last updated:** [March 18, 2020, 6:38am UTC](https://forum.ansible.com/t/ansible-operation-output-diffrent-result-with-with-sequence-and-debug-module/32492 "2020-03-18T06:38:53Z")

</div>

\*\*My playbook sample :\*\* - name: Memory check debug: msg='{% if "{{ item }} percent" in HOST\_MGMT4.stdout %} MEMORY CHECK {% else %} MEMORY OK {% endif %}' register: result\_memory with\_sequence: '60-100'

---

## [Ansible - errno 101 network is unreachable](https://forum.ansible.com/t/ansible-errno-101-network-is-unreachable/32471)

<div class="topic-metadata">

**Author:** [@Santhosh\_Ganesan](https://forum.ansible.com/u/Santhosh_Ganesan)\
**Replies:** 11\
**Last updated:** [March 18, 2020, 4:53am UTC](https://forum.ansible.com/t/ansible-errno-101-network-is-unreachable/32471 "2020-03-18T04:53:43Z")

</div>

Newbie to ansible, trying to run a playbook to one of host, \</TASK \[Gathering Facts\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[172.28.158.115\] TASK \[include\_role : tes.kibana\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [ansible privilege escalation ( sudo su - )](https://forum.ansible.com/t/ansible-privilege-escalation-sudo-su/32445)

<div class="topic-metadata">

**Author:** [@Suresh\_R](https://forum.ansible.com/u/Suresh_R)\
**Replies:** 3\
**Last updated:** [March 17, 2020, 10:35pm UTC](https://forum.ansible.com/t/ansible-privilege-escalation-sudo-su/32445 "2020-03-17T22:35:39Z")

</div>

i have command sudo su - is working fine when we do ssh to the server. BTW we were unable to execute the same through ansible. Here is my ansible playbook and ansible.cfg

---

## [Using a variable inside reference](https://forum.ansible.com/t/using-a-variable-inside-reference/32488)

<div class="topic-metadata">

**Author:** [@Jason\_Bullen](https://forum.ansible.com/u/Jason_Bullen)\
**Replies:** 1\
**Last updated:** [March 17, 2020, 8:56pm UTC](https://forum.ansible.com/t/using-a-variable-inside-reference/32488 "2020-03-17T20:56:46Z")

</div>

I have 2 var files with a top level of dev and prod. All sublevels are the same. For example: dev: accesspolicies: policy1 policy 2 and prod: accesspolicies: policy1 There is a problem that i keep running into …

---

## [AWX HA - K8s ?](https://forum.ansible.com/t/awx-ha-k8s/32448)

<div class="topic-metadata">

**Author:** [@driCs](https://forum.ansible.com/u/driCs)\
**Replies:** 7\
**Last updated:** [March 17, 2020, 8:54pm UTC](https://forum.ansible.com/t/awx-ha-k8s/32448 "2020-03-17T20:54:50Z")

</div>

Hello, Can you confirm that it is possible to cluster with AWX? I mean that if I have 3 servers and the first one fails then the second or third one will take the load automatically (fail-over). If yes what is the off…

---

## [Upcoming Architectural Changes to the AWX Project](https://forum.ansible.com/t/upcoming-architectural-changes-to-the-awx-project/32486)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 0\
**Last updated:** [March 17, 2020, 3:20pm UTC](https://forum.ansible.com/t/upcoming-architectural-changes-to-the-awx-project/32486 "2020-03-17T15:20:28Z")

</div>

Hey everyone, In the interest of transparency, I wanted to make you all aware of a notable architectural change to AWX that we’ve been working on for some time now, because our intention is to finalize and merge it in t…

---

## [Ansible installation on Puppy Linux](https://forum.ansible.com/t/ansible-installation-on-puppy-linux/32485)

<div class="topic-metadata">

**Author:** [@Saurabh\_Chaudhary](https://forum.ansible.com/u/Saurabh_Chaudhary)\
**Replies:** 3\
**Last updated:** [March 17, 2020, 2:15pm UTC](https://forum.ansible.com/t/ansible-installation-on-puppy-linux/32485 "2020-03-17T14:15:57Z")

</div>

Hi All Can u please help me to install ansible on puppy linux . At PPM i can find very older version of Ansible .

---

## [passing variable in another playbook](https://forum.ansible.com/t/passing-variable-in-another-playbook/32478)

<div class="topic-metadata">

**Author:** [@mahesh\_g\_o](https://forum.ansible.com/u/mahesh_g_o)\
**Replies:** 2\
**Last updated:** [March 17, 2020, 1:32pm UTC](https://forum.ansible.com/t/passing-variable-in-another-playbook/32478 "2020-03-17T13:32:01Z")

</div>

i have created the list using set\_fact and i want use this list in another playbook. i have stored the value in the ouput. how do i use it in another playbook?? tasks: name: Initialize an empty list for our strings …

---

## [Not able to run Azure Playbooks from AWX](https://forum.ansible.com/t/not-able-to-run-azure-playbooks-from-awx/32477)

<div class="topic-metadata">

**Author:** [@saket\_saurabh](https://forum.ansible.com/u/saket_saurabh)\
**Replies:** 1\
**Last updated:** [March 17, 2020, 11:51am UTC](https://forum.ansible.com/t/not-able-to-run-azure-playbooks-from-awx/32477 "2020-03-17T11:51:39Z")

</div>

I am not able to run Azure Playbooks from AWX. Below is the error i am getting while executing . Please help. ansible-playbook 2.8.5 config file = /etc/ansible/ansible.cfg configured module search path = \[‘/var/lib/aw…

---

## [Running a task on multi groups using when](https://forum.ansible.com/t/running-a-task-on-multi-groups-using-when/32481)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 3\
**Last updated:** [March 17, 2020, 10:10am UTC](https://forum.ansible.com/t/running-a-task-on-multi-groups-using-when/32481 "2020-03-17T10:10:09Z")

</div>

HI, I have a task that runs only on servers that are under Kafka group. How can i run the task on Kafka and Webserver groups only. Thanks - name: install java-8-openjdk' packages yum: name: \['java-1.8.0-openjdk'…

---

## [Ansible ignore aws\_ec2 inventory plugin](https://forum.ansible.com/t/ansible-ignore-aws-ec2-inventory-plugin/32484)

<div class="topic-metadata">

**Author:** [@wagaboond](https://forum.ansible.com/u/wagaboond)\
**Replies:** 0\
**Last updated:** [March 17, 2020, 9:24am UTC](https://forum.ansible.com/t/ansible-ignore-aws-ec2-inventory-plugin/32484 "2020-03-17T09:24:44Z")

</div>

Hello, i’m trying to get instance information, but my inventory has ignored by ansible\\ec2 modules. /etc/ansible/ansible.cfg \` \[inventory\] enable inventory plugins, default: ‘host\_list’, ‘script’, ‘auto’, ‘yaml’, ‘in…

---

## [Getting command not found when executing using shell module](https://forum.ansible.com/t/getting-command-not-found-when-executing-using-shell-module/32483)

<div class="topic-metadata">

**Author:** [@racke](https://forum.ansible.com/u/racke)\
**Replies:** 0\
**Last updated:** [March 17, 2020, 7:29am UTC](https://forum.ansible.com/t/getting-command-not-found-when-executing-using-shell-module/32483 "2020-03-17T07:29:46Z")

</div>

Here is my playbook: cat test.yml \> -name:Play2 hosts:targetserver tasks: \\-copy:src=\\./centosscript\\.sh dest=\\~mode=775 \\-shell:\\~/centosscript\\.sh \> Here is my shell script: cat centosscript.sh \> #/bin/ksh …

---

## [getting command not found error when using ansible shell module to execute shell script.](https://forum.ansible.com/t/getting-command-not-found-error-when-using-ansible-shell-module-to-execute-shell-script/32482)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 0\
**Last updated:** [March 17, 2020, 7:11am UTC](https://forum.ansible.com/t/getting-command-not-found-error-when-using-ansible-shell-module-to-execute-shell-script/32482 "2020-03-17T07:11:59Z")

</div>

Here is my playbook: cat test.yml - name: Play 2 hosts: targetserver tasks: - copy: src=./centosscript.sh dest=~ mode=775 - shell: ~/centosscript.sh Here is my shell script: cat centosscript.sh #/bin/ksh grabip…

---

## [RE: Re: \[ansible-project\] Another Ansible Question](https://forum.ansible.com/t/re-re-ansible-project-another-ansible-question/32480)

<div class="topic-metadata">

**Author:** [@Michael\_Cooper](https://forum.ansible.com/u/Michael_Cooper)\
**Replies:** 0\
**Last updated:** [March 17, 2020, 5:51am UTC](https://forum.ansible.com/t/re-re-ansible-project-another-ansible-question/32480 "2020-03-17T05:51:33Z")

</div>

Thanks Phil, I appreciate it.

---

## [RE: \[ansible-project\] Re: Another Ansible Question](https://forum.ansible.com/t/re-ansible-project-re-another-ansible-question/32479)

<div class="topic-metadata">

**Author:** [@Michael\_Cooper](https://forum.ansible.com/u/Michael_Cooper)\
**Replies:** 0\
**Last updated:** [March 17, 2020, 5:49am UTC](https://forum.ansible.com/t/re-ansible-project-re-another-ansible-question/32479 "2020-03-17T05:49:39Z")

</div>

Thank you, This looks very promising.

---

## [Another Ansible Question](https://forum.ansible.com/t/another-ansible-question/32476)

<div class="topic-metadata">

**Author:** [@Michael\_Cooper](https://forum.ansible.com/u/Michael_Cooper)\
**Replies:** 5\
**Last updated:** [March 17, 2020, 3:11am UTC](https://forum.ansible.com/t/another-ansible-question/32476 "2020-03-17T03:11:43Z")

</div>

Hey Guys, I am trying to get ansible working on docker. The image that I am using is ansible/ansible and there are no instructions for a run line on it. So this is what I tried but it doesn’t work. docker run -dit --n…

---

## [ansible-freeipa client install error](https://forum.ansible.com/t/ansible-freeipa-client-install-error/32454)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 3\
**Last updated:** [March 16, 2020, 3:21pm UTC](https://forum.ansible.com/t/ansible-freeipa-client-install-error/32454 "2020-03-16T15:21:06Z")

</div>

I am trying to use the ansible-playbook to install the client on CentOS 8. I am getting the following error: TASK \[ipaclient : Install - Check if one of password or keytabs are set\]

---

## [Creating a AWS VPC with IPv6 addresses](https://forum.ansible.com/t/creating-a-aws-vpc-with-ipv6-addresses/32457)

<div class="topic-metadata">

**Author:** [@Ralf\_Weber](https://forum.ansible.com/u/Ralf_Weber)\
**Replies:** 4\
**Last updated:** [March 16, 2020, 3:04pm UTC](https://forum.ansible.com/t/creating-a-aws-vpc-with-ipv6-addresses/32457 "2020-03-16T15:04:27Z")

</div>

Moin! I wanted to use ansible to create a VPC with Amazon supplied IPv6 addresses. In the Console this is an option, when I create and VPC, but I could not find anything in ec2\_vpc\_net for that. When I use ec2\_vpc\_net\_…

---

## [unable to use ansible vault variable - fatal: \[localhost\]: FAILED! =\> {"msg": "Attempting to decrypt but no vault secrets found"}](https://forum.ansible.com/t/unable-to-use-ansible-vault-variable-fatal-localhost-failed-msg-attempting-to-decrypt-but-no-vault-secrets-found/32461)

<div class="topic-metadata">

**Author:** [@ANS-dev](https://forum.ansible.com/u/ANS-dev)\
**Replies:** 1\
**Last updated:** [March 16, 2020, 1:26pm UTC](https://forum.ansible.com/t/unable-to-use-ansible-vault-variable-fatal-localhost-failed-msg-attempting-to-decrypt-but-no-vault-secrets-found/32461 "2020-03-16T13:26:04Z")

</div>

I have used “ansible-vault encrypt\_string ” command to create a encrypted passwed. But not works. my sample playbook:

---

## [Win\_ping failing with Correct Credentials](https://forum.ansible.com/t/win-ping-failing-with-correct-credentials/32441)

<div class="topic-metadata">

**Author:** [@Piyush\_Bansal](https://forum.ansible.com/u/Piyush_Bansal)\
**Replies:** 2\
**Last updated:** [March 16, 2020, 11:14am UTC](https://forum.ansible.com/t/win-ping-failing-with-correct-credentials/32441 "2020-03-16T11:14:03Z")

</div>

Hello All, I am trying to win\_ping windows server from ansible but it is failing with error that specified credntials are rejected. I have cross verified multiple times that group\_vars,inventory,hosts etc files are all…

---

## [Study on annotation of design and implementation choices, and of technical debt](https://forum.ansible.com/t/study-on-annotation-of-design-and-implementation-choices-and-of-technical-debt/32475)

<div class="topic-metadata">

**Author:** [@Gianmarco\_Fucci](https://forum.ansible.com/u/Gianmarco_Fucci)\
**Replies:** 0\
**Last updated:** [March 16, 2020, 9:35am UTC](https://forum.ansible.com/t/study-on-annotation-of-design-and-implementation-choices-and-of-technical-debt/32475 "2020-03-16T09:35:32Z")

</div>

Dear all, As software engineering research teams at the University of Sannio (Italy) and Eindhoven University of Technology (The Netherlands) we are interested in investigating the protocol used by developers while they…

---

## [Security compliance tool for AWX](https://forum.ansible.com/t/security-compliance-tool-for-awx/32474)

<div class="topic-metadata">

**Author:** [@Amit\_Bhatia](https://forum.ansible.com/u/Amit_Bhatia)\
**Replies:** 0\
**Last updated:** [March 16, 2020, 9:12am UTC](https://forum.ansible.com/t/security-compliance-tool-for-awx/32474 "2020-03-16T09:12:36Z")

</div>

Hi Team, Is there any security compliance tool used for AWX ? Also is there any security aspects covered in AWX ? Regards, Amit Bhatia

---

## [unable to create directory using ansible file module](https://forum.ansible.com/t/unable-to-create-directory-using-ansible-file-module/32473)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 5\
**Last updated:** [March 16, 2020, 8:44am UTC](https://forum.ansible.com/t/unable-to-create-directory-using-ansible-file-module/32473 "2020-03-16T08:44:57Z")

</div>

Here is my variable file: cat vars.yml \`

---

## [how to run one role out of a playbook host by host in serial one instead of linear or free](https://forum.ansible.com/t/how-to-run-one-role-out-of-a-playbook-host-by-host-in-serial-one-instead-of-linear-or-free/32460)

<div class="topic-metadata">

**Author:** [@Jelle\_de\_Jong](https://forum.ansible.com/u/Jelle_de_Jong)\
**Replies:** 3\
**Last updated:** [March 16, 2020, 8:44am UTC](https://forum.ansible.com/t/how-to-run-one-role-out-of-a-playbook-host-by-host-in-serial-one-instead-of-linear-or-free/32460 "2020-03-16T08:44:00Z")

</div>

Hello everybody, I got a role with a few tasks that do some calculations and writes down the results on a server, the next inventory\_host will use the caclulations to make a new one, now if these tasks are run by multip…

---

## [How to enable firewall for awx running in kubernetes](https://forum.ansible.com/t/how-to-enable-firewall-for-awx-running-in-kubernetes/32472)

<div class="topic-metadata">

**Author:** [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Replies:** 1\
**Last updated:** [March 16, 2020, 8:36am UTC](https://forum.ansible.com/t/how-to-enable-firewall-for-awx-running-in-kubernetes/32472 "2020-03-16T08:36:09Z")

</div>

We have awx running in Kubernetes cluster with 10 worker nodes. We are able to apply playbooks to all the servers except servers behind firewall. How to allow ssh from pods to servers behind firewall. Kindly advice.

---

## [New to Ansible - Facing issue with ping to target host](https://forum.ansible.com/t/new-to-ansible-facing-issue-with-ping-to-target-host/32469)

<div class="topic-metadata">

**Author:** [@P\_r1](https://forum.ansible.com/u/P_r1)\
**Replies:** 1\
**Last updated:** [March 16, 2020, 2:53am UTC](https://forum.ansible.com/t/new-to-ansible-facing-issue-with-ping-to-target-host/32469 "2020-03-16T02:53:06Z")

</div>

Ansible Control Machine (ip = 1.1.1.1): NAME=“Ubuntu” VERSION=“18.04.3 LTS (Bionic Beaver)” Target Node (ip = 2.2.2.2): NAME=“Amazon Linux” VERSION=“2” I am able to ssh from Ansible Control Machine to Target node i…

---

## [Variable loading infrastructure problems](https://forum.ansible.com/t/variable-loading-infrastructure-problems/32468)

<div class="topic-metadata">

**Author:** [@Dennis\_Jacobfeuerbor](https://forum.ansible.com/u/Dennis_Jacobfeuerbor)\
**Replies:** 0\
**Last updated:** [March 15, 2020, 10:24pm UTC](https://forum.ansible.com/t/variable-loading-infrastructure-problems/32468 "2020-03-15T22:24:06Z")

</div>

Hi, I seem to have stumbled upon an issue with the variable loading infrastructure in the context of vars plugins. What I tried to accomplish is to merge variables not globally based on "hash\_behaviour=merge" but by ex…

---

## [RE: Re: \[ansible-project\] Very Very New to Ansible](https://forum.ansible.com/t/re-re-ansible-project-very-very-new-to-ansible/32467)

<div class="topic-metadata">

**Author:** [@Michael\_Cooper](https://forum.ansible.com/u/Michael_Cooper)\
**Replies:** 0\
**Last updated:** [March 15, 2020, 3:40pm UTC](https://forum.ansible.com/t/re-re-ansible-project-very-very-new-to-ansible/32467 "2020-03-15T15:40:51Z")

</div>

Thank you

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

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