# Latest

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

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

**Page:** 285

---

## [powershell](https://forum.ansible.com/t/powershell/35674)

<div class="topic-metadata">

**Author:** [@Sakshi\_Jain](https://forum.ansible.com/u/Sakshi_Jain)\
**Replies:** 0\
**Last updated:** [August 25, 2021, 10:24am UTC](https://forum.ansible.com/t/powershell/35674 "2021-08-25T10:24:59Z")

</div>

Steps get the latest file name , file name format : ‘.txt’ check the file content , upto line containing AMP , updated with today’s logs archive/compress the file delete the original file \[ansible@ip-172-31-25-114 pla…

---

## [How to find Virtual or Physical?](https://forum.ansible.com/t/how-to-find-virtual-or-physical/35665)

<div class="topic-metadata">

**Author:** [@Somasundaram\_R](https://forum.ansible.com/u/Somasundaram_R)\
**Replies:** 5\
**Last updated:** [August 25, 2021, 2:55am UTC](https://forum.ansible.com/t/how-to-find-virtual-or-physical/35665 "2021-08-25T02:55:39Z")

</div>

Hi everyone, Please help me to find host is virtual or physical from ansible facts.Thanks. Is it possible to get the details from “ansible\_virtualization\_type”. Or is there any better idea. Thanks in advance

---

## [Ansible - Install Microsoft Office](https://forum.ansible.com/t/ansible-install-microsoft-office/35670)

<div class="topic-metadata">

**Author:** [@Gabriel\_Viegas](https://forum.ansible.com/u/Gabriel_Viegas)\
**Replies:** 0\
**Last updated:** [August 24, 2021, 5:40pm UTC](https://forum.ansible.com/t/ansible-install-microsoft-office/35670 "2021-08-24T17:40:11Z")

</div>

I’m wanting to install Microsoft Office on notebooks, but I have machines that have 2016 and 2019 licenses. Can anyone tell me if it’s possible to choose between the two options and install only one with some module in A…

---

## [break this up into tasks and roles and variables](https://forum.ansible.com/t/break-this-up-into-tasks-and-roles-and-variables/35656)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 16\
**Last updated:** [August 24, 2021, 2:58pm UTC](https://forum.ansible.com/t/break-this-up-into-tasks-and-roles-and-variables/35656 "2021-08-24T14:58:39Z")

</div>

how do I break this play up into roles/tasks/variables etc…

---

## [Ansible-Galaxy collection error](https://forum.ansible.com/t/ansible-galaxy-collection-error/35666)

<div class="topic-metadata">

**Author:** [@agenttank](https://forum.ansible.com/u/agenttank)\
**Replies:** 6\
**Last updated:** [August 24, 2021, 1:24pm UTC](https://forum.ansible.com/t/ansible-galaxy-collection-error/35666 "2021-08-24T13:24:18Z")

</div>

Hi! Finally, after many hours, AWX 19.3.0 is working. Please, I hope you can help me with this… There is no “ansible-galaxy” command in the pod (I guess it wouldn’t even be persistent) to add ansible-galaxy collection…

---

## [Ansible windows unzip module is failing, how to fix that?](https://forum.ansible.com/t/ansible-windows-unzip-module-is-failing-how-to-fix-that/34045)

<div class="topic-metadata">

**Author:** [@uday1kiran](https://forum.ansible.com/u/uday1kiran)\
**Replies:** 3\
**Last updated:** [August 24, 2021, 12:52pm UTC](https://forum.ansible.com/t/ansible-windows-unzip-module-is-failing-how-to-fix-that/34045 "2021-08-24T12:52:31Z")

</div>

My task part of playbook. name: unzip mavenwin\_unzip: src: C:\\tools\\maven.zip dest: C:\\tools\\maven recurse: yes delete\_archive: yes output: TASK \[unzip maven\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [When creating a new directory permissions are always 644](https://forum.ansible.com/t/when-creating-a-new-directory-permissions-are-always-644/35663)

<div class="topic-metadata">

**Author:** [@CaptainBrewing](https://forum.ansible.com/u/CaptainBrewing)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 11:45pm UTC](https://forum.ansible.com/t/when-creating-a-new-directory-permissions-are-always-644/35663 "2021-08-23T23:45:13Z")

</div>

I have the following play to create a new directory name: Create DataDog Conf.d directory for Proprietary Apps file: path: “/etc/datadog-agent/conf.d/{{ applicaton\_name }}.d” state: directory mode: 0755 owner: “dd…

---

## [Basic help with roles and tasks](https://forum.ansible.com/t/basic-help-with-roles-and-tasks/35642)

<div class="topic-metadata">

**Author:** [@StephenW](https://forum.ansible.com/u/StephenW)\
**Replies:** 1\
**Last updated:** [August 23, 2021, 11:25pm UTC](https://forum.ansible.com/t/basic-help-with-roles-and-tasks/35642 "2021-08-23T23:25:29Z")

</div>

I’m attempting to using AWX to deploy some playbooks using Roles. I’ve got a Project (‘webservers.git’) which I’m applying to an Inventory and it’s deploying the tasks held within it. But I want to migrate some of the t…

---

## [Retrieve facts from a lookup plugin](https://forum.ansible.com/t/retrieve-facts-from-a-lookup-plugin/35662)

<div class="topic-metadata">

**Author:** [@John\_Day](https://forum.ansible.com/u/John_Day)\
**Replies:** 3\
**Last updated:** [August 23, 2021, 10:18pm UTC](https://forum.ansible.com/t/retrieve-facts-from-a-lookup-plugin/35662 "2021-08-23T22:18:08Z")

</div>

I am building a lookup plugin to help with identifying AWS resource ids from other relevant resource information, e.g. the Name tag. My issue is that I need the region, access key id, and secret access key to invoke the…

---

## [Lets encrypt (http to https) configure on ansible awx](https://forum.ansible.com/t/lets-encrypt-http-to-https-configure-on-ansible-awx/35631)

<div class="topic-metadata">

**Author:** [@MySQL\_tute\_s](https://forum.ansible.com/u/MySQL_tute_s)\
**Replies:** 3\
**Last updated:** [August 23, 2021, 5:02pm UTC](https://forum.ansible.com/t/lets-encrypt-http-to-https-configure-on-ansible-awx/35631 "2021-08-23T17:02:48Z")

</div>

Hi Team, i want to run my ansible awx on https with lets encrypt enabled. can some one please help on how to configure this.

---

## [Run exe file with spaces in the filename using Win Command](https://forum.ansible.com/t/run-exe-file-with-spaces-in-the-filename-using-win-command/35655)

<div class="topic-metadata">

**Author:** [@david.burtton](https://forum.ansible.com/u/david.burtton)\
**Replies:** 3\
**Last updated:** [August 23, 2021, 3:22pm UTC](https://forum.ansible.com/t/run-exe-file-with-spaces-in-the-filename-using-win-command/35655 "2021-08-23T15:22:29Z")

</div>

I’m trying to run an exe with a space in the filename using the Win Command module. For example ‘filenames with spaces.exe’ I have other playbooks that use win command to run exe files, but those files don’t have space…

---

## [x509\_certificate – Generate and/or check OpenSSL certificates](https://forum.ansible.com/t/x509-certificate-generate-and-or-check-openssl-certificates/35661)

<div class="topic-metadata">

**Author:** [@Adir](https://forum.ansible.com/u/Adir)\
**Replies:** 3\
**Last updated:** [August 23, 2021, 2:59pm UTC](https://forum.ansible.com/t/x509-certificate-generate-and-or-check-openssl-certificates/35661 "2021-08-23T14:59:29Z")

</div>

Hi, Can i use x509\_certificate – Generate and/or check OpenSSL certificates Module over Windows target machines?? Thanks,

---

## [How to prevent ansible to suppress escaped quotes?](https://forum.ansible.com/t/how-to-prevent-ansible-to-suppress-escaped-quotes/35653)

<div class="topic-metadata">

**Author:** [@Gaetan\_QUENTIN](https://forum.ansible.com/u/Gaetan_QUENTIN)\
**Replies:** 6\
**Last updated:** [August 23, 2021, 2:09pm UTC](https://forum.ansible.com/t/how-to-prevent-ansible-to-suppress-escaped-quotes/35653 "2021-08-23T14:09:57Z")

</div>

Hi, in a json file we have this escaped quoted part: { inputs: { &quot;value&quot;: &quot;my \\\\&quot; value \\\\&quot; is here&quot; \[ .. \] this json file is read from extra var at command line: -e "@inputs.json" th…

---

## [DependsOn and ansible.windows.win\_dsc](https://forum.ansible.com/t/dependson-and-ansible-windows-win-dsc/35597)

<div class="topic-metadata">

**Author:** [@Tony\_Hogsten](https://forum.ansible.com/u/Tony_Hogsten)\
**Replies:** 2\
**Last updated:** [August 22, 2021, 7:20pm UTC](https://forum.ansible.com/t/dependson-and-ansible-windows-win-dsc/35597 "2021-08-22T19:20:54Z")

</div>

Hello! I’m trying to figure out how I can write dependsOn with the win\_dsc module. As far as I understand it, the dsc configuration itself isn’t started with a name, see https://github.com/ansible-collections/ansible.wi…

---

## [Ubuntu Server in gns3 project ssh with nat0 of my ubuntu OS](https://forum.ansible.com/t/ubuntu-server-in-gns3-project-ssh-with-nat0-of-my-ubuntu-os/35659)

<div class="topic-metadata">

**Author:** [@Vivek\_Sutar](https://forum.ansible.com/u/Vivek_Sutar)\
**Replies:** 0\
**Last updated:** [August 22, 2021, 5:57am UTC](https://forum.ansible.com/t/ubuntu-server-in-gns3-project-ssh-with-nat0-of-my-ubuntu-os/35659 "2021-08-22T05:57:42Z")

</div>

Hello Team, I am trying to establish ssh connection between nat0 with ubuntu server in gns3 as shown below I allowed PermitRootLogin Yes in /etc/ssh/sshd\_config and using ansible commands as a root user My Ssh con…

---

## [transforming survey values](https://forum.ansible.com/t/transforming-survey-values/35657)

<div class="topic-metadata">

**Author:** [@omoeko](https://forum.ansible.com/u/omoeko)\
**Replies:** 0\
**Last updated:** [August 21, 2021, 11:20am UTC](https://forum.ansible.com/t/transforming-survey-values/35657 "2021-08-21T11:20:03Z")

</div>

Hi All. I am looking to create transform the user input values from a user survey. The idea is to accept filenames as input, and the input will then be passed onto my script in this format. ‘file1’,‘file2’,‘file3’ Th…

---

## [Can't proceed with\_items and register](https://forum.ansible.com/t/cant-proceed-with-items-and-register/35652)

<div class="topic-metadata">

**Author:** [@user62](https://forum.ansible.com/u/user62)\
**Replies:** 2\
**Last updated:** [August 20, 2021, 4:07pm UTC](https://forum.ansible.com/t/cant-proceed-with-items-and-register/35652 "2021-08-20T16:07:53Z")

</div>

Hello! Here is the problem: name: Check for RSA-Key existence stat: path: /opt/cert/{{item.username}}.key with\_items: “{{roles}}” register: rsa name: debug debug: var: item.stat.exists loop: “{{rsa.results}…

---

## [become with runas  method not work on some of my machines](https://forum.ansible.com/t/become-with-runas-method-not-work-on-some-of-my-machines/35618)

<div class="topic-metadata">

**Author:** [@java\_ran](https://forum.ansible.com/u/java_ran)\
**Replies:** 2\
**Last updated:** [August 20, 2021, 3:48pm UTC](https://forum.ansible.com/t/become-with-runas-method-not-work-on-some-of-my-machines/35618 "2021-08-20T15:48:58Z")

</div>

hi there, I have a playbook which set runas as the become method, as I run it with AWX it wont work on some machine to run any task which has become set to yes. and it shows error as bellow. but if I comment “become\_met…

---

## [vmware tools installed but not running after reboot](https://forum.ansible.com/t/vmware-tools-installed-but-not-running-after-reboot/35654)

<div class="topic-metadata">

**Author:** [@Dmitry](https://forum.ansible.com/u/Dmitry)\
**Replies:** 0\
**Last updated:** [August 20, 2021, 3:28pm UTC](https://forum.ansible.com/t/vmware-tools-installed-but-not-running-after-reboot/35654 "2021-08-20T15:28:07Z")

</div>

Hi, here is my playbook for windows vm deployment with ansible and vsphere community. community.vmware.vmware\_guest\_tools\_wait waiting for tools installation but after next tasks they are not starts again. Why?

---

## [Ansible-PlayBook to set Password Complexity in Linux 7.6](https://forum.ansible.com/t/ansible-playbook-to-set-password-complexity-in-linux-7-6/35647)

<div class="topic-metadata">

**Author:** [@Rifky\_Ramadhana](https://forum.ansible.com/u/Rifky_Ramadhana)\
**Replies:** 1\
**Last updated:** [August 20, 2021, 2:41pm UTC](https://forum.ansible.com/t/ansible-playbook-to-set-password-complexity-in-linux-7-6/35647 "2021-08-20T14:41:15Z")

</div>

Dear All, I have so many servers using RHEL 7.6. as pci dss compliance we should confugre the password complexity as PCI standard. I have plan to use ansible as automation tools to configure or hardening password comple…

---

## [Fetch rootdse from LDAP server](https://forum.ansible.com/t/fetch-rootdse-from-ldap-server/35644)

<div class="topic-metadata">

**Author:** [@mark.tovey](https://forum.ansible.com/u/mark.tovey)\
**Replies:** 2\
**Last updated:** [August 20, 2021, 2:07pm UTC](https://forum.ansible.com/t/fetch-rootdse-from-ldap-server/35644 "2021-08-20T14:07:31Z")

</div>

I am trying to use community.general.ldap\_search to return the RootDSE from a LDAP server (RedHat Directory Server). The LDAP server is configured to allow anonymous access to the RootDSE (nsslapd-allow-anonymous-access:…

---

## ["offline is not a failure" how?](https://forum.ansible.com/t/offline-is-not-a-failure-how/35650)

<div class="topic-metadata">

**Author:** [@Mathias\_Homann](https://forum.ansible.com/u/Mathias_Homann)\
**Replies:** 2\
**Last updated:** [August 20, 2021, 10:45am UTC](https://forum.ansible.com/t/offline-is-not-a-failure-how/35650 "2021-08-20T10:45:44Z")

</div>

Hi, I have a play in AWX that is running against a group of windows hosts, but I have a few more hosts that \*could\* be part of that group but they aren't always running. How can I include those hosts in that group, b…

---

## [Linux Integration with AD using Thycotic Secret server](https://forum.ansible.com/t/linux-integration-with-ad-using-thycotic-secret-server/35645)

<div class="topic-metadata">

**Author:** [@Vinod\_P](https://forum.ansible.com/u/Vinod_P)\
**Replies:** 2\
**Last updated:** [August 20, 2021, 3:08am UTC](https://forum.ansible.com/t/linux-integration-with-ad-using-thycotic-secret-server/35645 "2021-08-20T03:08:14Z")

</div>

Hello All, Hope you all doing OK. Did any one tried integrating Thycotic Secret Server with AWX Ansible. Description - I Have a project to add all LINUX server to Windows Active directory. I was able to add the serve…

---

## [Anisbie ad-hoc inventory on command line](https://forum.ansible.com/t/anisbie-ad-hoc-inventory-on-command-line/35648)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [August 20, 2021, 3:04am UTC](https://forum.ansible.com/t/anisbie-ad-hoc-inventory-on-command-line/35648 "2021-08-20T03:04:21Z")

</div>

Is this the correct syntax for creating an ad-hoc, or on-the-fly inventory file from passed-in IP addresses? See the comma ( , ) before the end-quote of the inventory list?I I’m aware of inventory files and do use them. …

---

## [Help to change container interface MTU](https://forum.ansible.com/t/help-to-change-container-interface-mtu/35643)

<div class="topic-metadata">

**Author:** [@Hailson\_Ferreira](https://forum.ansible.com/u/Hailson_Ferreira)\
**Replies:** 0\
**Last updated:** [August 19, 2021, 6:02pm UTC](https://forum.ansible.com/t/help-to-change-container-interface-mtu/35643 "2021-08-19T18:02:38Z")

</div>

I’m trying to change container awx-task interface MTU 1450 to 1400 but this keep getting this error: \[root@awx-7948bf7847-7zqwm ~\]# ip link set dev eth0 mtu 1400 RTNETLINK answers: Operation not permitted \[root@awx-79…

---

## [AWX (19.3.0) Enable SSO](https://forum.ansible.com/t/awx-19-3-0-enable-sso/35641)

<div class="topic-metadata">

**Author:** [@Pintax](https://forum.ansible.com/u/Pintax)\
**Replies:** 0\
**Last updated:** [August 19, 2021, 5:17pm UTC](https://forum.ansible.com/t/awx-19-3-0-enable-sso/35641 "2021-08-19T17:17:27Z")

</div>

Hi team I had configured SAML in version 14, then upgraded to version 17.1.0, it worked, no specific problem. I just reinstalled AWX completely in version 19.3.0 with awx-operator, everything works too, except SSO. I …

---

## [Nested dir creation](https://forum.ansible.com/t/nested-dir-creation/35640)

<div class="topic-metadata">

**Author:** [@Satya\_S](https://forum.ansible.com/u/Satya_S)\
**Replies:** 0\
**Last updated:** [August 19, 2021, 1:23pm UTC](https://forum.ansible.com/t/nested-dir-creation/35640 "2021-08-19T13:23:39Z")

</div>

Hello All, I’m trying to the below: dir\_var: {app1: \[name: \[a1,a2\], dev: \[1,2\], prod: \[11,12\]\], app2: \[name: \[a3,a4\], dev: \[11,12\], prod: \[21.22\]\]} env: dev should create folders like this if env is ‘dev’ a1 a1/1 …

---

## [windows host automation](https://forum.ansible.com/t/windows-host-automation/35637)

<div class="topic-metadata">

**Author:** [@Sakshi\_Jain](https://forum.ansible.com/u/Sakshi_Jain)\
**Replies:** 2\
**Last updated:** [August 19, 2021, 10:41am UTC](https://forum.ansible.com/t/windows-host-automation/35637 "2021-08-19T10:41:06Z")

</div>

For windows host How to write tasks in ansible : Login into RDP machine Login into other machines from RDP machine Read email before starting the patching in the scheduled time Run any commands in rdp machine , like b…

---

## [windows host automation](https://forum.ansible.com/t/windows-host-automation/35638)

<div class="topic-metadata">

**Author:** [@Sakshi\_Jain](https://forum.ansible.com/u/Sakshi_Jain)\
**Replies:** 0\
**Last updated:** [August 19, 2021, 9:34am UTC](https://forum.ansible.com/t/windows-host-automation/35638 "2021-08-19T09:34:06Z")

</div>

For windows host How to write tasks in ansible : Login into RDP machine Login into other machines from RDP machine Read email before starting the patching in the scheduled time Run any commands in rdp machine , like b…

---

## [need assistance to gather access list rules associated with public ip's only using ansible](https://forum.ansible.com/t/need-assistance-to-gather-access-list-rules-associated-with-public-ips-only-using-ansible/35635)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 1\
**Last updated:** [August 19, 2021, 6:24am UTC](https://forum.ansible.com/t/need-assistance-to-gather-access-list-rules-associated-with-public-ips-only-using-ansible/35635 "2021-08-19T06:24:41Z")

</div>

You have to use regex patterns to match the desired ACL’s

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

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