# Archives

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

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

**Page:** 141

---

## [Variables requested via survey always overwrite template defaults](https://forum.ansible.com/t/variables-requested-via-survey-always-overwrite-template-defaults/34725)

<div class="topic-metadata">

**Author:** [@Kdu\_Bonalume](https://forum.ansible.com/u/Kdu_Bonalume)\
**Replies:** 3\
**Last updated:** [March 9, 2021, 9:31am UTC](https://forum.ansible.com/t/variables-requested-via-survey-always-overwrite-template-defaults/34725 "2021-03-09T09:31:27Z")

</div>

Hi there, I’m running AWX 17.0.1, recently upgraded from 15.x. Now, suppose you have a template whose default extra\_vars are foo: bar username: "{{ awx\_user\_name }}" Now consider that this template has a survey to re…

---

## [vmware\_guest - VM is created but the name "none"](https://forum.ansible.com/t/vmware-guest-vm-is-created-but-the-name-none/34735)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 8\
**Last updated:** [March 9, 2021, 9:23am UTC](https://forum.ansible.com/t/vmware-guest-vm-is-created-but-the-name-none/34735 "2021-03-09T09:23:08Z")

</div>

Hi folks When i use below on a Ubuntu 20.04 ansible control node , vm is created but the OS name shows “none” Same playbook i am running on a CentOS7 ansible control node the then the vm name is not none but correct on…

---

## [Use http\_proxy for collections download](https://forum.ansible.com/t/use-http-proxy-for-collections-download/34748)

<div class="topic-metadata">

**Author:** [@Sinan\_Polat](https://forum.ansible.com/u/Sinan_Polat)\
**Replies:** 0\
**Last updated:** [March 9, 2021, 8:31am UTC](https://forum.ansible.com/t/use-http-proxy-for-collections-download/34748 "2021-03-09T08:31:22Z")

</div>

I don’t want to set a http\_proxy system wide, but I want to use a http proxy for collection download. Is this somehow possible?

---

## [New release candidates: ansible-base 2.10.7rc1, ansible 2.9.19rc1](https://forum.ansible.com/t/new-release-candidates-ansible-base-2-10-7rc1-ansible-2-9-19rc1/34747)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [March 9, 2021, 7:51am UTC](https://forum.ansible.com/t/new-release-candidates-ansible-base-2-10-7rc1-ansible-2-9-19rc1/34747 "2021-03-09T07:51:11Z")

</div>

Hi all- we're happy to announce that the release candidates ansible-base 2.10.7rc1 and ansible 2.9.19rc1 are now available! How to get it

---

## [Getting ansible\_python\_interpreter error in mac local machine](https://forum.ansible.com/t/getting-ansible-python-interpreter-error-in-mac-local-machine/34744)

<div class="topic-metadata">

**Author:** [@Jaydip\_Jadeja](https://forum.ansible.com/u/Jaydip_Jadeja)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 9:33pm UTC](https://forum.ansible.com/t/getting-ansible-python-interpreter-error-in-mac-local-machine/34744 "2021-03-08T21:33:53Z")

</div>

zsh shell : ansible-playbook -D -l ‘local’ -e “cluster=xxx1” cluster.yml error : “msg”: “Failed to import the required Python library (openshift) on MacBook-Pro.local’s Python /System/Library/Frameworks/Python.framework…

---

## [Slowness problèmes after upgrade from 2.8 to 2.9](https://forum.ansible.com/t/slowness-problemes-after-upgrade-from-2-8-to-2-9/34071)

<div class="topic-metadata">

**Author:** [@Quentin\_Aveno](https://forum.ansible.com/u/Quentin_Aveno)\
**Replies:** 3\
**Last updated:** [March 8, 2021, 8:39pm UTC](https://forum.ansible.com/t/slowness-problemes-after-upgrade-from-2-8-to-2-9/34071 "2021-03-08T20:39:09Z")

</div>

Hi everyone, I have a slowness problem after upgrading ansible from ansible 2.8 to ansible 2.9 (and from python 2.7 to python 3 only on controller). A lot of differents taskes (and différents modules) became very slow (…

---

## [ovirt\_vm import OVA](https://forum.ansible.com/t/ovirt-vm-import-ova/34745)

<div class="topic-metadata">

**Author:** [@Arsene\_Gschwind](https://forum.ansible.com/u/Arsene_Gschwind)\
**Replies:** 0\
**Last updated:** [March 8, 2021, 8:24pm UTC](https://forum.ansible.com/t/ovirt-vm-import-ova/34745 "2021-03-08T20:24:55Z")

</div>

Hi, I’m having trouble getting the ovirt\_vm module to import an ova image, i’m always getting the following error: Traceback (most recent call last): File “/tmp/ansible\_ovirt\_vm\_payload\_upn728mm/ansible\_ovirt\_vm\_paylo…

---

## [AWX 17 (and now AWX 13)](https://forum.ansible.com/t/awx-17-and-now-awx-13/34743)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 8:11pm UTC](https://forum.ansible.com/t/awx-17-and-now-awx-13/34743 "2021-03-08T20:11:55Z")

</div>

Hello All, I had a working verions of AWX 13 - I was using port 8000 to access the web site: http:my-awx.com:8000. This worked fine. I wanted to upgrade/install AWX 17. I use a virtual machine for the AWX web server. B…

---

## [ansible remote host to remote synchronize.py error](https://forum.ansible.com/t/ansible-remote-host-to-remote-synchronize-py-error/34733)

<div class="topic-metadata">

**Author:** [@Raj](https://forum.ansible.com/u/Raj)\
**Replies:** 4\
**Last updated:** [March 8, 2021, 7:20pm UTC](https://forum.ansible.com/t/ansible-remote-host-to-remote-synchronize-py-error/34733 "2021-03-08T19:20:35Z")

</div>

Hi all, Below is my playbook for copy from server A to server B. Could you please help me on this issue.

---

## [Why does ansible-test pylint consider "\_" to be a "bad-name"?](https://forum.ansible.com/t/why-does-ansible-test-pylint-consider-to-be-a-bad-name/34742)

<div class="topic-metadata">

**Author:** [@Richard\_Megginson](https://forum.ansible.com/u/Richard_Megginson)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 6:40pm UTC](https://forum.ansible.com/t/why-does-ansible-test-pylint-consider-to-be-a-bad-name/34742 "2021-03-08T18:40:03Z")

</div>

Question about ansible-test sanity pylint - https://github.com/ansible/ansible/blob/stable-2.9/test/lib/ansible\_test/\_data/sanity/pylint/config/ansible-test.cfg#L28 - why is \_ considered a bad variable name? It is the s…

---

## [ansible group not working](https://forum.ansible.com/t/ansible-group-not-working/34734)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 8\
**Last updated:** [March 8, 2021, 6:20pm UTC](https://forum.ansible.com/t/ansible-group-not-working/34734 "2021-03-08T18:20:06Z")

</div>

any idea why the below is failing for my hosts pa-mgt01?

---

## [How can I use with\_items twice in a single tasks?](https://forum.ansible.com/t/how-can-i-use-with-items-twice-in-a-single-tasks/34739)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 3\
**Last updated:** [March 8, 2021, 6:01pm UTC](https://forum.ansible.com/t/how-can-i-use-with-items-twice-in-a-single-tasks/34739 "2021-03-08T18:01:00Z")

</div>

How can I use with\_items twice in a single tasks? For example , using line-in-file , I wish to update few parameters on a file that can be found on 2 locations name: update file lineinfile: path: {{ item }} ← This …

---

## [How to extract specific value from register output](https://forum.ansible.com/t/how-to-extract-specific-value-from-register-output/34740)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 4:21pm UTC](https://forum.ansible.com/t/how-to-extract-specific-value-from-register-output/34740 "2021-03-08T16:21:45Z")

</div>

How to extract a specific value from register output: From the below register output I’m trying to extract the path value with no luck, I have tried few options but still, I’m falling debug: msg: “{{ file\_name }}” - …

---

## [Announcement: Introducing Ansible Community Engineering Steering Committee](https://forum.ansible.com/t/announcement-introducing-ansible-community-engineering-steering-committee/34741)

<div class="topic-metadata">

**Author:** [@Ompragash](https://forum.ansible.com/u/Ompragash)\
**Replies:** 0\
**Last updated:** [March 8, 2021, 4:15pm UTC](https://forum.ansible.com/t/announcement-introducing-ansible-community-engineering-steering-committee/34741 "2021-03-08T16:15:37Z")

</div>

Hi Everyone, We are happy to inform you that we are launching a Steering Committee for the Ansible Community Project. The committee members shall be broadly representative of the planning/approval area. As it’s a brand …

---

## [characters limit of line: in lineinfile module](https://forum.ansible.com/t/characters-limit-of-line-in-lineinfile-module/34738)

<div class="topic-metadata">

**Author:** [@Heman\_Malve](https://forum.ansible.com/u/Heman_Malve)\
**Replies:** 0\
**Last updated:** [March 8, 2021, 12:49pm UTC](https://forum.ansible.com/t/characters-limit-of-line-in-lineinfile-module/34738 "2021-03-08T12:49:09Z")

</div>

Hi Team, Do we have any limit of line text in lineinfile module (text contains .,",- and space characters ) and also alternate way to combine the text , please suggest !!

---

## [executable location = /usr/local/bin/ansible VS executable location = /bin/ansible](https://forum.ansible.com/t/executable-location-usr-local-bin-ansible-vs-executable-location-bin-ansible/34736)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 8:18am UTC](https://forum.ansible.com/t/executable-location-usr-local-bin-ansible-vs-executable-location-bin-ansible/34736 "2021-03-08T08:18:34Z")

</div>

Hi Folks Anyone can suggest anything for below problem For root user i see below for path : root: ~ $ # ansible --version ansible 2.10.6 config file = /etc/ansible/ansible.cfg configured module search path = \[‘/roo…

---

## [line-in-file . line update from a list of values](https://forum.ansible.com/t/line-in-file-line-update-from-a-list-of-values/34737)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 0\
**Last updated:** [March 8, 2021, 8:08am UTC](https://forum.ansible.com/t/line-in-file-line-update-from-a-list-of-values/34737 "2021-03-08T08:08:47Z")

</div>

Hi I’m using lineinfile to include new value inside a file Original line Kafka-list= kafka1:9092;kafka2:9092;kafka3:9092 I need to replace the value with parameters that are managed inside a configuration – I need to…

---

## [Ansible showing incorrect info when i try to find free space in switch, please help](https://forum.ansible.com/t/ansible-showing-incorrect-info-when-i-try-to-find-free-space-in-switch-please-help/34732)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 1\
**Last updated:** [March 7, 2021, 7:07pm UTC](https://forum.ansible.com/t/ansible-showing-incorrect-info-when-i-try-to-find-free-space-in-switch-please-help/34732 "2021-03-07T19:07:22Z")

</div>

I have written a script to check for free space in switch before i proceed to copy image. I used ios\_facts module and i used below return values however the free and total space displayed is incorrect than the actual fre…

---

## [help: loop through a remote file](https://forum.ansible.com/t/help-loop-through-a-remote-file/34726)

<div class="topic-metadata">

**Author:** [@danish09](https://forum.ansible.com/u/danish09)\
**Replies:** 2\
**Last updated:** [March 7, 2021, 7:24am UTC](https://forum.ansible.com/t/help-loop-through-a-remote-file/34726 "2021-03-07T07:24:15Z")

</div>

Hi, Using ansible 2.4.0 on controller. Remote is an ubuntu 14.04 LTS. Python 2.7 I am trying to cat through passwd file, awk the first column, register that into a variable and then create a compressed archive of a r…

---

## [escaping in a shell module](https://forum.ansible.com/t/escaping-in-a-shell-module/34730)

<div class="topic-metadata">

**Author:** [@danish09](https://forum.ansible.com/u/danish09)\
**Replies:** 1\
**Last updated:** [March 7, 2021, 7:22am UTC](https://forum.ansible.com/t/escaping-in-a-shell-module/34730 "2021-03-07T07:22:12Z")

</div>

Hi, ansible 2.4.0 remote environment: ubuntu 14.04 host/controller: Ubuntu 16.04.7 LTS I have a task to extract some usernames from the passwd file - name: extract usernames from password file shell: “awk -v LIMIT=…

---

## [Plybook with community.vmware modules & inventory item issue](https://forum.ansible.com/t/plybook-with-community-vmware-modules-inventory-item-issue/34729)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 5\
**Last updated:** [March 6, 2021, 11:56pm UTC](https://forum.ansible.com/t/plybook-with-community-vmware-modules-inventory-item-issue/34729 "2021-03-06T23:56:04Z")

</div>

Hi I am using community.vmware related modules in a playbook … which updates tags & reboot vms In the same vm i would like to patch the VM Below is the code … but the yum module here seems not acting on the target ie …

---

## [Can not post to ansible-projekt (no permissions). Can you help?](https://forum.ansible.com/t/can-not-post-to-ansible-projekt-no-permissions-can-you-help/34731)

<div class="topic-metadata">

**Author:** [@Stefan\_Schmid](https://forum.ansible.com/u/Stefan_Schmid)\
**Replies:** 0\
**Last updated:** [March 6, 2021, 5:01pm UTC](https://forum.ansible.com/t/can-not-post-to-ansible-projekt-no-permissions-can-you-help/34731 "2021-03-06T17:01:26Z")

</div>

Hi Would love to answer questions but no permissions. Used to work in the past (2019, 2020).Am I blocked? I am registered with this email : stefan.schmid.switzerland@gmail.com Thanks. Best regards Stefan

---

## [setting env variables causing syntax error](https://forum.ansible.com/t/setting-env-variables-causing-syntax-error/34728)

<div class="topic-metadata">

**Author:** [@VB\_C](https://forum.ansible.com/u/VB_C)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 9:27pm UTC](https://forum.ansible.com/t/setting-env-variables-causing-syntax-error/34728 "2021-03-05T21:27:34Z")

</div>

hello folks I am unable to set env variables, so that app\_user is able to run app as a linux service. can someone help ?

---

## [Limit AWX project to only use specific branches?](https://forum.ansible.com/t/limit-awx-project-to-only-use-specific-branches/34718)

<div class="topic-metadata">

**Author:** [@Daniel2](https://forum.ansible.com/u/Daniel2)\
**Replies:** 2\
**Last updated:** [March 5, 2021, 8:34pm UTC](https://forum.ansible.com/t/limit-awx-project-to-only-use-specific-branches/34718 "2021-03-05T20:34:43Z")

</div>

We have Ansible AWX in DEV and PROD. I would like to use the Development branch for DEV and Master branch for PROD. Is there a way to keep users of AWX from changing the branch drop-down in the GUI to use another branch …

---

## [How to stop checking for further TASKS if a condition is not met?](https://forum.ansible.com/t/how-to-stop-checking-for-further-tasks-if-a-condition-is-not-met/34727)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [March 5, 2021, 8:04pm UTC](https://forum.ansible.com/t/how-to-stop-checking-for-further-tasks-if-a-condition-is-not-met/34727 "2021-03-05T20:04:05Z")

</div>

Iam writing a script to upgrade IOS image in several switches. I have several TASKS written which would be checked in sequential order. I wish to add a condition that if a particular TASK/condition were to fail, then pl…

---

## [docker-compose](https://forum.ansible.com/t/docker-compose/34712)

<div class="topic-metadata">

**Author:** [@guhilling](https://forum.ansible.com/u/guhilling)\
**Replies:** 5\
**Last updated:** [March 5, 2021, 10:33am UTC](https://forum.ansible.com/t/docker-compose/34712 "2021-03-05T10:33:49Z")

</div>

From the latest documentation it looks like docker-compose is no longer supported. Is this correct? That would be a problem for users (like some of my customers) who do not (yet) have a k8s cluster. Could we at least…

---

## [Task timeout](https://forum.ansible.com/t/task-timeout/34721)

<div class="topic-metadata">

**Author:** [@Simon\_Macpherson](https://forum.ansible.com/u/Simon_Macpherson)\
**Replies:** 5\
**Last updated:** [March 5, 2021, 1:00am UTC](https://forum.ansible.com/t/task-timeout/34721 "2021-03-05T01:00:57Z")

</div>

Hi, I’m using the Check Point Ansible Mgmt Collection (https://galaxy.ansible.com/check\_point/mgmt) Whilst running my playbook from the CLI, the run script task (check\_point.mgmt.cp\_mgmt\_run\_script) operation times out…

---

## [Ansible - VPN connection to Azure](https://forum.ansible.com/t/ansible-vpn-connection-to-azure/34724)

<div class="topic-metadata">

**Author:** [@Adam\_Nowak](https://forum.ansible.com/u/Adam_Nowak)\
**Replies:** 0\
**Last updated:** [March 4, 2021, 9:09pm UTC](https://forum.ansible.com/t/ansible-vpn-connection-to-azure/34724 "2021-03-04T21:09:13Z")

</div>

Welcome. I need to connect via VPN to Azure. For this I need to use ansible which is installed on local Ubuntu 18.4 without GIU. In Ansible I have playbooks which installs all programs. From Azure I got a file with . p…

---

## [Need clarification regarding ios\_facts module](https://forum.ansible.com/t/need-clarification-regarding-ios-facts-module/34723)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [March 4, 2021, 5:29pm UTC](https://forum.ansible.com/t/need-clarification-regarding-ios-facts-module/34723 "2021-03-04T17:29:36Z")

</div>

I usually use below script to check free space before proceeding to copy image. But when i need to copy image to a stacked switch, will this command show free space in ALL member switches or will it show only master swit…

---

## [BlockinFile module help](https://forum.ansible.com/t/blockinfile-module-help/34722)

<div class="topic-metadata">

**Author:** [@Akshay\_Kumar](https://forum.ansible.com/u/Akshay_Kumar)\
**Replies:** 0\
**Last updated:** [March 4, 2021, 10:11am UTC](https://forum.ansible.com/t/blockinfile-module-help/34722 "2021-03-04T10:11:13Z")

</div>

Hi Guys , I am using the below block for writing a variable values into a file name: Add output of task for getting content to the local local\_action: module: blockinfile path: “{{ File }}” marker: " " state: pre…

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

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