# Archives

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

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

**Page:** 168

---

## [Ansible 2.10 - Is all ansible modules are changing....](https://forum.ansible.com/t/ansible-2-10-is-all-ansible-modules-are-changing/33945)

<div class="topic-metadata">

**Author:** [@Vijay1](https://forum.ansible.com/u/Vijay1)\
**Replies:** 1\
**Last updated:** [October 1, 2020, 6:03pm UTC](https://forum.ansible.com/t/ansible-2-10-is-all-ansible-modules-are-changing/33945 "2020-10-01T18:03:52Z")

</div>

Dear Team, I just seen ansible 2.10 and surprised that most of the module’s are missing \[root@server yum.repos.d\]# more /etc/yum.repos.d/ansible.repo \[testing\] name=ansible10 baseurl=https://releases.ansible.com/ans…

---

## [Need help with privilege escalation](https://forum.ansible.com/t/need-help-with-privilege-escalation/33947)

<div class="topic-metadata">

**Author:** [@Priyal\_Patil](https://forum.ansible.com/u/Priyal_Patil)\
**Replies:** 0\
**Last updated:** [October 1, 2020, 5:48pm UTC](https://forum.ansible.com/t/need-help-with-privilege-escalation/33947 "2020-10-01T17:48:09Z")

</div>

Hi Basically I have application ID and this has some restriction’s for direct login access and I have changed the shell from Nologon to eksh, the playbooks are not accepting become: yes I can only run\_root if I change …

---

## [The Playbook is perfect. But still I am getting errors. Any clue?](https://forum.ansible.com/t/the-playbook-is-perfect-but-still-i-am-getting-errors-any-clue/33946)

<div class="topic-metadata">

**Author:** [@Prabhakaran\_Karuppai](https://forum.ansible.com/u/Prabhakaran_Karuppai)\
**Replies:** 1\
**Last updated:** [October 1, 2020, 4:42pm UTC](https://forum.ansible.com/t/the-playbook-is-perfect-but-still-i-am-getting-errors-any-clue/33946 "2020-10-01T16:42:56Z")

</div>

---

## [ssh Connection error](https://forum.ansible.com/t/ssh-connection-error/33922)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 4\
**Last updated:** [October 1, 2020, 2:23pm UTC](https://forum.ansible.com/t/ssh-connection-error/33922 "2020-10-01T14:23:50Z")

</div>

Hello All, Running ansible but keep getting failed to connect to host via ssh. Vagrant Version: 2.2.10 Host OS: Windows 10 (+ virtualbix) Guest OS: bento/ubuntu-18.04 WSL version: 2 Vagrantfile: Vagrant.configure(…

---

## [AWX 14 vmware template issue](https://forum.ansible.com/t/awx-14-vmware-template-issue/33943)

<div class="topic-metadata">

**Author:** [@Alexsey\_S](https://forum.ansible.com/u/Alexsey_S)\
**Replies:** 0\
**Last updated:** [October 1, 2020, 2:07pm UTC](https://forum.ansible.com/t/awx-14-vmware-template-issue/33943 "2020-10-01T14:07:48Z")

</div>

Hi all, When i create an inventory with VMware vCenter as source, none of the templates are showing up, all vms there but no templates. is there anything can be done to resolve, besides creating a custom script? Thank…

---

## [Ansible Tower Copy Module can't find file on Ansible Controller](https://forum.ansible.com/t/ansible-tower-copy-module-cant-find-file-on-ansible-controller/33941)

<div class="topic-metadata">

**Author:** [@td784](https://forum.ansible.com/u/td784)\
**Replies:** 2\
**Last updated:** [October 1, 2020, 1:23pm UTC](https://forum.ansible.com/t/ansible-tower-copy-module-cant-find-file-on-ansible-controller/33941 "2020-10-01T13:23:57Z")

</div>

Hi all, Hoping to get some feedback and help here as I am lost on this one… Issue: When running the below code through Tower: name: “Copy cert file to target host” become: yes copy: src: “/tmp/my.jks” dest: “{{ …

---

## [How do I stop ansible-playbook asking for ssh password??](https://forum.ansible.com/t/how-do-i-stop-ansible-playbook-asking-for-ssh-password/33942)

<div class="topic-metadata">

**Author:** [@Stephen\_Eaton](https://forum.ansible.com/u/Stephen_Eaton)\
**Replies:** 1\
**Last updated:** [October 1, 2020, 1:11pm UTC](https://forum.ansible.com/t/how-do-i-stop-ansible-playbook-asking-for-ssh-password/33942 "2020-10-01T13:11:55Z")

</div>

Hi All, I’m trying to bootstrap some remote VMs (ubuntu1804) that are not physically managed by me and have only been given ssh accesses as root via ssh keys only i.e. no password. I can confirm this works, i.e. I can s…

---

## [diff\_against for ios\_config for not working with --diff mode](https://forum.ansible.com/t/diff-against-for-ios-config-for-not-working-with-diff-mode/33939)

<div class="topic-metadata">

**Author:** [@Venu\_Devannagari](https://forum.ansible.com/u/Venu_Devannagari)\
**Replies:** 0\
**Last updated:** [October 1, 2020, 10:41am UTC](https://forum.ansible.com/t/diff-against-for-ios-config-for-not-working-with-diff-mode/33939 "2020-10-01T10:41:49Z")

</div>

I am trying to use diff\_against to show the before and after changes with --diiff but it is not working can some was worked already on it can you please help here. Ansible version:-2.9.10 playbook:-

---

## [Ansible Loops and Filters sample for practise](https://forum.ansible.com/t/ansible-loops-and-filters-sample-for-practise/33938)

<div class="topic-metadata">

**Author:** [@amitchettri](https://forum.ansible.com/u/amitchettri)\
**Replies:** 1\
**Last updated:** [October 1, 2020, 8:21am UTC](https://forum.ansible.com/t/ansible-loops-and-filters-sample-for-practise/33938 "2020-10-01T08:21:17Z")

</div>

Hello All, I am looking for some good blogs or GitHub link which basically helps to practice in details with different types of ansible loops, filter and filter manipulation with sample variable or files. I have been f…

---

## [variables and number in conditionals](https://forum.ansible.com/t/variables-and-number-in-conditionals/33930)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 2\
**Last updated:** [October 1, 2020, 7:55am UTC](https://forum.ansible.com/t/variables-and-number-in-conditionals/33930 "2020-10-01T07:55:45Z")

</div>

Hi, I’ve some misunderstanding regarding conditionals on variables or number. By example, within a role we’re using some prompt to defined some variables. -name: “server\_domain” prompt: “Choose server?\\n1- Server1\\n2…

---

## [Getting module failure while creation file on AT](https://forum.ansible.com/t/getting-module-failure-while-creation-file-on-at/33886)

<div class="topic-metadata">

**Author:** [@Kundan\_Singh](https://forum.ansible.com/u/Kundan_Singh)\
**Replies:** 2\
**Last updated:** [October 1, 2020, 7:53am UTC](https://forum.ansible.com/t/getting-module-failure-while-creation-file-on-at/33886 "2020-10-01T07:53:51Z")

</div>

Hi All, Need your guidance. I am trying to create a file on Ansible Tower local host. Below is the task which syntax

---

## [MySQL DB module behavior](https://forum.ansible.com/t/mysql-db-module-behavior/33937)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [October 1, 2020, 6:26am UTC](https://forum.ansible.com/t/mysql-db-module-behavior/33937 "2020-10-01T06:26:25Z")

</div>

Hello, I need somes precisions about mysql\_db module. I try to create Apache Guacamole role. This is my playbook: FIRST TASK: name: Creation databases guacamole community.mysql.mysql\_db: login\_host: “{{ database\_i…

---

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

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

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