# Latest

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

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

**Page:** 270

---

## [Trying to build a dynamic query using netbox.nb\_lookup](https://forum.ansible.com/t/trying-to-build-a-dynamic-query-using-netbox-nb-lookup/36108)

<div class="topic-metadata">

**Author:** [@cwispy](https://forum.ansible.com/u/cwispy)\
**Replies:** 0\
**Last updated:** [December 14, 2021, 8:50am UTC](https://forum.ansible.com/t/trying-to-build-a-dynamic-query-using-netbox-nb-lookup/36108 "2021-12-14T08:50:38Z")

</div>

Hi Everyone, I am building some automation for our Netbox as the source of truth and using webhooks to fire off tasks for things like interface updates and vlan creation / deletions. The issue I have is that I am tryin…

---

## [Unknown error with arguments of roles](https://forum.ansible.com/t/unknown-error-with-arguments-of-roles/36104)

<div class="topic-metadata">

**Author:** [@Axel\_Rau](https://forum.ansible.com/u/Axel_Rau)\
**Replies:** 5\
**Last updated:** [December 13, 2021, 4:21pm UTC](https://forum.ansible.com/t/unknown-error-with-arguments-of-roles/36104 "2021-12-13T16:21:29Z")

</div>

Hi all, I have a role lr\_nsupdate so: - - - - name: Show calling args debug: var: ca - name: Update DNS master server community.general.nsupdate: key\_name: '{{ key\_name }}' key\_algorithm: '{{ alg…

---

## [A general question about looping](https://forum.ansible.com/t/a-general-question-about-looping/36102)

<div class="topic-metadata">

**Author:** [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Replies:** 5\
**Last updated:** [December 13, 2021, 2:11pm UTC](https://forum.ansible.com/t/a-general-question-about-looping/36102 "2021-12-13T14:11:28Z")

</div>

I know I can do this from a shell script. I wonder if I can do this in pure Ansible. I was thinking about clusters recently. I know I can use the VM module to spin up a VM. If I wanted 1,000 nodes, how would I loop ins…

---

## [want to pass output of external shell script as variable to ansible task](https://forum.ansible.com/t/want-to-pass-output-of-external-shell-script-as-variable-to-ansible-task/36105)

<div class="topic-metadata">

**Author:** [@devopstrainer1](https://forum.ansible.com/u/devopstrainer1)\
**Replies:** 3\
**Last updated:** [December 13, 2021, 12:40pm UTC](https://forum.ansible.com/t/want-to-pass-output-of-external-shell-script-as-variable-to-ansible-task/36105 "2021-12-13T12:40:42Z")

</div>

I have a scenario where i have a shell script running externally which at every execution generates dynamic value(can’t add it as ansible task since it is not being executed on any inventory host), i want to use output o…

---

## [Updated ansible.spec for ansible-4.9.0 and ansible-5.0.1](https://forum.ansible.com/t/updated-ansible-spec-for-ansible-4-9-0-and-ansible-5-0-1/36103)

<div class="topic-metadata">

**Author:** [@Nico\_Kadel-Garcia](https://forum.ansible.com/u/Nico_Kadel-Garcia)\
**Replies:** 0\
**Last updated:** [December 11, 2021, 11:17am UTC](https://forum.ansible.com/t/updated-ansible-spec-for-ansible-4-9-0-and-ansible-5-0-1/36103 "2021-12-11T11:17:56Z")

</div>

I've been working with ansible.spec files to support backporting ansible 4.9.0 and ansible 5.0.1 to RHEL 7 and 8, and also be compatible with Fedora releases. I've borrowed a few ideas from https://src.fedorapr…

---

## [Simple Shell Command not executing](https://forum.ansible.com/t/simple-shell-command-not-executing/36088)

<div class="topic-metadata">

**Author:** [@pradipto\_dasgupta](https://forum.ansible.com/u/pradipto_dasgupta)\
**Replies:** 6\
**Last updated:** [December 11, 2021, 8:31am UTC](https://forum.ansible.com/t/simple-shell-command-not-executing/36088 "2021-12-11T08:31:17Z")

</div>

Hello All, I am new in Ansible and was trying to execute a shell script in one of the remote hosts. The script runs fine when executed directly from the host. It is a simple shell script to create a folder. The shell s…

---

## [Ansible ssh-agent check](https://forum.ansible.com/t/ansible-ssh-agent-check/36099)

<div class="topic-metadata">

**Author:** [@Neil\_Young](https://forum.ansible.com/u/Neil_Young)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 8:48pm UTC](https://forum.ansible.com/t/ansible-ssh-agent-check/36099 "2021-12-10T20:48:33Z")

</div>

Hi, I’m using the ssh-agent in order to make Ansible aware of my identity during the setup. Unfortunately I mostly forget to run “ssh-add ~/.ssh/id\_rsa” before starting lengthy installations, so at some point later fo…

---

## [change advanced settings for standalone esxi hosts](https://forum.ansible.com/t/change-advanced-settings-for-standalone-esxi-hosts/36087)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 4\
**Last updated:** [December 10, 2021, 4:27pm UTC](https://forum.ansible.com/t/change-advanced-settings-for-standalone-esxi-hosts/36087 "2021-12-10T16:27:54Z")

</div>

I am trying to change advanced settings for standalone esxi host is the possible without vcenter? I looked at name: Manage multiple settings for an ESXi host community.vmware.vmware\_host\_config\_manager: hostname: ‘{{…

---

## [Ansible pass result of a task as an input to another task in role](https://forum.ansible.com/t/ansible-pass-result-of-a-task-as-an-input-to-another-task-in-role/36101)

<div class="topic-metadata">

**Author:** [@RajG](https://forum.ansible.com/u/RajG)\
**Replies:** 0\
**Last updated:** [December 10, 2021, 2:38pm UTC](https://forum.ansible.com/t/ansible-pass-result-of-a-task-as-an-input-to-another-task-in-role/36101 "2021-12-10T14:38:20Z")

</div>

This is my Ansible playbook … roles/myrole ├── defaults │ └── main.yml ├── tasks │ ├── add\_user\_to\_group.yml │ ├── create\_user.yml │ └── main.yml ├── templates │ ├── add\_user\_to\_group\_data.j2 │ └── create\_user\_data.j2 └…

---

## [Ansible SAML Login - F5 Identity Provider (idP)](https://forum.ansible.com/t/ansible-saml-login-f5-identity-provider-idp/36100)

<div class="topic-metadata">

**Author:** [@Harry\_Clendening](https://forum.ansible.com/u/Harry_Clendening)\
**Replies:** 0\
**Last updated:** [December 10, 2021, 2:07pm UTC](https://forum.ansible.com/t/ansible-saml-login-f5-identity-provider-idp/36100 "2021-12-10T14:07:28Z")

</div>

Hello, We currently have Ansible setup with SAML login via Microsoft ADFS. This works fine. We are looking to migrate away from ADFS and start using the F5 BIG-IP as the Identity Provider (idP). With the F5 setup as th…

---

## [Registered variable returns expected value but task is skipped](https://forum.ansible.com/t/registered-variable-returns-expected-value-but-task-is-skipped/36097)

<div class="topic-metadata">

**Author:** [@Lucas\_Possamai](https://forum.ansible.com/u/Lucas_Possamai)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 8:17am UTC](https://forum.ansible.com/t/registered-variable-returns-expected-value-but-task-is-skipped/36097 "2021-12-10T08:17:24Z")

</div>

I'm trying to only run a task if the previous task returned a 0 stdout. - name: Check if efs-utils is already installed ansible.builtin.shell: dpkg -l | grep efs-utils | wc -l register: is\_installed ignore\_errors: "{…

---

## [Copy folder from one host to another](https://forum.ansible.com/t/copy-folder-from-one-host-to-another/36098)

<div class="topic-metadata">

**Author:** [@Lucas\_Possamai](https://forum.ansible.com/u/Lucas_Possamai)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 6:17am UTC](https://forum.ansible.com/t/copy-folder-from-one-host-to-another/36098 "2021-12-10T06:17:35Z")

</div>

Hi all, I need to copy the content of a folder from one remote host to another remote host. The copy command needs to be executed as user “postgres”. Folder to be copied from source: /data/postgresql/pg\_xlog/ Destinat…

---

## [include\_tasks and noop](https://forum.ansible.com/t/include-tasks-and-noop/36096)

<div class="topic-metadata">

**Author:** [@Omar](https://forum.ansible.com/u/Omar)\
**Replies:** 1\
**Last updated:** [December 10, 2021, 1:06am UTC](https://forum.ansible.com/t/include-tasks-and-noop/36096 "2021-12-10T01:06:22Z")

</div>

This is potential feature idea. I’m developing a small collection and as an extension points I expose various variable that refer to ‘task files’. For example, I have a role named prepare with a task file named \_yum.yml …

---

## [Ansible and SELinux Issues](https://forum.ansible.com/t/ansible-and-selinux-issues/36075)

<div class="topic-metadata">

**Author:** [@Ryan\_P](https://forum.ansible.com/u/Ryan_P)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 11:59pm UTC](https://forum.ansible.com/t/ansible-and-selinux-issues/36075 "2021-12-09T23:59:21Z")

</div>

Hi all, My Ansible server has lost the ability to login to any of my hosts (itself included) and I am hoping others have had a similar issue. The server in question is a RHEL7 server that is required to be configured a…

---

## [Namespaced vs Clusterscoped Operator Install ?](https://forum.ansible.com/t/namespaced-vs-clusterscoped-operator-install/36095)

<div class="topic-metadata">

**Author:** [@Dane\_DeValcourt](https://forum.ansible.com/u/Dane_DeValcourt)\
**Replies:** 0\
**Last updated:** [December 9, 2021, 10:01pm UTC](https://forum.ansible.com/t/namespaced-vs-clusterscoped-operator-install/36095 "2021-12-09T22:01:51Z")

</div>

I understand that Operator needs to be installed and uses cluster scopes for: customresourcedefinitions, clusterroles, and clusterrole bindings as those inherently are all cluster-scoped However this PR: https://github…

---

## [New releases: ansible-core 2.12.1, ansible-core 2.11.7, ansible-base 2.10.16](https://forum.ansible.com/t/new-releases-ansible-core-2-12-1-ansible-core-2-11-7-ansible-base-2-10-16/36093)

<div class="topic-metadata">

**Author:** [@Matt\_Davis2](https://forum.ansible.com/u/Matt_Davis2)\
**Replies:** 0\
**Last updated:** [December 9, 2021, 8:05pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-12-1-ansible-core-2-11-7-ansible-base-2-10-16/36093 "2021-12-09T20:05:45Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.12.1 ansible-core 2.11.7 ansible-base 2.10.16 How to get it

---

## [Issue on Ansible Playbook Run When Calling WinRM - ConnectionError ('Connection aborted.', OSError("(104, 'ECONNRESET')",))](https://forum.ansible.com/t/issue-on-ansible-playbook-run-when-calling-winrm-connectionerror-connection-aborted-oserror-104-econnreset/36091)

<div class="topic-metadata">

**Author:** [@Panos\_Eracleous](https://forum.ansible.com/u/Panos_Eracleous)\
**Replies:** 2\
**Last updated:** [December 9, 2021, 2:51pm UTC](https://forum.ansible.com/t/issue-on-ansible-playbook-run-when-calling-winrm-connectionerror-connection-aborted-oserror-104-econnreset/36091 "2021-12-09T14:51:03Z")

</div>

We’re currently using Ansible 2.9.15 through Tower 3.8.0. We’re seeing an issue when targeting new builds on Window Server 2016 through WinRM. The issue happens at the start of the Playbook and soon after a Join Domain …

---

## [Trouble with control plane EE ansible/awx-ee:0.6.0 in AWX 19.3.0](https://forum.ansible.com/t/trouble-with-control-plane-ee-ansible-awx-ee-0-6-0-in-awx-19-3-0/36090)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 0\
**Last updated:** [December 9, 2021, 8:47am UTC](https://forum.ansible.com/t/trouble-with-control-plane-ee-ansible-awx-ee-0-6-0-in-awx-19-3-0/36090 "2021-12-09T08:47:50Z")

</div>

I have AWX 19.3.0 running. I have a custom EE based on built with ansible-builder (based on “ansible-runner:stable-2.9-latest” not “ansible/awx-ee”, config below) which works which is used (successfully) as the EE for jo…

---

## [Update EC2 tags - just change case](https://forum.ansible.com/t/update-ec2-tags-just-change-case/36086)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 5:31am UTC](https://forum.ansible.com/t/update-ec2-tags-just-change-case/36086 "2021-12-09T05:31:49Z")

</div>

Hi i have an ec2 with multiple volumes & each vol has tag the ec2 volumes tag need to keep same just change case , in my case making all lower will help eg current tag abc\_Prod\_root\_vol1 abc\_Prod\_root\_vol2 abc\_Prod…

---

## [Run shell script that needs user input](https://forum.ansible.com/t/run-shell-script-that-needs-user-input/36085)

<div class="topic-metadata">

**Author:** [@Aleksandar\_Ilic](https://forum.ansible.com/u/Aleksandar_Ilic)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 10:33pm UTC](https://forum.ansible.com/t/run-shell-script-that-needs-user-input/36085 "2021-12-08T22:33:47Z")

</div>

Hello everyone, I have been trying to find a solution to run a sh script via ansible but the script requires users that run the script to enter username and password. Is it possible to pass those vars via ansible? Reg…

---

## [AWX on K3S galaxy/modules error](https://forum.ansible.com/t/awx-on-k3s-galaxy-modules-error/36052)

<div class="topic-metadata">

**Author:** [@lvb\_lbv](https://forum.ansible.com/u/lvb_lbv)\
**Replies:** 1\
**Last updated:** [December 8, 2021, 8:54pm UTC](https://forum.ansible.com/t/awx-on-k3s-galaxy-modules-error/36052 "2021-12-08T20:54:53Z")

</div>

Hello everyone, i’m having trouble running some playbooks. For example my docker install playbook gives the following error: ERROR! couldn’t resolve module/action ‘docker\_login’ This often indicates a misspelling, missi…

---

## [Ability for a host to declare which roles should be applied to it?](https://forum.ansible.com/t/ability-for-a-host-to-declare-which-roles-should-be-applied-to-it/36084)

<div class="topic-metadata">

**Author:** [@Philip\_Kauffman](https://forum.ansible.com/u/Philip_Kauffman)\
**Replies:** 4\
**Last updated:** [December 8, 2021, 8:24pm UTC](https://forum.ansible.com/t/ability-for-a-host-to-declare-which-roles-should-be-applied-to-it/36084 "2021-12-08T20:24:58Z")

</div>

I’d like to start a discussion on the ability to define roles to import\_role from within host\_vars. Instead of only defining those roles statically in a playbook. My goal is to be able to give an inventory\_host the abil…

---

## [Custom credential type plugin](https://forum.ansible.com/t/custom-credential-type-plugin/36072)

<div class="topic-metadata">

**Author:** [@Olegas\_Domanskis](https://forum.ansible.com/u/Olegas_Domanskis)\
**Replies:** 1\
**Last updated:** [December 8, 2021, 7:32pm UTC](https://forum.ansible.com/t/custom-credential-type-plugin/36072 "2021-12-08T19:32:00Z")

</div>

Hello Can anyone point me to the documentation piece how to create custom credential type plugin? For previous versions there was ability to install the plugins like documented here: https://github.com/ansible/awx-cus…

---

## [CS Falcon Windows Install Issue](https://forum.ansible.com/t/cs-falcon-windows-install-issue/36069)

<div class="topic-metadata">

**Author:** [@Bone\_Cheeta](https://forum.ansible.com/u/Bone_Cheeta)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 7:31pm UTC](https://forum.ansible.com/t/cs-falcon-windows-install-issue/36069 "2021-12-08T19:31:52Z")

</div>

Hello, using the Crowdstrike Falcon sensor installation (https://github.com/CrowdStrike/ansible\_collection\_falcon) and this works just fine on Linux, but did require the ansible.windows collection along with it. Running…

---

## [Run task for specific host](https://forum.ansible.com/t/run-task-for-specific-host/36081)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 5\
**Last updated:** [December 8, 2021, 6:01pm UTC](https://forum.ansible.com/t/run-task-for-specific-host/36081 "2021-12-08T18:01:18Z")

</div>

I have a playbook that runs against 100 hosts. However one of these needs a bit of extra attention (an additional task). Is there a way (other than conditionals) I can run this task against this host only? Trying to a…

---

## [Error in RHEL System Roles \[SELinux\]](https://forum.ansible.com/t/error-in-rhel-system-roles-selinux/36083)

<div class="topic-metadata">

**Author:** [@Taha\_Adel](https://forum.ansible.com/u/Taha_Adel)\
**Replies:** 1\
**Last updated:** [December 8, 2021, 5:05pm UTC](https://forum.ansible.com/t/error-in-rhel-system-roles-selinux/36083 "2021-12-08T17:05:12Z")

</div>

Hi Team, I’m trying to practice rhel-system-roles and when I run the selinux roles, I’m getting the following error message fatal: \[ansible-01.example.com\]: FAILED! =\> {“msg”: “The conditional check ‘ansible\_python\_ver…

---

## [ansible.builtin.shell not returning output of script](https://forum.ansible.com/t/ansible-builtin-shell-not-returning-output-of-script/36079)

<div class="topic-metadata">

**Author:** [@dimple\_rohara](https://forum.ansible.com/u/dimple_rohara)\
**Replies:** 5\
**Last updated:** [December 8, 2021, 4:01pm UTC](https://forum.ansible.com/t/ansible-builtin-shell-not-returning-output-of-script/36079 "2021-12-08T16:01:59Z")

</div>

Hi, I am using ansible.builtin.shell, but it’s returning no output of the execution on console. I am using it like this: ansible.builtin.shell: "{{sources\_dir}}/scripts/tomcat/upgrade.sh {{tmp\_dir}}/{{item.name}}.props…

---

## [try to fetch by tags with community.vmware.vmware\_vm\_inventory for AWX14](https://forum.ansible.com/t/try-to-fetch-by-tags-with-community-vmware-vmware-vm-inventory-for-awx14/36057)

<div class="topic-metadata">

**Author:** [@Isis\_Chien](https://forum.ansible.com/u/Isis_Chien)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 3:53pm UTC](https://forum.ansible.com/t/try-to-fetch-by-tags-with-community-vmware-vmware-vm-inventory-for-awx14/36057 "2021-12-08T15:53:23Z")

</div>

Hello all, Cant figured out why i cant fetch VM tags to use dynamic inventory to configure newly provisionned VM. AWX 14 /vCenter 7 What i did: Create a new inventory → source vcenter add

---

## [Automation mesh: AWX or Ansible automation platform only](https://forum.ansible.com/t/automation-mesh-awx-or-ansible-automation-platform-only/36062)

<div class="topic-metadata">

**Author:** [@Stefan\_Coussens](https://forum.ansible.com/u/Stefan_Coussens)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 1:34pm UTC](https://forum.ansible.com/t/automation-mesh-awx-or-ansible-automation-platform-only/36062 "2021-12-08T13:34:27Z")

</div>

Hi, It seems that Ansible Automation mesh is included in the just released Ansible automation platform 2.1. Is this an Ansible automation platform 2.1only feature since I do not see any reference in the AWX release not…

---

## [win\_security\_policy and Registry Values failing](https://forum.ansible.com/t/win-security-policy-and-registry-values-failing/36080)

<div class="topic-metadata">

**Author:** [@paul\_harford](https://forum.ansible.com/u/paul_harford)\
**Replies:** 0\
**Last updated:** [December 8, 2021, 9:54am UTC](https://forum.ansible.com/t/win-security-policy-and-registry-values-failing/36080 "2021-12-08T09:54:41Z")

</div>

hey Ansible group we are trying to set a registry value using win\_security\_policy name: Strong Session Key win\_security\_policy: section: Registry Values key: RequireStrongKey any value we try to set using Registry…

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

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