# Latest

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

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

**Page:** 316

---

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

---

## [Adding single quotes when I use regex\_search('\[^=\]\*$')](https://forum.ansible.com/t/adding-single-quotes-when-i-use-regex-search/34690)

<div class="topic-metadata">

**Author:** [@Pravin\_V](https://forum.ansible.com/u/Pravin_V)\
**Replies:** 6\
**Last updated:** [March 4, 2021, 5:54am UTC](https://forum.ansible.com/t/adding-single-quotes-when-i-use-regex-search/34690 "2021-03-04T05:54:43Z")

</div>

Hello Everyone, When I use the regex\_search in tasks, it is adding single quotes in the starting and end. Like for this - sw01 GigabitEthernet0/0 IF-MIB.ifSpeed = 1000000000 when I use regex\_search- name: SET FA…

---

## [Does IOS network module work for IOS-XE models as well?](https://forum.ansible.com/t/does-ios-network-module-work-for-ios-xe-models-as-well/34714)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 5:34am UTC](https://forum.ansible.com/t/does-ios-network-module-work-for-ios-xe-models-as-well/34714 "2021-03-04T05:34:33Z")

</div>

Will IOS network module work only for IOS OS running devices or will it work for IOS-XE OS devices as well? Reason iam asking is because i see separate modules for IOS, NX-OS and IOS-XR but nothing for IOS-XE. So i want…

---

## [update hots file - the default inventory file](https://forum.ansible.com/t/update-hots-file-the-default-inventory-file/34711)

<div class="topic-metadata">

**Author:** [@Akasurde](https://forum.ansible.com/u/Akasurde)\
**Replies:** 4\
**Last updated:** [March 4, 2021, 5:18am UTC](https://forum.ansible.com/t/update-hots-file-the-default-inventory-file/34711 "2021-03-04T05:18:20Z")

</div>

Can you provide output of lineinfile ? Mine look like changed: \[localhost\] =\> (item=a) =\> {“ansible\_loop\_var”: “item”, “backup”: “”, “changed”: true, “item”: “a”, “msg”: “line added”} changed: \[localhost\] =\> (item=b) =\>…

---

## [Privilege Escalation issue](https://forum.ansible.com/t/privilege-escalation-issue/34720)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 0\
**Last updated:** [March 4, 2021, 2:15am UTC](https://forum.ansible.com/t/privilege-escalation-issue/34720 "2021-03-04T02:15:09Z")

</div>

We are trying to do some operations on our oVirt hosted engine machines. They are configured with the DISA STIG (I believe). We can log into them as root without any issues, but when we use ansible-playbook, we always ge…

---

## [New beta release: ansible-core 2.11.0b1](https://forum.ansible.com/t/new-beta-release-ansible-core-2-11-0b1/34710)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 10:11pm UTC](https://forum.ansible.com/t/new-beta-release-ansible-core-2-11-0b1/34710 "2021-03-03T22:11:40Z")

</div>

Hi all- we're happy to announce that the first BETA release of ansible-core 2.11.0 is now available! ansible-core 2.11 is a rename of ansible-base. As with ansible-base, it includes only a minimal, vetted set of modul…

---

## [How to make ansible check for free space in EVERY member switches of a stack switch?](https://forum.ansible.com/t/how-to-make-ansible-check-for-free-space-in-every-member-switches-of-a-stack-switch/34715)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [March 3, 2021, 4:57pm UTC](https://forum.ansible.com/t/how-to-make-ansible-check-for-free-space-in-every-member-switches-of-a-stack-switch/34715 "2021-03-03T16:57:34Z")

</div>

Below is the config i use for checking if router flash memory has certain amount of free space and then copy IOS image to it if it has. Now i need to do the same thing for stacked switch. But iam wondering if below conf…

---

## [escape single quotes](https://forum.ansible.com/t/escape-single-quotes/34713)

<div class="topic-metadata">

**Author:** [@Pravin\_V](https://forum.ansible.com/u/Pravin_V)\
**Replies:** 0\
**Last updated:** [March 3, 2021, 1:30pm UTC](https://forum.ansible.com/t/escape-single-quotes/34713 "2021-03-03T13:30:32Z")

</div>

Hello Everyone, I’m trying to pass the numeric values of an variable into JSON. name: Device ID set\_fact: “device\_id”: “{{ device\_item\_netbox.id }}” name: DEBUG - DEVICE ID debug: msg=“{{ device\_id }}” Outpu…

---

## [How to kill/restart ssh remote connection](https://forum.ansible.com/t/how-to-kill-restart-ssh-remote-connection/34709)

<div class="topic-metadata">

**Author:** [@Softestplease](https://forum.ansible.com/u/Softestplease)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 12:22am UTC](https://forum.ansible.com/t/how-to-kill-restart-ssh-remote-connection/34709 "2021-03-03T00:22:51Z")

</div>

Hi all, Could anyone please share some knowledge on how to kill/restart ssh from remote connection in Ansible? Basically, I need to re-login in order the changes to take affect but it seems that Ansible has shared conn…

---

## [Am I missing something or Ansible is uselessly verbose?](https://forum.ansible.com/t/am-i-missing-something-or-ansible-is-uselessly-verbose/34705)

<div class="topic-metadata">

**Author:** [@Istvan\_Kis](https://forum.ansible.com/u/Istvan_Kis)\
**Replies:** 3\
**Last updated:** [March 3, 2021, 12:20am UTC](https://forum.ansible.com/t/am-i-missing-something-or-ansible-is-uselessly-verbose/34705 "2021-03-03T00:20:48Z")

</div>

I am just starting to learn Ansible as I need it for my current job. I am kind of disappointed. Why can’t: become: yes become\_user: root Just be: user: root Can you become anything else other than a user?

---

## [Ansible - User Create Module - Not working with Vault](https://forum.ansible.com/t/ansible-user-create-module-not-working-with-vault/34594)

<div class="topic-metadata">

**Author:** [@penguinpages](https://forum.ansible.com/u/penguinpages)\
**Replies:** 5\
**Last updated:** [March 2, 2021, 11:16pm UTC](https://forum.ansible.com/t/ansible-user-create-module-not-working-with-vault/34594 "2021-03-02T23:16:24Z")

</div>

Still learning Ansible… but I think this is a feature request / maybe a bug? Hoping their is a work around. Goal: Create a user on CentOS host with membership of wheel group, ssh key and use a provided password but NOT…

---

## [Ansible started giving SSH Error: data could not be sent to remote host error in several playbooks and several tasks](https://forum.ansible.com/t/ansible-started-giving-ssh-error-data-could-not-be-sent-to-remote-host-error-in-several-playbooks-and-several-tasks/34619)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 3\
**Last updated:** [March 2, 2021, 10:30pm UTC](https://forum.ansible.com/t/ansible-started-giving-ssh-error-data-could-not-be-sent-to-remote-host-error-in-several-playbooks-and-several-tasks/34619 "2021-03-02T22:30:52Z")

</div>

I have more than 42 ansible playbooks all of which used to run fine and nothing has changed. The SSH connectivity to all the hosts is also good. Since last week we started getting SSH Error: data could not be sent to re…

---

## [remote to remote host copy. using AWX](https://forum.ansible.com/t/remote-to-remote-host-copy-using-awx/34701)

<div class="topic-metadata">

**Author:** [@Raj](https://forum.ansible.com/u/Raj)\
**Replies:** 3\
**Last updated:** [March 2, 2021, 8:39pm UTC](https://forum.ansible.com/t/remote-to-remote-host-copy-using-awx/34701 "2021-03-02T20:39:59Z")

</div>

Hi All, I am trying to copy file from remote to remote using below tasks. already I used fetch and copy module through control node. In my scenario as per security reason we won’t copy to control node.

---

## [Is it possible to add async on raw module](https://forum.ansible.com/t/is-it-possible-to-add-async-on-raw-module/34708)

<div class="topic-metadata">

**Author:** [@Arjan\_Goos](https://forum.ansible.com/u/Arjan_Goos)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 3:48pm UTC](https://forum.ansible.com/t/is-it-possible-to-add-async-on-raw-module/34708 "2021-03-02T15:48:47Z")

</div>

I am currently patching firmware on 100+ routers in the field with the raw command. It is doing an ftp get from a file and after that it flashes the router and reboots the router. But ansible hangs. Is it possible to fix…

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

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