# Latest

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

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

**Page:** 353

---

## [AWX and Juniper](https://forum.ansible.com/t/awx-and-juniper/33644)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 9:21pm UTC](https://forum.ansible.com/t/awx-and-juniper/33644 "2020-08-19T21:21:00Z")

</div>

Hello All, I have a question regarding a Juniper router but this may also apply to a Cisco router or switch. I am trying to do a config/restore config on this device. I am using AWX 13. I can copy the configuration o…

---

## [iam\_role session duration](https://forum.ansible.com/t/iam-role-session-duration/33643)

<div class="topic-metadata">

**Author:** [@Alan\_Sparks](https://forum.ansible.com/u/Alan_Sparks)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 8:01pm UTC](https://forum.ansible.com/t/iam-role-session-duration/33643 "2020-08-19T20:01:22Z")

</div>

I’ve been hoping for cloud module iam\_role to support setting max session duration each release through 2.9, but it seems to still not. Are there any patches or replacement modules that implement this? Anything slated t…

---

## [unset ansible fact](https://forum.ansible.com/t/unset-ansible-fact/33642)

<div class="topic-metadata">

**Author:** [@Vincent\_Illiano](https://forum.ansible.com/u/Vincent_Illiano)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 5:50pm UTC](https://forum.ansible.com/t/unset-ansible-fact/33642 "2020-08-19T17:50:35Z")

</div>

Hi all, I understand that once an ansible variable is set, it cannot be unset. I did find the medium.com article below that explains a work around. Unfortunately, I do not understand some of the syntax. Specifically: “-…

---

## [Ansible 2.10.0 collection versions now feature frozen](https://forum.ansible.com/t/ansible-2-10-0-collection-versions-now-feature-frozen/33641)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 3:49pm UTC](https://forum.ansible.com/t/ansible-2-10-0-collection-versions-now-feature-frozen/33641 "2020-08-19T15:49:52Z")

</div>

Greetings all, in preparation for the beta1 release on the first of September, the ansible package is now feature frozen. What does that mean exactly? The main goal of the 2.10.x package is to give end users a smooth …

---

## [Using ansible to hardening Linux Systems Remotely](https://forum.ansible.com/t/using-ansible-to-hardening-linux-systems-remotely/33631)

<div class="topic-metadata">

**Author:** [@giob](https://forum.ansible.com/u/giob)\
**Replies:** 7\
**Last updated:** [August 19, 2020, 12:52pm UTC](https://forum.ansible.com/t/using-ansible-to-hardening-linux-systems-remotely/33631 "2020-08-19T12:52:30Z")

</div>

I’m new of the Ansible World, and for the moment i used just to hardening some linux systems using every time the command locally: ansible path\_to\_my\_playbook.yml There is a way to run this commant to a remote comput…

---

## [AWX container help](https://forum.ansible.com/t/awx-container-help/33630)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 2\
**Last updated:** [August 18, 2020, 8:38pm UTC](https://forum.ansible.com/t/awx-container-help/33630 "2020-08-18T20:38:47Z")

</div>

Hi, I am running AWX as a container, version 13… I have come across an issue whereby filtering on a VMware source for inventory doesn’t work in AWX 13, but it does work in the most recently released version of Ansible …

---

## [git and manual scm project type integration](https://forum.ansible.com/t/git-and-manual-scm-project-type-integration/33632)

<div class="topic-metadata">

**Author:** [@Hrvoje\_Djurdjevic](https://forum.ansible.com/u/Hrvoje_Djurdjevic)\
**Replies:** 1\
**Last updated:** [August 18, 2020, 8:20pm UTC](https://forum.ansible.com/t/git-and-manual-scm-project-type-integration/33632 "2020-08-18T20:20:01Z")

</div>

Hi, I am new to awx, so, sorry if my question is redundant. When people work, they try to keep their history free from committing mistakes, ie junk versions of code that they know is defective from the start, that is I …

---

## [How to get latest Ansible for Ubuntu 20.04](https://forum.ansible.com/t/how-to-get-latest-ansible-for-ubuntu-20-04/33636)

<div class="topic-metadata">

**Author:** [@sampsont](https://forum.ansible.com/u/sampsont)\
**Replies:** 0\
**Last updated:** [August 18, 2020, 3:38pm UTC](https://forum.ansible.com/t/how-to-get-latest-ansible-for-ubuntu-20-04/33636 "2020-08-18T15:38:30Z")

</div>

When will the Ansible PPA be available for Ubuntu 20.04? I get the following error using Ansible 2.9.6 running on Ubuntu 20.04: Malformed output discovered from systemd list-unit-files: accounts-daemon.service Googlin…

---

## [manually adding awx manage jobs](https://forum.ansible.com/t/manually-adding-awx-manage-jobs/33635)

<div class="topic-metadata">

**Author:** [@Michael\_Nhan](https://forum.ansible.com/u/Michael_Nhan)\
**Replies:** 0\
**Last updated:** [August 18, 2020, 3:01pm UTC](https://forum.ansible.com/t/manually-adding-awx-manage-jobs/33635 "2020-08-18T15:01:27Z")

</div>

Hi, Is there a way to add the awx management jobs to a existing installation of awx? If one installs one of the newer version of awx (after 6.0) there exists management jobs in awx for cleaning logs. If one migrates, th…

---

## [Need Help with awx 9.3.0 migration to 13.0.0](https://forum.ansible.com/t/need-help-with-awx-9-3-0-migration-to-13-0-0/33578)

<div class="topic-metadata">

**Author:** [@Michael\_Nhan](https://forum.ansible.com/u/Michael_Nhan)\
**Replies:** 1\
**Last updated:** [August 18, 2020, 2:56pm UTC](https://forum.ansible.com/t/need-help-with-awx-9-3-0-migration-to-13-0-0/33578 "2020-08-18T14:56:16Z")

</div>

Having some issue migrating from awx 9.3.0 to 13.0.0. Have updated/migrated from 6.0.0 to 9.0.1 and to 9.3.0 with no issues. But trying to go to a later version is erroring out. Current awx installation: 9.3.0 on opens…

---

## [connection: local and delegate\_to not working together](https://forum.ansible.com/t/connection-local-and-delegate-to-not-working-together/33634)

<div class="topic-metadata">

**Author:** [@jegansignup](https://forum.ansible.com/u/jegansignup)\
**Replies:** 0\
**Last updated:** [August 18, 2020, 1:40pm UTC](https://forum.ansible.com/t/connection-local-and-delegate-to-not-working-together/33634 "2020-08-18T13:40:54Z")

</div>

Hello Team, I am facing issue while running below playbook from ansible server. Getting error like below. I gave small part of the playbook. The intention to use connection: local is I like to perform few tasks from ans…

---

## [Non-Administrator Accounts - WinRM](https://forum.ansible.com/t/non-administrator-accounts-winrm/33633)

<div class="topic-metadata">

**Author:** [@jesty\_sam](https://forum.ansible.com/u/jesty_sam)\
**Replies:** 0\
**Last updated:** [August 18, 2020, 1:07pm UTC](https://forum.ansible.com/t/non-administrator-accounts-winrm/33633 "2020-08-18T13:07:40Z")

</div>

Hello All We are trying to run certain playbooks against Windows servers and it works all fine. But every time we end up asking the DC team for the service account to be added to Local admin group which i think it is no…

---

## [Cross-domain auth using Kerberos](https://forum.ansible.com/t/cross-domain-auth-using-kerberos/33574)

<div class="topic-metadata">

**Author:** [@Michael\_Richter](https://forum.ansible.com/u/Michael_Richter)\
**Replies:** 1\
**Last updated:** [August 18, 2020, 10:47am UTC](https://forum.ansible.com/t/cross-domain-auth-using-kerberos/33574 "2020-08-18T10:47:19Z")

</div>

Hi, On a Linux server I want to access a Windows server from Windows domain sub.dnsdomain using an account from parent Windows domain dnsdomain. The account has admin permissions to that server and can login using RDP. …

---

## [2 levels nested loop with variables](https://forum.ansible.com/t/2-levels-nested-loop-with-variables/33598)

<div class="topic-metadata">

**Author:** [@Nic\_H](https://forum.ansible.com/u/Nic_H)\
**Replies:** 5\
**Last updated:** [August 17, 2020, 10:38pm UTC](https://forum.ansible.com/t/2-levels-nested-loop-with-variables/33598 "2020-08-17T22:38:57Z")

</div>

Hi, I have been looking into nested , subelements and other lookups with no luck to make this working , using ansible 2.8. Basically , I’d like to construct a loop than can itself iterate over other variables (list or d…

---

## [Ansible inventory duplicate hosts in different groups - Ansible picks the last one from the duplicates](https://forum.ansible.com/t/ansible-inventory-duplicate-hosts-in-different-groups-ansible-picks-the-last-one-from-the-duplicates/33629)

<div class="topic-metadata">

**Author:** [@Abhishek\_Sharma](https://forum.ansible.com/u/Abhishek_Sharma)\
**Replies:** 2\
**Last updated:** [August 17, 2020, 9:46pm UTC](https://forum.ansible.com/t/ansible-inventory-duplicate-hosts-in-different-groups-ansible-picks-the-last-one-from-the-duplicates/33629 "2020-08-17T21:46:09Z")

</div>

Hi I have an inventory defined as below: \[A\] host1.example.com lhost=1010 host2.example.com lhost=1110 \[B\] host1.example.com lhost=2010 now when i run below command on group A for host1.example.com ansible picks u…

---

## [Tags or Variables, not sure which way to go](https://forum.ansible.com/t/tags-or-variables-not-sure-which-way-to-go/33625)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 2\
**Last updated:** [August 17, 2020, 5:46pm UTC](https://forum.ansible.com/t/tags-or-variables-not-sure-which-way-to-go/33625 "2020-08-17T17:46:03Z")

</div>

So I am having an issue about not knowing what the best thing to do is. Here’s what I am trying to accomplish… I have the following sanitized tasks: name: Set authorized key ( prod) authorized\_key: user: ansible st…

---

## [Ansible Windows Deployment - 'Connection aborted.', error(104, 'Connection reset by peer')](https://forum.ansible.com/t/ansible-windows-deployment-connection-aborted-error-104-connection-reset-by-peer/28570)

<div class="topic-metadata">

**Author:** [@Kartik\_Jayaraman](https://forum.ansible.com/u/Kartik_Jayaraman)\
**Replies:** 5\
**Last updated:** [August 17, 2020, 1:41pm UTC](https://forum.ansible.com/t/ansible-windows-deployment-connection-aborted-error-104-connection-reset-by-peer/28570 "2020-08-17T13:41:40Z")

</div>

Hello, I am facing an issue with deployment on Windows 2008 server using Ansible. I have a jenkins pipeline which has an Ansible Deployment stage wherein I drop the files on to the target servers from inventory. I have …

---

## [Passing encrypted password to playbook using --ask-become-pass option](https://forum.ansible.com/t/passing-encrypted-password-to-playbook-using-ask-become-pass-option/33628)

<div class="topic-metadata">

**Author:** [@Kumaresh\_kulal](https://forum.ansible.com/u/Kumaresh_kulal)\
**Replies:** 0\
**Last updated:** [August 17, 2020, 11:34am UTC](https://forum.ansible.com/t/passing-encrypted-password-to-playbook-using-ask-become-pass-option/33628 "2020-08-17T11:34:46Z")

</div>

Hello, I am trying to pass the encrypted password to execute my playbook and while doing so I see below error. Error: FAILED! =\> {“msg”: “The field ‘become\_pass’ has an invalid value, which includes an undefined variab…

---

## [install ansible system wide](https://forum.ansible.com/t/install-ansible-system-wide/33627)

<div class="topic-metadata">

**Author:** [@Manuel\_Sopena\_Balles](https://forum.ansible.com/u/Manuel_Sopena_Balles)\
**Replies:** 1\
**Last updated:** [August 17, 2020, 8:37am UTC](https://forum.ansible.com/t/install-ansible-system-wide/33627 "2020-08-17T08:37:22Z")

</div>

hi, I just realised that ansible installs on user home folder $ whereis ansible-playbook ansible-playbook: /home/msopena/.local/bin/ansible-playbook how can I install ansible system-wide so I can install it once and …

---

## [Having issue with BigIP F5 modules](https://forum.ansible.com/t/having-issue-with-bigip-f5-modules/33613)

<div class="topic-metadata">

**Author:** [@Laurent\_FIDA](https://forum.ansible.com/u/Laurent_FIDA)\
**Replies:** 3\
**Last updated:** [August 17, 2020, 8:01am UTC](https://forum.ansible.com/t/having-issue-with-bigip-f5-modules/33613 "2020-08-17T08:01:27Z")

</div>

Hi, I’m currently experiencing issue on BigIP F5 modules. My playboooks do not run on AWX environment but work CLI mode. Here is an output of the error: { “module\_stdout”: “”, “module\_stderr”: “Traceback (most recen…

---

## [How to add var file in task level and not playbook level](https://forum.ansible.com/t/how-to-add-var-file-in-task-level-and-not-playbook-level/33626)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 0\
**Last updated:** [August 17, 2020, 7:33am UTC](https://forum.ansible.com/t/how-to-add-var-file-in-task-level-and-not-playbook-level/33626 "2020-08-17T07:33:51Z")

</div>

This is not working Thanks - name: Update server etc/host vars\_files: /opt/defaults/defaults.yml lineinfile: path: /etc/hosts line: "{{ external\_address }} {{ service\_name }}" state: present …

---

## [How do i install an ansible galaxy role from a tar.gz file as non-root user ?](https://forum.ansible.com/t/how-do-i-install-an-ansible-galaxy-role-from-a-tar-gz-file-as-non-root-user/33621)

<div class="topic-metadata">

**Author:** [@Hans\_Lammerts](https://forum.ansible.com/u/Hans_Lammerts)\
**Replies:** 1\
**Last updated:** [August 17, 2020, 7:25am UTC](https://forum.ansible.com/t/how-do-i-install-an-ansible-galaxy-role-from-a-tar-gz-file-as-non-root-user/33621 "2020-08-17T07:25:11Z")

</div>

Hi, I have seen a number of sites that explain how to install a role from a tar.gz file using ansible-galaxy, and they all seem to say the same thing. In my case I have downloaded the following role file from ansible g…

---

## [Use of VARS and Register at the same time](https://forum.ansible.com/t/use-of-vars-and-register-at-the-same-time/33624)

<div class="topic-metadata">

**Author:** [@Poseidon\_Olympian](https://forum.ansible.com/u/Poseidon_Olympian)\
**Replies:** 0\
**Last updated:** [August 16, 2020, 6:38pm UTC](https://forum.ansible.com/t/use-of-vars-and-register-at-the-same-time/33624 "2020-08-16T18:38:22Z")

</div>

Hello, Appreciated of any Help… I’m looking for any approached or solution that a Variable (VARS) and Register would be able to use in one TASK Copy Module. here’s my Code as example… Basically, I need to copy all cf…

---

## [kerberos error when connecting to windows machine](https://forum.ansible.com/t/kerberos-error-when-connecting-to-windows-machine/33623)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 0\
**Last updated:** [August 16, 2020, 6:03pm UTC](https://forum.ansible.com/t/kerberos-error-when-connecting-to-windows-machine/33623 "2020-08-16T18:03:45Z")

</div>

keep getting this error on a windows machine UNREACHABLE! =\> { “changed”: false, “msg”: “kerberos: (‘Connection aborted.’, error(104, ‘Connection reset by peer’))”, “unreachable”: true any idea? HTTPS is listenin…

---

## [Display file content in body of mail module](https://forum.ansible.com/t/display-file-content-in-body-of-mail-module/33620)

<div class="topic-metadata">

**Author:** [@Sivaraman\_P](https://forum.ansible.com/u/Sivaraman_P)\
**Replies:** 6\
**Last updated:** [August 15, 2020, 10:58am UTC](https://forum.ansible.com/t/display-file-content-in-body-of-mail-module/33620 "2020-08-15T10:58:21Z")

</div>

Hi All, How to display the file contents in the body of the mail module. mail: body: /tmp/file2.txt

---

## [Get VM ipAdress on AWX hostname\_variable using VMWare dynamic inventory](https://forum.ansible.com/t/get-vm-ipadress-on-awx-hostname-variable-using-vmware-dynamic-inventory/33619)

<div class="topic-metadata">

**Author:** [@Alfredo\_Albuerne](https://forum.ansible.com/u/Alfredo_Albuerne)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 8:21pm UTC](https://forum.ansible.com/t/get-vm-ipadress-on-awx-hostname-variable-using-vmware-dynamic-inventory/33619 "2020-08-14T20:21:56Z")

</div>

Hello: I’m kind of new using VMWare dynamic inventory plugin vmware\_vm\_inventory in AWX. I was wondering if there is a way to return the VM ip address in the hostname\_variable in AWX VMware dynamic inventory. I’m usin…

---

## [How can I roll out files to multiple remote /home/\* directories?](https://forum.ansible.com/t/how-can-i-roll-out-files-to-multiple-remote-home-directories/31296)

<div class="topic-metadata">

**Author:** [@scorp123](https://forum.ansible.com/u/scorp123)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 8:21pm UTC](https://forum.ansible.com/t/how-can-i-roll-out-files-to-multiple-remote-home-directories/31296 "2020-08-14T20:21:40Z")

</div>

I have this playbook to roll out “dot” config files: — - hosts: linuxboxes tasks: - name: Update .\* config files in $HOME copy: src: “{{ item }}” dest: /home/user1/ owner: user1 group: user1 with\_fileglob: - /home/maste…

---

## [Failed to import the required Python library (pexpect)](https://forum.ansible.com/t/failed-to-import-the-required-python-library-pexpect/33618)

<div class="topic-metadata">

**Author:** [@Nagesh\_sheregar](https://forum.ansible.com/u/Nagesh_sheregar)\
**Replies:** 5\
**Last updated:** [August 14, 2020, 7:25pm UTC](https://forum.ansible.com/t/failed-to-import-the-required-python-library-pexpect/33618 "2020-08-14T19:25:07Z")

</div>

Hi team, i am getting below error, pexpect already installed he full traceback is: Traceback (most recent call last): File “/tmp/ansible\_expect\_payload\_0bz7tQ/main.py”, line 108, in import pexpect ImportError: No …

---

## [how to fetch substring from vairbale or ansible vriable or facts](https://forum.ansible.com/t/how-to-fetch-substring-from-vairbale-or-ansible-vriable-or-facts/33617)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 1\
**Last updated:** [August 14, 2020, 5:50pm UTC](https://forum.ansible.com/t/how-to-fetch-substring-from-vairbale-or-ansible-vriable-or-facts/33617 "2020-08-14T17:50:38Z")

</div>

Hello Team, How can we check if variable demo01 has 01 in it in ansible. i have server with hostanme server01 and server02 i want some task to be applied to only 01 machines how can i do it.

---

## [run cmd using password](https://forum.ansible.com/t/run-cmd-using-password/33610)

<div class="topic-metadata">

**Author:** [@Nagesh\_sheregar](https://forum.ansible.com/u/Nagesh_sheregar)\
**Replies:** 5\
**Last updated:** [August 14, 2020, 5:40pm UTC](https://forum.ansible.com/t/run-cmd-using-password/33610 "2020-08-14T17:40:45Z")

</div>

Hi Team, i would like to run this cmd with sudo with vcf password how i can run the cmd with vcf user and password ? how i can achieve this ? i am not getting proper answer from the google Playbook:

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

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