# Latest

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

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

**Page:** 368

---

## [issue with nmcli module in RHEL 8](https://forum.ansible.com/t/issue-with-nmcli-module-in-rhel-8/33198)

<div class="topic-metadata">

**Author:** [@rocky\_rns](https://forum.ansible.com/u/rocky_rns)\
**Replies:** 0\
**Last updated:** [June 17, 2020, 1:15am UTC](https://forum.ansible.com/t/issue-with-nmcli-module-in-rhel-8/33198 "2020-06-17T01:15:28Z")

</div>

Hi Folks, I have small issue using the nmcli module. I get the below error. I think this package is missing "NetworkManager-glib" how do we resolve this issue. fatal: \[node002\]: FAILED! =\> {"changed": false,…

---

## [Inventory for playbooks with all uri calls ran local](https://forum.ansible.com/t/inventory-for-playbooks-with-all-uri-calls-ran-local/33192)

<div class="topic-metadata">

**Author:** [@Nicholas\_Britton](https://forum.ansible.com/u/Nicholas_Britton)\
**Replies:** 2\
**Last updated:** [June 16, 2020, 4:07pm UTC](https://forum.ansible.com/t/inventory-for-playbooks-with-all-uri-calls-ran-local/33192 "2020-06-16T16:07:16Z")

</div>

I am trying to see how I can setup an inventory file for an application that is all managed by uri calls. I have multiple end points that will end up with some different vars by host. But I have the host as 127.0.0.1 si…

---

## [vmeware\_guest customization runonce](https://forum.ansible.com/t/vmeware-guest-customization-runonce/33195)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 0\
**Last updated:** [June 16, 2020, 12:36pm UTC](https://forum.ansible.com/t/vmeware-guest-customization-runonce/33195 "2020-06-16T12:36:48Z")

</div>

how to enable winrm over https with runonce ?

---

## [print highest number of volume group](https://forum.ansible.com/t/print-highest-number-of-volume-group/33188)

<div class="topic-metadata">

**Author:** [@sharanpeetani](https://forum.ansible.com/u/sharanpeetani)\
**Replies:** 3\
**Last updated:** [June 16, 2020, 11:17am UTC](https://forum.ansible.com/t/print-highest-number-of-volume-group/33188 "2020-06-16T11:17:14Z")

</div>

Hello, I Is there a way to print only volume group name on server with the highest number? for eg if the server has vg00, vg01, vg02 I want to have print only highest number vg which is vg02. I am trying to use with an…

---

## [Windows Domain/Ansible Kerberos Auth Issues Still](https://forum.ansible.com/t/windows-domain-ansible-kerberos-auth-issues-still/33121)

<div class="topic-metadata">

**Author:** [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Replies:** 3\
**Last updated:** [June 16, 2020, 10:51am UTC](https://forum.ansible.com/t/windows-domain-ansible-kerberos-auth-issues-still/33121 "2020-06-16T10:51:35Z")

</div>

(I’ve posted a bit about this before, but I want to revisit it because its frustrating as I try to optimize my playbooks) I have a playbook where I build servers from vmware templates using vmware\_guest and I join the d…

---

## [windows CPU Memory Swap-Memory utilization report in txt format](https://forum.ansible.com/t/windows-cpu-memory-swap-memory-utilization-report-in-txt-format/33194)

<div class="topic-metadata">

**Author:** [@Avinash\_Jadhav](https://forum.ansible.com/u/Avinash_Jadhav)\
**Replies:** 2\
**Last updated:** [June 16, 2020, 10:32am UTC](https://forum.ansible.com/t/windows-cpu-memory-swap-memory-utilization-report-in-txt-format/33194 "2020-06-16T10:32:14Z")

</div>

Hello Ansible Team I am trying to develped below task CPU/Memory related alerts need manual intervention to review the system health against the resources consuming the CPU/MEMORY. Every time engineer needs to login to…

---

## [JSON Inventory Host LIst isn't accepted anymore when YUM or DNF PKG Mgr is used](https://forum.ansible.com/t/json-inventory-host-list-isnt-accepted-anymore-when-yum-or-dnf-pkg-mgr-is-used/33193)

<div class="topic-metadata">

**Author:** [@M\_Manna](https://forum.ansible.com/u/M_Manna)\
**Replies:** 4\
**Last updated:** [June 16, 2020, 8:25am UTC](https://forum.ansible.com/t/json-inventory-host-list-isnt-accepted-anymore-when-yum-or-dnf-pkg-mgr-is-used/33193 "2020-06-16T08:25:40Z")

</div>

Hello, With Regards to Github Ticket - https://github.com/ansible/ansible/issues/70054 I have not reached a successful resolution. Here is the summary of the issue The inventory.py script which is supposed to output …

---

## [Create and add to a multi field array](https://forum.ansible.com/t/create-and-add-to-a-multi-field-array/33186)

<div class="topic-metadata">

**Author:** [@Nicholas\_Britton](https://forum.ansible.com/u/Nicholas_Britton)\
**Replies:** 2\
**Last updated:** [June 16, 2020, 6:26am UTC](https://forum.ansible.com/t/create-and-add-to-a-multi-field-array/33186 "2020-06-16T06:26:44Z")

</div>

I am trying to find away that i can create an array that i can reference later that would be built through a series of include\_task plays. Through the plays i will specific pieces of data that i care to keep for use late…

---

## [ipaddr cidr\_lookup](https://forum.ansible.com/t/ipaddr-cidr-lookup/33191)

<div class="topic-metadata">

**Author:** [@ryanmerolle](https://forum.ansible.com/u/ryanmerolle)\
**Replies:** 4\
**Last updated:** [June 16, 2020, 2:05am UTC](https://forum.ansible.com/t/ipaddr-cidr-lookup/33191 "2020-06-16T02:05:04Z")

</div>

Anyone use this filter function? It seems like a lookup to see if an IP or subnet is a member of a larger prefix. https://github.com/ansible-collections/ansible.netcommon/blob/master/plugins/filter/ipaddr.py#L665 I am …

---

## [Send an email on Yum update (success) or fail, etc](https://forum.ansible.com/t/send-an-email-on-yum-update-success-or-fail-etc/33190)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 2\
**Last updated:** [June 16, 2020, 1:45am UTC](https://forum.ansible.com/t/send-an-email-on-yum-update-success-or-fail-etc/33190 "2020-06-16T01:45:39Z")

</div>

Hello All, Finally got my axw running reliably. Using Ubuntu 19.10. I use the yum module (ansible) with success for listing, updating, etc. I hope this question is not out-of-scope for the awx forum. I can get the st…

---

## [Packer definitions for AWX](https://forum.ansible.com/t/packer-definitions-for-awx/33189)

<div class="topic-metadata">

**Author:** [@renato.marcandier](https://forum.ansible.com/u/renato.marcandier)\
**Replies:** 0\
**Last updated:** [June 15, 2020, 9:32pm UTC](https://forum.ansible.com/t/packer-definitions-for-awx/33189 "2020-06-15T21:32:45Z")

</div>

Hello guys, I am looking for designing and testing a HashiCorp Packer definition that allows easy and consistent deployment of Ansible AWX to: Vagrant OpenStack AWS VMWare Do you know where I could find these definit…

---

## [Conditional with dict2item is falied](https://forum.ansible.com/t/conditional-with-dict2item-is-falied/33187)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 3\
**Last updated:** [June 15, 2020, 8:33pm UTC](https://forum.ansible.com/t/conditional-with-dict2item-is-falied/33187 "2020-06-15T20:33:55Z")

</div>

Hi guys, I have a task with equal below, but when I validate it is defined it not recognized. name: include vars virtual\_machine include\_tasks: virtual\_machine.yml when: gms\_az\_vm\_action == ‘create\_virtual\_machine’ v…

---

## [ansible 2.9.4 - task with delegate\_to: \<windows\_host\> works, subsequent tasks fail](https://forum.ansible.com/t/ansible-2-9-4-task-with-delegate-to-windows-host-works-subsequent-tasks-fail/33157)

<div class="topic-metadata">

**Author:** [@vampyreapocalypse](https://forum.ansible.com/u/vampyreapocalypse)\
**Replies:** 3\
**Last updated:** [June 15, 2020, 7:29pm UTC](https://forum.ansible.com/t/ansible-2-9-4-task-with-delegate-to-windows-host-works-subsequent-tasks-fail/33157 "2020-06-15T19:29:10Z")

</div>

Hi All, hope this question makes sense. Here goes: Context: I have several automated patching playbooks that rely on stopping/starting services on windows before patching a database on Linux. We are using a python scrip…

---

## [Sending ansible output to python function](https://forum.ansible.com/t/sending-ansible-output-to-python-function/33155)

<div class="topic-metadata">

**Author:** [@Douglas\_R\_Christense](https://forum.ansible.com/u/Douglas_R_Christense)\
**Replies:** 3\
**Last updated:** [June 15, 2020, 4:47pm UTC](https://forum.ansible.com/t/sending-ansible-output-to-python-function/33155 "2020-06-15T16:47:28Z")

</div>

Hello, I have posted the following at https://stackoverflow.com/questions/62309274/how-to-have-ansible-send-output-to-a-python-function-in-a-custom-library, but I wanted to share here to get some more insight. I am a n…

---

## [Ansible is being run in a world writable directory (/vagrant), ), ignoring it as an ansible.cfg source](https://forum.ansible.com/t/ansible-is-being-run-in-a-world-writable-directory-vagrant-ignoring-it-as-an-ansible-cfg-source/33185)

<div class="topic-metadata">

**Author:** [@Abhishek\_Karigar](https://forum.ansible.com/u/Abhishek_Karigar)\
**Replies:** 1\
**Last updated:** [June 15, 2020, 2:22pm UTC](https://forum.ansible.com/t/ansible-is-being-run-in-a-world-writable-directory-vagrant-ignoring-it-as-an-ansible-cfg-source/33185 "2020-06-15T14:22:59Z")

</div>

SUMMARY trying to provision the vagrant guest using ansible\_local. with ansible provision i was able to do it successfully. ISSUE TYPE- Bug Report COMPONENT NAME##### ANSIBLE VERSION ansible 2.9.9 CONFIGURATION OS …

---

## [How to Secure Ansible playbook](https://forum.ansible.com/t/how-to-secure-ansible-playbook/33183)

<div class="topic-metadata">

**Author:** [@Nihanth\_Joseph](https://forum.ansible.com/u/Nihanth_Joseph)\
**Replies:** 4\
**Last updated:** [June 15, 2020, 2:12pm UTC](https://forum.ansible.com/t/how-to-secure-ansible-playbook/33183 "2020-06-15T14:12:51Z")

</div>

I need to encrypt my playbook, so once i deploy it to customer environment, they cannot edit or read my file. I have tired ansible-vault, but for this we need to save password in text file, so ultimately customer can de…

---

## [Abort playbook if host is not ready](https://forum.ansible.com/t/abort-playbook-if-host-is-not-ready/33041)

<div class="topic-metadata">

**Author:** [@Laci](https://forum.ansible.com/u/Laci)\
**Replies:** 2\
**Last updated:** [June 15, 2020, 11:16am UTC](https://forum.ansible.com/t/abort-playbook-if-host-is-not-ready/33041 "2020-06-15T11:16:40Z")

</div>

Is there a good way to abort the playbook if host is not ready? For example I want to run a playbook against thisserver, but thisserver is unreachable by ssh or it is reachable but there is no python install. If any of …

---

## [Conditional actions based on host type?](https://forum.ansible.com/t/conditional-actions-based-on-host-type/33181)

<div class="topic-metadata">

**Author:** [@Mark\_Farrington](https://forum.ansible.com/u/Mark_Farrington)\
**Replies:** 4\
**Last updated:** [June 15, 2020, 10:47am UTC](https://forum.ansible.com/t/conditional-actions-based-on-host-type/33181 "2020-06-15T10:47:38Z")

</div>

Hi, New to ansible and looking for advice. I have an action inside a task (I think that is correct terminology). Something like this: name: Cloudwatch deploy agent configuration for webserver template: src: templa…

---

## [Ansible Modules for HP Switches (Comware 7)](https://forum.ansible.com/t/ansible-modules-for-hp-switches-comware-7/33182)

<div class="topic-metadata">

**Author:** [@gineesh](https://forum.ansible.com/u/gineesh)\
**Replies:** 0\
**Last updated:** [June 15, 2020, 10:36am UTC](https://forum.ansible.com/t/ansible-modules-for-hp-switches-comware-7/33182 "2020-06-15T10:36:37Z")

</div>

Hi Guys, Hope all are doing good. I was developing some latest playbooks for HP Switches (HP 5130 - CMW710) and noticed the 3rd party modules (refer link below) are not working any more with latest Ansible version (ans…

---

## [Using environment with import\_tasks](https://forum.ansible.com/t/using-environment-with-import-tasks/33180)

<div class="topic-metadata">

**Author:** [@Vishal\_Kumar](https://forum.ansible.com/u/Vishal_Kumar)\
**Replies:** 0\
**Last updated:** [June 15, 2020, 9:24am UTC](https://forum.ansible.com/t/using-environment-with-import-tasks/33180 "2020-06-15T09:24:37Z")

</div>

I got a small question regarding ansible regarding import\_tasks and using task specific env variablesPlaybook folder structure common/a.yaml database/sometask.yaml database/sometask1.yaml Content of a.yaml- name: Some…

---

## [ansible-playbook --ask-become-user in vault file?](https://forum.ansible.com/t/ansible-playbook-ask-become-user-in-vault-file/33178)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 1\
**Last updated:** [June 15, 2020, 2:55am UTC](https://forum.ansible.com/t/ansible-playbook-ask-become-user-in-vault-file/33178 "2020-06-15T02:55:31Z")

</div>

can i put a sudo password and other passwords together in a vault file? when i run thios playbook, i want it to read the vault file w/o asking me for the password anymore ansible-playbook --ask-vault-pass vcenter\_sddc\_…

---

## [Ansible rolling restart in multi-clustered environment](https://forum.ansible.com/t/ansible-rolling-restart-in-multi-clustered-environment/33177)

<div class="topic-metadata">

**Author:** [@Rishabh\_Kumar](https://forum.ansible.com/u/Rishabh_Kumar)\
**Replies:** 0\
**Last updated:** [June 14, 2020, 9:04pm UTC](https://forum.ansible.com/t/ansible-rolling-restart-in-multi-clustered-environment/33177 "2020-06-14T21:04:11Z")

</div>

Hi, I have a use case where I want to execute rolling updates in multiple clusters. As first step, I have created a task to execute serially on the hosts passed to the task which will execute the restart one node at a t…

---

## [The ipaddr filter requires python's netaddr be installed on the ansible controller"](https://forum.ansible.com/t/the-ipaddr-filter-requires-pythons-netaddr-be-installed-on-the-ansible-controller/33175)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 2\
**Last updated:** [June 14, 2020, 6:54pm UTC](https://forum.ansible.com/t/the-ipaddr-filter-requires-pythons-netaddr-be-installed-on-the-ansible-controller/33175 "2020-06-14T18:54:01Z")

</div>

any idea what this error is? TASK \[vcsa-deploy : Create a task from the template to deploy VCSA with embedded PSC\]\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* task path: /home/tony/ansible-vmware/vsphere-…

---

## [Ansible config file in current directory not used](https://forum.ansible.com/t/ansible-config-file-in-current-directory-not-used/33173)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 1\
**Last updated:** [June 14, 2020, 6:39pm UTC](https://forum.ansible.com/t/ansible-config-file-in-current-directory-not-used/33173 "2020-06-14T18:39:25Z")

</div>

According to the docs (https://docs.ansible.com/ansible/latest/reference\_appendices/config.html#ansible-configuration-settings-locations), Ansible is supposed to use ansible.cfg from the current directory as the second o…

---

## [Inject JSON file using URI](https://forum.ansible.com/t/inject-json-file-using-uri/33176)

<div class="topic-metadata">

**Author:** [@renato.marcandier](https://forum.ansible.com/u/renato.marcandier)\
**Replies:** 1\
**Last updated:** [June 14, 2020, 6:33pm UTC](https://forum.ansible.com/t/inject-json-file-using-uri/33176 "2020-06-14T18:33:22Z")

</div>

hey guys, I need to inject a .json file into an application using ansible. I know that we have a module called URI. However this application accepts only by Content-Type: “application/x-www-form-urlencoded” … in this c…

---

## [filter on attribute value](https://forum.ansible.com/t/filter-on-attribute-value/33016)

<div class="topic-metadata">

**Author:** [@Anuj\_Agrawal](https://forum.ansible.com/u/Anuj_Agrawal)\
**Replies:** 3\
**Last updated:** [June 14, 2020, 6:18pm UTC](https://forum.ansible.com/t/filter-on-attribute-value/33016 "2020-06-14T18:18:26Z")

</div>

I want to validate my inventory to have only a certain number of hosts to have a certain value. I tried to do that using assert but I am unable to find a way to do so. Example inventory (ini) file: \[nginx\] 10.52.130…

---

## [\--ask-become-pass](https://forum.ansible.com/t/ask-become-pass/33174)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 0\
**Last updated:** [June 14, 2020, 6:01pm UTC](https://forum.ansible.com/t/ask-become-pass/33174 "2020-06-14T18:01:02Z")

</div>

how do i store the --ask-become-password for sudo to a vaults file?

---

## [vcsa deploy error](https://forum.ansible.com/t/vcsa-deploy-error/33171)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 0\
**Last updated:** [June 14, 2020, 1:56pm UTC](https://forum.ansible.com/t/vcsa-deploy-error/33171 "2020-06-14T13:56:26Z")

</div>

I am trying to deploy vcsa with this role vcsa-deploy

---

## [Unable to run command via Ansible to Sonus and Acme/Oracle SBC](https://forum.ansible.com/t/unable-to-run-command-via-ansible-to-sonus-and-acme-oracle-sbc/25450)

<div class="topic-metadata">

**Author:** [@Maithreyi\_Narasimha](https://forum.ansible.com/u/Maithreyi_Narasimha)\
**Replies:** 16\
**Last updated:** [June 14, 2020, 9:27am UTC](https://forum.ansible.com/t/unable-to-run-command-via-ansible-to-sonus-and-acme-oracle-sbc/25450 "2020-06-14T09:27:28Z")

</div>

Hi All, We have been unsuccessful in trying to run a basic “show version” or any show command on both Sonus and Acme/Oracle SBC via Ansible using the command or shell or raw module. The version of the Sonus box(Sonus 5…

---

## [Making Small Command Modules using Ansible](https://forum.ansible.com/t/making-small-command-modules-using-ansible/33153)

<div class="topic-metadata">

**Author:** [@Ashwajit\_Bhoutkar](https://forum.ansible.com/u/Ashwajit_Bhoutkar)\
**Replies:** 3\
**Last updated:** [June 14, 2020, 3:36am UTC](https://forum.ansible.com/t/making-small-command-modules-using-ansible/33153 "2020-06-14T03:36:02Z")

</div>

Hello, I’ve question related to a scenario which I can accomplish using Python but would like to achieve the same using Ansible. In the scenario, I first execute “show run int” command to see if it has IP address alloc…

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

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