# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=195

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

**Page:** 196

---

## [aws community edition and collection](https://forum.ansible.com/t/aws-community-edition-and-collection/33082)

<div class="topic-metadata">

**Author:** [@Sydo\_Luciani](https://forum.ansible.com/u/Sydo_Luciani)\
**Replies:** 13\
**Last updated:** [June 8, 2020, 3:50pm UTC](https://forum.ansible.com/t/aws-community-edition-and-collection/33082 "2020-06-08T15:50:49Z")

</div>

aws modules have been redirected/moved to two different repositories, some to community.aws and some to amazon.aws https://github.com/ansible-collections/amazon.aws https://github.com/ansible-collections/community.aws …

---

## [how to read variable from j2 and insert multiple values in final file](https://forum.ansible.com/t/how-to-read-variable-from-j2-and-insert-multiple-values-in-final-file/33118)

<div class="topic-metadata">

**Author:** [@Aditya](https://forum.ansible.com/u/Aditya)\
**Replies:** 0\
**Last updated:** [June 8, 2020, 3:21pm UTC](https://forum.ansible.com/t/how-to-read-variable-from-j2-and-insert-multiple-values-in-final-file/33118 "2020-06-08T15:21:21Z")

</div>

Hi Guys, I have to write a task to read a j2 file and values from inventory and update the final file with multiple values of same variable defined in j2. I have tried to explain it with an example below. Please note i…

---

## [AWX UI, 502 error after upgrading to 11.0.0](https://forum.ansible.com/t/awx-ui-502-error-after-upgrading-to-11-0-0/33117)

<div class="topic-metadata">

**Author:** [@prabhu\_sridhar](https://forum.ansible.com/u/prabhu_sridhar)\
**Replies:** 0\
**Last updated:** [June 8, 2020, 12:03pm UTC](https://forum.ansible.com/t/awx-ui-502-error-after-upgrading-to-11-0-0/33117 "2020-06-08T12:03:21Z")

</div>

Hi I am trying to upgrade AWX to 11.0.0 using docker stack was able to start the container( awx web, awx task and postgre 10) , however web UI is not reachable after the update. It is giving 502 error(Bad gateway) Be…

---

## [AWX 11.2.0 can't access to the UI](https://forum.ansible.com/t/awx-11-2-0-cant-access-to-the-ui/33116)

<div class="topic-metadata">

**Author:** [@driCs](https://forum.ansible.com/u/driCs)\
**Replies:** 0\
**Last updated:** [June 8, 2020, 6:42am UTC](https://forum.ansible.com/t/awx-11-2-0-cant-access-to-the-ui/33116 "2020-06-08T06:42:10Z")

</div>

Hi I try to deploy AWX 11.2.0 with Kubernetes the deployment seems to be OK but I have an issue when I try to access to the UI. Note : I want to deploy AWX on 2 nodes from my Cluster K8S ( 1 master and 2 nodes) In my …

---

## [Use Ansible to Install SharePoint Server Updates](https://forum.ansible.com/t/use-ansible-to-install-sharepoint-server-updates/33090)

<div class="topic-metadata">

**Author:** [@Raikhan\_Mussin](https://forum.ansible.com/u/Raikhan_Mussin)\
**Replies:** 4\
**Last updated:** [June 8, 2020, 4:39am UTC](https://forum.ansible.com/t/use-ansible-to-install-sharepoint-server-updates/33090 "2020-06-08T04:39:06Z")

</div>

Hello! My name is Raikhan. Maybe someone used Ansible to install Microsoft updates? We configured Ansible to install Microsoft updates, and this works successfully for all updates, except for SharePoint Server 2013 up…

---

## [ec2 instance not reachable](https://forum.ansible.com/t/ec2-instance-not-reachable/33111)

<div class="topic-metadata">

**Author:** [@Sanjay\_Chakraborty](https://forum.ansible.com/u/Sanjay_Chakraborty)\
**Replies:** 2\
**Last updated:** [June 8, 2020, 2:18am UTC](https://forum.ansible.com/t/ec2-instance-not-reachable/33111 "2020-06-08T02:18:25Z")

</div>

Hi guys, I need to set up some ec2 instances for my project and I am in the process of doing proof of concept. My playbook creates an aws ec2 instance and I am using an already created security group that includes ssh …

---

## [disable\_service\_controls is not working](https://forum.ansible.com/t/disable-service-controls-is-not-working/33110)

<div class="topic-metadata">

**Author:** [@Vishwas\_Govekar](https://forum.ansible.com/u/Vishwas_Govekar)\
**Replies:** 3\
**Last updated:** [June 7, 2020, 6:33pm UTC](https://forum.ansible.com/t/disable-service-controls-is-not-working/33110 "2020-06-07T18:33:22Z")

</div>

Hi I have ansible roles for each app which has stop and start tasks ,I have global role deploy\_all which use stop all ,deploy apps in sequential order and start all When I call the global role deploy\_all the local star…

---

## [Installation of P0stgress HA externally in AWX 10.0.0](https://forum.ansible.com/t/installation-of-p0stgress-ha-externally-in-awx-10-0-0/33114)

<div class="topic-metadata">

**Author:** [@Anish\_Kumar](https://forum.ansible.com/u/Anish_Kumar)\
**Replies:** 0\
**Last updated:** [June 7, 2020, 4:57pm UTC](https://forum.ansible.com/t/installation-of-p0stgress-ha-externally-in-awx-10-0-0/33114 "2020-06-07T16:57:59Z")

</div>

Hello Team , I have installed Postgress HA in kubenrtes 1.18 from this helm chart https://bitnami.com/stacks/helm . If any one do AWX 10.0.0 on top of this .Please suggest the steps how you process to install. Thanks…

---

## [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…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=194)

[Next page](https://forum.ansible.com/c/archives/31.md?page=196)
