# \#linux

**URL:** https://forum.ansible.com/tag/linux/129.md

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

---

## [Compiled namespace creation](https://forum.ansible.com/t/compiled-namespace-creation/46441)

<div class="topic-metadata">

**Author:** [@hugonz](https://forum.ansible.com/u/hugonz)\
**Replies:** 2\
**Last updated:** [October 12, 2026, 10:33pm UTC](https://forum.ansible.com/t/compiled-namespace-creation/46441 "2026-10-12T22:33:27Z")

</div>

Enter a Galaxy Namespace name compiled Enter a Galaxy Namespace description Binary modules written in Go that do not require Python on the managed node Enter a Galaxy Namespace GitHub organization Enter Galaxy Namesp…

---

## [How to configure SSH access between two remote hosts](https://forum.ansible.com/t/how-to-configure-ssh-access-between-two-remote-hosts/46346)

<div class="topic-metadata">

**Author:** [@nroweccc](https://forum.ansible.com/u/nroweccc)\
**Replies:** 1\
**Last updated:** [September 23, 2026, 5:13am UTC](https://forum.ansible.com/t/how-to-configure-ssh-access-between-two-remote-hosts/46346 "2026-09-23T05:13:49Z")

</div>

I am trying to configure remote host A to be able to SSH into other remote host B. Here is my code: # On coordinator, we create an SSH key pair - name: Create SSH key pair on coordinator when: dagu\_mode == "coordinato…

---

## [LVM facts don't include all LVs and VGs](https://forum.ansible.com/t/lvm-facts-dont-include-all-lvs-and-vgs/45914)

<div class="topic-metadata">

**Author:** [@ProfessorLogout](https://forum.ansible.com/u/ProfessorLogout)\
**Replies:** 4\
**Last updated:** [June 29, 2026, 7:39pm UTC](https://forum.ansible.com/t/lvm-facts-dont-include-all-lvs-and-vgs/45914 "2026-06-29T19:39:35Z")

</div>

Hello all, sharing this here in parts to have it recorded somewhere and in other parts to get some feedback from the community. I’ve spent a bunch of effort deep in Ansible trying to optimize the time it takes to gathe…

---

## [Specific command results in 'unreachable' error](https://forum.ansible.com/t/specific-command-results-in-unreachable-error/45933)

<div class="topic-metadata">

**Author:** [@ab203972](https://forum.ansible.com/u/ab203972)\
**Replies:** 2\
**Last updated:** [June 17, 2026, 2:42pm UTC](https://forum.ansible.com/t/specific-command-results-in-unreachable-error/45933 "2026-06-17T14:42:55Z")

</div>

Hi everyone! I am creating rolesfor automatic patching of machines. As part of the patching, we also clean up old kernels after a reboot. However, the command that I run to do that doesn’t work, and consistently results…

---

## [How to return a variable from within a block to a higher scope](https://forum.ansible.com/t/how-to-return-a-variable-from-within-a-block-to-a-higher-scope/45620)

<div class="topic-metadata">

**Author:** [@ab203972](https://forum.ansible.com/u/ab203972)\
**Replies:** 14\
**Last updated:** [April 13, 2026, 1:28pm UTC](https://forum.ansible.com/t/how-to-return-a-variable-from-within-a-block-to-a-higher-scope/45620 "2026-04-13T13:28:44Z")

</div>

Hi everyone, Apologies for what may be a very simple question, but I feel like I’m going in circles. I have a role that lists available updates in Linux. All I want is for that data to be returned to the playbook that c…

---

## [Galaxy NG don't render documentation and content](https://forum.ansible.com/t/galaxy-ng-dont-render-documentation-and-content/45578)

<div class="topic-metadata">

**Author:** [@lonol](https://forum.ansible.com/u/lonol)\
**Replies:** 1\
**Last updated:** [April 12, 2026, 4:37pm UTC](https://forum.ansible.com/t/galaxy-ng-dont-render-documentation-and-content/45578 "2026-04-12T16:37:33Z")

</div>

Hello the community, I was deploying the galaxy ng in standalone mode to host some collections create by my company. I managed to build and push the collection on the galaxy but the documentation and the content window…

---

## [How Do I Launch Two Different Playbooks or Tasks at the Same Time?](https://forum.ansible.com/t/how-do-i-launch-two-different-playbooks-or-tasks-at-the-same-time/45633)

<div class="topic-metadata">

**Author:** [@clerambeau370](https://forum.ansible.com/u/clerambeau370)\
**Replies:** 11\
**Last updated:** [April 7, 2026, 11:08am UTC](https://forum.ansible.com/t/how-do-i-launch-two-different-playbooks-or-tasks-at-the-same-time/45633 "2026-04-07T11:08:03Z")

</div>

Hello. I have two different playbooks. Each refreshes an Oracle database from another. Different sets. Unrelated. I have coded it sequentially to begin with: 1. Refresh A from B; 2. Refresh D from C; They run fine, but…

---

## [Adding insights compliance policy](https://forum.ansible.com/t/adding-insights-compliance-policy/45455)

<div class="topic-metadata">

**Author:** [@d3adin](https://forum.ansible.com/u/d3adin)\
**Replies:** 0\
**Last updated:** [February 27, 2026, 5:29pm UTC](https://forum.ansible.com/t/adding-insights-compliance-policy/45455 "2026-02-27T17:29:22Z")

</div>

Hi all, I have written a role that converts our current Alma Linux VMs to RHEL. As the last step I wanted to add CIS Compliance policy to the role. However, it seems to be failing. fatal: \[TESTHOST01\]: FAILED! =\> { …

---

## [changed\_when and ansible.builtin.dnf linting help](https://forum.ansible.com/t/changed-when-and-ansible-builtin-dnf-linting-help/45336)

<div class="topic-metadata">

**Author:** [@bryonadams](https://forum.ansible.com/u/bryonadams)\
**Replies:** 2\
**Last updated:** [February 15, 2026, 10:19pm UTC](https://forum.ansible.com/t/changed-when-and-ansible-builtin-dnf-linting-help/45336 "2026-02-15T22:19:26Z")

</div>

I’m trying to configure an IPv6 token in my “deploy\_basevm.yaml” playbook, as well as update packages from a default install to the latest versions. The intent is that I’ll deploy a new VM, system packages are updated, a…

---

## [Ansible copy module fails with “Invalid cross-device link” followed by “Operation not permitted” when copying into hardened /etc directory with become](https://forum.ansible.com/t/ansible-copy-module-fails-with-invalid-cross-device-link-followed-by-operation-not-permitted-when-copying-into-hardened-etc-directory-with-become/45287)

<div class="topic-metadata">

**Author:** [@thirumalairaja](https://forum.ansible.com/u/thirumalairaja)\
**Replies:** 3\
**Last updated:** [February 9, 2026, 12:00pm UTC](https://forum.ansible.com/t/ansible-copy-module-fails-with-invalid-cross-device-link-followed-by-operation-not-permitted-when-copying-into-hardened-etc-directory-with-become/45287 "2026-02-09T12:00:04Z")

</div>

Ansible copy module fails with “Invalid cross-device link” followed by “Operation not permitted” when copying into hardened /etc directory with become Hello, I’m encountering a failure with the Ansible copy module when…

---

## [Ansible supported Python version on \_target\_](https://forum.ansible.com/t/ansible-supported-python-version-on-target/44863)

<div class="topic-metadata">

**Author:** [@Thulium-Drake](https://forum.ansible.com/u/Thulium-Drake)\
**Replies:** 16\
**Last updated:** [February 5, 2026, 3:48pm UTC](https://forum.ansible.com/t/ansible-supported-python-version-on-target/44863 "2026-02-05T15:48:36Z")

</div>

Hi there :waving\_hand: When looking at the table of supported versions of Python on the target nodes in Ansible over at Ansible-core | endoflife.date I see a pattern that is slightly concerning to me. While I really li…

---

## [Constructing tuple list string with templated variables gets converted to a list of lists](https://forum.ansible.com/t/constructing-tuple-list-string-with-templated-variables-gets-converted-to-a-list-of-lists/45035)

<div class="topic-metadata">

**Author:** [@usaghir](https://forum.ansible.com/u/usaghir)\
**Replies:** 2\
**Last updated:** [December 30, 2025, 2:14pm UTC](https://forum.ansible.com/t/constructing-tuple-list-string-with-templated-variables-gets-converted-to-a-list-of-lists/45035 "2025-12-30T14:14:13Z")

</div>

Constructing tuple list string with templated variables gets converted to a list of lists Versions: ansible-playbook \[core 2.17.6\] python version = 3.13.11 jinja version = 3.1.4 I’m trying to automate the configuratio…

---

## [Ansible Core 2.18 fails on remote host with Python 3.6 — future feature annotations is not defined during fact gathering](https://forum.ansible.com/t/ansible-core-2-18-fails-on-remote-host-with-python-3-6-future-feature-annotations-is-not-defined-during-fact-gathering/44802)

<div class="topic-metadata">

**Author:** [@harshit.sheth](https://forum.ansible.com/u/harshit.sheth)\
**Replies:** 2\
**Last updated:** [November 10, 2025, 4:16pm UTC](https://forum.ansible.com/t/ansible-core-2-18-fails-on-remote-host-with-python-3-6-future-feature-annotations-is-not-defined-during-fact-gathering/44802 "2025-11-10T16:16:43Z")

</div>

Hello Team, I’m encountering a blocking issue with Ansible Core 2.18.10 when running playbooks on remote hosts that only have Python 3.6.8 installed. The error occurs during the Gathering Facts phase and prevents the pl…

---

## [Cannot execute SQL from mysql.mysql\_query](https://forum.ansible.com/t/cannot-execute-sql-from-mysql-mysql-query/44595)

<div class="topic-metadata">

**Author:** [@engstroem](https://forum.ansible.com/u/engstroem)\
**Replies:** 3\
**Last updated:** [October 2, 2025, 5:08pm UTC](https://forum.ansible.com/t/cannot-execute-sql-from-mysql-mysql-query/44595 "2025-10-02T17:08:45Z")

</div>

Issue with executing query-file through mysql.mysql\_query I am new within ansible and it modules, so sorry if I’m just using the wrong module. I need to run query (~7000 lines) to set up a database on my database serve…

---

## [SELinux prevents playbooks from ssh-ing ](https://forum.ansible.com/t/selinux-prevents-playbooks-from-ssh-ing/44565)

<div class="topic-metadata">

**Author:** [@Michael\_Marrone](https://forum.ansible.com/u/Michael_Marrone)\
**Replies:** 7\
**Last updated:** [October 1, 2025, 12:09pm UTC](https://forum.ansible.com/t/selinux-prevents-playbooks-from-ssh-ing/44565 "2025-10-01T12:09:31Z")

</div>

Hello! My problem is on a disconnected system so I can’t cut & paste. It’s also my first posting, so I don’t have the formatting that everyone likes, my apologies. I am having an issue where a playbook will not run on…

---

## [Ansible to run the tasks in sequence ](https://forum.ansible.com/t/ansible-to-run-the-tasks-in-sequence/44385)

<div class="topic-metadata">

**Author:** [@sai\_amulya](https://forum.ansible.com/u/sai_amulya)\
**Replies:** 10\
**Last updated:** [August 31, 2025, 7:32pm UTC](https://forum.ansible.com/t/ansible-to-run-the-tasks-in-sequence/44385 "2025-08-31T19:32:36Z")

</div>

Hi All, I am writing to build a code with Ansible to run specify tasks on one hosts and another specify tasks on another host in a sequence manner. Here is the use-case: Role1-- \> needs to be executed on first host whi…

---

## [I wanted to upload 12gb iso image using vsphere\_copy](https://forum.ansible.com/t/i-wanted-to-upload-12gb-iso-image-using-vsphere-copy/44154)

<div class="topic-metadata">

**Author:** [@Sandeep\_Parashar](https://forum.ansible.com/u/Sandeep_Parashar)\
**Replies:** 5\
**Last updated:** [July 29, 2025, 6:07pm UTC](https://forum.ansible.com/t/i-wanted-to-upload-12gb-iso-image-using-vsphere-copy/44154 "2025-07-29T18:07:55Z")

</div>

We are using community VMware collection version 5.7.1 and recently facing issue with uploading ISO remote host to data store. Nothing change from code level it is working 20 days back but now it is broken ….. error ……. …

---

## [How best to compare filesystem size against another number?](https://forum.ansible.com/t/how-best-to-compare-filesystem-size-against-another-number/44048)

<div class="topic-metadata">

**Author:** [@tacocat](https://forum.ansible.com/u/tacocat)\
**Replies:** 4\
**Last updated:** [July 23, 2025, 8:13pm UTC](https://forum.ansible.com/t/how-best-to-compare-filesystem-size-against-another-number/44048 "2025-07-23T20:13:36Z")

</div>

Hi there! I’m trying to get the size of a filesystem (/opt in this case) and ensure it is larger than another number (3Gb). Here’s what I have in my test playbook: --- - name: Assert that /opt has more than 3GB availab…

---

## [Dynamic IP addresses in inventory](https://forum.ansible.com/t/dynamic-ip-addresses-in-inventory/43596)

<div class="topic-metadata">

**Author:** [@Automator](https://forum.ansible.com/u/Automator)\
**Replies:** 1\
**Last updated:** [June 27, 2025, 3:27pm UTC](https://forum.ansible.com/t/dynamic-ip-addresses-in-inventory/43596 "2025-06-27T15:27:33Z")

</div>

Hello everyone, I’ve a lot of Unifi Access Point without A-RR in DNS. So if I want to connect to the access point, I’ve to connect over the ip address, instead of using a dns name. So I want reach the AP with the Ansib…

---

## [VSphere VM's Expand Root Volume - Ansible](https://forum.ansible.com/t/vsphere-vms-expand-root-volume-ansible/43427)

<div class="topic-metadata">

**Author:** [@thirumalairaja](https://forum.ansible.com/u/thirumalairaja)\
**Replies:** 14\
**Last updated:** [June 22, 2025, 1:51pm UTC](https://forum.ansible.com/t/vsphere-vms-expand-root-volume-ansible/43427 "2025-06-22T13:51:08Z")

</div>

Hi team, i am trying to increase the disk size of my VM and increate my root volume by automation. my VM is in VSphere abe belwo is my ansible playook. using my playbook i have increased the disk size but i am failling…

---

## [Failed to create temporary directory - AWX 24.6.0](https://forum.ansible.com/t/failed-to-create-temporary-directory-awx-24-6-0/43448)

<div class="topic-metadata">

**Author:** [@thirumalairaja](https://forum.ansible.com/u/thirumalairaja)\
**Replies:** 1\
**Last updated:** [June 19, 2025, 7:29pm UTC](https://forum.ansible.com/t/failed-to-create-temporary-directory-awx-24-6-0/43448 "2025-06-19T19:29:18Z")

</div>

Hi Tem, Could you please guide me on the intermittent issue I’m facing? We’re using AWX 24.6.0 with execution environment core 2.14.11. Note: The problem is I’m unable to create ansible.cfg in the root directory of a…

---

## [My First Ansible Collection: Want to Contribute to Ansible Open Source? Looking for Advice](https://forum.ansible.com/t/my-first-ansible-collection-want-to-contribute-to-ansible-open-source-looking-for-advice/43279)

<div class="topic-metadata">

**Author:** [@Crusty\_rs](https://forum.ansible.com/u/Crusty_rs)\
**Replies:** 1\
**Last updated:** [June 10, 2025, 8:15pm UTC](https://forum.ansible.com/t/my-first-ansible-collection-want-to-contribute-to-ansible-open-source-looking-for-advice/43279 "2025-06-10T20:15:29Z")

</div>

after my graduation, I’ve been diving deep for a couple years now, and I actually managed to put together my first collection. I’m super keen to share it and figure out how to properly jump into open source. It’s called…

---

## [file as parameter with ansible.builtin.script](https://forum.ansible.com/t/file-as-parameter-with-ansible-builtin-script/42933)

<div class="topic-metadata">

**Author:** [@ekynox360](https://forum.ansible.com/u/ekynox360)\
**Replies:** 2\
**Last updated:** [May 23, 2025, 7:29am UTC](https://forum.ansible.com/t/file-as-parameter-with-ansible-builtin-script/42933 "2025-05-23T07:29:50Z")

</div>

Hi, I’m trying to use the ansible.builtin.script module. My script is using a varfile as parameter : - name: Software unattended installation ansible.builtin.script: myscript.x64.sh -q -varfile software\_properti…

---

## [Nice & ionice Ansible processes on remote hosts](https://forum.ansible.com/t/nice-ionice-ansible-processes-on-remote-hosts/42893)

<div class="topic-metadata">

**Author:** [@Dylan\_Martin3](https://forum.ansible.com/u/Dylan_Martin3)\
**Replies:** 2\
**Last updated:** [May 21, 2025, 11:08pm UTC](https://forum.ansible.com/t/nice-ionice-ansible-processes-on-remote-hosts/42893 "2025-05-21T23:08:31Z")

</div>

Hi all. This question is about setting process priorities of Ansible processes on Linux remote hosts. For example, if Ansible wants to install a package, I want that package installation to have a lower priority. The Li…

---

## [Failed to connect with Ansible](https://forum.ansible.com/t/failed-to-connect-with-ansible/42660)

<div class="topic-metadata">

**Author:** [@tatiforti](https://forum.ansible.com/u/tatiforti)\
**Replies:** 1\
**Last updated:** [May 14, 2025, 10:36pm UTC](https://forum.ansible.com/t/failed-to-connect-with-ansible/42660 "2025-05-14T22:36:05Z")

</div>

Hello! I’m trying to connect to several servers using ansible, but I’m receiving the error below: $ ansible all -i xxx.xxx.xxx.xxx, -u adsm -m raw -a "echo Hello" xxx.xxx.xxx.xxx | UNREACHABLE! =\> { "changed": fals…

---

## [Ansible setup for Google Cloud](https://forum.ansible.com/t/ansible-setup-for-google-cloud/41364)

<div class="topic-metadata">

**Author:** [@raj\_krish](https://forum.ansible.com/u/raj_krish)\
**Replies:** 0\
**Last updated:** [March 26, 2025, 9:47pm UTC](https://forum.ansible.com/t/ansible-setup-for-google-cloud/41364 "2025-03-26T21:47:32Z")

</div>

Hi All, I am planning to set up a Virtual machine on google cloud. As part of IAC I am planning to use Terraform and for Config management I am planning to use Ansible. I am not sure as how can i integrate the ansible o…

---

## [AAP playbook review - how to schedule reporting software inventory compliance and email](https://forum.ansible.com/t/aap-playbook-review-how-to-schedule-reporting-software-inventory-compliance-and-email/40994)

<div class="topic-metadata">

**Author:** [@ansnewbie](https://forum.ansible.com/u/ansnewbie)\
**Replies:** 4\
**Last updated:** [March 13, 2025, 5:17pm UTC](https://forum.ansible.com/t/aap-playbook-review-how-to-schedule-reporting-software-inventory-compliance-and-email/40994 "2025-03-13T17:17:21Z")

</div>

I am learning to write playbooks and trying to write a playbook that runs in different release of RHEL servers and report 3 different software installation and send a compliance report in email. Here is the condition. S…

---

## [SSL SELF-SIGNED Certificate Issue](https://forum.ansible.com/t/ssl-self-signed-certificate-issue/40744)

<div class="topic-metadata">

**Author:** [@Shaffique.babu](https://forum.ansible.com/u/Shaffique.babu)\
**Replies:** 3\
**Last updated:** [March 4, 2025, 8:19am UTC](https://forum.ansible.com/t/ssl-self-signed-certificate-issue/40744 "2025-03-04T08:19:08Z")

</div>

SSL Self Signed certificate was got expired. I have renewed the certificate in RHEL v8.10. After that through Ansible still old date of SSL certificate are reflecting in reports (AIOPS)

---

## [Advice on how to deal with non-deterministic block device order in automation](https://forum.ansible.com/t/advice-on-how-to-deal-with-non-deterministic-block-device-order-in-automation/40750)

<div class="topic-metadata">

**Author:** [@bvitnik](https://forum.ansible.com/u/bvitnik)\
**Replies:** 9\
**Last updated:** [March 3, 2025, 6:39pm UTC](https://forum.ansible.com/t/advice-on-how-to-deal-with-non-deterministic-block-device-order-in-automation/40750 "2025-03-03T18:39:58Z")

</div>

Here is a stripped down playbook that illustrates the problem: - name: Add disk to VM community.vmware.vmware\_guest: ... # auth and other required parameters disk: - size\_gb: "10" # already exists - sda …

---

## [Unknown Error occurred: Could not run transaction](https://forum.ansible.com/t/unknown-error-occurred-could-not-run-transaction/39764)

<div class="topic-metadata">

**Author:** [@kmcculla](https://forum.ansible.com/u/kmcculla)\
**Replies:** 0\
**Last updated:** [January 22, 2025, 12:03pm UTC](https://forum.ansible.com/t/unknown-error-occurred-could-not-run-transaction/39764 "2025-01-22T12:03:31Z")

</div>

Workstation: Packer v1.11.2 ansible \[core 2.16.3\] config file = /etc/ansible/ansible.cfg configured module search path = \[‘/home/citadel/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’\] ansible pytho…

[Next page](https://forum.ansible.com/tag/linux/129.md?match_all_tags=true&page=1&tags%5B%5D=linux)
