# Archives

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

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

**Page:** 184

---

## [Ansible stdout format - firmware](https://forum.ansible.com/t/ansible-stdout-format-firmware/33471)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 2\
**Last updated:** [July 24, 2020, 3:39pm UTC](https://forum.ansible.com/t/ansible-stdout-format-firmware/33471 "2020-07-24T15:39:20Z")

</div>

Hi All, I am trying gather firmware from dell servers able to achieve it but the output need to formated.Is it possible to remove curly braces and double quotes from output? Could you someone help on it? Playbook:

---

## [Ansible azure dynamic inventory static filr](https://forum.ansible.com/t/ansible-azure-dynamic-inventory-static-filr/33470)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 2\
**Last updated:** [July 24, 2020, 3:35pm UTC](https://forum.ansible.com/t/ansible-azure-dynamic-inventory-static-filr/33470 "2020-07-24T15:35:55Z")

</div>

Hi All, I am using dynamic inventory to get the hosts from azure cloud it works fine as shown below.We need to store those output hosts in static file(/etc/ansible/hosts) is it possible? # ansible all -m ping -i azure\_…

---

## [snow\_record\_find variable search](https://forum.ansible.com/t/snow-record-find-variable-search/33484)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 2:48pm UTC](https://forum.ansible.com/t/snow-record-find-variable-search/33484 "2020-07-24T14:48:58Z")

</div>

Hello Everyone, I wanted to automate the service request task using ansible playbook. Below are the quires which not clear for me how to search variables which is defined in service catalog request which table to be …

---

## [Help needed regarding when condition](https://forum.ansible.com/t/help-needed-regarding-when-condition/33480)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 8\
**Last updated:** [July 24, 2020, 1:46pm UTC](https://forum.ansible.com/t/help-needed-regarding-when-condition/33480 "2020-07-24T13:46:47Z")

</div>

Hi Ansible Gurus, I have this output: (1, ‘\\r\\n{“msg”: “service\[component\] - https://myip/myrest/v1/ fails to due to error 501 - None”, “failed”: true, “invocation”: {“module\_args”: {“url\_password”: null, “tasks”: \[{“…

---

## [Ansible play recap and failed hosts - Mail](https://forum.ansible.com/t/ansible-play-recap-and-failed-hosts-mail/33472)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 1\
**Last updated:** [July 24, 2020, 11:55am UTC](https://forum.ansible.com/t/ansible-play-recap-and-failed-hosts-mail/33472 "2020-07-24T11:55:48Z")

</div>

Hi All, We have below two requirements need to achieve.Could someone help here? - Send mail of failed hosts(During facts gathering) - Send mail of play recap output Regards Kumaresan

---

## [Filter in dynamic inventory](https://forum.ansible.com/t/filter-in-dynamic-inventory/33482)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 11:20am UTC](https://forum.ansible.com/t/filter-in-dynamic-inventory/33482 "2020-07-24T11:20:07Z")

</div>

Hi guys, I use dynamic inventory azure\_rm and I have a problem with exluce\_host\_filters. Some vms starts with xyz… and has tags. I need to filter the VMs starts with xyz but not has tags firewall and not working. excl…

---

## [net\_put issue, please help :-)](https://forum.ansible.com/t/net-put-issue-please-help/33481)

<div class="topic-metadata">

**Author:** [@Alexander\_Dollny](https://forum.ansible.com/u/Alexander_Dollny)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 7:49am UTC](https://forum.ansible.com/t/net-put-issue-please-help/33481 "2020-07-24T07:49:02Z")

</div>

Hello all, I have a question about the net\_put Module. I use this to upload .ios images to my cisco devices. For that, I use my MacBook with this configuration ansible-playbook --version ansible-playbook 2.9.10 confi…

---

## [host file doesn't read variable for windows](https://forum.ansible.com/t/host-file-doesnt-read-variable-for-windows/33477)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 1\
**Last updated:** [July 24, 2020, 5:41am UTC](https://forum.ansible.com/t/host-file-doesnt-read-variable-for-windows/33477 "2020-07-24T05:41:50Z")

</div>

Hello, my host file for ansible is not reading additional variables. Following is my host file: \[ubuntu\] \[amazonlinux2\] \[database\] \[windows\] \[windows:vars\] ansible\_connection = winrm ansible\_ssh\_port = 5986 ansi…

---

## [New pre-release: ansible-base 2.10.0rc2](https://forum.ansible.com/t/new-pre-release-ansible-base-2-10-0rc2/33479)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 4:38am UTC](https://forum.ansible.com/t/new-pre-release-ansible-base-2-10-0rc2/33479 "2020-07-24T04:38:17Z")

</div>

Hi all- we're happy to announce that the general release of ansible-base 2.10.0rc2 is now available! This is a PRE-RELEASE release-candidate. The ansible-base package consists of only the Ansible execution engine, rel…

---

## [Help on FortiGate 3000D Load balancer](https://forum.ansible.com/t/help-on-fortigate-3000d-load-balancer/33468)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 1\
**Last updated:** [July 24, 2020, 4:33am UTC](https://forum.ansible.com/t/help-on-fortigate-3000d-load-balancer/33468 "2020-07-24T04:33:02Z")

</div>

Hello Team, I want to execute stat system command on FortiGate 3000D Load balancer so could help me what connection method should i used./ how i can execute this command Thank in Advance Regards, GG

---

## [cp\_mgmt\_run\_script module](https://forum.ansible.com/t/cp-mgmt-run-script-module/33478)

<div class="topic-metadata">

**Author:** [@Simon\_Macpherson](https://forum.ansible.com/u/Simon_Macpherson)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 2:56am UTC](https://forum.ansible.com/t/cp-mgmt-run-script-module/33478 "2020-07-24T02:56:38Z")

</div>

Hello All, I have a playbook that is using the cp\_mgmt\_run\_script module. The following error is returned when the playbook is run. TASK \[run-script\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [setting up a new system with Ansible](https://forum.ansible.com/t/setting-up-a-new-system-with-ansible/33459)

<div class="topic-metadata">

**Author:** [@Ed\_Wong](https://forum.ansible.com/u/Ed_Wong)\
**Replies:** 5\
**Last updated:** [July 24, 2020, 12:53am UTC](https://forum.ansible.com/t/setting-up-a-new-system-with-ansible/33459 "2020-07-24T00:53:23Z")

</div>

Hi, I’ve played with Ansible before but hadn’t really done much in terms of maintaining a whole infrastructure. I’m hoping to restart my foray into it in hopes to migrate off of the old way of standing up systems. I wis…

---

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

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

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