# Ansible Project

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

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

**Page:** 10

---

## [Window Server Hardening CIS Benchmark](https://forum.ansible.com/t/window-server-hardening-cis-benchmark/38560)

<div class="topic-metadata">

**Author:** [@Shwe\_Linhtet](https://forum.ansible.com/u/Shwe_Linhtet)\
**Replies:** 0\
**Last updated:** [November 1, 2023, 6:30am UTC](https://forum.ansible.com/t/window-server-hardening-cis-benchmark/38560 "2023-11-01T06:30:21Z")

</div>

Hi community, I am seeking your advise on CIS hardening guide of window server 2012R2, 2016 or 2019 using ansible. I am relatively new in ansible knowledge and appreciate if you could share the code repo , sample codes …

---

## [how to set different backup directory than current while using backup=yes](https://forum.ansible.com/t/how-to-set-different-backup-directory-than-current-while-using-backup-yes/38553)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 8\
**Last updated:** [October 31, 2023, 4:00pm UTC](https://forum.ansible.com/t/how-to-set-different-backup-directory-than-current-while-using-backup-yes/38553 "2023-10-31T16:00:47Z")

</div>

how to set different backup directory than current while using backup=yes in ansible modules. It takes backup in current directory with .conf.date which actually valid for application .conf anything do we have any way …

---

## [using a variable from one task in the next](https://forum.ansible.com/t/using-a-variable-from-one-task-in-the-next/38455)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 8\
**Last updated:** [October 31, 2023, 3:02pm UTC](https://forum.ansible.com/t/using-a-variable-from-one-task-in-the-next/38455 "2023-10-31T15:02:24Z")

</div>

I have a 2 tasks in a playbook and from task1 I have a variable collected from the register output as below. name: Playbook to collect the actual hostname hosts: server1 become: yes tasks: name: collect the actu…

---

## [ansible looking for templates in previous role](https://forum.ansible.com/t/ansible-looking-for-templates-in-previous-role/38548)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 9\
**Last updated:** [October 30, 2023, 4:33pm UTC](https://forum.ansible.com/t/ansible-looking-for-templates-in-previous-role/38548 "2023-10-30T16:33:47Z")

</div>

Good morning. I have two roles in a multi-role playbook, for yum, then chrony. The yum module works fine, but the chrony playbook fails on copying a template. The odd thing is, the error I get indicates ansible is lookin…

---

## [apache removal](https://forum.ansible.com/t/apache-removal/38551)

<div class="topic-metadata">

**Author:** [@Thaddeus\_Fernandes](https://forum.ansible.com/u/Thaddeus_Fernandes)\
**Replies:** 3\
**Last updated:** [October 27, 2023, 5:56am UTC](https://forum.ansible.com/t/apache-removal/38551 "2023-10-27T05:56:23Z")

</div>

hi all, I am trying to uninstall apache from my inventory via playbook but nothing is happening. httpd still exists on the ubuntu servers. Im not sure what have I missed here.

---

## [Help](https://forum.ansible.com/t/help/38533)

<div class="topic-metadata">

**Author:** [@Thaddeus\_Fernandes](https://forum.ansible.com/u/Thaddeus_Fernandes)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 6:58pm UTC](https://forum.ansible.com/t/help/38533 "2023-10-26T18:58:43Z")

</div>

Hi all, I am new to sensible. Currently in system admin role. I am trying to learn sensible from youtube so just wrote a playbook but my indentation is wrong i guess although i used pycharm still getting indentation er…

---

## [Installing custom module](https://forum.ansible.com/t/installing-custom-module/38549)

<div class="topic-metadata">

**Author:** [@Simon\_Hryszko](https://forum.ansible.com/u/Simon_Hryszko)\
**Replies:** 0\
**Last updated:** [October 26, 2023, 4:22pm UTC](https://forum.ansible.com/t/installing-custom-module/38549 "2023-10-26T16:22:18Z")

</div>

Hello guys, I want to install with aur on arch something, to do that I found this module. I wanted to install this via ansible, so I wrote this task, but it cause error. I tried also use before module ansible\_galaxy\_in…

---

## [template for rows in a table](https://forum.ansible.com/t/template-for-rows-in-a-table/38537)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 5\
**Last updated:** [October 26, 2023, 4:58am UTC](https://forum.ansible.com/t/template-for-rows-in-a-table/38537 "2023-10-26T04:58:14Z")

</div>

Hi, Looking for a template which prints the list’s items in the horizontal (rows) of a tables. I have the below list and trying to print as a table. vars: color: green red yellow blue cities: toronto montreal mumb…

---

## [how to extract minor version from major version variable](https://forum.ansible.com/t/how-to-extract-minor-version-from-major-version-variable/38547)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 2\
**Last updated:** [October 25, 2023, 3:14pm UTC](https://forum.ansible.com/t/how-to-extract-minor-version-from-major-version-variable/38547 "2023-10-25T15:14:24Z")

</div>

Hello Team, What is the correct way to extract just major version from full version like , full version is : 2.8.3 need version: 2.8 do we use split or regex

---

## [what is ansible.builtin.file vs just file module](https://forum.ansible.com/t/what-is-ansible-builtin-file-vs-just-file-module/38536)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 4\
**Last updated:** [October 25, 2023, 11:22am UTC](https://forum.ansible.com/t/what-is-ansible-builtin-file-vs-just-file-module/38536 "2023-10-25T11:22:23Z")

</div>

Hello Team, I just want to know why we have builtin for all modules in ansible earlier it was just module name

---

## [Multipathd is not enabling](https://forum.ansible.com/t/multipathd-is-not-enabling/38529)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 6\
**Last updated:** [October 24, 2023, 11:02am UTC](https://forum.ansible.com/t/multipathd-is-not-enabling/38529 "2023-10-24T11:02:46Z")

</div>

Hi All… I ve a very 2 very basic task of enabling multipath. The 2 task is failing since the first one is not enabling. But in ansible job it is showing as changed but when I checked multipath service in system it is s…

---

## [Jinja template cannot fetch '0.10' value](https://forum.ansible.com/t/jinja-template-cannot-fetch-0-10-value/38544)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 1\
**Last updated:** [October 24, 2023, 10:24am UTC](https://forum.ansible.com/t/jinja-template-cannot-fetch-0-10-value/38544 "2023-10-24T10:24:32Z")

</div>

Hi, I have input file that include the following parameter. internal\_network\_reverse: 0.10 and a jinja template file that include the following line zone “{{ internal\_network\_reverse | default (‘168.192’) }}.in-addr.…

---

## [Question regarding no\_log = true](https://forum.ansible.com/t/question-regarding-no-log-true/38540)

<div class="topic-metadata">

**Author:** [@thirumalairaja](https://forum.ansible.com/u/thirumalairaja)\
**Replies:** 1\
**Last updated:** [October 23, 2023, 2:33pm UTC](https://forum.ansible.com/t/question-regarding-no-log-true/38540 "2023-10-23T14:33:03Z")

</div>

Hi all, below is my task to run terraform code and vinyl entry for newly created VM on the vsphere Vcenter i have pass my credentials in ansible vault “secrets.yaml” my question is that when i run the playbook in the lo…

---

## [VMware module to change CD rom from iso to client](https://forum.ansible.com/t/vmware-module-to-change-cd-rom-from-iso-to-client/38538)

<div class="topic-metadata">

**Author:** [@Kris\_Smith](https://forum.ansible.com/u/Kris_Smith)\
**Replies:** 1\
**Last updated:** [October 23, 2023, 2:30pm UTC](https://forum.ansible.com/t/vmware-module-to-change-cd-rom-from-iso-to-client/38538 "2023-10-23T14:30:08Z")

</div>

So we have a workiing deploment for our VM’s using AAP. What I am trying to do is as the last step after everything is done, is change the cd from the bootable iso file we use to kickstart everything, back to client devi…

---

## [ansible-vault format](https://forum.ansible.com/t/ansible-vault-format/38542)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 2\
**Last updated:** [October 23, 2023, 2:24pm UTC](https://forum.ansible.com/t/ansible-vault-format/38542 "2023-10-23T14:24:15Z")

</div>

Hii, I’ve always wondered what the format of the ansible vault is, more specifically why it consists of only numbers, as that seems like an insufficient way to represent data. It is as if the content has to go through …

---

## [gcp\_compute\_instance randomly chooses boot device from multiple devices](https://forum.ansible.com/t/gcp-compute-instance-randomly-chooses-boot-device-from-multiple-devices/38539)

<div class="topic-metadata">

**Author:** [@Libo\_Yu](https://forum.ansible.com/u/Libo_Yu)\
**Replies:** 1\
**Last updated:** [October 23, 2023, 2:18pm UTC](https://forum.ansible.com/t/gcp-compute-instance-randomly-chooses-boot-device-from-multiple-devices/38539 "2023-10-23T14:18:27Z")

</div>

We are using ansible 2.9 on red hat 9. We try to create a GCP instance with more than one persistent disks. We pass a list of disks to “disks” property. The first one is the boot drive and its bool flag is set to true. B…

---

## [Running update grub-pc in noninteractive mode](https://forum.ansible.com/t/running-update-grub-pc-in-noninteractive-mode/38541)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 8\
**Last updated:** [October 23, 2023, 1:08pm UTC](https://forum.ansible.com/t/running-update-grub-pc-in-noninteractive-mode/38541 "2023-10-23T13:08:39Z")

</div>

We are trying to update packages on several AWS servers via ansible. In the beginning of our playbook we have the environment to noninteractive like this: environment: DEBIAN\_FRONTEND: noninteractive When I run an upd…

---

## [Filter\_data manipulation of the debug  output .](https://forum.ansible.com/t/filter-data-manipulation-of-the-debug-output/38530)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 2\
**Last updated:** [October 19, 2023, 7:35am UTC](https://forum.ansible.com/t/filter-data-manipulation-of-the-debug-output/38530 "2023-10-19T07:35:44Z")

</div>

From the below debug module , I try filter the ouput name: status of the output debug: msg: “status of {{serverName}} is {{ \[9\] | map(‘extract’, stat\_out\[0\].split(‘,’)) }}” register: server\_status The output is T…

---

## [mitogen and playbook\_name](https://forum.ansible.com/t/mitogen-and-playbook-name/38524)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 6\
**Last updated:** [October 18, 2023, 8:10pm UTC](https://forum.ansible.com/t/mitogen-and-playbook-name/38524 "2023-10-18T20:10:15Z")

</div>

In the beginning of the playbook, I calculate the playbook\_name this way: playbook\_name: “{{ lookup(‘file’, ‘/proc/self/cmdline’) | regex\_replace(‘\\u0000’, ’ ').split() | select match(‘match’, ‘\[1\]\*\[.\]y\[a\]\*ml’) | list|f…

---

## [Error handling in ios\_config module](https://forum.ansible.com/t/error-handling-in-ios-config-module/20988)

<div class="topic-metadata">

**Author:** [@Uros\_Bajzelj](https://forum.ansible.com/u/Uros_Bajzelj)\
**Replies:** 7\
**Last updated:** [October 18, 2023, 4:32pm UTC](https://forum.ansible.com/t/error-handling-in-ios-config-module/20988 "2023-10-18T16:32:30Z")

</div>

Hello I am using ios\_config module to configure crypto map on the router. When you configure the empty crypto map statement the router display the following note: HQ(config)crypto map CMAP 10 ipsec-isakmp % NOTE: Thi…

---

## [Voicing my concerns with passlib (security) and its larger adoption by Ansible](https://forum.ansible.com/t/voicing-my-concerns-with-passlib-security-and-its-larger-adoption-by-ansible/38527)

<div class="topic-metadata">

**Author:** [@Thibaut\_Barrere](https://forum.ansible.com/u/Thibaut_Barrere)\
**Replies:** 0\
**Last updated:** [October 17, 2023, 4:46pm UTC](https://forum.ansible.com/t/voicing-my-concerns-with-passlib-security-and-its-larger-adoption-by-ansible/38527 "2023-10-17T16:46:25Z")

</div>

Hello, While doing Ansible maintenance work, I discovered that the passlib library used by Ansible (currently only for Mac users) has not seen any release in 3 years. I am a bit concerned about how interesting it would…

---

## [Release announcement : Ansible Community Package 9.0.0a3 (Pre Release)](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-0-0a3-pre-release/38525)

<div class="topic-metadata">

**Author:** [@Anwesha\_Das](https://forum.ansible.com/u/Anwesha_Das)\
**Replies:** 0\
**Last updated:** [October 17, 2023, 3:53pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-0-0a3-pre-release/38525 "2023-10-17T15:53:17Z")

</div>

Hello everyone, We're happy to announce the Alpha release of Ansible 9.0.0a3! This pre-release version contains the latest version of ansible-core 2.16 and includes a curated set of Ansible collections that provides a …

---

## [Question about using tags](https://forum.ansible.com/t/question-about-using-tags/38519)

<div class="topic-metadata">

**Author:** [@Jeff\_Burricelli](https://forum.ansible.com/u/Jeff_Burricelli)\
**Replies:** 2\
**Last updated:** [October 16, 2023, 5:17pm UTC](https://forum.ansible.com/t/question-about-using-tags/38519 "2023-10-16T17:17:13Z")

</div>

When running a playbook that has multiple tags, can I use “–tags” which will call in a role, but also specify “–skip-tags” which will then skip certain tasks in that role? I’ve alwasy been under the impression you cannot…

---

## [split for data manitpulation](https://forum.ansible.com/t/split-for-data-manitpulation/38385)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 6\
**Last updated:** [October 16, 2023, 5:29am UTC](https://forum.ansible.com/t/split-for-data-manitpulation/38385 "2023-10-16T05:29:31Z")

</div>

Hi, I have this playbook to print the columns 5 and 6 using the debug.

---

## [Unable to execute job under AWX Centos OS](https://forum.ansible.com/t/unable-to-execute-job-under-awx-centos-os/38522)

<div class="topic-metadata">

**Author:** [@Dominick\_Casanova](https://forum.ansible.com/u/Dominick_Casanova)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 2:20am UTC](https://forum.ansible.com/t/unable-to-execute-job-under-awx-centos-os/38522 "2023-10-16T02:20:52Z")

</div>

How to solve this issue, we are experiencing a failed status only and no task result or any logs once we execute a job or a template. This AWX is under Kubernetes. Badly needed for possible solution

---

## [Need help](https://forum.ansible.com/t/need-help/38512)

<div class="topic-metadata">

**Author:** [@Y.G\_Kumar](https://forum.ansible.com/u/Y.G_Kumar)\
**Replies:** 7\
**Last updated:** [October 15, 2023, 5:56pm UTC](https://forum.ansible.com/t/need-help/38512 "2023-10-15T17:56:12Z")

</div>

Hi All, I am declaring an environment variables in a playbook as shown below:

---

## [Formatting the dict items with debug](https://forum.ansible.com/t/formatting-the-dict-items-with-debug/38520)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 9\
**Last updated:** [October 14, 2023, 4:50pm UTC](https://forum.ansible.com/t/formatting-the-dict-items-with-debug/38520 "2023-10-14T16:50:31Z")

</div>

Hi, I have the below output from my playbook using debug: msg: “{{ result.stdout }}” TASK \[debug\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Trying to write PB to look at FS 5800 using AAP and gets error](https://forum.ansible.com/t/trying-to-write-pb-to-look-at-fs-5800-using-aap-and-gets-error/38516)

<div class="topic-metadata">

**Author:** [@williamflow](https://forum.ansible.com/u/williamflow)\
**Replies:** 2\
**Last updated:** [October 13, 2023, 12:00pm UTC](https://forum.ansible.com/t/trying-to-write-pb-to-look-at-fs-5800-using-aap-and-gets-error/38516 "2023-10-13T12:00:57Z")

</div>

So I have a template that runs a PB like"

---

## [Run once on multiple Inventory Hosts with same ansible\_host value](https://forum.ansible.com/t/run-once-on-multiple-inventory-hosts-with-same-ansible-host-value/38515)

<div class="topic-metadata">

**Author:** [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Replies:** 2\
**Last updated:** [October 11, 2023, 11:14pm UTC](https://forum.ansible.com/t/run-once-on-multiple-inventory-hosts-with-same-ansible-host-value/38515 "2023-10-11T23:14:46Z")

</div>

I am importing my inventory from ServiceNow, so I have to go with what I’m given. I’m given multiple WebLogic Nodes per individual server, that is per ansible\_host. I’d like the user to be able to pull all Inventory Host…

---

## [Release announcement : Ansible Community Package 8.5.0](https://forum.ansible.com/t/release-announcement-ansible-community-package-8-5-0/38514)

<div class="topic-metadata">

**Author:** [@Anwesha\_Das](https://forum.ansible.com/u/Anwesha_Das)\
**Replies:** 0\
**Last updated:** [October 11, 2023, 3:05pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-8-5-0/38514 "2023-10-11T15:05:08Z")

</div>

Hello everyone, We're happy to announce the release of the Ansible 8.5.0 package! Ansible 8.5.0 includes ansible-core 2.15.5 as well as a curated set of Ansible collections that provide a vast number of modules and pl…

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

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