# Archives

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

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

**Page:** 85

---

## [How to discriminate between chunked and not chunked answers from uri](https://forum.ansible.com/t/how-to-discriminate-between-chunked-and-not-chunked-answers-from-uri/36425)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 5\
**Last updated:** [March 11, 2022, 5:53pm UTC](https://forum.ansible.com/t/how-to-discriminate-between-chunked-and-not-chunked-answers-from-uri/36425 "2022-03-11T17:53:47Z")

</div>

ansible core 2.12.3 I am unable to discriminate with uri between responses which have been chunked and those which haven’t.In both cases, I get the same: msg: OK (unknown bytes) transfer\_encoding: chunked This happen…

---

## [AWX installation in AWS EKS](https://forum.ansible.com/t/awx-installation-in-aws-eks/36401)

<div class="topic-metadata">

**Author:** [@arun\_soman](https://forum.ansible.com/u/arun_soman)\
**Replies:** 2\
**Last updated:** [March 11, 2022, 8:43am UTC](https://forum.ansible.com/t/awx-installation-in-aws-eks/36401 "2022-03-11T08:43:13Z")

</div>

Hi All, I am using awx operator version 0.15.0 and my aws version is 19.5.0 , I am using aws eks as my infra. In my eks have 2 nodes, each node having 4 core and 16 GB size . After deploying awx I have seen that only on…

---

## [Find and replace and save at a new destination](https://forum.ansible.com/t/find-and-replace-and-save-at-a-new-destination/36423)

<div class="topic-metadata">

**Author:** [@rahul\_raviz](https://forum.ansible.com/u/rahul_raviz)\
**Replies:** 0\
**Last updated:** [March 11, 2022, 3:51am UTC](https://forum.ansible.com/t/find-and-replace-and-save-at-a-new-destination/36423 "2022-03-11T03:51:09Z")

</div>

Hi, I am looking for a task to find and replace a couple of items from a template and save it at a new destination. I am not sure how to achieve that. This is what I tried and it will only replace the contents of the te…

---

## [Why my  'hostvars' is undefined ...](https://forum.ansible.com/t/why-my-hostvars-is-undefined/36409)

<div class="topic-metadata">

**Author:** [@Philippe\_Limouzy](https://forum.ansible.com/u/Philippe_Limouzy)\
**Replies:** 1\
**Last updated:** [March 10, 2022, 7:39pm UTC](https://forum.ansible.com/t/why-my-hostvars-is-undefined/36409 "2022-03-10T19:39:35Z")

</div>

Hi Evrybody, I’m facing to a problem that I don’t understand the origin: Any help will be welcome. I want to use in a playbook a role where the name depends on a variable defined in the inventory. I have the following…

---

## [AWX-OPERATOR and Minikube](https://forum.ansible.com/t/awx-operator-and-minikube/36371)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 5\
**Last updated:** [March 10, 2022, 3:50pm UTC](https://forum.ansible.com/t/awx-operator-and-minikube/36371 "2022-03-10T15:50:35Z")

</div>

Hello Members, Has anyone been ablle to configure and use the awx-operator? Has anyone been able to keep it running? I have downloaded from GIT the awx-operator I have installed kubectl. I have run the minikube inst…

---

## [gather factCisco Catalyst 9300 regarding l2\_interfaces](https://forum.ansible.com/t/gather-factcisco-catalyst-9300-regarding-l2-interfaces/36261)

<div class="topic-metadata">

**Author:** [@L\_Jankok](https://forum.ansible.com/u/L_Jankok)\
**Replies:** 11\
**Last updated:** [March 10, 2022, 10:18am UTC](https://forum.ansible.com/t/gather-factcisco-catalyst-9300-regarding-l2-interfaces/36261 "2022-03-10T10:18:20Z")

</div>

Hi, When I use the gather fact module and choose to get the l2\_interfaces, it doesn’t return the l2\_interfaces properties. When I use the same playbook on catalyst 3650 (also ios-xe) I get the l2\_interfaces properties. …

---

## [Set instance group(s) at rjob template untime](https://forum.ansible.com/t/set-instance-group-s-at-rjob-template-untime/36419)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 1\
**Last updated:** [March 10, 2022, 9:54am UTC](https://forum.ansible.com/t/set-instance-group-s-at-rjob-template-untime/36419 "2022-03-10T09:54:05Z")

</div>

We are using instance groups in AWX (19.3.0). Currently we have a single dedicated K8s namespace on the same cluster as AWX for the runner pods. We want to have multiple clusters for runners and have job templates execut…

---

## [Cannot install collection through requirements.yml file](https://forum.ansible.com/t/cannot-install-collection-through-requirements-yml-file/36397)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 3\
**Last updated:** [March 10, 2022, 9:09am UTC](https://forum.ansible.com/t/cannot-install-collection-through-requirements-yml-file/36397 "2022-03-10T09:09:45Z")

</div>

Hi everyone, I’m trying to enable an ansible collection through the requirements.yml without success… I need the following collections: TheForeman.foreman and according to the doc: Install multiple collections with a r…

---

## [Mail using Ansible](https://forum.ansible.com/t/mail-using-ansible/36420)

<div class="topic-metadata">

**Author:** [@Akshay\_Jadhav](https://forum.ansible.com/u/Akshay_Jadhav)\
**Replies:** 2\
**Last updated:** [March 10, 2022, 9:08am UTC](https://forum.ansible.com/t/mail-using-ansible/36420 "2022-03-10T09:08:21Z")

</div>

Hi Guys, I have written a play for sending an email. I am able to send an email but in receivers inbox it’s going into spam folder. Can someone please help so that mail will go in inbox. Thanks in advance. name: Mai…

---

## [Azure IP ASG](https://forum.ansible.com/t/azure-ip-asg/36416)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 1\
**Last updated:** [March 9, 2022, 10:50pm UTC](https://forum.ansible.com/t/azure-ip-asg/36416 "2022-03-09T22:50:01Z")

</div>

How would you make this work, only if ASG is provided: ip\_configurations: name:xxxx primary: True private\_ip\_allocation\_method: Static private\_ip\_address: ‘{{ server.az\_vm\_ipaddress }}’ #application\_security\_group…

---

## [AWX ans vmware SDK](https://forum.ansible.com/t/awx-ans-vmware-sdk/34065)

<div class="topic-metadata">

**Author:** [@Stefan\_Coussens](https://forum.ansible.com/u/Stefan_Coussens)\
**Replies:** 4\
**Last updated:** [March 9, 2022, 8:43pm UTC](https://forum.ansible.com/t/awx-ans-vmware-sdk/34065 "2022-03-09T20:43:02Z")

</div>

Hi, I want to use the community.vmware.vmware\_tag ( https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware\_tag\_module.html) module but when I user it with AWX it throws the following error. An exce…

---

## [Loading role vars without executing role](https://forum.ansible.com/t/loading-role-vars-without-executing-role/36407)

<div class="topic-metadata">

**Author:** [@Paul\_Manno](https://forum.ansible.com/u/Paul_Manno)\
**Replies:** 2\
**Last updated:** [March 9, 2022, 8:31pm UTC](https://forum.ansible.com/t/loading-role-vars-without-executing-role/36407 "2022-03-09T20:31:13Z")

</div>

Hello, A bit of background… I manage multiple applications. Each application has an ansible role defined for it. Sometimes, there is a playbook that is common to each application, but I would prefer to keep this playboo…

---

## [ansible list in dict (need to understand how it works)](https://forum.ansible.com/t/ansible-list-in-dict-need-to-understand-how-it-works/36412)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 2\
**Last updated:** [March 9, 2022, 3:16pm UTC](https://forum.ansible.com/t/ansible-list-in-dict-need-to-understand-how-it-works/36412 "2022-03-09T15:16:55Z")

</div>

Hi everyone, I try to understand ansible dictionaries and for my need I use lists in a dictionary which makes the code not simple and I am struggling to understand that: Below there’re part of my playbook and result: u…

---

## [Remote execution of a script never exits but times out](https://forum.ansible.com/t/remote-execution-of-a-script-never-exits-but-times-out/36414)

<div class="topic-metadata">

**Author:** [@rahul\_raviz](https://forum.ansible.com/u/rahul_raviz)\
**Replies:** 1\
**Last updated:** [March 9, 2022, 2:32pm UTC](https://forum.ansible.com/t/remote-execution-of-a-script-never-exits-but-times-out/36414 "2022-03-09T14:32:02Z")

</div>

I am writing a task in a playbook which will execute a shell script on a remote server. But for some reason it never exits and hangs and then finally times out. When I run the script directly on the remote server, there …

---

## [Variables, task variables and set\_fact](https://forum.ansible.com/t/variables-task-variables-and-set-fact/36415)

<div class="topic-metadata">

**Author:** [@Alexander\_Jensen](https://forum.ansible.com/u/Alexander_Jensen)\
**Replies:** 1\
**Last updated:** [March 9, 2022, 2:29pm UTC](https://forum.ansible.com/t/variables-task-variables-and-set-fact/36415 "2022-03-09T14:29:41Z")

</div>

Hello, can someone help me to understand the behavior? Playbook:

---

## [How to stop fileglob lookup warning for not existing paths](https://forum.ansible.com/t/how-to-stop-fileglob-lookup-warning-for-not-existing-paths/36410)

<div class="topic-metadata">

**Author:** [@cloos](https://forum.ansible.com/u/cloos)\
**Replies:** 8\
**Last updated:** [March 9, 2022, 7:43am UTC](https://forum.ansible.com/t/how-to-stop-fileglob-lookup-warning-for-not-existing-paths/36410 "2022-03-09T07:43:44Z")

</div>

Hi, I have the following task: ansible.builtin.copy: src: “{{ item }}” dest: /tmp/ with\_fileglob: “files/tmp/{{ inventory\_hostname }}/\*.yaml” Directory files/tmp/bar/ contains yaml files for host bar. Directory fi…

---

## [awx.main.models.inventory](https://forum.ansible.com/t/awx-main-models-inventory/36411)

<div class="topic-metadata">

**Author:** [@Melvin\_Satheesan](https://forum.ansible.com/u/Melvin_Satheesan)\
**Replies:** 0\
**Last updated:** [March 8, 2022, 3:05pm UTC](https://forum.ansible.com/t/awx-main-models-inventory/36411 "2022-03-08T15:05:57Z")

</div>

Hello All, Good day. Would you be so kind enough to let me know in case anyone have a good documentation or cheat sheet regarding the python module ’ awx.main.models.inventory’. Many many thanks in advance. Melvin. …

---

## [Running ansible playbook on two hosts](https://forum.ansible.com/t/running-ansible-playbook-on-two-hosts/36408)

<div class="topic-metadata">

**Author:** [@Netanel\_Peretz](https://forum.ansible.com/u/Netanel_Peretz)\
**Replies:** 3\
**Last updated:** [March 8, 2022, 1:55pm UTC](https://forum.ansible.com/t/running-ansible-playbook-on-two-hosts/36408 "2022-03-08T13:55:21Z")

</div>

Hey, I want to be able to use a playbook to run a task on host1 then run a task on localhost(ansible host) and then run another task on host1 Is that supposed to be as simple as copying something like this and changing…

---

## [The name of a node is not resolved after it was resolved ?](https://forum.ansible.com/t/the-name-of-a-node-is-not-resolved-after-it-was-resolved/36396)

<div class="topic-metadata">

**Author:** [@Arc\_Tangente](https://forum.ansible.com/u/Arc_Tangente)\
**Replies:** 5\
**Last updated:** [March 8, 2022, 11:36am UTC](https://forum.ansible.com/t/the-name-of-a-node-is-not-resolved-after-it-was-resolved/36396 "2022-03-08T11:36:35Z")

</div>

Hello, I start this playbook install-mediawiki.yml, the first role is executed without problems. The second role has 4 tasks, executed fully the 2 first of them, but has suddently an issue: the name of the node is not …

---

## [AWX - Update OS](https://forum.ansible.com/t/awx-update-os/36403)

<div class="topic-metadata">

**Author:** [@Mattia\_Maragno](https://forum.ansible.com/u/Mattia_Maragno)\
**Replies:** 2\
**Last updated:** [March 7, 2022, 5:41pm UTC](https://forum.ansible.com/t/awx-update-os/36403 "2022-03-07T17:41:53Z")

</div>

Hello to all, i setup awx (previus i use only ansible from cli), i create ansible-palybook to run on my linux server the apt update. Task failed with error: “fatal: \[localhost\]: FAILED! =\> {“changed”: false, “cmd”: “a…

---

## [DNS resolution in AWX with minikube](https://forum.ansible.com/t/dns-resolution-in-awx-with-minikube/36377)

<div class="topic-metadata">

**Author:** [@Lejooohn](https://forum.ansible.com/u/Lejooohn)\
**Replies:** 1\
**Last updated:** [March 7, 2022, 1:40pm UTC](https://forum.ansible.com/t/dns-resolution-in-awx-with-minikube/36377 "2022-03-07T13:40:59Z")

</div>

Hello there, I’m experiencing a strange behaviour with AWX and DNS resolution. I have 3 AWX : An old one in 9.0.1 version directly installed on the OS (CentOS 7.7) Two recent in 20.0.0 version (integration and produc…

---

## [ansible-galaxy vs. ansible-galaxy collections](https://forum.ansible.com/t/ansible-galaxy-vs-ansible-galaxy-collections/36399)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 3\
**Last updated:** [March 7, 2022, 11:59am UTC](https://forum.ansible.com/t/ansible-galaxy-vs-ansible-galaxy-collections/36399 "2022-03-07T11:59:51Z")

</div>

Hi everyone, On the ansible documentation, I found the collection “the foreman.foreman” here’s the link: theforeman.foreman This collection can manually be installed like: ansible-galaxy collection install the foreman…

---

## [Error: Out of pty devices](https://forum.ansible.com/t/error-out-of-pty-devices/36406)

<div class="topic-metadata">

**Author:** [@yaya\_esch](https://forum.ansible.com/u/yaya_esch)\
**Replies:** 0\
**Last updated:** [March 7, 2022, 11:27am UTC](https://forum.ansible.com/t/error-out-of-pty-devices/36406 "2022-03-07T11:27:35Z")

</div>

Hello everybody ! I installed ansible tower a few days ago now and when I try to run a playbook through it I get this error: The full traceback is: Traceback (most recent call last): File “/usr/lib/python2.7/site-pac…

---

## [AWX API - timezone](https://forum.ansible.com/t/awx-api-timezone/36402)

<div class="topic-metadata">

**Author:** [@Martin\_Gabriel](https://forum.ansible.com/u/Martin_Gabriel)\
**Replies:** 2\
**Last updated:** [March 7, 2022, 10:00am UTC](https://forum.ansible.com/t/awx-api-timezone/36402 "2022-03-07T10:00:04Z")

</div>

Hello, im already desperate about changing my AWX 20.0.0 (running in kubernetes) timezone. All templates are static Europe/Prague. For some maintenance jobs im using AWX api to obtain some relevant data ( like job sta…

---

## [Unable to start kibana from ansible playbook](https://forum.ansible.com/t/unable-to-start-kibana-from-ansible-playbook/36393)

<div class="topic-metadata">

**Author:** [@Sanjay\_Khatri](https://forum.ansible.com/u/Sanjay_Khatri)\
**Replies:** 5\
**Last updated:** [March 7, 2022, 7:55am UTC](https://forum.ansible.com/t/unable-to-start-kibana-from-ansible-playbook/36393 "2022-03-07T07:55:16Z")

</div>

Start command nohup ./bin/kibana \> /dev/null 2\>&1 & After execute this command have to check kibana running mode ps aux | grep node/bin/node If i am running manually this command it is working fine but running from an…

---

## [Run playbook against multiple hosts with different variables](https://forum.ansible.com/t/run-playbook-against-multiple-hosts-with-different-variables/36392)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 2\
**Last updated:** [March 6, 2022, 1:49am UTC](https://forum.ansible.com/t/run-playbook-against-multiple-hosts-with-different-variables/36392 "2022-03-06T01:49:29Z")

</div>

So, we build alot of servers with different specs, and our YAML file variables for the build specs differ (like different CPU/RAM/HDD etc) , but the playbooks remain the same. Currently, to run multiple builds concurren…

---

## [ansible coding help](https://forum.ansible.com/t/ansible-coding-help/36374)

<div class="topic-metadata">

**Author:** [@Nancy\_Desai](https://forum.ansible.com/u/Nancy_Desai)\
**Replies:** 1\
**Last updated:** [March 5, 2022, 9:00pm UTC](https://forum.ansible.com/t/ansible-coding-help/36374 "2022-03-05T21:00:14Z")

</div>

Hello. I’m in an ansible coding class and I need some assistance if you can provide it. I’ve been given an assignment to create an ansible playbook on CentOS which will do the following: check users in a csv file to see …

---

## [Log registered data on task failure](https://forum.ansible.com/t/log-registered-data-on-task-failure/36400)

<div class="topic-metadata">

**Author:** [@Satya\_Narayana](https://forum.ansible.com/u/Satya_Narayana)\
**Replies:** 0\
**Last updated:** [March 4, 2022, 6:36pm UTC](https://forum.ansible.com/t/log-registered-data-on-task-failure/36400 "2022-03-04T18:36:40Z")

</div>

Hi team, Some of the tasks in my playbook register some date and I am using that data in the next tasks. Task which is consuming the previously registered data fails for some reason I want to log all the registered data…

---

## [Support Installation AWX on Azure Kubernetese](https://forum.ansible.com/t/support-installation-awx-on-azure-kubernetese/36394)

<div class="topic-metadata">

**Author:** [@Mili\_Beganovic](https://forum.ansible.com/u/Mili_Beganovic)\
**Replies:** 1\
**Last updated:** [March 3, 2022, 7:28pm UTC](https://forum.ansible.com/t/support-installation-awx-on-azure-kubernetese/36394 "2022-03-03T19:28:15Z")

</div>

Hi Guys, After hours of work, I finally managed to install AWX using the AWX operator, on an Azure Kubernetes Service. Specifically, I now have the problem that I somehow have to get the Ingress Controller to work so th…

---

## [Ansible GCP Zone](https://forum.ansible.com/t/ansible-gcp-zone/36398)

<div class="topic-metadata">

**Author:** [@Adam\_Barnett](https://forum.ansible.com/u/Adam_Barnett)\
**Replies:** 0\
**Last updated:** [March 3, 2022, 5:47pm UTC](https://forum.ansible.com/t/ansible-gcp-zone/36398 "2022-03-03T17:47:04Z")

</div>

Hi, We are using GCP with ansible which has been working great up now, we are setting all the flags in ~/.ansible.cfg for ssh i.e ssh\_args = -t -i ~/.ssh/google\_compute\_engine -o CheckHostIP=no -o ControlMaster=auto -…

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

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