# Latest

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

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

**Page:** 359

---

## [Can playbook tag input be placed in group\_var?](https://forum.ansible.com/t/can-playbook-tag-input-be-placed-in-group-var/33475)

<div class="topic-metadata">

**Author:** [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Replies:** 4\
**Last updated:** [July 23, 2020, 8:57pm UTC](https://forum.ansible.com/t/can-playbook-tag-input-be-placed-in-group-var/33475 "2020-07-23T20:57:47Z")

</div>

If I’m running a playbook that has tags, can I place the tag information be placed in the group\_vars? That way if I run a playbook against against an ansible group with children, the children could have different tags fo…

---

## [Playboox only runs the second time](https://forum.ansible.com/t/playboox-only-runs-the-second-time/33456)

<div class="topic-metadata">

**Author:** [@robert\_rottermann](https://forum.ansible.com/u/robert_rottermann)\
**Replies:** 1\
**Last updated:** [July 23, 2020, 6:05pm UTC](https://forum.ansible.com/t/playboox-only-runs-the-second-time/33456 "2020-07-23T18:05:18Z")

</div>

Hi friends in Ansible I have a playbook that sets up a PostgreSQL environment. One of the tasks sets up a db user. This task always fails the first time. The error is, that psycopg2 could not be loaded. If I run the …

---

## [Mail format output VS Playbook ouput](https://forum.ansible.com/t/mail-format-output-vs-playbook-ouput/33473)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 1\
**Last updated:** [July 23, 2020, 3:06pm UTC](https://forum.ansible.com/t/mail-format-output-vs-playbook-ouput/33473 "2020-07-23T15:06:20Z")

</div>

Hi All, The output of ansible Playbook looks structured way when sending mail with ansible mail module receives like paragraph.Is there way to get same structured output in mail? Also is it possible to have some kind c…

---

## [How to verify col C is always double of Col D in ansible.](https://forum.ansible.com/t/how-to-verify-col-c-is-always-double-of-col-d-in-ansible/33452)

<div class="topic-metadata">

**Author:** [@Jenisha\_T](https://forum.ansible.com/u/Jenisha_T)\
**Replies:** 4\
**Last updated:** [July 23, 2020, 12:27pm UTC](https://forum.ansible.com/t/how-to-verify-col-c-is-always-double-of-col-d-in-ansible/33452 "2020-07-23T12:27:15Z")

</div>

Hi Team The output shown in image is stored in the register variable. How to verify the value in col C is double the value in col D and Col E value is always 2 and verify Col F is syncd

---

## [Using collections in AWX](https://forum.ansible.com/t/using-collections-in-awx/33469)

<div class="topic-metadata">

**Author:** [@Philipp\_Hoffmann](https://forum.ansible.com/u/Philipp_Hoffmann)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 10:52am UTC](https://forum.ansible.com/t/using-collections-in-awx/33469 "2020-07-23T10:52:16Z")

</div>

Hi, my current understanding for collections in awx is that collections are loaded via requirements.yml before every job run. Ansible Galaxy connectivity must be available at all times to ensure that jobs can be run. As…

---

## [Need some help with netconf](https://forum.ansible.com/t/need-some-help-with-netconf/33467)

<div class="topic-metadata">

**Author:** [@David\_Kovacs](https://forum.ansible.com/u/David_Kovacs)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 8:29am UTC](https://forum.ansible.com/t/need-some-help-with-netconf/33467 "2020-07-23T08:29:46Z")

</div>

Hi all! I already asked this question on irc, but I’m pretty sure it’s just gonna get lost there without any real reply, so I’ll try here too. I’m trying to configure a node through netconf, passing xmls through ssh (w…

---

## [Ansible for Cisco switchport interface and 802.1x config](https://forum.ansible.com/t/ansible-for-cisco-switchport-interface-and-802-1x-config/33463)

<div class="topic-metadata">

**Author:** [@Waqas\_Gondal](https://forum.ansible.com/u/Waqas_Gondal)\
**Replies:** 1\
**Last updated:** [July 23, 2020, 6:22am UTC](https://forum.ansible.com/t/ansible-for-cisco-switchport-interface-and-802-1x-config/33463 "2020-07-23T06:22:23Z")

</div>

Hi I am working on putting Cisco ISE into enforcement mode on production Cisco switches for 802.1x wired authentication. Currently the access interfaces all have ‘authentication open’ which needs to be removed. I have…

---

## [Cisco smartport macros](https://forum.ansible.com/t/cisco-smartport-macros/33466)

<div class="topic-metadata">

**Author:** [@berti](https://forum.ansible.com/u/berti)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 6:20am UTC](https://forum.ansible.com/t/cisco-smartport-macros/33466 "2020-07-23T06:20:25Z")

</div>

Hi, I’ve tried to configure Cisco smartport macros via ansible mit ios\_config/cli\_config. Both failed with an timeout. It looks like this on the serial console: TN\_00sw03(config)#macro auto execute TEST1\_CISCO\_SWITCH…

---

## [sensible-cmdb Default Columns](https://forum.ansible.com/t/sensible-cmdb-default-columns/33464)

<div class="topic-metadata">

**Author:** [@Marlon\_Hester](https://forum.ansible.com/u/Marlon_Hester)\
**Replies:** 1\
**Last updated:** [July 22, 2020, 6:46pm UTC](https://forum.ansible.com/t/sensible-cmdb-default-columns/33464 "2020-07-22T18:46:57Z")

</div>

Hello anyone and everyone, I’ve been using ansible-cmdb to generate an inventory webpage. I am trying to specify the “shown columns” that show by default. I am aware of the “-c” option however when I use it, it removes …

---

## [How to debug a community ansible module ?](https://forum.ansible.com/t/how-to-debug-a-community-ansible-module/33462)

<div class="topic-metadata">

**Author:** [@cmoullia](https://forum.ansible.com/u/cmoullia)\
**Replies:** 4\
**Last updated:** [July 22, 2020, 1:57pm UTC](https://forum.ansible.com/t/how-to-debug-a-community-ansible-module/33462 "2020-07-22T13:57:23Z")

</div>

Hi, As the packages to be imported by a python file are prefixed as “ansible\_collections.”, how can we then locally debug an Ansible Module Example: https://github.com/ansible-collections/community.kubernetes/blob/main…

---

## [Need help for install java](https://forum.ansible.com/t/need-help-for-install-java/33457)

<div class="topic-metadata">

**Author:** [@Rajeeb\_sahoo](https://forum.ansible.com/u/Rajeeb_sahoo)\
**Replies:** 4\
**Last updated:** [July 22, 2020, 1:38pm UTC](https://forum.ansible.com/t/need-help-for-install-java/33457 "2020-07-22T13:38:52Z")

</div>

Hello, I am new in Ansible. I need to install ORACLE JAVA 8 and that package is in .deb. (jdk1.8\_1.8.0231-1\_amd64.deb, jre1.8\_1.8.0211-1\_amd64.deb) can anyone help me out to write ansible code for install java with th…

---

## [working with file](https://forum.ansible.com/t/working-with-file/33451)

<div class="topic-metadata">

**Author:** [@nicolas\_stevenin](https://forum.ansible.com/u/nicolas_stevenin)\
**Replies:** 4\
**Last updated:** [July 22, 2020, 12:56pm UTC](https://forum.ansible.com/t/working-with-file/33451 "2020-07-22T12:56:27Z")

</div>

Hi, I have a file like : \[1,2,3,4,5\] and I want to use loop for each number in this file on the playbook (I want to use the file, not write keys in the playbook). Could you help me please ? The playbook: (and i need t…

---

## [Retrieving a value from NetApp cluster, and assign it to a variable in Playbook](https://forum.ansible.com/t/retrieving-a-value-from-netapp-cluster-and-assign-it-to-a-variable-in-playbook/33461)

<div class="topic-metadata">

**Author:** [@vkky2k](https://forum.ansible.com/u/vkky2k)\
**Replies:** 0\
**Last updated:** [July 22, 2020, 10:42am UTC](https://forum.ansible.com/t/retrieving-a-value-from-netapp-cluster-and-assign-it-to-a-variable-in-playbook/33461 "2020-07-22T10:42:48Z")

</div>

New to Ansible, and need your help. I wanted to use a playbook to retrieve a value about a volume upon the entered volume name. Then I assign the value to a variable in Ansible. Based on the value, conditionally determi…

---

## [Cannot use Gitlab personal access token for SCM](https://forum.ansible.com/t/cannot-use-gitlab-personal-access-token-for-scm/33436)

<div class="topic-metadata">

**Author:** [@Roman](https://forum.ansible.com/u/Roman)\
**Replies:** 11\
**Last updated:** [July 22, 2020, 9:14am UTC](https://forum.ansible.com/t/cannot-use-gitlab-personal-access-token-for-scm/33436 "2020-07-22T09:14:39Z")

</div>

I want my AWX to pull git repository from my private repo in gitlab.com. The choice is either SSH key or personal access token. I would prefer access token, so that I could configure read only access. How to create tok…

---

## [Integrating Microsoft LAPS and ansible](https://forum.ansible.com/t/integrating-microsoft-laps-and-ansible/33359)

<div class="topic-metadata">

**Author:** [@harsh\_chawda](https://forum.ansible.com/u/harsh_chawda)\
**Replies:** 5\
**Last updated:** [July 22, 2020, 5:41am UTC](https://forum.ansible.com/t/integrating-microsoft-laps-and-ansible/33359 "2020-07-22T05:41:45Z")

</div>

Hello All, I am using ansible for patching windows machines in my domain. The process is working fine with patches being installed till date over Winrm and kerberos as authentication. But now they have decided to use L…

---

## [Ansible with JSON hosts file](https://forum.ansible.com/t/ansible-with-json-hosts-file/33458)

<div class="topic-metadata">

**Author:** [@Mahesh\_N](https://forum.ansible.com/u/Mahesh_N)\
**Replies:** 3\
**Last updated:** [July 21, 2020, 10:02pm UTC](https://forum.ansible.com/t/ansible-with-json-hosts-file/33458 "2020-07-21T22:02:11Z")

</div>

Hi Team, I have the issue while running the Ansible playbook. There is no error with playbook, but the host.json will be in below format. the execution is happening only for one (Apple2), it is skipping (Apple1) even ru…

---

## [authenticity of host cant be established](https://forum.ansible.com/t/authenticity-of-host-cant-be-established/33435)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 18\
**Last updated:** [July 21, 2020, 9:26pm UTC](https://forum.ansible.com/t/authenticity-of-host-cant-be-established/33435 "2020-07-21T21:26:47Z")

</div>

I setup a few vagrant vms and I ccan ssh to them from vagrant ssh hostname but when i run ansible -m ping -i inventory app it keeps saying host key verification failed and prompts me and then when i accept it gives…

---

## [Write to a file outside /var/lib/awx/projects/MyProjects directory](https://forum.ansible.com/t/write-to-a-file-outside-var-lib-awx-projects-myprojects-directory/33443)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 2\
**Last updated:** [July 21, 2020, 5:46pm UTC](https://forum.ansible.com/t/write-to-a-file-outside-var-lib-awx-projects-myprojects-directory/33443 "2020-07-21T17:46:12Z")

</div>

Hello Group, Thanks for the feedback and help on my previous posts. Thanks to help received from this group - I have AWX fully functional for Linux servers, Windows servers and Cisco devices. I have one question - I a…

---

## [Error Lookup Private Key in Post Request](https://forum.ansible.com/t/error-lookup-private-key-in-post-request/33455)

<div class="topic-metadata">

**Author:** [@Marcos\_Roberto\_de\_Ab](https://forum.ansible.com/u/Marcos_Roberto_de_Ab)\
**Replies:** 0\
**Last updated:** [July 21, 2020, 4:04pm UTC](https://forum.ansible.com/t/error-lookup-private-key-in-post-request/33455 "2020-07-21T16:04:57Z")

</div>

I have an error in the post with the uri module. I need to create a credential for my Vagrant VM on Jenkins via api. In my tests, I realized that the error is in passing the value of the private key, in this line: pri…

---

## [Reduce duplicate/repeated steps in playbook](https://forum.ansible.com/t/reduce-duplicate-repeated-steps-in-playbook/33433)

<div class="topic-metadata">

**Author:** [@Pawan\_Kumar1](https://forum.ansible.com/u/Pawan_Kumar1)\
**Replies:** 4\
**Last updated:** [July 21, 2020, 3:17pm UTC](https://forum.ansible.com/t/reduce-duplicate-repeated-steps-in-playbook/33433 "2020-07-21T15:17:06Z")

</div>

Hi ,Team Require your help to reduce repeated steps , in the following playbook ,3 roles are common ,but 2 roles( permission.yml & reload\_base\_service.yml) variable value is different hosts: masters gather\_facts: yes …

---

## [win\_nssm error (windows 7): Parameter "Application" is only valid for services managed by NSSM!](https://forum.ansible.com/t/win-nssm-error-windows-7-parameter-application-is-only-valid-for-services-managed-by-nssm/33453)

<div class="topic-metadata">

**Author:** [@Deni\_Bertovic](https://forum.ansible.com/u/Deni_Bertovic)\
**Replies:** 0\
**Last updated:** [July 21, 2020, 2:31pm UTC](https://forum.ansible.com/t/win-nssm-error-windows-7-parameter-application-is-only-valid-for-services-managed-by-nssm/33453 "2020-07-21T14:31:48Z")

</div>

Hey there, I hope that someone can shed some light on this since I’m not really a windows admin. I have the following task: name: Create service via nssm win\_nssm: name: ‘{{ filebeat\_service\_name }}’ application: …

---

## [How to create function call in ansible](https://forum.ansible.com/t/how-to-create-function-call-in-ansible/33450)

<div class="topic-metadata">

**Author:** [@Jenisha\_T](https://forum.ansible.com/u/Jenisha_T)\
**Replies:** 2\
**Last updated:** [July 21, 2020, 1:26pm UTC](https://forum.ansible.com/t/how-to-create-function-call-in-ansible/33450 "2020-07-21T13:26:58Z")

</div>

Hi Team I want to execute ls -l command twice. ls -l # check if user in group sudo adduser user\_name new\_group # If not in group add user to group ls -l # Check if user added to group Is there a way I can write a she…

---

## [Help on uri module](https://forum.ansible.com/t/help-on-uri-module/33442)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 9\
**Last updated:** [July 21, 2020, 12:50pm UTC](https://forum.ansible.com/t/help-on-uri-module/33442 "2020-07-21T12:50:38Z")

</div>

Hello All, I would like to fetch some data using uri module, but little concern is that uri module should wait for 30 second to complete to load the page (page has same dynamic data which required 30 second to load (asp…

---

## [Issue in Playbook](https://forum.ansible.com/t/issue-in-playbook/33449)

<div class="topic-metadata">

**Author:** [@Siddhartha\_Gaurav](https://forum.ansible.com/u/Siddhartha_Gaurav)\
**Replies:** 1\
**Last updated:** [July 21, 2020, 9:13am UTC](https://forum.ansible.com/t/issue-in-playbook/33449 "2020-07-21T09:13:41Z")

</div>

Hi All, Could you please help me to sort out one issue in my playbook. Below is the requested query: I want some users input for my playbook…but I want to prompt the user when those parameters are not available in my .…

---

## [AWX & Cisco Tetration - Credentials & Inventory setup help](https://forum.ansible.com/t/awx-cisco-tetration-credentials-inventory-setup-help/33448)

<div class="topic-metadata">

**Author:** [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Replies:** 0\
**Last updated:** [July 21, 2020, 9:02am UTC](https://forum.ansible.com/t/awx-cisco-tetration-credentials-inventory-setup-help/33448 "2020-07-21T09:02:36Z")

</div>

All, I am looking into using Ansible to automate requirements in Cisco Tetration. There are modules available to use which are note available in general Ansible releases (yet). I have managed to get the modules & tasks …

---

## [New Ansible release 2.9.11](https://forum.ansible.com/t/new-ansible-release-2-9-11/33445)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [July 21, 2020, 1:58am UTC](https://forum.ansible.com/t/new-ansible-release-2-9-11/33445 "2020-07-21T01:58:31Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.9.11 is now available! How do you get it?

---

## [New Ansible release 2.9.11](https://forum.ansible.com/t/new-ansible-release-2-9-11/33444)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [July 21, 2020, 1:58am UTC](https://forum.ansible.com/t/new-ansible-release-2-9-11/33444 "2020-07-21T01:58:00Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.9.11 is now available! How do you get it?

---

## [How to capture unreachable host and authentication failure host](https://forum.ansible.com/t/how-to-capture-unreachable-host-and-authentication-failure-host/33440)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 1\
**Last updated:** [July 20, 2020, 6:22pm UTC](https://forum.ansible.com/t/how-to-capture-unreachable-host-and-authentication-failure-host/33440 "2020-07-20T18:22:22Z")

</div>

Hi Team, We are running a task against 1000 network devices, We get a few hosts failed and ansible skips those hosts in the next task. We are generating a report in the end , We need to have those unreachable hosts and…

---

## [Ansible AWX on Amazon Linux 2?](https://forum.ansible.com/t/ansible-awx-on-amazon-linux-2/33438)

<div class="topic-metadata">

**Author:** [@Daniel2](https://forum.ansible.com/u/Daniel2)\
**Replies:** 1\
**Last updated:** [July 20, 2020, 5:32pm UTC](https://forum.ansible.com/t/ansible-awx-on-amazon-linux-2/33438 "2020-07-20T17:32:38Z")

</div>

I tried this question before with different Subject line last week with no success. This time I will try with a more direct subject line. I have a task to evaluate Ansible AWX to replace CHEF community edition. I spun u…

---

## [Need some assistance with Jina templates](https://forum.ansible.com/t/need-some-assistance-with-jina-templates/33439)

<div class="topic-metadata">

**Author:** [@Ameya\_Agashe](https://forum.ansible.com/u/Ameya_Agashe)\
**Replies:** 0\
**Last updated:** [July 20, 2020, 5:13pm UTC](https://forum.ansible.com/t/need-some-assistance-with-jina-templates/33439 "2020-07-20T17:13:26Z")

</div>

https://stackoverflow.com/questions/63000499/unable-to-deploy-cloud-formation-via-ansible-as-jinja-templates Thanks and Regards Ameya

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

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