# Latest

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

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

**Page:** 343

---

## [How can I exclude tags in instance filters ?](https://forum.ansible.com/t/how-can-i-exclude-tags-in-instance-filters/33936)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 0\
**Last updated:** [October 1, 2020, 4:03am UTC](https://forum.ansible.com/t/how-can-i-exclude-tags-in-instance-filters/33936 "2020-10-01T04:03:03Z")

</div>

Dear All, I have created a dynamic AWS ec2 inventory in AWX and can import ec2 hosts successfully. I can use instance filters to import only specific tags but I’m trying to use it in order to exclude specific tags. Fo…

---

## [AWX Login Issue](https://forum.ansible.com/t/awx-login-issue/31258)

<div class="topic-metadata">

**Author:** [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Replies:** 4\
**Last updated:** [October 1, 2020, 2:28am UTC](https://forum.ansible.com/t/awx-login-issue/31258 "2020-10-01T02:28:11Z")

</div>

Dear All, I have installed docker and able to launch webpage however default admin and password is not working so please let me know how I can access the console . Thanks, Manish

---

## [ios\_l2\_interfaces vlan trunks](https://forum.ansible.com/t/ios-l2-interfaces-vlan-trunks/33933)

<div class="topic-metadata">

**Author:** [@Richard\_Lucht](https://forum.ansible.com/u/Richard_Lucht)\
**Replies:** 0\
**Last updated:** [September 30, 2020, 6:58pm UTC](https://forum.ansible.com/t/ios-l2-interfaces-vlan-trunks/33933 "2020-09-30T18:58:04Z")

</div>

I am testing to loop a config to check all ports and add all vlans to the port. I am having an issue with the loop. I am wanting to loop through all interfaces that match the mode trunk name: Add all vlans to trunks c…

---

## [bind loopback and default IP](https://forum.ansible.com/t/bind-loopback-and-default-ip/33918)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 11\
**Last updated:** [September 30, 2020, 4:52pm UTC](https://forum.ansible.com/t/bind-loopback-and-default-ip/33918 "2020-09-30T16:52:39Z")

</div>

I am writing a redis playbook and I want to have any new redis replication node built listen on the loopback address AND default IP address. I am having trouble trying to figure out how to achieve this. I have it set up …

---

## [hosts: all and ansible-playbook --limit seems needlessly dangerous](https://forum.ansible.com/t/hosts-all-and-ansible-playbook-limit-seems-needlessly-dangerous/33932)

<div class="topic-metadata">

**Author:** [@Denis\_Lemire](https://forum.ansible.com/u/Denis_Lemire)\
**Replies:** 0\
**Last updated:** [September 30, 2020, 4:33pm UTC](https://forum.ansible.com/t/hosts-all-and-ansible-playbook-limit-seems-needlessly-dangerous/33932 "2020-09-30T16:33:54Z")

</div>

I opened an issue at Github but was directed here: https://github.com/ansible/ansible/issues/72027 This may have already been discussed at length but it’s always bothered me that a playbook would need an explicit hosts…

---

## [Announcing AWX 15.0.0](https://forum.ansible.com/t/announcing-awx-15-0-0/33931)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 0\
**Last updated:** [September 30, 2020, 4:29pm UTC](https://forum.ansible.com/t/announcing-awx-15-0-0/33931 "2020-09-30T16:29:08Z")

</div>

Hello Everyone, I am excited to announce a new version of AWX, 15.0.0. Here are some of the notable changes from the official changelog (https://github.com/ansible/awx/blob/devel/CHANGELOG.md):

---

## [Trying to use Packer Provisioner for Ansible, Winrm connections to Windows 2019 server](https://forum.ansible.com/t/trying-to-use-packer-provisioner-for-ansible-winrm-connections-to-windows-2019-server/33915)

<div class="topic-metadata">

**Author:** [@i255d](https://forum.ansible.com/u/i255d)\
**Replies:** 4\
**Last updated:** [September 30, 2020, 4:02pm UTC](https://forum.ansible.com/t/trying-to-use-packer-provisioner-for-ansible-winrm-connections-to-windows-2019-server/33915 "2020-09-30T16:02:44Z")

</div>

I have been working on this for days, and I feel like I am close. Any ideas what is causing this??? amazon-ebs: PLAYBOOK: playbook.yml \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* amazon-ebs: 1 plays in /c…

---

## [Ansible AWX credential type is not setting environment variables.](https://forum.ansible.com/t/ansible-awx-credential-type-is-not-setting-environment-variables/33764)

<div class="topic-metadata">

**Author:** [@Shaurav\_Raj](https://forum.ansible.com/u/Shaurav_Raj)\
**Replies:** 3\
**Last updated:** [September 30, 2020, 3:23pm UTC](https://forum.ansible.com/t/ansible-awx-credential-type-is-not-setting-environment-variables/33764 "2020-09-30T15:23:36Z")

</div>

I am using ansible AWX with git source as project. The credential type I created to set up the environment variables for dynamic inventory that uses the plug in is not setting up the environment variables. More details…

---

## [ansible ip address filter from files](https://forum.ansible.com/t/ansible-ip-address-filter-from-files/33929)

<div class="topic-metadata">

**Author:** [@sharanpeetani](https://forum.ansible.com/u/sharanpeetani)\
**Replies:** 0\
**Last updated:** [September 30, 2020, 12:22pm UTC](https://forum.ansible.com/t/ansible-ip-address-filter-from-files/33929 "2020-09-30T12:22:14Z")

</div>

Hello, I am trying to filter ipv4 address from multiple files and put them in a output file. can you please help me how to filter ip from files and put them in target file Here is my playbook I am trying to filter ipv4…

---

## [execute ansible command very slowly](https://forum.ansible.com/t/execute-ansible-command-very-slowly/33927)

<div class="topic-metadata">

**Author:** [@MJ1](https://forum.ansible.com/u/MJ1)\
**Replies:** 2\
**Last updated:** [September 30, 2020, 10:30am UTC](https://forum.ansible.com/t/execute-ansible-command-very-slowly/33927 "2020-09-30T10:30:53Z")

</div>

I’ve installed ansible in CentOS6.5, then added host group bocai\_ecs\_all in /etc/ansible/ansible.cfg. \[bocai\_ecs\_all\] bocaiserver1 bocaiserver2 (centos7.6) bocaiserver3 bocaiserver4 (centos7.6) bocaiserver5 And th…

---

## [deprecation of DEFAULT\_HASH\_BEHAVIOUR option](https://forum.ansible.com/t/deprecation-of-default-hash-behaviour-option/33905)

<div class="topic-metadata">

**Author:** [@nd1](https://forum.ansible.com/u/nd1)\
**Replies:** 4\
**Last updated:** [September 30, 2020, 10:11am UTC](https://forum.ansible.com/t/deprecation-of-default-hash-behaviour-option/33905 "2020-09-30T10:11:32Z")

</div>

Hello, is there any documentation on why this was deprecated? This breaks close to all of my ansible roles as well as it results in a full rewrite of the inventory for all organisations where I use ansible. I’m using “h…

---

## [Ansible VMware capacity check](https://forum.ansible.com/t/ansible-vmware-capacity-check/33928)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 0\
**Last updated:** [September 30, 2020, 6:35am UTC](https://forum.ansible.com/t/ansible-vmware-capacity-check/33928 "2020-09-30T06:35:11Z")

</div>

Hello all, I want to create a vm machine on VMware infra but prior to that I would like to check available space in data store cluster. Also in that I would like to check available free cpu and memory in cluster Pleas…

---

## [Can't use pydantic library in lookup plugin](https://forum.ansible.com/t/cant-use-pydantic-library-in-lookup-plugin/33926)

<div class="topic-metadata">

**Author:** [@thlanzer](https://forum.ansible.com/u/thlanzer)\
**Replies:** 0\
**Last updated:** [September 30, 2020, 12:09am UTC](https://forum.ansible.com/t/cant-use-pydantic-library-in-lookup-plugin/33926 "2020-09-30T00:09:35Z")

</div>

Hi there I tried to embed some python code as a plugin that uses pydantic library. Seems that this does not work in combination with Ansible. Did anybody have similiar issues? I would really appreciate if you can giv…

---

## [AWX Github Social Auth](https://forum.ansible.com/t/awx-github-social-auth/33925)

<div class="topic-metadata">

**Author:** [@Shashin\_K](https://forum.ansible.com/u/Shashin_K)\
**Replies:** 2\
**Last updated:** [September 30, 2020, 12:02am UTC](https://forum.ansible.com/t/awx-github-social-auth/33925 "2020-09-30T00:02:23Z")

</div>

Hi, We’re currently using AWX 6.1.0.0 with github social oauth. We have been receiving emails lately from github saying our ‘AWX application is using an access token (with the User-Agent python-requests/2.15.1) as part …

---

## [Playbook for cisco switch interface Network Access Control](https://forum.ansible.com/t/playbook-for-cisco-switch-interface-network-access-control/33913)

<div class="topic-metadata">

**Author:** [@Richard\_Lucht](https://forum.ansible.com/u/Richard_Lucht)\
**Replies:** 3\
**Last updated:** [September 29, 2020, 1:56pm UTC](https://forum.ansible.com/t/playbook-for-cisco-switch-interface-network-access-control/33913 "2020-09-29T13:56:10Z")

</div>

Hello experts, I am looking for a way to automate access ports for NAC on legacy authentication. I only want to configure ports that already have “switchport mode access” and the “authentication event server dead action …

---

## [AWX and SSL](https://forum.ansible.com/t/awx-and-ssl/33881)

<div class="topic-metadata">

**Author:** [@Daniel2](https://forum.ansible.com/u/Daniel2)\
**Replies:** 2\
**Last updated:** [September 29, 2020, 11:53am UTC](https://forum.ansible.com/t/awx-and-ssl/33881 "2020-09-29T11:53:21Z")

</div>

As in a previous post, I really don’t want to have to go in and change up the docker image if I don’t have to, so I found in an internet search of a way to do SSL for Ansible, and it was to install the Docker image of An…

---

## [galaxy fortios backup running config](https://forum.ansible.com/t/galaxy-fortios-backup-running-config/33920)

<div class="topic-metadata">

**Author:** [@Gisbert\_Haas](https://forum.ansible.com/u/Gisbert_Haas)\
**Replies:** 0\
**Last updated:** [September 29, 2020, 10:30am UTC](https://forum.ansible.com/t/galaxy-fortios-backup-running-config/33920 "2020-09-29T10:30:33Z")

</div>

Hi, anyone already using Ansible 2.10 with galaxy fortios and got backup of running config working? I struggle to figure out which module to use? https://galaxy.ansible.com/fortinet/fortios Thanks a million G.

---

## [Using ansible\_user or remote\_user in group\_vars](https://forum.ansible.com/t/using-ansible-user-or-remote-user-in-group-vars/33919)

<div class="topic-metadata">

**Author:** [@Simon\_Liddicott](https://forum.ansible.com/u/Simon_Liddicott)\
**Replies:** 0\
**Last updated:** [September 29, 2020, 8:56am UTC](https://forum.ansible.com/t/using-ansible-user-or-remote-user-in-group-vars/33919 "2020-09-29T08:56:29Z")

</div>

Hi I want to use ansible\_user in group\_vars so that I can set ansible\_winrm\_user to add a domain name for authentication. EG. ansible\_winrm\_user: “{{ ansible\_user }}@{{ windows\_domain}}” become\_user: “{{ ansible\_user…

---

## [Ansible hangs on package installation for hours before connection to host is lost](https://forum.ansible.com/t/ansible-hangs-on-package-installation-for-hours-before-connection-to-host-is-lost/33787)

<div class="topic-metadata">

**Author:** [@Pankaj\_Basnal](https://forum.ansible.com/u/Pankaj_Basnal)\
**Replies:** 8\
**Last updated:** [September 29, 2020, 7:31am UTC](https://forum.ansible.com/t/ansible-hangs-on-package-installation-for-hours-before-connection-to-host-is-lost/33787 "2020-09-29T07:31:02Z")

</div>

Hi, I’m new to ansible and I’m facing an issue with executing our playbook. Setup- For 10 hosts on azure all hosts are identical and newly created ansible.cfg- \[defaults\] host\_key\_checking = False portion…

---

## [New release candidate: ansible-base 2.10.2rc1](https://forum.ansible.com/t/new-release-candidate-ansible-base-2-10-2rc1/33917)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [September 28, 2020, 11:33pm UTC](https://forum.ansible.com/t/new-release-candidate-ansible-base-2-10-2rc1/33917 "2020-09-28T23:33:34Z")

</div>

Hi all- we're happy to announce that the general release of ansible-base 2.10.2rc1 is now available! These are release candidates that you can use for testing the next available minor releases of ansible-base. How to …

---

## [New release candidates: ansible 2.8.16rc1, 2.9.14rc1](https://forum.ansible.com/t/new-release-candidates-ansible-2-8-16rc1-2-9-14rc1/33916)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [September 28, 2020, 11:27pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-2-8-16rc1-2-9-14rc1/33916 "2020-09-28T23:27:11Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.9.14rc1 and 2.8.16rc1 are now available! These are release candidates that you can use for testing the next available minor releases of Ansible. Ho…

---

## [Register variable, get specific strings and use strings in subsequent task](https://forum.ansible.com/t/register-variable-get-specific-strings-and-use-strings-in-subsequent-task/33912)

<div class="topic-metadata">

**Author:** [@Sven1](https://forum.ansible.com/u/Sven1)\
**Replies:** 2\
**Last updated:** [September 28, 2020, 8:15pm UTC](https://forum.ansible.com/t/register-variable-get-specific-strings-and-use-strings-in-subsequent-task/33912 "2020-09-28T20:15:38Z")

</div>

Hello guys, I am not quite sure how to describe this. I have a simple task, which executes a shell command and register a variable. - name: execute ovs-vsctl show command shell: ovs-vsctl show register: output This…

---

## [How to have stateful python class during play execution? (singleton?](https://forum.ansible.com/t/how-to-have-stateful-python-class-during-play-execution-singleton/33904)

<div class="topic-metadata">

**Author:** [@thlanzer](https://forum.ansible.com/u/thlanzer)\
**Replies:** 3\
**Last updated:** [September 28, 2020, 7:46pm UTC](https://forum.ansible.com/t/how-to-have-stateful-python-class-during-play-execution-singleton/33904 "2020-09-28T19:46:49Z")

</div>

Hi guys I would like to parse specifc JSON files, create objects from them and store them in memory for further lookup (for my usecase I can’t use jmespath). So I plan to read once the whole json file into dictionary w…

---

## [need playbook to update ubuntu and centos](https://forum.ansible.com/t/need-playbook-to-update-ubuntu-and-centos/33891)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 9\
**Last updated:** [September 28, 2020, 7:10pm UTC](https://forum.ansible.com/t/need-playbook-to-update-ubuntu-and-centos/33891 "2020-09-28T19:10:59Z")

</div>

how can i update both ubuntu and centos boxes all in one playbook?

---

## [Ansible playbook command issue not running successful without -K](https://forum.ansible.com/t/ansible-playbook-command-issue-not-running-successful-without-k/33910)

<div class="topic-metadata">

**Author:** [@Hitesh\_Kumar](https://forum.ansible.com/u/Hitesh_Kumar)\
**Replies:** 2\
**Last updated:** [September 28, 2020, 4:56pm UTC](https://forum.ansible.com/t/ansible-playbook-command-issue-not-running-successful-without-k/33910 "2020-09-28T16:56:33Z")

</div>

Hi All I am running an ansible playbook command and it runs successfully only with -K. I think it is some privilege level escalation issue. Need help without “K” it is giving me “missing sudo password” when I m…

---

## [Ansible project to create windows vm from iso in vmware](https://forum.ansible.com/t/ansible-project-to-create-windows-vm-from-iso-in-vmware/33911)

<div class="topic-metadata">

**Author:** [@Luis\_Martinez](https://forum.ansible.com/u/Luis_Martinez)\
**Replies:** 0\
**Last updated:** [September 28, 2020, 4:55pm UTC](https://forum.ansible.com/t/ansible-project-to-create-windows-vm-from-iso-in-vmware/33911 "2020-09-28T16:55:25Z")

</div>

Hi Does anyone can share a playback to create a windows vm in vmware from an iso file? Thank you.

---

## [searching multi lines using regex](https://forum.ansible.com/t/searching-multi-lines-using-regex/33860)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 3\
**Last updated:** [September 28, 2020, 5:22am UTC](https://forum.ansible.com/t/searching-multi-lines-using-regex/33860 "2020-09-28T05:22:39Z")

</div>

How to search multiple lines using regex in Ansible? I tried below pattern and it is not working regex: ^line con.(?:\\n^\\s.) line console 0 password

---

## [Intersect and difference in Ansible](https://forum.ansible.com/t/intersect-and-difference-in-ansible/33908)

<div class="topic-metadata">

**Author:** [@Fred\_Kanyesigye](https://forum.ansible.com/u/Fred_Kanyesigye)\
**Replies:** 0\
**Last updated:** [September 28, 2020, 4:57am UTC](https://forum.ansible.com/t/intersect-and-difference-in-ansible/33908 "2020-09-28T04:57:16Z")

</div>

I have been trying to create a playbook that removes the resource record sets for terminated EC2 instances. Other tasks can debug fine, but when it comes to intersect and difference to debug/list the common contents to …

---

## [clear arp vrf XXX force-complete](https://forum.ansible.com/t/clear-arp-vrf-xxx-force-complete/33907)

<div class="topic-metadata">

**Author:** [@stack\_flow](https://forum.ansible.com/u/stack_flow)\
**Replies:** 0\
**Last updated:** [September 28, 2020, 2:19am UTC](https://forum.ansible.com/t/clear-arp-vrf-xxx-force-complete/33907 "2020-09-28T02:19:58Z")

</div>

I am looking for following command for NXOS ansible module but I am not able to find it. it seems it is not available. how to accomplish this? clear arp vrf XXX force-complete

---

## [AWX  currently not installable   ??](https://forum.ansible.com/t/awx-currently-not-installable/33900)

<div class="topic-metadata">

**Author:** [@barry\_kelliher](https://forum.ansible.com/u/barry_kelliher)\
**Replies:** 4\
**Last updated:** [September 27, 2020, 5:42am UTC](https://forum.ansible.com/t/awx-currently-not-installable/33900 "2020-09-27T05:42:25Z")

</div>

hello i have had a very frustrating day I have Reached the conclusion that at the time of writing it is impossible to install awx . i have tried rel7 and centos 8 with the docker method - issue there seems to be that d…

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

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