# Ansible Project

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

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

**Page:** 32

---

## [ansible templating error](https://forum.ansible.com/t/ansible-templating-error/37384)

<div class="topic-metadata">

**Author:** [@sdarwin](https://forum.ansible.com/u/sdarwin)\
**Replies:** 0\
**Last updated:** [November 24, 2022, 2:42pm UTC](https://forum.ansible.com/t/ansible-templating-error/37384 "2022-11-24T14:42:44Z")

</div>

Hi, I just encountered a funny problem deploying an ansible role. One of the templates didn’t render, and the message was: AnsibleError: template error while templating string: tag name expected. String: Then it showe…

---

## [Ansible VMware - create datastore](https://forum.ansible.com/t/ansible-vmware-create-datastore/37369)

<div class="topic-metadata">

**Author:** [@Mike\_Smart](https://forum.ansible.com/u/Mike_Smart)\
**Replies:** 2\
**Last updated:** [November 21, 2022, 1:03pm UTC](https://forum.ansible.com/t/ansible-vmware-create-datastore/37369 "2022-11-21T13:03:27Z")

</div>

Hello , my ESXi (Dell T350) has two virtual drives. 1.st is 2\*SDD raid 1 for the Hypervisor 7.03 = datastore1 which is automatically created by installing the Hypervisor via kickstart. Now my question is about the bes…

---

## [Create File Directory inside Domain User Account](https://forum.ansible.com/t/create-file-directory-inside-domain-user-account/37373)

<div class="topic-metadata">

**Author:** [@Emerson\_Natividad](https://forum.ansible.com/u/Emerson_Natividad)\
**Replies:** 0\
**Last updated:** [November 21, 2022, 10:35am UTC](https://forum.ansible.com/t/create-file-directory-inside-domain-user-account/37373 "2022-11-21T10:35:21Z")

</div>

Hi Everyone, I just want to ask what is the playbook script/s to create files or directory inside of Domain Users Desktop? TIA.

---

## [Execution Enviroment - IAM service account](https://forum.ansible.com/t/execution-enviroment-iam-service-account/37367)

<div class="topic-metadata">

**Author:** [@Marcos\_Bonfanti](https://forum.ansible.com/u/Marcos_Bonfanti)\
**Replies:** 0\
**Last updated:** [November 18, 2022, 10:09pm UTC](https://forum.ansible.com/t/execution-enviroment-iam-service-account/37367 "2022-11-18T22:09:06Z")

</div>

Hi Everybody! There is any way of use AWS IAM roles in AWX execution environments ? I cant find any documentation about this. The only thing that I found was spec: service\_account\_annotations: | eks.amazonaws.com/r…

---

## [parse json help](https://forum.ansible.com/t/parse-json-help/37366)

<div class="topic-metadata">

**Author:** [@williamflow](https://forum.ansible.com/u/williamflow)\
**Replies:** 0\
**Last updated:** [November 18, 2022, 8:52pm UTC](https://forum.ansible.com/t/parse-json-help/37366 "2022-11-18T20:52:39Z")

</div>

So I have a little PB that makes and API call to get some data: name: API Commmand to get Snipe-IT List User asests checked out ansible.builtin.uri: url: http://snipeit.xxx.com/api/v1/users/{{uuid}}/assets headers: …

---

## [Physical servers prechecks playbook](https://forum.ansible.com/t/physical-servers-prechecks-playbook/37346)

<div class="topic-metadata">

**Author:** [@Abhiroxxx](https://forum.ansible.com/u/Abhiroxxx)\
**Replies:** 6\
**Last updated:** [November 18, 2022, 8:34am UTC](https://forum.ansible.com/t/physical-servers-prechecks-playbook/37346 "2022-11-18T08:34:54Z")

</div>

Hi All, Can someone please help me to get pre-checks from Lenovo physical servers via ansible-playbook? Someone has a sample playbook that can help me… Regards, Abhi

---

## [Print output in tabular column format.](https://forum.ansible.com/t/print-output-in-tabular-column-format/37357)

<div class="topic-metadata">

**Author:** [@saravanan\_jothilinga](https://forum.ansible.com/u/saravanan_jothilinga)\
**Replies:** 6\
**Last updated:** [November 16, 2022, 4:06pm UTC](https://forum.ansible.com/t/print-output-in-tabular-column-format/37357 "2022-11-16T16:06:33Z")

</div>

Hi, I need to get the ping status of all remote hosts and print its results in one neat tabular column format. Since I am a novice to ansible, I am looking for the appropriate playbook which does this. note - the below…

---

## [ansible playbook is not working on the target host but shows ok](https://forum.ansible.com/t/ansible-playbook-is-not-working-on-the-target-host-but-shows-ok/37358)

<div class="topic-metadata">

**Author:** [@Emerson\_Natividad](https://forum.ansible.com/u/Emerson_Natividad)\
**Replies:** 0\
**Last updated:** [November 16, 2022, 2:53pm UTC](https://forum.ansible.com/t/ansible-playbook-is-not-working-on-the-target-host-but-shows-ok/37358 "2022-11-16T14:53:18Z")

</div>

Hello, I don’t understand why in ansible its showing ok, but in host machine the updates still not installed and why it’s Skipping update. TIA Here’s my playbook:

---

## [Adding AD User to a local linux group](https://forum.ansible.com/t/adding-ad-user-to-a-local-linux-group/37350)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 8\
**Last updated:** [November 16, 2022, 1:27pm UTC](https://forum.ansible.com/t/adding-ad-user-to-a-local-linux-group/37350 "2022-11-16T13:27:36Z")

</div>

Hi all, Is there a way to add an AD user to a local linux group? the user function doesn’t work because it’s only looking in /etc/passwd for this user.

---

## [NMAP in Ansible](https://forum.ansible.com/t/nmap-in-ansible/37340)

<div class="topic-metadata">

**Author:** [@Manish\_Chawda](https://forum.ansible.com/u/Manish_Chawda)\
**Replies:** 4\
**Last updated:** [November 16, 2022, 1:19pm UTC](https://forum.ansible.com/t/nmap-in-ansible/37340 "2022-11-16T13:19:54Z")

</div>

Hi, Anyone is aware as to how to use nmap plugin to populate inventory dynamically from local premises ? Manish

---

## [Playbook skips the debug for no reason](https://forum.ansible.com/t/playbook-skips-the-debug-for-no-reason/37354)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 6\
**Last updated:** [November 16, 2022, 12:22pm UTC](https://forum.ansible.com/t/playbook-skips-the-debug-for-no-reason/37354 "2022-11-16T12:22:20Z")

</div>

Hi, I am not sure why the playbook skips the debug to print the output. Am i missing some thing ? name: Collect the JDK version of the updated package shell: “/apps/jdk1.8.0\_351/bin/java -version” register: jdksta…

---

## [Ansible 7.0.0rc1 has been released!](https://forum.ansible.com/t/ansible-7-0-0rc1-has-been-released/37355)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 0\
**Last updated:** [November 15, 2022, 9:52pm UTC](https://forum.ansible.com/t/ansible-7-0-0rc1-has-been-released/37355 "2022-11-15T21:52:22Z")

</div>

Hi all, We’re happy to announce that the Ansible 7.0.0rc1 package has been released! Ansible 7.0.0rc1 will include ansible-core 2.14.0 as well as a curated set of Ansible collections to provide a vast number of module…

---

## [Prompt option listing all the servers in inventory](https://forum.ansible.com/t/prompt-option-listing-all-the-servers-in-inventory/37349)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 0\
**Last updated:** [November 14, 2022, 9:40pm UTC](https://forum.ansible.com/t/prompt-option-listing-all-the-servers-in-inventory/37349 "2022-11-14T21:40:07Z")

</div>

Hi , I am trying to confirm the hosts which are selected for the execution with the prompt option. However I am prompted with all the servers in my inventory .(not sure how it pulls , may be ansible\_play\_batch) Help me…

---

## [Looking for a string inside a register](https://forum.ansible.com/t/looking-for-a-string-inside-a-register/37334)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 3\
**Last updated:** [November 14, 2022, 5:46pm UTC](https://forum.ansible.com/t/looking-for-a-string-inside-a-register/37334 "2022-11-14T17:46:51Z")

</div>

i’m running an API call in order to get indexes in Elastic – The output is saved inside a registry (index\_list). I want to run an additional job that runs only in case the policy name can be found in the register output…

---

## [Iterate with variable and items lists in With\_Items](https://forum.ansible.com/t/iterate-with-variable-and-items-lists-in-with-items/37338)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 5\
**Last updated:** [November 14, 2022, 3:44pm UTC](https://forum.ansible.com/t/iterate-with-variable-and-items-lists-in-with-items/37338 "2022-11-14T15:44:16Z")

</div>

Hello, I hope you can understand what I need, my english is not good, i still learning. I have a variable easyrsa\_clients: name: ‘{{ client }}’ and this tasks: name: "Copy files copy: src: ‘{{ item.src }}’ dest…

---

## [Can't fix "ERROR! the field 'hosts' is required but was not set"](https://forum.ansible.com/t/cant-fix-error-the-field-hosts-is-required-but-was-not-set/37336)

<div class="topic-metadata">

**Author:** [@Oneday\_onedayapps\_Ap](https://forum.ansible.com/u/Oneday_onedayapps_Ap)\
**Replies:** 2\
**Last updated:** [November 14, 2022, 2:38pm UTC](https://forum.ansible.com/t/cant-fix-error-the-field-hosts-is-required-but-was-not-set/37336 "2022-11-14T14:38:27Z")

</div>

---

## [now space left on remote\_tmp](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 8\
**Last updated:** [November 13, 2022, 1:24pm UTC](https://forum.ansible.com/t/now-space-left-on-remote-tmp/37337 "2022-11-13T13:24:04Z")

</div>

I am getting 12\<em\>fatal: \[VM-414001-0264.step.zrz.dvz.cn-mv.de\]: FAILED! =\> msg: 'failure writing module data to temporary file for transfer: \[Errno 28\] No space left on device \</em\> eventhough 123\<em\>user@vm-51150…

---

## [How to create snapshot of vm using ansible](https://forum.ansible.com/t/how-to-create-snapshot-of-vm-using-ansible/37335)

<div class="topic-metadata">

**Author:** [@vinayak\_sawant](https://forum.ansible.com/u/vinayak_sawant)\
**Replies:** 3\
**Last updated:** [November 11, 2022, 12:58pm UTC](https://forum.ansible.com/t/how-to-create-snapshot-of-vm-using-ansible/37335 "2022-11-11T12:58:41Z")

</div>

Hello Team i want to create snapshot of vm using ansible playbook does it require any ports to be open to get this done?? if yes then which are the ports required to be open from ansible server to vcentre is there an…

---

## [Executing multiple roles in succession](https://forum.ansible.com/t/executing-multiple-roles-in-succession/37327)

<div class="topic-metadata">

**Author:** [@Chris\_Bachmeyer](https://forum.ansible.com/u/Chris_Bachmeyer)\
**Replies:** 6\
**Last updated:** [November 11, 2022, 3:14am UTC](https://forum.ansible.com/t/executing-multiple-roles-in-succession/37327 "2022-11-11T03:14:26Z")

</div>

Hey all, I have two roles that are included in my site.yml and the goal is to execute the second role as soon as the first role completes. I have added a task to generate a dynamic inventory in the first role that the s…

---

## [copy registered content to a file which is called from variable](https://forum.ansible.com/t/copy-registered-content-to-a-file-which-is-called-from-variable/37331)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 5\
**Last updated:** [November 10, 2022, 9:43pm UTC](https://forum.ansible.com/t/copy-registered-content-to-a-file-which-is-called-from-variable/37331 "2022-11-10T21:43:05Z")

</div>

Hi, I am trying to copy the contents from a register output to a file in the local server. However , I have challenges in re-calling the variable filename in the copy command. Correct me what I am missing. in dest=“{{…

---

## [Create VM instance from a predefined machine image](https://forum.ansible.com/t/create-vm-instance-from-a-predefined-machine-image/37332)

<div class="topic-metadata">

**Author:** [@Valio\_V](https://forum.ansible.com/u/Valio_V)\
**Replies:** 0\
**Last updated:** [November 10, 2022, 3:49pm UTC](https://forum.ansible.com/t/create-vm-instance-from-a-predefined-machine-image/37332 "2022-11-10T15:49:04Z")

</div>

Hello, I am trying to create a VM instance from a predefined machine image using Ansible (ansible \[core 2.13.5\]) and google.cloud collection (version 1.0.2). I went through the Ansible doc for Google.Cloud and especial…

---

## [force file creation with template module](https://forum.ansible.com/t/force-file-creation-with-template-module/37330)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 3\
**Last updated:** [November 10, 2022, 2:20pm UTC](https://forum.ansible.com/t/force-file-creation-with-template-module/37330 "2022-11-10T14:20:50Z")

</div>

I need to repair some templated files from a previous playbook execution ##### this is a test ######################################### - name: my template TEST - template postgres.conf vars: - pg\_service…

---

## [yum module to  skip checking  the yum repositories](https://forum.ansible.com/t/yum-module-to-skip-checking-the-yum-repositories/37326)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 2\
**Last updated:** [November 9, 2022, 5:20pm UTC](https://forum.ansible.com/t/yum-module-to-skip-checking-the-yum-repositories/37326 "2022-11-09T17:20:56Z")

</div>

Hi, I have the below snippet , which installs the local package . However in servers which have not subscribed to satellite/Redhat , the playbook hungs as it continue to search for the repositories in the backgroud. n…

---

## [From .SQL file to Ansible playbool](https://forum.ansible.com/t/from-sql-file-to-ansible-playbool/37324)

<div class="topic-metadata">

**Author:** [@Kasi\_sunkara](https://forum.ansible.com/u/Kasi_sunkara)\
**Replies:** 0\
**Last updated:** [November 9, 2022, 10:32am UTC](https://forum.ansible.com/t/from-sql-file-to-ansible-playbool/37324 "2022-11-09T10:32:53Z")

</div>

Hi Team, I have created a play book for on premises SQL db backup now i got an chance to prepare a play book for restore db .i got the reference file .SQL to check the parameters details .Is there any chance to get any …

---

## [Ansible 7.0.0b1 has been released!](https://forum.ansible.com/t/ansible-7-0-0b1-has-been-released/37321)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 0\
**Last updated:** [November 8, 2022, 11:43pm UTC](https://forum.ansible.com/t/ansible-7-0-0b1-has-been-released/37321 "2022-11-08T23:43:25Z")

</div>

Hi all, We’re happy to announce that the Ansible 7.0.0b1 package has been released! Ansible 7.0.0b1 will include ansible-core 2.14.0 as well as a curated set of Ansible collections to provide a vast number of modules …

---

## [Ansible 6.6.0 has been released!](https://forum.ansible.com/t/ansible-6-6-0-has-been-released/37320)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 0\
**Last updated:** [November 8, 2022, 11:32pm UTC](https://forum.ansible.com/t/ansible-6-6-0-has-been-released/37320 "2022-11-08T23:32:39Z")

</div>

Hi all, We’re happy to announce that the Ansible 6.6.0 package has been released! Ansible 6.6.0 will include ansible-core 2.13.6 as well as a curated set of Ansible collections to provide a vast number of modules and …

---

## [Question about community.general.opentelemetry callback](https://forum.ansible.com/t/question-about-community-general-opentelemetry-callback/37277)

<div class="topic-metadata">

**Author:** [@Daniel\_Barros](https://forum.ansible.com/u/Daniel_Barros)\
**Replies:** 9\
**Last updated:** [November 8, 2022, 7:03pm UTC](https://forum.ansible.com/t/question-about-community-general-opentelemetry-callback/37277 "2022-11-08T19:03:12Z")

</div>

Hi group, good day, how are you? I have a question about using community.general.opentelemetry to send data to APM. I have set my ansible.cfg like this. \[defaults\] callbacks\_enabled = community.general.opentelemetry …

---

## [command module](https://forum.ansible.com/t/command-module/34157)

<div class="topic-metadata">

**Author:** [@Shreya\_Bhardwaj](https://forum.ansible.com/u/Shreya_Bhardwaj)\
**Replies:** 5\
**Last updated:** [November 8, 2022, 6:41pm UTC](https://forum.ansible.com/t/command-module/34157 "2022-11-08T18:41:49Z")

</div>

Hello Everyone, I’m using the command module to run a few commands. I’m using the “creates” feature of the module as a check so that re running of command can be prevented, but it isn’t creating the file in the first p…

---

## [print the register output with proper format on the screen](https://forum.ansible.com/t/print-the-register-output-with-proper-format-on-the-screen/37318)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 0\
**Last updated:** [November 8, 2022, 6:12pm UTC](https://forum.ansible.com/t/print-the-register-output-with-proper-format-on-the-screen/37318 "2022-11-08T18:12:16Z")

</div>

Hi everyone , I am trying to print 2 files in my ansible server itself, which are already copied from other servers , which means the filenames have hostnames and date within it. name: compare the output files local…

---

## [New releases: ansible-core 2.14.0 - C'mon Everybody](https://forum.ansible.com/t/new-releases-ansible-core-2-14-0-cmon-everybody/37314)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 3:39am UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-14-0-cmon-everybody/37314 "2022-11-08T03:39:37Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.14.0 How to get it

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

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