# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=76

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

**Page:** 77

---

## [Unable to recall/display multiple register value in single ansible play book.](https://forum.ansible.com/t/unable-to-recall-display-multiple-register-value-in-single-ansible-play-book/35176)

<div class="topic-metadata">

**Author:** [@Jayan\_Anirudhan](https://forum.ansible.com/u/Jayan_Anirudhan)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 11:00am UTC](https://forum.ansible.com/t/unable-to-recall-display-multiple-register-value-in-single-ansible-play-book/35176 "2021-05-17T11:00:08Z")

</div>

Hi Team, I want to register multiple values and to display the details at the end. I have created a small playbook with two register value as mentioned below, but its display only single value instead of two. Can some b…

---

## [Is it possible to use ansible without root password ?](https://forum.ansible.com/t/is-it-possible-to-use-ansible-without-root-password/35132)

<div class="topic-metadata">

**Author:** [@Lomic\_Legone](https://forum.ansible.com/u/Lomic_Legone)\
**Replies:** 7\
**Last updated:** [May 17, 2021, 8:01am UTC](https://forum.ansible.com/t/is-it-possible-to-use-ansible-without-root-password/35132 "2021-05-17T08:01:20Z")

</div>

Hi all, I’m a newbee on ansible and I follow online tutos. I installed 2 ubuntu VM (named ubunt1 and ubunt2), one as node manager (ubuntu1) and the second one as simple node (ubuntu2). The ssh connection is tested and o…

---

## [How to use look-up plugin in ansible roles](https://forum.ansible.com/t/how-to-use-look-up-plugin-in-ansible-roles/35174)

<div class="topic-metadata">

**Author:** [@Komal\_Suthar](https://forum.ansible.com/u/Komal_Suthar)\
**Replies:** 3\
**Last updated:** [May 16, 2021, 10:18am UTC](https://forum.ansible.com/t/how-to-use-look-up-plugin-in-ansible-roles/35174 "2021-05-16T10:18:27Z")

</div>

Hello, I want to use look-up plugin to read a file in the roles so i kept that file in files folder and using the look-up in tasks/main file but it is not working anybody can help?

---

## [How do i use regex\_findall filter to display partial output of 'sh clock' command?](https://forum.ansible.com/t/how-do-i-use-regex-findall-filter-to-display-partial-output-of-sh-clock-command/35146)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 3\
**Last updated:** [May 16, 2021, 9:19am UTC](https://forum.ansible.com/t/how-do-i-use-regex-findall-filter-to-display-partial-output-of-sh-clock-command/35146 "2021-05-16T09:19:04Z")

</div>

In below output, i want only the ‘May 11 2021’ to be displayed on screen. Switch#sh clock 02:42:19.622 Sng Tue May 11 2021 Below is a sample script and used ‘regex’ filter as an example. How do i modify the script/ in…

---

## [How to fetch data from hp iLo](https://forum.ansible.com/t/how-to-fetch-data-from-hp-ilo/35168)

<div class="topic-metadata">

**Author:** [@NAVEEN](https://forum.ansible.com/u/NAVEEN)\
**Replies:** 11\
**Last updated:** [May 15, 2021, 6:02pm UTC](https://forum.ansible.com/t/how-to-fetch-data-from-hp-ilo/35168 "2021-05-15T18:02:18Z")

</div>

Hello guys, I want to display hp ilo version ,bios version bios date raid version… by using ANSIBLE code .can some one pls help me to achive that. I am new to ansible so pls help me out

---

## [Lookup Plugin and Remote-Execution](https://forum.ansible.com/t/lookup-plugin-and-remote-execution/35169)

<div class="topic-metadata">

**Author:** [@Marc\_Schlegel](https://forum.ansible.com/u/Marc_Schlegel)\
**Replies:** 3\
**Last updated:** [May 14, 2021, 10:28pm UTC](https://forum.ansible.com/t/lookup-plugin-and-remote-execution/35169 "2021-05-14T22:28:53Z")

</div>

Hello everyone I have to encrypt content in some configuration files on a target host by using encryption utilities provided by middleware (JBoss, Openliberty). The nicest solution would be, to encrypt the text while th…

---

## [Ansible License Requirements](https://forum.ansible.com/t/ansible-license-requirements/35157)

<div class="topic-metadata">

**Author:** [@Jatin\_Garg](https://forum.ansible.com/u/Jatin_Garg)\
**Replies:** 7\
**Last updated:** [May 13, 2021, 1:34pm UTC](https://forum.ansible.com/t/ansible-license-requirements/35157 "2021-05-13T13:34:11Z")

</div>

Hi Guys, I need to understand license requirements for commercial use of Ansible and AWX. I think that no license is required for Ansible and AWX. Please suggest. Regards, Jatin Garg

---

## [Can i install ansible as a non root user?](https://forum.ansible.com/t/can-i-install-ansible-as-a-non-root-user/35119)

<div class="topic-metadata">

**Author:** [@Smahane](https://forum.ansible.com/u/Smahane)\
**Replies:** 10\
**Last updated:** [May 13, 2021, 6:17am UTC](https://forum.ansible.com/t/can-i-install-ansible-as-a-non-root-user/35119 "2021-05-13T06:17:54Z")

</div>

Hello everyone, I have access to run on a cluster without root access. This cluster doesn’t have access to the public network (no git, wget, curl…) Can i install ansible on it? Thank you!

---

## [win\_file removing root directory when deleting files older than 30 days](https://forum.ansible.com/t/win-file-removing-root-directory-when-deleting-files-older-than-30-days/35160)

<div class="topic-metadata">

**Author:** [@Jeremy\_Smith](https://forum.ansible.com/u/Jeremy_Smith)\
**Replies:** 6\
**Last updated:** [May 12, 2021, 9:20pm UTC](https://forum.ansible.com/t/win-file-removing-root-directory-when-deleting-files-older-than-30-days/35160 "2021-05-12T21:20:57Z")

</div>

Hello All, Background: We have a “diagnostics” folder on our network that is used to store logs exported from our flagship application. The problem I’m trying to solve is to remove any files/folders older than 30 days …

---

## [Ansible read excel sheet to build inventory](https://forum.ansible.com/t/ansible-read-excel-sheet-to-build-inventory/35152)

<div class="topic-metadata">

**Author:** [@Abhishek\_Agawane](https://forum.ansible.com/u/Abhishek_Agawane)\
**Replies:** 2\
**Last updated:** [May 12, 2021, 5:41pm UTC](https://forum.ansible.com/t/ansible-read-excel-sheet-to-build-inventory/35152 "2021-05-12T17:41:09Z")

</div>

Hi All, Is there any way that i can import a list of hosts from an excel spreadsheet into ansible inventory so i can connect to each host via ansible and perform operations?

---

## [LVM vg space in when statements](https://forum.ansible.com/t/lvm-vg-space-in-when-statements/35159)

<div class="topic-metadata">

**Author:** [@Darryl\_Scott](https://forum.ansible.com/u/Darryl_Scott)\
**Replies:** 0\
**Last updated:** [May 12, 2021, 3:03pm UTC](https://forum.ansible.com/t/lvm-vg-space-in-when-statements/35159 "2021-05-12T15:03:37Z")

</div>

I have searched the group but couldn’t find the answer to my problem. I have a playbook that uses when clause for available space in volume group. I keep getting format errors when trying to run it. I have tried several…

---

## [Ansible for Windows](https://forum.ansible.com/t/ansible-for-windows/35154)

<div class="topic-metadata">

**Author:** [@Gabriel\_Viegas](https://forum.ansible.com/u/Gabriel_Viegas)\
**Replies:** 3\
**Last updated:** [May 12, 2021, 12:26pm UTC](https://forum.ansible.com/t/ansible-for-windows/35154 "2021-05-12T12:26:23Z")

</div>

I am completely new to Asnible, can anyone help me how to remove these errors? I can ping a Windows machine, but these errors always appear before.

---

## [Ansible-3.4.0 released](https://forum.ansible.com/t/ansible-3-4-0-released/35155)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [May 11, 2021, 10:23pm UTC](https://forum.ansible.com/t/ansible-3-4-0-released/35155 "2021-05-11T22:23:42Z")

</div>

Hi all, We're happy to announce that the ansible-3.4.0 package has been released! The update contains bugfixes and new, backwards compatible features in the contained collections. If you would like to learn about how…

---

## [Ansible-4.0.0rc1](https://forum.ansible.com/t/ansible-4-0-0rc1/35151)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [May 11, 2021, 7:13pm UTC](https://forum.ansible.com/t/ansible-4-0-0rc1/35151 "2021-05-11T19:13:42Z")

</div>

Hi all, We're happy to announce that the Ansible-4.0.0 release candidate 1 package is now available! This update is based on the Ansible-core-2.11.x package which is a major update from the Ansible 3 package (Ansible…

---

## [temporary file "AnsiballZ\_setup.py" having syntax error #49757](https://forum.ansible.com/t/temporary-file-ansiballz-setup-py-having-syntax-error-49757/35150)

<div class="topic-metadata">

**Author:** [@Rizwan\_Khan](https://forum.ansible.com/u/Rizwan_Khan)\
**Replies:** 1\
**Last updated:** [May 11, 2021, 7:11pm UTC](https://forum.ansible.com/t/temporary-file-ansiballz-setup-py-having-syntax-error-49757/35150 "2021-05-11T19:11:10Z")

</div>

Having the same issue as: https://github.com/ansible/ansible/issues/49757 Python version is 3.2.3 on Freebsd9. Python 3.2.3 (default, Aug 30 2012, 13:58:20) \[GCC 4.2.1 20070719 \[FreeBSD\]\] on freebsd9

---

## [Failed to load inventory plugin, skipping yml](https://forum.ansible.com/t/failed-to-load-inventory-plugin-skipping-yml/35143)

<div class="topic-metadata">

**Author:** [@Suneel\_Hegde](https://forum.ansible.com/u/Suneel_Hegde)\
**Replies:** 4\
**Last updated:** [May 11, 2021, 11:46am UTC](https://forum.ansible.com/t/failed-to-load-inventory-plugin-skipping-yml/35143 "2021-05-11T11:46:25Z")

</div>

Hello Team, I am trying to do ansible all --list-hosts -vvvvvvv and try to ping the hosts but getting this error could you please help me to solve this problem? suneelkumar@LT Ansible % ansible all --list-hosts -vvvvvv…

---

## [Using stdout\[0\] in below script changes the output a lot. Trying to understand why?](https://forum.ansible.com/t/using-stdout-0-in-below-script-changes-the-output-a-lot-trying-to-understand-why/35145)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 7:54pm UTC](https://forum.ansible.com/t/using-stdout-0-in-below-script-changes-the-output-a-lot-trying-to-understand-why/35145 "2021-05-10T19:54:02Z")

</div>

My question on stdout\[0\] is specific to below output. As i understand from ansible documentation, stdout means that it quotes the output of a variable and \[0\] means referencing the first char or command. I am just trying…

---

## [Need clarification for 'prompt' parameter of ios\_command module](https://forum.ansible.com/t/need-clarification-for-prompt-parameter-of-ios-command-module/35144)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 7:47pm UTC](https://forum.ansible.com/t/need-clarification-for-prompt-parameter-of-ios-command-module/35144 "2021-05-10T19:47:12Z")

</div>

I need clarification when using ‘prompt’ parameter of ios\_command module with regards to below command. Below is the sample script to copy ios image. Please look at line with ‘prompt’ command - i need to give the comman…

---

## [SyntaxWarnings after System Update ansible 3.9.6, Python 3.8](https://forum.ansible.com/t/syntaxwarnings-after-system-update-ansible-3-9-6-python-3-8/35141)

<div class="topic-metadata">

**Author:** [@Matthias\_Grahn](https://forum.ansible.com/u/Matthias_Grahn)\
**Replies:** 2\
**Last updated:** [May 10, 2021, 2:42pm UTC](https://forum.ansible.com/t/syntaxwarnings-after-system-update-ansible-3-9-6-python-3-8/35141 "2021-05-10T14:42:04Z")

</div>

Hi there, I did an System update recently and now I get this Python warning: SyntaxWarning: “is” with a literal. Did you mean “==”? when I run my playbook. I guess it has to do with conditions like in this task: nam…

---

## [Custom script](https://forum.ansible.com/t/custom-script/35140)

<div class="topic-metadata">

**Author:** [@Jaime\_Jaca](https://forum.ansible.com/u/Jaime_Jaca)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 8:16am UTC](https://forum.ansible.com/t/custom-script/35140 "2021-05-10T08:16:53Z")

</div>

In AWX version 17.0.1 custom scripts are not working, is this a bug or has it been removed in all subsequent versions? it also doesn’t allow me to load it from git

---

## [how to create a GCP disk from a GCP snapshot](https://forum.ansible.com/t/how-to-create-a-gcp-disk-from-a-gcp-snapshot/35137)

<div class="topic-metadata">

**Author:** [@thor01](https://forum.ansible.com/u/thor01)\
**Replies:** 0\
**Last updated:** [May 9, 2021, 2:02pm UTC](https://forum.ansible.com/t/how-to-create-a-gcp-disk-from-a-gcp-snapshot/35137 "2021-05-09T14:02:05Z")

</div>

Hi all, I am new to Ansible and I am trying to figure out who to create a GCP disk from a GCP snapshot, using the gcp\_compute\_disk module. I am using the following documentation: https://docs.ansible.com/ansible/latest/c…

---

## [Pfsense install via ansible playbook](https://forum.ansible.com/t/pfsense-install-via-ansible-playbook/35135)

<div class="topic-metadata">

**Author:** [@bec12317](https://forum.ansible.com/u/bec12317)\
**Replies:** 3\
**Last updated:** [May 7, 2021, 7:56pm UTC](https://forum.ansible.com/t/pfsense-install-via-ansible-playbook/35135 "2021-05-07T19:56:27Z")

</div>

Hello, Please can someone help me with how to install pfsense using ansible on a remote host? Any suggestion is appreciated. Thank you

---

## [seboolean module in 2.10](https://forum.ansible.com/t/seboolean-module-in-2-10/35127)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 3\
**Last updated:** [May 7, 2021, 3:54pm UTC](https://forum.ansible.com/t/seboolean-module-in-2-10/35127 "2021-05-07T15:54:33Z")

</div>

The seboolean module has apparently disappeared from Ansible 2.10. It also doesn’t exist in community.general. I couldn’t find any documentation saying it was deprecated. Is there a replacement? Example playbook: - …

---

## [Kerberos without dns](https://forum.ansible.com/t/kerberos-without-dns/35125)

<div class="topic-metadata">

**Author:** [@Gajendra\_Gaikwad1](https://forum.ansible.com/u/Gajendra_Gaikwad1)\
**Replies:** 2\
**Last updated:** [May 7, 2021, 3:25pm UTC](https://forum.ansible.com/t/kerberos-without-dns/35125 "2021-05-07T15:25:31Z")

</div>

Hello Team, Is there anyway to use kerberos without DNS or with /etc/hosts file. Thank you in advance. Regards, GG

---

## [Jinja template as variable value](https://forum.ansible.com/t/jinja-template-as-variable-value/35122)

<div class="topic-metadata">

**Author:** [@Mario\_S](https://forum.ansible.com/u/Mario_S)\
**Replies:** 4\
**Last updated:** [May 7, 2021, 2:20pm UTC](https://forum.ansible.com/t/jinja-template-as-variable-value/35122 "2021-05-07T14:20:38Z")

</div>

Hello I’m trying to use jinja template as value for ansible.builtin.lineinfile module in role task. named ├── tasks │ ├── config.yml │ ├── main.yml ├── templates │ ├── option.ji2 │ ├── view.ji2 ansible.builtin.l…

---

## [How to list a subelement from hostvars for all ansible\_play\_hosts in a single line](https://forum.ansible.com/t/how-to-list-a-subelement-from-hostvars-for-all-ansible-play-hosts-in-a-single-line/35133)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 1\
**Last updated:** [May 7, 2021, 1:17pm UTC](https://forum.ansible.com/t/how-to-list-a-subelement-from-hostvars-for-all-ansible-play-hosts-in-a-single-line/35133 "2021-05-07T13:17:32Z")

</div>

The use case is to run a specific task once over all hosts only when at least one host failed the previous task. It could be something like: name: How to list a subelement from hostvars for all ansible\_play\_hosts ga…

---

## [using lookup(csvfile) with and encrypted file with vault fails](https://forum.ansible.com/t/using-lookup-csvfile-with-and-encrypted-file-with-vault-fails/35131)

<div class="topic-metadata">

**Author:** [@Pabolito\_Garci](https://forum.ansible.com/u/Pabolito_Garci)\
**Replies:** 2\
**Last updated:** [May 7, 2021, 11:16am UTC](https://forum.ansible.com/t/using-lookup-csvfile-with-and-encrypted-file-with-vault-fails/35131 "2021-05-07T11:16:33Z")

</div>

Hello, Using ansible 2.9.19 in a RHEL7.8 server python version = 2.7.5 I am trying to set facts from a lookup into a csv file. The playbook works but as the facts set are passwords, I need to encrypt the content to th…

---

## [Ansible Inventory Security (all)](https://forum.ansible.com/t/ansible-inventory-security-all/35126)

<div class="topic-metadata">

**Author:** [@Martin\_Parrella](https://forum.ansible.com/u/Martin_Parrella)\
**Replies:** 1\
**Last updated:** [May 6, 2021, 7:25pm UTC](https://forum.ansible.com/t/ansible-inventory-security-all/35126 "2021-05-06T19:25:54Z")

</div>

Hi there! Is there any way to overwrite the ‘all/\*’ keyword in Ansible inventory? How can we prevent someone to run something nasty (intentionally or by mistake) over all our inventory? We did a couple of tests using a …

---

## [Idempotency in amazon..aws.ec2](https://forum.ansible.com/t/idempotency-in-amazon-aws-ec2/35118)

<div class="topic-metadata">

**Author:** [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Replies:** 2\
**Last updated:** [May 6, 2021, 3:17pm UTC](https://forum.ansible.com/t/idempotency-in-amazon-aws-ec2/35118 "2021-05-06T15:17:40Z")

</div>

Hi ansible squad! I’ve been using amazon.aws.ec2 (or community.aws.ec2\_instance - ive been switching back and forth) to ensure there is an ec2 instance created for each {{ inventory\_hostname }} by using tags. It doesn’t…

---

## [Passing ldapServers to ldap\_client\_create](https://forum.ansible.com/t/passing-ldapservers-to-ldap-client-create/35124)

<div class="topic-metadata">

**Author:** [@Gene\_DiCesare](https://forum.ansible.com/u/Gene_DiCesare)\
**Replies:** 0\
**Last updated:** [May 6, 2021, 2:34pm UTC](https://forum.ansible.com/t/passing-ldapservers-to-ldap-client-create/35124 "2021-05-06T14:34:29Z")

</div>

Hi, I am having issues using the SDK module ldap\_client\_create via the zapit module. In particular, trying to pass a list of LDAP servers seems to experience two issue which I can not figure out… First, the SDK Doc I h…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=75)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=77)
