# Latest

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

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

**Page:** 371

---

## [AWX Error](https://forum.ansible.com/t/awx-error/33113)

<div class="topic-metadata">

**Author:** [@Anish\_Kumar](https://forum.ansible.com/u/Anish_Kumar)\
**Replies:** 0\
**Last updated:** [June 7, 2020, 4:52pm UTC](https://forum.ansible.com/t/awx-error/33113 "2020-06-07T16:52:57Z")

</div>

Hello Team , I have installed postgress HA externally and then install AWX 10.0.0 on k8s .But I am getting multiple error like 400 and some time the request could not be understand by server .If anyone have idea please …

---

## [workflow with separate inventory refresh steps.](https://forum.ansible.com/t/workflow-with-separate-inventory-refresh-steps/33109)

<div class="topic-metadata">

**Author:** [@innatenew](https://forum.ansible.com/u/innatenew)\
**Replies:** 0\
**Last updated:** [June 7, 2020, 12:13am UTC](https://forum.ansible.com/t/workflow-with-separate-inventory-refresh-steps/33109 "2020-06-07T00:13:49Z")

</div>

hello team, I am trying to setup a workflow on ansible tower, where the first Job templates will create inventory during run using meta: refresh inventory feature and then I want the second template in workflow to use t…

---

## [Passing variables between hosts](https://forum.ansible.com/t/passing-variables-between-hosts/33078)

<div class="topic-metadata">

**Author:** [@Andrew\_Morgan](https://forum.ansible.com/u/Andrew_Morgan)\
**Replies:** 2\
**Last updated:** [June 7, 2020, 12:02am UTC](https://forum.ansible.com/t/passing-variables-between-hosts/33078 "2020-06-07T00:02:38Z")

</div>

Hello all, I have a playbook that is 99% complete but fails on the last step.My inventory file and playbook are below. I only added the last parts \` \[dev\] dev\_jenkins ansible\_ssh\_host=44.244.444.44 ansible\_python\_int…

---

## [windows update playbook failed](https://forum.ansible.com/t/windows-update-playbook-failed/33107)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 3\
**Last updated:** [June 6, 2020, 11:40pm UTC](https://forum.ansible.com/t/windows-update-playbook-failed/33107 "2020-06-06T23:40:12Z")

</div>

I brought up a new 2012 server and decided to use anisble to patch it. but it failed on some patches fatal: \[vasvw-winpsctst\]: FAILED! =\> { “changed”: true, “failed\_update\_count”: 0, “filtered\_updates”: { “2221dd34…

---

## [issues building json body for rest api update](https://forum.ansible.com/t/issues-building-json-body-for-rest-api-update/33108)

<div class="topic-metadata">

**Author:** [@sebastien\_Morissette](https://forum.ansible.com/u/sebastien_Morissette)\
**Replies:** 0\
**Last updated:** [June 6, 2020, 3:30pm UTC](https://forum.ansible.com/t/issues-building-json-body-for-rest-api-update/33108 "2020-06-06T15:30:24Z")

</div>

Hi, I am trying to update an object on an rest api endpoing and I need to build the proper json structure. I am getting unwanted extra sets of quotes in my activateRegions list and I do not know how to remove them or bu…

---

## [Default values are also added part of user input in ansible resource modules, is this bug or by design?](https://forum.ansible.com/t/default-values-are-also-added-part-of-user-input-in-ansible-resource-modules-is-this-bug-or-by-design/33106)

<div class="topic-metadata">

**Author:** [@Mohamed\_Javeed](https://forum.ansible.com/u/Mohamed_Javeed)\
**Replies:** 0\
**Last updated:** [June 6, 2020, 10:48am UTC](https://forum.ansible.com/t/default-values-are-also-added-part-of-user-input-in-ansible-resource-modules-is-this-bug-or-by-design/33106 "2020-06-06T10:48:12Z")

</div>

Hi All, Default values are also added part of user input in ansible resource modules, is this bug or by design? Below is the configuration available in switch: name: Ethernet28 access: vlan: 11 trunk: vlan: 12 …

---

## [how do i setup a vault password for administraator@vsphere.local](https://forum.ansible.com/t/how-do-i-setup-a-vault-password-for-administraator-vsphere-local/33103)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 1\
**Last updated:** [June 6, 2020, 5:34am UTC](https://forum.ansible.com/t/how-do-i-setup-a-vault-password-for-administraator-vsphere-local/33103 "2020-06-06T05:34:37Z")

</div>

How do I setup a vault password for user administrator@vsphere.local?

---

## [ansible-role-vcsa](https://forum.ansible.com/t/ansible-role-vcsa/33104)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 1\
**Last updated:** [June 6, 2020, 5:19am UTC](https://forum.ansible.com/t/ansible-role-vcsa/33104 "2020-06-06T05:19:04Z")

</div>

does anyone used this to deploy vcsa? \\

---

## [Jinja template regex search for a specific word or up to a specific character](https://forum.ansible.com/t/jinja-template-regex-search-for-a-specific-word-or-up-to-a-specific-character/33105)

<div class="topic-metadata">

**Author:** [@J111](https://forum.ansible.com/u/J111)\
**Replies:** 0\
**Last updated:** [June 5, 2020, 11:48pm UTC](https://forum.ansible.com/t/jinja-template-regex-search-for-a-specific-word-or-up-to-a-specific-character/33105 "2020-06-05T23:48:50Z")

</div>

I’m trying to search for a specific string from a var and while it finds it, it prints the whole line and not the exact match I’m looking for. I’m running ansible 2.9 Here is what it finds: Interface GigabitEthernet0/1 …

---

## [convert int index to alphabet letter](https://forum.ansible.com/t/convert-int-index-to-alphabet-letter/33100)

<div class="topic-metadata">

**Author:** [@Quentin\_Aveno](https://forum.ansible.com/u/Quentin_Aveno)\
**Replies:** 2\
**Last updated:** [June 5, 2020, 8:56pm UTC](https://forum.ansible.com/t/convert-int-index-to-alphabet-letter/33100 "2020-06-05T20:56:28Z")

</div>

Hi everyone, (It’s more a jinja quesion but…) Is there a way to convert a int to an alphabet letter (1 → a, 2 → b…) More aesthetic than (with a filter and less useless variables): \` letters: ‘abcdefghijklmnopqrstuvw…

---

## [Azure - Creating new / Gen2](https://forum.ansible.com/t/azure-creating-new-gen2/33101)

<div class="topic-metadata">

**Author:** [@Adam\_McGill](https://forum.ansible.com/u/Adam_McGill)\
**Replies:** 0\
**Last updated:** [June 5, 2020, 8:39pm UTC](https://forum.ansible.com/t/azure-creating-new-gen2/33101 "2020-06-05T20:39:29Z")

</div>

What azure module can i use to set the vm generation when creating a new vm? Figured it would be under azure\_rm\_virtualmachine. Would like to make sure it will be created with gen 2.

---

## [With\_items /pass var - string.](https://forum.ansible.com/t/with-items-pass-var-string/33074)

<div class="topic-metadata">

**Author:** [@Adam\_McGill](https://forum.ansible.com/u/Adam_McGill)\
**Replies:** 5\
**Last updated:** [June 5, 2020, 7:22pm UTC](https://forum.ansible.com/t/with-items-pass-var-string/33074 "2020-06-05T19:22:23Z")

</div>

I would like to take the value of the var and pass it into with\_items and I am running into an issue / error, how can i pass just the value into with\_items. If i hardcode and put the value with\_items: {{ small2019 }} in …

---

## [Virtual Ansible Contributor Summit + Hackathon](https://forum.ansible.com/t/virtual-ansible-contributor-summit-hackathon/32447)

<div class="topic-metadata">

**Author:** [@Carol\_Chen1](https://forum.ansible.com/u/Carol_Chen1)\
**Replies:** 2\
**Last updated:** [June 5, 2020, 5:27pm UTC](https://forum.ansible.com/t/virtual-ansible-contributor-summit-hackathon/32447 "2020-06-05T17:27:06Z")

</div>

Hi everyone, After gathering feedback and responses of your availability/preferences, we’ll like to confirm that the Virtual Ansible Contributor Summit will be held on Sunday, March 29, 2020! The date remains the same.…

---

## [Syntax errors with Jinja2 control structures in tasks file](https://forum.ansible.com/t/syntax-errors-with-jinja2-control-structures-in-tasks-file/33096)

<div class="topic-metadata">

**Author:** [@Alexander\_Z](https://forum.ansible.com/u/Alexander_Z)\
**Replies:** 2\
**Last updated:** [June 5, 2020, 2:53pm UTC](https://forum.ansible.com/t/syntax-errors-with-jinja2-control-structures-in-tasks-file/33096 "2020-06-05T14:53:15Z")

</div>

Hi Ansible community, I am observing syntax error on attempt to use Jinja2 control structures in the tasks file: Code /opt/ansible/roles/network/tasks/network.yml: {% if publicavailable|default(False) == False and p…

---

## [Upgrade AWX from 7.0.0 to 11.2.0](https://forum.ansible.com/t/upgrade-awx-from-7-0-0-to-11-2-0/33029)

<div class="topic-metadata">

**Author:** [@prabhu\_sridhar](https://forum.ansible.com/u/prabhu_sridhar)\
**Replies:** 6\
**Last updated:** [June 5, 2020, 1:58pm UTC](https://forum.ansible.com/t/upgrade-awx-from-7-0-0-to-11-2-0/33029 "2020-06-05T13:58:18Z")

</div>

Hi I am trying to upgrade current awx(web & task) 7.0.0 to 11.2.0 . However after the upgrade awx web UI is not accessible. I learned that, starting from v9.0.3 , rabbitmq has been replaced with redis… I tried to replace…

---

## [Deleting Application token](https://forum.ansible.com/t/deleting-application-token/33089)

<div class="topic-metadata">

**Author:** [@Ivan\_Todorovic](https://forum.ansible.com/u/Ivan_Todorovic)\
**Replies:** 2\
**Last updated:** [June 5, 2020, 12:51pm UTC](https://forum.ansible.com/t/deleting-application-token/33089 "2020-06-05T12:51:34Z")

</div>

Hello, While creating application token by hitting the AWX API with four parameters (username, password, application ID, user ID) I have by mistake entered wrong username, but correct application ID and user ID. After …

---

## [Can we use Ansible to deploy tasks on hardware level e.g., firmware upgrade on dell server](https://forum.ansible.com/t/can-we-use-ansible-to-deploy-tasks-on-hardware-level-e-g-firmware-upgrade-on-dell-server/33099)

<div class="topic-metadata">

**Author:** [@Surya\_Gunisetti](https://forum.ansible.com/u/Surya_Gunisetti)\
**Replies:** 4\
**Last updated:** [June 5, 2020, 12:31pm UTC](https://forum.ansible.com/t/can-we-use-ansible-to-deploy-tasks-on-hardware-level-e-g-firmware-upgrade-on-dell-server/33099 "2020-06-05T12:31:11Z")

</div>

Hi All, Can we use Ansible Ad-hoc commands / playbooks to make changes at Dell/HP/IBM servers hardware level e.g., firmware,bios upgrade Regards, Surya

---

## [Upgrading from 9.0.0 to 11.2.0](https://forum.ansible.com/t/upgrading-from-9-0-0-to-11-2-0/33098)

<div class="topic-metadata">

**Author:** [@CMc](https://forum.ansible.com/u/CMc)\
**Replies:** 0\
**Last updated:** [June 5, 2020, 11:10am UTC](https://forum.ansible.com/t/upgrading-from-9-0-0-to-11-2-0/33098 "2020-06-05T11:10:24Z")

</div>

Hi, I’m trying to upgrade from 9.0.0 \> 11.2.0 using the given instructions, but when I do the UI throws this error ERROR! Failed to get dashboard: 500 A server error has occurred. and docker logs -f awx\_task shows th…

---

## [Default values are also added part of user input in ansible resource modules, is this bug or by design?](https://forum.ansible.com/t/default-values-are-also-added-part-of-user-input-in-ansible-resource-modules-is-this-bug-or-by-design/33097)

<div class="topic-metadata">

**Author:** [@Mohamed\_Javeed](https://forum.ansible.com/u/Mohamed_Javeed)\
**Replies:** 0\
**Last updated:** [June 5, 2020, 6:53am UTC](https://forum.ansible.com/t/default-values-are-also-added-part-of-user-input-in-ansible-resource-modules-is-this-bug-or-by-design/33097 "2020-06-05T06:53:45Z")

</div>

Hi, Need clarification on Below is the configuration available in switch: name: Ethernet28 access: vlan: 11 trunk: vlan: 12 vlan: 13 Delete all allowed VLANs NOT access VLAN: name: “Delete all allowed V…

---

## [ALv2 reports odd data in ansible\_distribution and ansible\_os\_family](https://forum.ansible.com/t/alv2-reports-odd-data-in-ansible-distribution-and-ansible-os-family/33093)

<div class="topic-metadata">

**Author:** [@Thomas\_Kern](https://forum.ansible.com/u/Thomas_Kern)\
**Replies:** 1\
**Last updated:** [June 5, 2020, 6:01am UTC](https://forum.ansible.com/t/alv2-reports-odd-data-in-ansible-distribution-and-ansible-os-family/33093 "2020-06-05T06:01:44Z")

</div>

We have just begun to use Ansible to manage some ALv2 instances in AWS. We manage RHEL 6/7, CentOS 6/7, OEL 6/7 in our home networks without problems. We have a playbook that gathers facts from servers and updates a loca…

---

## [Need info on creating V2P through Ansible.](https://forum.ansible.com/t/need-info-on-creating-v2p-through-ansible/33091)

<div class="topic-metadata">

**Author:** [@venkat\_ramu](https://forum.ansible.com/u/venkat_ramu)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 7:34pm UTC](https://forum.ansible.com/t/need-info-on-creating-v2p-through-ansible/33091 "2020-06-04T19:34:56Z")

</div>

Please let me know is it possible to convert virtual machine (hyper-v) to physical using ansible? Thanks, Venkat

---

## [Sync module delete option not working](https://forum.ansible.com/t/sync-module-delete-option-not-working/33094)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 4:03pm UTC](https://forum.ansible.com/t/sync-module-delete-option-not-working/33094 "2020-06-04T16:03:18Z")

</div>

Hello All, I am trying to sync all files and directories between two directories however for some reason, delete option is not working. Following is my task, this works properly except when some directory is deleted fro…

---

## [Running Ruby 2.6 from /etc/profile.d via Ansible Playbook in RHEL 7](https://forum.ansible.com/t/running-ruby-2-6-from-etc-profile-d-via-ansible-playbook-in-rhel-7/33092)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 2:20pm UTC](https://forum.ansible.com/t/running-ruby-2-6-from-etc-profile-d-via-ansible-playbook-in-rhel-7/33092 "2020-06-04T14:20:47Z")

</div>

I have a role I’m testing that will install Redmine (www.redmine.org) on to a RHEL 7.8 machine. Redmine requires Ruby \>= 2.3. So I’m installing Ruby 2.6.2 via the rhel-server-rhscl-7-rpms repository. If I log into the ma…

---

## [Add new line “\\n” character to Ansible set\_fact variable](https://forum.ansible.com/t/add-new-line-n-character-to-ansible-set-fact-variable/33084)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 13\
**Last updated:** [June 4, 2020, 12:25pm UTC](https://forum.ansible.com/t/add-new-line-n-character-to-ansible-set-fact-variable/33084 "2020-06-04T12:25:54Z")

</div>

How can I add new line characters to Ansible variable mailbody. This mailbody variable is used for mail module's body attribute. I tried the below from suggestions but none of them works. 1. - set\_fact: mail…

---

## [Issue while parsing Complex Regular expression  in YAML file](https://forum.ansible.com/t/issue-while-parsing-complex-regular-expression-in-yaml-file/33088)

<div class="topic-metadata">

**Author:** [@Pawan\_Kumar1](https://forum.ansible.com/u/Pawan_Kumar1)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 7:46am UTC](https://forum.ansible.com/t/issue-while-parsing-complex-regular-expression-in-yaml-file/33088 "2020-06-04T07:46:02Z")

</div>

“\[1\]{9,430}$” Tried other options like a-zA-Z0-9-+.#$%&~\*/=?^\_ '"\\! ↩︎

---

## [AWX Logs - Not able to link schedule log with workflow Job](https://forum.ansible.com/t/awx-logs-not-able-to-link-schedule-log-with-workflow-job/33081)

<div class="topic-metadata">

**Author:** [@Ajitkumar\_Tanwade](https://forum.ansible.com/u/Ajitkumar_Tanwade)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 3:40am UTC](https://forum.ansible.com/t/awx-logs-not-able-to-link-schedule-log-with-workflow-job/33081 "2020-06-04T03:40:55Z")

</div>

Hi All, We are using AWX version 10.0.0. We are not able to link the schedule with a workflow event. Please find below sample event Schedule event {“@timestamp”: “2020-06-02T14:47:46.278Z”, “message”: “Activity Strea…

---

## [AWX and group\_vars, host\_vars from external source](https://forum.ansible.com/t/awx-and-group-vars-host-vars-from-external-source/33087)

<div class="topic-metadata">

**Author:** [@Onno](https://forum.ansible.com/u/Onno)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 3:31am UTC](https://forum.ansible.com/t/awx-and-group-vars-host-vars-from-external-source/33087 "2020-06-04T03:31:02Z")

</div>

I am using an Git repo as a source of my inventory. This repo also contains group\_vars and host\_vars directories. When using regular Ansible, Ansible will look for those directories in the location where the hosts file. …

---

## [Not able to access the AWX 11.2.0 portal from Browser](https://forum.ansible.com/t/not-able-to-access-the-awx-11-2-0-portal-from-browser/33080)

<div class="topic-metadata">

**Author:** [@Ramakanta\_Sahoo](https://forum.ansible.com/u/Ramakanta_Sahoo)\
**Replies:** 3\
**Last updated:** [June 3, 2020, 7:08pm UTC](https://forum.ansible.com/t/not-able-to-access-the-awx-11-2-0-portal-from-browser/33080 "2020-06-03T19:08:57Z")

</div>

Hi Team, Need an urgent help on where to look out for issues. I have just built a new AWX 11.2.0 container and currently docker compose port forwarding for awxx\_web to 8000 how ever I get the socket timeout when accessi…

---

## [EKS AWX install](https://forum.ansible.com/t/eks-awx-install/33083)

<div class="topic-metadata">

**Author:** [@Staggerlee011](https://forum.ansible.com/u/Staggerlee011)\
**Replies:** 1\
**Last updated:** [June 3, 2020, 6:54pm UTC](https://forum.ansible.com/t/eks-awx-install/33083 "2020-06-03T18:54:04Z")

</div>

Hi doing a eks install of the latest awx. Does anyone else get constant install errors. normally like below, it seems to dip and out. i can run it again and it will pass this section fine then fail at another. Im not ha…

---

## [Convert Ansible playbook to bash script](https://forum.ansible.com/t/convert-ansible-playbook-to-bash-script/33085)

<div class="topic-metadata">

**Author:** [@Sushant\_Sawant](https://forum.ansible.com/u/Sushant_Sawant)\
**Replies:** 1\
**Last updated:** [June 3, 2020, 6:53pm UTC](https://forum.ansible.com/t/convert-ansible-playbook-to-bash-script/33085 "2020-06-03T18:53:13Z")

</div>

Hi guys, Little bit of background, I have a project which has ansible playbook vagrant installation. This runs on my local machine Ubuntu 18.04 There is no developer working on this, I have no experience on ansible. T…

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

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