# Latest

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

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

**Page:** 278

---

## [centos7 target - sudden python interpreter trouble](https://forum.ansible.com/t/centos7-target-sudden-python-interpreter-trouble/35867)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 15\
**Last updated:** [October 14, 2021, 1:30pm UTC](https://forum.ansible.com/t/centos7-target-sudden-python-interpreter-trouble/35867 "2021-10-14T13:30:55Z")

</div>

I am running a playbook to install postgresql against a centos7 (python 2.75) target and am getting this error about a bad python interpreter. I try to solve this via the inventory.yml all: hosts: \[hostname\]: # cento…

---

## [On-Demand Remote Execution of Ansible Playbook](https://forum.ansible.com/t/on-demand-remote-execution-of-ansible-playbook/35840)

<div class="topic-metadata">

**Author:** [@Rob\_Cal](https://forum.ansible.com/u/Rob_Cal)\
**Replies:** 1\
**Last updated:** [October 14, 2021, 12:24pm UTC](https://forum.ansible.com/t/on-demand-remote-execution-of-ansible-playbook/35840 "2021-10-14T12:24:41Z")

</div>

Hi - is there a way in AWX to trigger a job execution on demand i.e. when an event comes in, it can run a specific playbook? Web hook integration only works for repo update events - looking for something more generic he…

---

## [Variable is not recognized](https://forum.ansible.com/t/variable-is-not-recognized/35869)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 0\
**Last updated:** [October 14, 2021, 12:20pm UTC](https://forum.ansible.com/t/variable-is-not-recognized/35869 "2021-10-14T12:20:08Z")

</div>

hm, if it wasn’t too good to be true I’d simply say variable {{ webroot }} exists, variable {{ root }} doesn’t

---

## [Help me to achive this task](https://forum.ansible.com/t/help-me-to-achive-this-task/35854)

<div class="topic-metadata">

**Author:** [@Dineshbabu\_Shankar](https://forum.ansible.com/u/Dineshbabu_Shankar)\
**Replies:** 2\
**Last updated:** [October 14, 2021, 9:39am UTC](https://forum.ansible.com/t/help-me-to-achive-this-task/35854 "2021-10-14T09:39:00Z")

</div>

My requiremnt , i need to add the disk to vms in vcenter by passing vm name, datastorename , and disk\_size via csv file , with the following condition. datastore which i am providing the csv should be in facts colle…

---

## [Getting Permission Denied Error](https://forum.ansible.com/t/getting-permission-denied-error/35858)

<div class="topic-metadata">

**Author:** [@Anirban\_Das](https://forum.ansible.com/u/Anirban_Das)\
**Replies:** 7\
**Last updated:** [October 14, 2021, 9:29am UTC](https://forum.ansible.com/t/getting-permission-denied-error/35858 "2021-10-14T09:29:22Z")

</div>

Hi All, I’m trying to configure few ec2 instances using ansible, hence I created dynamic inventory in controller and playbook both. but I found that I need to pass private key where I’m little bit confused. Does Priv…

---

## [ansible python issue](https://forum.ansible.com/t/ansible-python-issue/35865)

<div class="topic-metadata">

**Author:** [@Marlon\_Frank](https://forum.ansible.com/u/Marlon_Frank)\
**Replies:** 1\
**Last updated:** [October 14, 2021, 9:15am UTC](https://forum.ansible.com/t/ansible-python-issue/35865 "2021-10-14T09:15:33Z")

</div>

hi team, I’ve recently logged an issue on githut however it was close by with clear direction on what to do other than saying install kubernetes client python… that was already installed as described by me on that occa…

---

## [Ansible 4.7.0 has been released](https://forum.ansible.com/t/ansible-4-7-0-has-been-released/35864)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 0\
**Last updated:** [October 13, 2021, 9:22pm UTC](https://forum.ansible.com/t/ansible-4-7-0-has-been-released/35864 "2021-10-13T21:22:33Z")

</div>

Hi all, We're happy to announce that the ansible-4.7.0 package has been released to PyPi: https://pypi.org/project/ansible/4.7.0/ This new version contains bug fixes as well as new, backwards compatible features in …

---

## [cisco.ios.ios\_config failing for dhcp snooping](https://forum.ansible.com/t/cisco-ios-ios-config-failing-for-dhcp-snooping/35862)

<div class="topic-metadata">

**Author:** [@James\_Madill](https://forum.ansible.com/u/James_Madill)\
**Replies:** 1\
**Last updated:** [October 13, 2021, 7:47pm UTC](https://forum.ansible.com/t/cisco-ios-ios-config-failing-for-dhcp-snooping/35862 "2021-10-13T19:47:05Z")

</div>

Help. I am receiving a seemingly odd error when trying to assign multiple non-contiguous VLANs using the cisco ios\_config module (latest). Below is the playbook. It runs just fine if there is only one vlan listed, or i…

---

## [stacked mountpoint always return changed](https://forum.ansible.com/t/stacked-mountpoint-always-return-changed/35861)

<div class="topic-metadata">

**Author:** [@Gerrit\_Kuehn](https://forum.ansible.com/u/Gerrit_Kuehn)\
**Replies:** 0\
**Last updated:** [October 13, 2021, 4:23pm UTC](https://forum.ansible.com/t/stacked-mountpoint-always-return-changed/35861 "2021-10-13T16:23:36Z")

</div>

Hello, It looks like the mount module always returns "changed" for me on a nfs mountpoint that is stacked onto another mountpoint. Is this an intended behaviour, or am I doing something wrong? I have created the foll…

---

## [Use Ansible variable in AWS Cloudformation template](https://forum.ansible.com/t/use-ansible-variable-in-aws-cloudformation-template/35852)

<div class="topic-metadata">

**Author:** [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Replies:** 4\
**Last updated:** [October 13, 2021, 2:40pm UTC](https://forum.ansible.com/t/use-ansible-variable-in-aws-cloudformation-template/35852 "2021-10-13T14:40:21Z")

</div>

$ ansible-playbook -e variable=value

---

## [Resource Profiling](https://forum.ansible.com/t/resource-profiling/35860)

<div class="topic-metadata">

**Author:** [@mark\_kamau](https://forum.ansible.com/u/mark_kamau)\
**Replies:** 0\
**Last updated:** [October 13, 2021, 1:37pm UTC](https://forum.ansible.com/t/resource-profiling/35860 "2021-10-13T13:37:58Z")

</div>

Hi guys, I am having trouble setting up resource profiling on my AWX box. I need help. I am currently using version 19 of AWX

---

## [playbook having include in AWX](https://forum.ansible.com/t/playbook-having-include-in-awx/35850)

<div class="topic-metadata">

**Author:** [@ashutosh\_kumar](https://forum.ansible.com/u/ashutosh_kumar)\
**Replies:** 2\
**Last updated:** [October 13, 2021, 1:19pm UTC](https://forum.ansible.com/t/playbook-having-include-in-awx/35850 "2021-10-13T13:19:28Z")

</div>

I have a playbook which is including another playbook. Say Parents.yaml includes child1.yaml and child2.yaml. To run the Parents.yaml from AWX I kept inside the projects directory /var/lib/awx/projects/plays. But while …

---

## [Time display 24-hour format](https://forum.ansible.com/t/time-display-24-hour-format/35859)

<div class="topic-metadata">

**Author:** [@Thomas\_Geartwo](https://forum.ansible.com/u/Thomas_Geartwo)\
**Replies:** 0\
**Last updated:** [October 13, 2021, 10:49am UTC](https://forum.ansible.com/t/time-display-24-hour-format/35859 "2021-10-13T10:49:48Z")

</div>

How to change the time display of jobs and logs to a 24-hour format. I use AWX 19.4.0 and don’t found a option to switch from 12-hour to 24-hour format. My browser is configured to German for language, time and date.

---

## [Launch node server in background](https://forum.ansible.com/t/launch-node-server-in-background/35855)

<div class="topic-metadata">

**Author:** [@Neil\_Young](https://forum.ansible.com/u/Neil_Young)\
**Replies:** 18\
**Last updated:** [October 12, 2021, 7:26pm UTC](https://forum.ansible.com/t/launch-node-server-in-background/35855 "2021-10-12T19:26:38Z")

</div>

Hmm. I must be making again something fundamentally wrong :slight\_smile: Trying to start a simple node server app into background name: Start server (run as non-privileged user) tags: server shell: | nohup node ser…

---

## [Issue with AWX Ansible install](https://forum.ansible.com/t/issue-with-awx-ansible-install/35857)

<div class="topic-metadata">

**Author:** [@kilo\_kilir](https://forum.ansible.com/u/kilo_kilir)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 6:51pm UTC](https://forum.ansible.com/t/issue-with-awx-ansible-install/35857 "2021-10-12T18:51:12Z")

</div>

Attached is the error I am receiving when running the below command " ansible-playbook -i ~/awx/installer/inventory ~/awx/installer/install.yml" Can someone please help me how to fix this issue Thank you Karl (attac…

---

## [How to use variable in path](https://forum.ansible.com/t/how-to-use-variable-in-path/35856)

<div class="topic-metadata">

**Author:** [@Sanjay\_Chakraborty](https://forum.ansible.com/u/Sanjay_Chakraborty)\
**Replies:** 2\
**Last updated:** [October 12, 2021, 5:21pm UTC](https://forum.ansible.com/t/how-to-use-variable-in-path/35856 "2021-10-12T17:21:03Z")

</div>

I need to disable ipv6 on the network interface config file. The interface name is not the same for all environments. How I can achieve that ? playbook :

---

## [lineinfile - how to hit them all?](https://forum.ansible.com/t/lineinfile-how-to-hit-them-all/35846)

<div class="topic-metadata">

**Author:** [@Neil\_Young](https://forum.ansible.com/u/Neil_Young)\
**Replies:** 2\
**Last updated:** [October 12, 2021, 2:28pm UTC](https://forum.ansible.com/t/lineinfile-how-to-hit-them-all/35846 "2021-10-12T14:28:53Z")

</div>

My /etc/ssh/sshd\_config after initial installation contains these two lines for some reasons: #PasswordAuthentication yes PasswordAuthentication yes I’m trying to change BOTH to “no” with this statement: name: SSH -…

---

## [lvol module - depency problem parted/gparted](https://forum.ansible.com/t/lvol-module-depency-problem-parted-gparted/35848)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 4\
**Last updated:** [October 12, 2021, 1:14pm UTC](https://forum.ansible.com/t/lvol-module-depency-problem-parted-gparted/35848 "2021-10-12T13:14:12Z")

</div>

I have a task to resize a logical volume on a rhel8 target with the lvol module. I get prompted ‘Failed to find required executable parted’ trying to install it with dnf module tells me ‘parted does not exist’ t…

---

## [fetching hostvar for use elsewhere](https://forum.ansible.com/t/fetching-hostvar-for-use-elsewhere/35853)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 12:37pm UTC](https://forum.ansible.com/t/fetching-hostvar-for-use-elsewhere/35853 "2021-10-12T12:37:37Z")

</div>

Hi We’re using our ansible playbook/vars/etc also for other things/scripts/ Sometimes we need those scripts to fetch a hostvar. Currently i’m using some kludgy construct like: ANSIBLE\_STDOUT\_CALLBACK=json ansible -m …

---

## [Use Ansible variable in AWS Cloudformation template](https://forum.ansible.com/t/use-ansible-variable-in-aws-cloudformation-template/35851)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 12:04pm UTC](https://forum.ansible.com/t/use-ansible-variable-in-aws-cloudformation-template/35851 "2021-10-12T12:04:18Z")

</div>

Hi, I am trying to use an ansible variable in my AWS cloudformation template, see below red where I am trying to use the variable from Ansible. Parameters: Environment: Description: ‘Environment definition.’ Type: ‘…

---

## [Proxmox inventory](https://forum.ansible.com/t/proxmox-inventory/35849)

<div class="topic-metadata">

**Author:** [@NOUHAILA\_KERMOUSS](https://forum.ansible.com/u/NOUHAILA_KERMOUSS)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 10:57am UTC](https://forum.ansible.com/t/proxmox-inventory/35849 "2021-10-12T10:57:08Z")

</div>

Hi everyone, we created an inventory role for proxmox and it has been tested on AWX for the time being it’s working perfectly, but my question is i want to filter groups in order to get only the hosts that contains speci…

---

## [Announcing Ansible-Trace: understand task duration and playbook critical paths](https://forum.ansible.com/t/announcing-ansible-trace-understand-task-duration-and-playbook-critical-paths/35839)

<div class="topic-metadata">

**Author:** [@Mark\_Hansen](https://forum.ansible.com/u/Mark_Hansen)\
**Replies:** 1\
**Last updated:** [October 11, 2021, 12:21pm UTC](https://forum.ansible.com/t/announcing-ansible-trace-understand-task-duration-and-playbook-critical-paths/35839 "2021-10-11T12:21:47Z")

</div>

Hi there, I have some slow Ansible playbooks, and I was wondering where the time goes. So I made a Callback Plugin that outputs Chrome’s “Trace Event Format” for visualising the parallel execution and critical path in h…

---

## [\[AWX 19.3.0\] Smart inventory based on inventory variable](https://forum.ansible.com/t/awx-19-3-0-smart-inventory-based-on-inventory-variable/35844)

<div class="topic-metadata">

**Author:** [@Divided\_by\_Zer0](https://forum.ansible.com/u/Divided_by_Zer0)\
**Replies:** 0\
**Last updated:** [October 11, 2021, 11:42am UTC](https://forum.ansible.com/t/awx-19-3-0-smart-inventory-based-on-inventory-variable/35844 "2021-10-11T11:42:57Z")

</div>

Hello everyone, I created a dynamic inventory for azure and connected it to my test AWX instance. It creates some variables per host which contain azure information. I want to make a smart inventory to grab only say, Ce…

---

## [Rolling upgrades based on dynamic-attribute](https://forum.ansible.com/t/rolling-upgrades-based-on-dynamic-attribute/35843)

<div class="topic-metadata">

**Author:** [@Radu\_Stoenescu](https://forum.ansible.com/u/Radu_Stoenescu)\
**Replies:** 0\
**Last updated:** [October 11, 2021, 8:49am UTC](https://forum.ansible.com/t/rolling-upgrades-based-on-dynamic-attribute/35843 "2021-10-11T08:49:32Z")

</div>

I’m trying to manage a set of hosts that make up a dynamic inventory with Ansible. Based on the contents of a database that I can query from Ansible code - these hosts get assigned numbers is a sequence 0,1,2 … I would…

---

## [role take wrong collection fortigate](https://forum.ansible.com/t/role-take-wrong-collection-fortigate/35842)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 0\
**Last updated:** [October 11, 2021, 8:24am UTC](https://forum.ansible.com/t/role-take-wrong-collection-fortigate/35842 "2021-10-11T08:24:48Z")

</div>

I have to use a fortigate collection. if I run all in a playbook — - hosts: fortigates collections: - fortinet.fortios connection: httpapi vars: vdom: “root” ansible\_httpapi\_use\_ssl: yes ansible\_httpapi\_validate\_cert…

---

## [Remote Execution of Ansible Job](https://forum.ansible.com/t/remote-execution-of-ansible-job/35841)

<div class="topic-metadata">

**Author:** [@Mathias\_Homann](https://forum.ansible.com/u/Mathias_Homann)\
**Replies:** 0\
**Last updated:** [October 11, 2021, 7:23am UTC](https://forum.ansible.com/t/remote-execution-of-ansible-job/35841 "2021-10-11T07:23:44Z")

</div>

use the REST api to execute a play - I've done something like that from a PHP script, described here: https://www.tuxonline.tech/index.php/2021/05/07/from-0-to-kubernetes-building-an-app-portal/ Cheers MH

---

## [Identifier for host managed by ansible](https://forum.ansible.com/t/identifier-for-host-managed-by-ansible/35834)

<div class="topic-metadata">

**Author:** [@Simon\_Gao](https://forum.ansible.com/u/Simon_Gao)\
**Replies:** 1\
**Last updated:** [October 10, 2021, 12:19pm UTC](https://forum.ansible.com/t/identifier-for-host-managed-by-ansible/35834 "2021-10-10T12:19:37Z")

</div>

Hi, Is there known or common way to add an identifier on the hosts managed by ansible? Like indentifying os distribution in /etc/redhat-release or /etc/os-release etc, we would like to add some identifying mark on the …

---

## [sending partial hostvars content to hosts](https://forum.ansible.com/t/sending-partial-hostvars-content-to-hosts/35838)

<div class="topic-metadata">

**Author:** [@Aprameya\_NDS](https://forum.ansible.com/u/Aprameya_NDS)\
**Replies:** 1\
**Last updated:** [October 8, 2021, 8:36pm UTC](https://forum.ansible.com/t/sending-partial-hostvars-content-to-hosts/35838 "2021-10-08T20:36:14Z")

</div>

Hi Team, we are using Ansible playbooks to build traffic tools and have around 500 hosts. We are heavily relying on templates to generate nftable rules for each hosts which basically contains ip rules (source, target, …

---

## [Ldap settings become uneditable on 19.2.2 using Operator 0.12.0](https://forum.ansible.com/t/ldap-settings-become-uneditable-on-19-2-2-using-operator-0-12-0/35816)

<div class="topic-metadata">

**Author:** [@John\_Dough](https://forum.ansible.com/u/John_Dough)\
**Replies:** 2\
**Last updated:** [October 8, 2021, 7:20pm UTC](https://forum.ansible.com/t/ldap-settings-become-uneditable-on-19-2-2-using-operator-0-12-0/35816 "2021-10-08T19:20:49Z")

</div>

Using the awx.yaml file in GitHub - kurokobo/awx-on-k3s: An example implementation of AWX on single node K3s using AWX Operator, with easy-to-use simplified configuration with ownership of data and passwords. and followi…

---

## [Bash Module - sourcing files in module\_utils](https://forum.ansible.com/t/bash-module-sourcing-files-in-module-utils/35836)

<div class="topic-metadata">

**Author:** [@Jason\_Masipiquena](https://forum.ansible.com/u/Jason_Masipiquena)\
**Replies:** 1\
**Last updated:** [October 8, 2021, 5:47pm UTC](https://forum.ansible.com/t/bash-module-sourcing-files-in-module-utils/35836 "2021-10-08T17:47:46Z")

</div>

I have a bash module in plugins/modules # my\_module.sh function do\_something1() { ... } source ../module\_utils/my\_other\_source.sh do\_something1 do\_something2 source file in plugins/module\_utils # my\_other\_source.sh…

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

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