# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=216

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

**Page:** 217

---

## [Ansible sequence for creating soft link](https://forum.ansible.com/t/ansible-sequence-for-creating-soft-link/32498)

<div class="topic-metadata">

**Author:** [@Rakesh\_Parida](https://forum.ansible.com/u/Rakesh_Parida)\
**Replies:** 2\
**Last updated:** [March 20, 2020, 5:55pm UTC](https://forum.ansible.com/t/ansible-sequence-for-creating-soft-link/32498 "2020-03-20T17:55:58Z")

</div>

Hi , I have 3 directories in /tmp as follows: Test\_10.0.0 Test\_11.0.0 Test\_13.0.0 other directories in /tmp Test Prod Dev Now i want to create soft link of Test\_10.0.0 - Test Test\_11.0.0 - Prod Test\_13.0.0 - …

---

## [how can I run multi-jobs at the same time](https://forum.ansible.com/t/how-can-i-run-multi-jobs-at-the-same-time/32502)

<div class="topic-metadata">

**Author:** [@Matt\_Luk](https://forum.ansible.com/u/Matt_Luk)\
**Replies:** 0\
**Last updated:** [March 20, 2020, 3:29am UTC](https://forum.ansible.com/t/how-can-i-run-multi-jobs-at-the-same-time/32502 "2020-03-20T03:29:32Z")

</div>

Hi all As I know AWX is single job currently. Because AWX need handle more jobs… How can I setup multi-jobs run at same time in 1 AWX host. Thx!!

---

## [counting the array of elements in ansible.](https://forum.ansible.com/t/counting-the-array-of-elements-in-ansible/32501)

<div class="topic-metadata">

**Author:** [@mahesh\_g\_o](https://forum.ansible.com/u/mahesh_g_o)\
**Replies:** 2\
**Last updated:** [March 19, 2020, 3:56pm UTC](https://forum.ansible.com/t/counting-the-array-of-elements-in-ansible/32501 "2020-03-19T15:56:39Z")

</div>

hosts: localhost gather\_facts: false vars: foo: \[‘vs1’,‘vs2’,‘vs3’,‘vs4’\] tasks: name: counting the array elements yes: “{{foo|length}}” seeing the below error: not sure what am i missing here: ERROR! Syntax Erro…

---

## [passing separate password to end machine from AWX](https://forum.ansible.com/t/passing-separate-password-to-end-machine-from-awx/32500)

<div class="topic-metadata">

**Author:** [@Nasir\_Nasir](https://forum.ansible.com/u/Nasir_Nasir)\
**Replies:** 1\
**Last updated:** [March 19, 2020, 11:13am UTC](https://forum.ansible.com/t/passing-separate-password-to-end-machine-from-awx/32500 "2020-03-19T11:13:06Z")

</div>

Hi Team, i have a requirement of IDRAC where i connect using ssh, how should i ass that password from AWX on run time

---

## [Search upto first occurence of the pattern](https://forum.ansible.com/t/search-upto-first-occurence-of-the-pattern/32496)

<div class="topic-metadata">

**Author:** [@Sivaraman\_P](https://forum.ansible.com/u/Sivaraman_P)\
**Replies:** 2\
**Last updated:** [March 19, 2020, 10:38am UTC](https://forum.ansible.com/t/search-upto-first-occurence-of-the-pattern/32496 "2020-03-19T10:38:28Z")

</div>

I have the output of command as below /ps/was-ps/woa/woa\_runtime/profiles /ps/was-ps/woa12/woa\_runtime/profiles /pas/ec1/ukpl/woa\_runtime/profiles From this paths, I need to find the lines upto first occurence of wo…

---

## [When condition is failing in windows ansible](https://forum.ansible.com/t/when-condition-is-failing-in-windows-ansible/32499)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 1\
**Last updated:** [March 19, 2020, 8:31am UTC](https://forum.ansible.com/t/when-condition-is-failing-in-windows-ansible/32499 "2020-03-19T08:31:18Z")

</div>

Hi all, I have written below task to copy a file if it is 64-bit windows OS. name: win\_shell: ‘wmic os get osarchitecture | findstr “bit”’ register: result debug: var=result.stdout\_lines name: win\_copy: src…

---

## [How to get Job count in Tower](https://forum.ansible.com/t/how-to-get-job-count-in-tower/32497)

<div class="topic-metadata">

**Author:** [@Sindhuja\_Koneru](https://forum.ansible.com/u/Sindhuja_Koneru)\
**Replies:** 1\
**Last updated:** [March 18, 2020, 10:15pm UTC](https://forum.ansible.com/t/how-to-get-job-count-in-tower/32497 "2020-03-18T22:15:14Z")

</div>

Hello, I am trying to find total number of jobs that are run in week/month from Ansible tower. How can it be achieved , can it be done through a REST API call (or) can it be queried from DB? Please advise. Thank you.…

---

## [postgresql\_info fails](https://forum.ansible.com/t/postgresql-info-fails/32494)

<div class="topic-metadata">

**Author:** [@Hesam\_Bahmanabadi](https://forum.ansible.com/u/Hesam_Bahmanabadi)\
**Replies:** 6\
**Last updated:** [March 18, 2020, 6:17pm UTC](https://forum.ansible.com/t/postgresql-info-fails/32494 "2020-03-18T18:17:25Z")

</div>

Hello I am trying to get this working,but getting following error. is it from ansible or moudle?

---

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

[Previous page](https://forum.ansible.com/c/archives/31.md?page=215)

[Next page](https://forum.ansible.com/c/archives/31.md?page=217)
