# Archives

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

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

**Page:** 93

---

## [another python API question](https://forum.ansible.com/t/another-python-api-question/36184)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [January 6, 2022, 10:30pm UTC](https://forum.ansible.com/t/another-python-api-question/36184 "2022-01-06T22:30:11Z")

</div>

Hii Triggered by a previous poster, I sometimes need to access specific host vars from python but don’t know how. An example deployment would consist of a directory like this: (venv) dvs@GA0267 deploy1$ tree . ├── a…

---

## [(Python API question) Recursively expanding Ansible host vars from a standalone Python script](https://forum.ansible.com/t/python-api-question-recursively-expanding-ansible-host-vars-from-a-standalone-python-script/36178)

<div class="topic-metadata">

**Author:** [@arviasf](https://forum.ansible.com/u/arviasf)\
**Replies:** 4\
**Last updated:** [January 6, 2022, 9:18pm UTC](https://forum.ansible.com/t/python-api-question-recursively-expanding-ansible-host-vars-from-a-standalone-python-script/36178 "2022-01-06T21:18:01Z")

</div>

Hi folks - In a standalone Python script, I need to enumerate and expand all host variables from a given Ansible inventory file. In this inventory file, there are variables which reference other variables using Jinja2 te…

---

## [community.aws.rds\_instance module](https://forum.ansible.com/t/community-aws-rds-instance-module/36170)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 3\
**Last updated:** [January 6, 2022, 5:51pm UTC](https://forum.ansible.com/t/community-aws-rds-instance-module/36170 "2022-01-06T17:51:03Z")

</div>

I want to use the community.aws.rds\_instance module to create an Aurora DB. However I am a bit stuck on the cluster element when using the below example: name: create minimal aurora instance in default VPC and default…

---

## [playbook with molecule test in git repository](https://forum.ansible.com/t/playbook-with-molecule-test-in-git-repository/36181)

<div class="topic-metadata">

**Author:** [@Willi\_Brune](https://forum.ansible.com/u/Willi_Brune)\
**Replies:** 0\
**Last updated:** [January 6, 2022, 1:11pm UTC](https://forum.ansible.com/t/playbook-with-molecule-test-in-git-repository/36181 "2022-01-06T13:11:07Z")

</div>

Hello Folks, I’m using ansible for a couple of month but still feel like a beginner. I began with one git repository for my /etc/ansible. In there i have my inventories, playbooks and roles. I watched Jeff Geerlings …

---

## [Variabilisation of url with url\_get to download a file on artifactory](https://forum.ansible.com/t/variabilisation-of-url-with-url-get-to-download-a-file-on-artifactory/36180)

<div class="topic-metadata">

**Author:** [@guillaume\_payen](https://forum.ansible.com/u/guillaume_payen)\
**Replies:** 0\
**Last updated:** [January 6, 2022, 9:51am UTC](https://forum.ansible.com/t/variabilisation-of-url-with-url-get-to-download-a-file-on-artifactory/36180 "2022-01-06T09:51:55Z")

</div>

Hello ! I am new on Ansible and wanted to know if there was an easy way to download the last or specified version of a file from an artifactory repo. Here is what i am trying to do : vars: artifactory\_base\_url: https:…

---

## [How to pass extra\_var and inventory in awx launch job template api using curl](https://forum.ansible.com/t/how-to-pass-extra-var-and-inventory-in-awx-launch-job-template-api-using-curl/36174)

<div class="topic-metadata">

**Author:** [@Selvam\_Elangovan](https://forum.ansible.com/u/Selvam_Elangovan)\
**Replies:** 4\
**Last updated:** [January 6, 2022, 6:06am UTC](https://forum.ansible.com/t/how-to-pass-extra-var-and-inventory-in-awx-launch-job-template-api-using-curl/36174 "2022-01-06T06:06:00Z")

</div>

Hi! Shall I know how to pass extra\_var and inventory details as json format to curl command to awx api? “defaults”: { “extra\_vars”: “—”, “diff\_mode”: false, “limit”: “”, “job\_tags”: “”, “skip\_tags”: “”, “job\_type…

---

## [Literal scalar expands to a dictionary](https://forum.ansible.com/t/literal-scalar-expands-to-a-dictionary/36173)

<div class="topic-metadata">

**Author:** [@vbotka](https://forum.ansible.com/u/vbotka)\
**Replies:** 4\
**Last updated:** [January 5, 2022, 10:58pm UTC](https://forum.ansible.com/t/literal-scalar-expands-to-a-dictionary/36173 "2022-01-05T22:58:42Z")

</div>

For example, given "val1: foo" - set\_fact: \_var1: | {"key1": "{{ val1 }}"} \_var2: | {"key1": "foo"} - debug: var: \_var1|type\_debug - debug: var: \_v…

---

## [Can we limit parallel executions in AWX/Ansible](https://forum.ansible.com/t/can-we-limit-parallel-executions-in-awx-ansible/36121)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 1\
**Last updated:** [January 5, 2022, 9:35pm UTC](https://forum.ansible.com/t/can-we-limit-parallel-executions-in-awx-ansible/36121 "2022-01-05T21:35:24Z")

</div>

I am using AWX 15.0.1 and Ansible 2.9.x (not upgraded to latest version due to docker limitation) on RHEL7. Recently we have started facing CPU thresholds due to which jobs either get stuck or fail in AWX/ansible. I know…

---

## [update submodules when cloning project](https://forum.ansible.com/t/update-submodules-when-cloning-project/36126)

<div class="topic-metadata">

**Author:** [@Andrei\_Tudor\_Cordune](https://forum.ansible.com/u/Andrei_Tudor_Cordune)\
**Replies:** 1\
**Last updated:** [January 5, 2022, 9:31pm UTC](https://forum.ansible.com/t/update-submodules-when-cloning-project/36126 "2022-01-05T21:31:54Z")

</div>

Hi everybody, I need to keep track of a submodule dependency across multiple playbooks on git; I was wondering if it’s possible to override the default behaviour of awx when cloning the playbook prior to a job run, lik…

---

## [AWX - configure notification as e-mail](https://forum.ansible.com/t/awx-configure-notification-as-e-mail/36128)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 1\
**Last updated:** [January 5, 2022, 9:02pm UTC](https://forum.ansible.com/t/awx-configure-notification-as-e-mail/36128 "2022-01-05T21:02:38Z")

</div>

Hi everyone, I’ve tried to configure the notification (E-Mail) through Administration → Notifications on AWX but unfortunately It’s failed. I’m thinking about whether I should configure other things at the pod level or…

---

## [venvs in Custom virtual Environment Paths return \[Errno 2\] No such file or directory:](https://forum.ansible.com/t/venvs-in-custom-virtual-environment-paths-return-errno-2-no-such-file-or-directory/36151)

<div class="topic-metadata">

**Author:** [@deltafiber\_thijn](https://forum.ansible.com/u/deltafiber_thijn)\
**Replies:** 1\
**Last updated:** [January 5, 2022, 8:51pm UTC](https://forum.ansible.com/t/venvs-in-custom-virtual-environment-paths-return-errno-2-no-such-file-or-directory/36151 "2022-01-05T20:51:36Z")

</div>

Hi, I inherited an AWX installation that has in SETTINGS / SYSTEM a “Custom virtual environment paths” to /data/virtualenv I’m running AWX 15.0.1 AWX is running in a docker container where this path is a mounted /dev…

---

## [AWX version 19 and HTTPS WWW](https://forum.ansible.com/t/awx-version-19-and-https-www/36133)

<div class="topic-metadata">

**Author:** [@Marek\_Koscielny](https://forum.ansible.com/u/Marek_Koscielny)\
**Replies:** 9\
**Last updated:** [January 5, 2022, 8:44pm UTC](https://forum.ansible.com/t/awx-version-19-and-https-www/36133 "2022-01-05T20:44:02Z")

</div>

How to install AWX to the latest version and perform HTTPS configuration?

---

## [AWX 19 & Netbox 3.1 integration](https://forum.ansible.com/t/awx-19-netbox-3-1-integration/36152)

<div class="topic-metadata">

**Author:** [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Replies:** 3\
**Last updated:** [January 5, 2022, 8:37pm UTC](https://forum.ansible.com/t/awx-19-netbox-3-1-integration/36152 "2022-01-05T20:37:33Z")

</div>

Happy holiday to all, I am trying to integrate AWX v19 & Netbox v3.1 but having trouble to execute playbooks I have a remote-host inventory item created which has remote host information My project is created & syn…

---

## [Variable state depending on existence of a file on host system - possible?](https://forum.ansible.com/t/variable-state-depending-on-existence-of-a-file-on-host-system-possible/36176)

<div class="topic-metadata">

**Author:** [@Neil\_Young](https://forum.ansible.com/u/Neil_Young)\
**Replies:** 19\
**Last updated:** [January 5, 2022, 7:53pm UTC](https://forum.ansible.com/t/variable-state-depending-on-existence-of-a-file-on-host-system-possible/36176 "2022-01-05T19:53:45Z")

</div>

I’m currently having a var in my ./vars/default.yml, which is used at several points in my playbook for branching installation operations. boolean\_var: true Depending on this I’m performing (or not) install steps … w…

---

## [run task based on host network](https://forum.ansible.com/t/run-task-based-on-host-network/36177)

<div class="topic-metadata">

**Author:** [@user88](https://forum.ansible.com/u/user88)\
**Replies:** 0\
**Last updated:** [January 5, 2022, 7:51pm UTC](https://forum.ansible.com/t/run-task-based-on-host-network/36177 "2022-01-05T19:51:12Z")

</div>

Hi I am trying to run a task based on ansible facts ipv4 of the host currently I am able to do so with “when” and regex it works when I am trying to match this for example: “192.168.\[1,2\].” but I need another subnet…

---

## [Regular expression and Linux command in Ansible](https://forum.ansible.com/t/regular-expression-and-linux-command-in-ansible/36175)

<div class="topic-metadata">

**Author:** [@Marian\_Saldhana](https://forum.ansible.com/u/Marian_Saldhana)\
**Replies:** 0\
**Last updated:** [January 5, 2022, 3:21pm UTC](https://forum.ansible.com/t/regular-expression-and-linux-command-in-ansible/36175 "2022-01-05T15:21:27Z")

</div>

Hi All, I am trying to run a playbook where when I entre standard ansible modules using regular expressions it works fine ( Thanks to Todd for helping me with it), however when I entre a Linux command in place of an ans…

---

## [OpenSSH\_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017\\r\\ndebug1: Reading configuration data /etc/ssh/ssh\_config\\r\\ndebug1: /etc/ssh/ssh\_config line 58: Appl ying options for \*\\r\\ndebug1: auto-mux: Trying existing master\\r\\ndebug2: fd 3 setting O\_NONBLOCK\\r](https://forum.ansible.com/t/openssh-7-4p1-openssl-1-0-2k-fips-26-jan-2017-r-ndebug1-reading-configuration-data-etc-ssh-ssh-config-r-ndebug1-etc-ssh-ssh-config-line-58-appl-ying-options-for-r-ndebug1-auto-mux-trying-existing-master-r-ndebug2-fd-3-setting-o-nonblock-r/36168)

<div class="topic-metadata">

**Author:** [@Akshay\_Kumar1](https://forum.ansible.com/u/Akshay_Kumar1)\
**Replies:** 2\
**Last updated:** [January 5, 2022, 12:51pm UTC](https://forum.ansible.com/t/openssh-7-4p1-openssl-1-0-2k-fips-26-jan-2017-r-ndebug1-reading-configuration-data-etc-ssh-ssh-config-r-ndebug1-etc-ssh-ssh-config-line-58-appl-ying-options-for-r-ndebug1-auto-mux-trying-existing-master-r-ndebug2-fd-3-setting-o-nonblock-r/36168 "2022-01-05T12:51:20Z")

</div>

I am getting below error while trying to run the ansible playbook for AIX patching. Could someone please help me out? OpenSSH\_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017\\r\\ndebug1: Reading configuration data /etc/ssh/ssh\_con…

---

## [Telemetry for ansible collections and plugins](https://forum.ansible.com/t/telemetry-for-ansible-collections-and-plugins/36172)

<div class="topic-metadata">

**Author:** [@Victor\_Martinez](https://forum.ansible.com/u/Victor_Martinez)\
**Replies:** 0\
**Last updated:** [January 5, 2022, 10:14am UTC](https://forum.ansible.com/t/telemetry-for-ansible-collections-and-plugins/36172 "2022-01-05T10:14:42Z")

</div>

Hi all, As a contributor and maintainer for some plugins in one of the ansible collections, I’d like to know how it’s the adoption for those plugins. Is there any place that I could query how many people install any giv…

---

## [Need to understand how I can write a ansible role so that it compares input / output value.](https://forum.ansible.com/t/need-to-understand-how-i-can-write-a-ansible-role-so-that-it-compares-input-output-value/36138)

<div class="topic-metadata">

**Author:** [@Marian\_Saldhana](https://forum.ansible.com/u/Marian_Saldhana)\
**Replies:** 16\
**Last updated:** [January 4, 2022, 5:10pm UTC](https://forum.ansible.com/t/need-to-understand-how-i-can-write-a-ansible-role-so-that-it-compares-input-output-value/36138 "2022-01-04T17:10:43Z")

</div>

Hi All, As I am new to ansible i need to write a role which compares input /output value. Let me elaborate. I need to write a role where I already have expected value, for eg hostname of ansible remote node - abc. No…

---

## [lineinfile should have an option to remove duplicate lines matched by regexp](https://forum.ansible.com/t/lineinfile-should-have-an-option-to-remove-duplicate-lines-matched-by-regexp/36165)

<div class="topic-metadata">

**Author:** [@ComeEasy](https://forum.ansible.com/u/ComeEasy)\
**Replies:** 2\
**Last updated:** [January 4, 2022, 7:35am UTC](https://forum.ansible.com/t/lineinfile-should-have-an-option-to-remove-duplicate-lines-matched-by-regexp/36165 "2022-01-04T07:35:25Z")

</div>

Hello there! there was a request to enhance the lineinfile module so that it ensures that only one line matching the regexp is left in the file. https://github.com/ansible/ansible/issues/30235 This issue was closed wi…

---

## [Anyone can explain "false" below](https://forum.ansible.com/t/anyone-can-explain-false-below/36159)

<div class="topic-metadata">

**Author:** [@davidy](https://forum.ansible.com/u/davidy)\
**Replies:** 3\
**Last updated:** [January 3, 2022, 9:57pm UTC](https://forum.ansible.com/t/anyone-can-explain-false-below/36159 "2022-01-03T21:57:39Z")

</div>

Hi Anyone can explain “false” below. Thank you sudo nano ansible.cfg \[defaults\] inventory = ./hosts host\_key checking = false

---

## [Raw command cannot work](https://forum.ansible.com/t/raw-command-cannot-work/36166)

<div class="topic-metadata">

**Author:** [@davidy](https://forum.ansible.com/u/davidy)\
**Replies:** 0\
**Last updated:** [January 3, 2022, 9:56pm UTC](https://forum.ansible.com/t/raw-command-cannot-work/36166 "2022-01-03T21:56:18Z")

</div>

Hi Please see the below command lines. Raw command line highlighted below cannot work. After entering the command, it shows some error message. It looks like the access is refused. Did I missed some things? The routers …

---

## [Retrieve facts from Ansible Setup module using JQ](https://forum.ansible.com/t/retrieve-facts-from-ansible-setup-module-using-jq/36161)

<div class="topic-metadata">

**Author:** [@Dennis\_McCarthy1](https://forum.ansible.com/u/Dennis_McCarthy1)\
**Replies:** 2\
**Last updated:** [January 3, 2022, 4:07pm UTC](https://forum.ansible.com/t/retrieve-facts-from-ansible-setup-module-using-jq/36161 "2022-01-03T16:07:11Z")

</div>

Is anyone good with ./JQ? I’m trying to pull out data from the setup output from Ansible. I can do most of what I need to but I’m stuck on something that is probably quite simple. I’m trying to generate a list of hosts…

---

## [Nice Playlist](https://forum.ansible.com/t/nice-playlist/36164)

<div class="topic-metadata">

**Author:** [@lee](https://forum.ansible.com/u/lee)\
**Replies:** 0\
**Last updated:** [January 3, 2022, 7:30am UTC](https://forum.ansible.com/t/nice-playlist/36164 "2022-01-03T07:30:00Z")

</div>

https://youtube.com/playlist?list=PL2\_OBreMn7FqZkvMYt6ATmgC0KAGGJNAN

---

## [access to a remote router is refused via ansible ssh](https://forum.ansible.com/t/access-to-a-remote-router-is-refused-via-ansible-ssh/36163)

<div class="topic-metadata">

**Author:** [@Kevin\_Y](https://forum.ansible.com/u/Kevin_Y)\
**Replies:** 0\
**Last updated:** [January 2, 2022, 4:47pm UTC](https://forum.ansible.com/t/access-to-a-remote-router-is-refused-via-ansible-ssh/36163 "2022-01-02T16:47:43Z")

</div>

I have a question. I am not sure -u is followed by ansible user or the remote router username? The ansible server is at the windows8 desktop. The router can be reached via ssh from the PC, but when using command " ansibl…

---

## [Help needed with an AWX 19.2.1 Kerberos issue...](https://forum.ansible.com/t/help-needed-with-an-awx-19-2-1-kerberos-issue/35398)

<div class="topic-metadata">

**Author:** [@sigtbakken](https://forum.ansible.com/u/sigtbakken)\
**Replies:** 17\
**Last updated:** [January 2, 2022, 12:26pm UTC](https://forum.ansible.com/t/help-needed-with-an-awx-19-2-1-kerberos-issue/35398 "2022-01-02T12:26:10Z")

</div>

Hi all, help needed with an AWX 19.2.1 Kerberos issue that is driving me crazy. My setup is K8s (one master and 2 worker nodes) on 10.0.0.0/16 subnet and I have my domain controller on my internal network 192.168.5.0/24 …

---

## [Simple script to install python 3 (with framework) succeeds manually but fails via ansible](https://forum.ansible.com/t/simple-script-to-install-python-3-with-framework-succeeds-manually-but-fails-via-ansible/36162)

<div class="topic-metadata">

**Author:** [@maspotts](https://forum.ansible.com/u/maspotts)\
**Replies:** 6\
**Last updated:** [January 2, 2022, 2:17am UTC](https://forum.ansible.com/t/simple-script-to-install-python-3-with-framework-succeeds-manually-but-fails-via-ansible/36162 "2022-01-02T02:17:25Z")

</div>

I wonder if anyone can help resolve this for me? I’m trying to install python 3 (using already-installed pyenv) on a (Catalina) Mac: the install goes fine if I don’t try to build it with PYTHON\_CONFIGURE\_OPTS=“–enable-fr…

---

## [how can i get around this error?](https://forum.ansible.com/t/how-can-i-get-around-this-error/36160)

<div class="topic-metadata">

**Author:** [@Kerem\_Kalayci](https://forum.ansible.com/u/Kerem_Kalayci)\
**Replies:** 5\
**Last updated:** [December 30, 2021, 12:15pm UTC](https://forum.ansible.com/t/how-can-i-get-around-this-error/36160 "2021-12-30T12:15:09Z")

</div>

Hi everyone, i’m newbie at ansible yml. I am trying to run a command like below. But I am getting an error as below. where am i doing wrong? gather\_facts: False name: LINGO’da komut hosts: xxx remote\_user: xxx tas…

---

## [create multiple vlan port groups on 5 esxi servers](https://forum.ansible.com/t/create-multiple-vlan-port-groups-on-5-esxi-servers/36130)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 6\
**Last updated:** [December 30, 2021, 10:17am UTC](https://forum.ansible.com/t/create-multiple-vlan-port-groups-on-5-esxi-servers/36130 "2021-12-30T10:17:17Z")

</div>

i got following task to create mul;tiple vlan ports groups on a vswitch on 5 esxi hosts task playbok is

---

## [Extract nmon](https://forum.ansible.com/t/extract-nmon/36158)

<div class="topic-metadata">

**Author:** [@kanna3k6](https://forum.ansible.com/u/kanna3k6)\
**Replies:** 1\
**Last updated:** [December 29, 2021, 6:38am UTC](https://forum.ansible.com/t/extract-nmon/36158 "2021-12-29T06:38:42Z")

</div>

Hi all,

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

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