# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=8

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

**Page:** 9

---

## [Error in Execution environment](https://forum.ansible.com/t/error-in-execution-environment/38591)

<div class="topic-metadata">

**Author:** [@thirumalairaja](https://forum.ansible.com/u/thirumalairaja)\
**Replies:** 0\
**Last updated:** [November 21, 2023, 7:11am UTC](https://forum.ansible.com/t/error-in-execution-environment/38591 "2023-11-21T07:11:01Z")

</div>

Hi guys, I have created Execution environment in my AWX tower and when I try to run job using the EE it’s keep on running and finally it says error : timed out for the condition, createcontainerconfigerror Can any one…

---

## [Ansible Automation platform](https://forum.ansible.com/t/ansible-automation-platform/38590)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 0\
**Last updated:** [November 21, 2023, 7:07am UTC](https://forum.ansible.com/t/ansible-automation-platform/38590 "2023-11-21T07:07:13Z")

</div>

Hi I am trying to execute my template in recently built AAP 2.3 , but eventually it is failing with the below error message. No problem in Dev environment. Occurring in prod env. Pls help. — Traceback (most recent call…

---

## [Error with message: "winrm or requests are not installed, No module named 'winrm' ", despite having these 2 things installed](https://forum.ansible.com/t/error-with-message-winrm-or-requests-are-not-installed-no-module-named-winrm-despite-having-these-2-things-installed/38587)

<div class="topic-metadata">

**Author:** [@Axel\_Padilla](https://forum.ansible.com/u/Axel_Padilla)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 5:15pm UTC](https://forum.ansible.com/t/error-with-message-winrm-or-requests-are-not-installed-no-module-named-winrm-despite-having-these-2-things-installed/38587 "2023-11-20T17:15:46Z")

</div>

Everything was working fine until I updated it to the latest version of Ansible. Versions: Python 3.11.2 ansible \[core 2.14.2\] with python version 3.11.2 & jinja version 3.1.2 ansible==4.10.0 ansible-core==2.11.12 …

---

## [AWX reach openstack inventory with IPv6](https://forum.ansible.com/t/awx-reach-openstack-inventory-with-ipv6/38588)

<div class="topic-metadata">

**Author:** [@Gabriel\_ARGENTIERI](https://forum.ansible.com/u/Gabriel_ARGENTIERI)\
**Replies:** 1\
**Last updated:** [November 20, 2023, 4:27pm UTC](https://forum.ansible.com/t/awx-reach-openstack-inventory-with-ipv6/38588 "2023-11-20T16:27:48Z")

</div>

Hello, On AWX (AWX 19.4.0) installed with AWX Operator, We use the Openstack plugin (https://docs.ansible.com/ansible/latest/collections/openstack/cloud/openstack\_inventory.html) to bring up hosts in an inventory, on t…

---

## [Regarding file changes in Ansible](https://forum.ansible.com/t/regarding-file-changes-in-ansible/38586)

<div class="topic-metadata">

**Author:** [@Ashok-2017](https://forum.ansible.com/u/Ashok-2017)\
**Replies:** 8\
**Last updated:** [November 17, 2023, 11:34am UTC](https://forum.ansible.com/t/regarding-file-changes-in-ansible/38586 "2023-11-17T11:34:38Z")

</div>

Hi, I have been trying to implement the following: If any file change in git lab repo, then only we need to deploy the file in servers. How to write Ansible playbook?

---

## [UNREACHABLE!](https://forum.ansible.com/t/unreachable/38578)

<div class="topic-metadata">

**Author:** [@user79](https://forum.ansible.com/u/user79)\
**Replies:** 4\
**Last updated:** [November 17, 2023, 11:29am UTC](https://forum.ansible.com/t/unreachable/38578 "2023-11-17T11:29:54Z")

</div>

Hello, pls help me understand this error; I’ve been trying to fix it for the second day and can’t figure it out… TASK \[Gathering Facts\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: …

---

## [Synchronize module failing](https://forum.ansible.com/t/synchronize-module-failing/38585)

<div class="topic-metadata">

**Author:** [@Prady\_A](https://forum.ansible.com/u/Prady_A)\
**Replies:** 4\
**Last updated:** [November 17, 2023, 12:35am UTC](https://forum.ansible.com/t/synchronize-module-failing/38585 "2023-11-17T00:35:09Z")

</div>

Hi Experts One doubt with synchronize module name: Unix common script deployment synchronize: src: “{{ playbook\_dir }}/shellscript” Dest: /tmp/patch\_impl delegation\_to: all In this ansible code it is failing beca…

---

## [ignoring docker interface when getting interface list](https://forum.ansible.com/t/ignoring-docker-interface-when-getting-interface-list/38584)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 2\
**Last updated:** [November 16, 2023, 3:17pm UTC](https://forum.ansible.com/t/ignoring-docker-interface-when-getting-interface-list/38584 "2023-11-16T15:17:39Z")

</div>

I’m having a problem Docker interface problems while getting a list of interfaces. People on here helped me get the list of interfaces on a device (thank you) like this: lineinfile: dest: “data.txt” line: “{{ item }}:…

---

## [using extra-vars with  list and dict](https://forum.ansible.com/t/using-extra-vars-with-list-and-dict/38583)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 1\
**Last updated:** [November 16, 2023, 11:02am UTC](https://forum.ansible.com/t/using-extra-vars-with-list-and-dict/38583 "2023-11-16T11:02:34Z")

</div>

Hi, I am missing the format of input the extra-vars with multiple choices . In the playbook , I am passing 2 variables as extra vars and they are working fine . ansible-playbook myplaybook.yml -e “server\_ip=10.100.100…

---

## [Ansible Error with ""msg": "the connection plugin 'network\_cli' was not found""](https://forum.ansible.com/t/ansible-error-with-msg-the-connection-plugin-network-cli-was-not-found/38582)

<div class="topic-metadata">

**Author:** [@bacchus21](https://forum.ansible.com/u/bacchus21)\
**Replies:** 0\
**Last updated:** [November 15, 2023, 5:30am UTC](https://forum.ansible.com/t/ansible-error-with-msg-the-connection-plugin-network-cli-was-not-found/38582 "2023-11-15T05:30:27Z")

</div>

Hello, All I’m getting the following errors while I was running a playbook. It used to be working fine before. However, the old server was broken and, we built a new server. Not sure it’s because of ansible version, but…

---

## [lineinfile quoting](https://forum.ansible.com/t/lineinfile-quoting/38577)

<div class="topic-metadata">

**Author:** [@Dimitri\_Yioulos](https://forum.ansible.com/u/Dimitri_Yioulos)\
**Replies:** 7\
**Last updated:** [November 14, 2023, 9:34pm UTC](https://forum.ansible.com/t/lineinfile-quoting/38577 "2023-11-14T21:34:14Z")

</div>

Good day, all. I want to add the following line to a file: \_some-name TXT “aZJACEhonRJiOCL1ZtkKMKnx7U4m5jbSswyClGb6wGk” I would think I’d use the following: lineinfile: dest=/somedir/somefile insertafter=EOF line="\_a…

---

## [Release announcement: Ansible Community Package 9.0.0rc1 (Pre-Release)](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-0-0rc1-pre-release/38581)

<div class="topic-metadata">

**Author:** [@Anwesha\_Das](https://forum.ansible.com/u/Anwesha_Das)\
**Replies:** 1\
**Last updated:** [November 14, 2023, 4:51pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-0-0rc1-pre-release/38581 "2023-11-14T16:51:30Z")

</div>

Hello everyone, We're happy to announce the Alpha release of Ansible 9.0.0rc1! This pre-release version contains the latest version of ansible-core 2.16 and includes a curated set of Ansible collections that provides …

---

## [Error reading config file (/etc/ansible/ansible.cfg): Source contains parsing errors: '\<string\>' \[line 4\]: ' 3 \\n' #601](https://forum.ansible.com/t/error-reading-config-file-etc-ansible-ansible-cfg-source-contains-parsing-errors-string-line-4-3-n-601/34786)

<div class="topic-metadata">

**Author:** [@Mohamed\_Rahiman](https://forum.ansible.com/u/Mohamed_Rahiman)\
**Replies:** 13\
**Last updated:** [November 14, 2023, 3:49pm UTC](https://forum.ansible.com/t/error-reading-config-file-etc-ansible-ansible-cfg-source-contains-parsing-errors-string-line-4-3-n-601/34786 "2023-11-14T15:49:36Z")

</div>

Error reading config file (/etc/ansible/ansible.cfg): Source contains parsing errors: ‘’ \[line 4\]: ’ 3 \\n’ #601 Hi Guys I am learning Ansible as a newbie so that i can get into the industry of IT, I am learning everyth…

---

## [Run ansible tasks on hosts one-by-one](https://forum.ansible.com/t/run-ansible-tasks-on-hosts-one-by-one/38567)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 9\
**Last updated:** [November 11, 2023, 2:25pm UTC](https://forum.ansible.com/t/run-ansible-tasks-on-hosts-one-by-one/38567 "2023-11-11T14:25:32Z")

</div>

Here is my question exactlyt the same. https://stackoverflow.com/questions/64048208/run-ansible-tasks-on-hosts-one-by-one Run 3 tasks one after another on single host at at a time. if any of that tasks fails dont move…

---

## [Ansible\_ECS Community Module for External](https://forum.ansible.com/t/ansible-ecs-community-module-for-external/38576)

<div class="topic-metadata">

**Author:** [@Cesar\_Ramirez](https://forum.ansible.com/u/Cesar_Ramirez)\
**Replies:** 1\
**Last updated:** [November 10, 2023, 6:23am UTC](https://forum.ansible.com/t/ansible-ecs-community-module-for-external/38576 "2023-11-10T06:23:54Z")

</div>

Hi All, How to get support for a module community.aws.ecs.service so it creates the service for cluster with “External”…is that possible with that module??

---

## [Release announcement: Ansible Community Package 9.0.0b1 (Pre-Release)](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-0-0b1-pre-release/38575)

<div class="topic-metadata">

**Author:** [@cybette](https://forum.ansible.com/u/cybette)\
**Replies:** 1\
**Last updated:** [November 9, 2023, 7:48pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-0-0b1-pre-release/38575 "2023-11-09T19:48:08Z")

</div>

Hello everyone, We’re happy to announce the Beta release of Ansible 9.0.0b1! This pre-release version contains the latest version of ansible-core 2.16 and includes a curated set of Ansible collections that provides a …

---

## [Ansible ping report](https://forum.ansible.com/t/ansible-ping-report/38568)

<div class="topic-metadata">

**Author:** [@Dimitri\_Yioulos](https://forum.ansible.com/u/Dimitri_Yioulos)\
**Replies:** 9\
**Last updated:** [November 8, 2023, 9:06pm UTC](https://forum.ansible.com/t/ansible-ping-report/38568 "2023-11-08T21:06:31Z")

</div>

Hi, All. It’s been some time since I used Ansible, and this list. I’m happy to be back using both. I’ve created a \[playbook to run pin, and create a report of output:

---

## [how to append to a line keeping](https://forum.ansible.com/t/how-to-append-to-a-line-keeping/38562)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 3\
**Last updated:** [November 8, 2023, 11:18am UTC](https://forum.ansible.com/t/how-to-append-to-a-line-keeping/38562 "2023-11-08T11:18:19Z")

</div>

We want to only append string -javaagent:{{jmxexporter\_jar\_path}}={{zookeeper\_jmxexporter\_port}}:{{zookeeper\_jmxexporter\_config\_path}}"’ to a file override.conf if we have "Environment=“KAFKA\_JMX\_OPTS” in it else add …

---

## [Release announcement: Ansible Community Package 8.6.0](https://forum.ansible.com/t/release-announcement-ansible-community-package-8-6-0/38574)

<div class="topic-metadata">

**Author:** [@cybette](https://forum.ansible.com/u/cybette)\
**Replies:** 0\
**Last updated:** [November 7, 2023, 7:14pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-8-6-0/38574 "2023-11-07T19:14:17Z")

</div>

Hello everyone, We’re happy to announce the release of the Ansible 8.6.0 package! Ansible 8.6.0 includes ansible-core 2.15.6 as well as a curated set of Ansible collections that provide a vast number of modules and pl…

---

## [dynamically set info in hosts file](https://forum.ansible.com/t/dynamically-set-info-in-hosts-file/38573)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 2\
**Last updated:** [November 7, 2023, 5:45pm UTC](https://forum.ansible.com/t/dynamically-set-info-in-hosts-file/38573 "2023-11-07T17:45:30Z")

</div>

I am trying to dynamically set my target host info, which I can only get to through a Bastion host. Here is what I am doing: name: Set up host lineinfile: path: “{{ inventory\_file }}” regexp: ‘^ansible\_ssh\_common\_ar…

---

## [Huawei "display interface" command in playbook](https://forum.ansible.com/t/huawei-display-interface-command-in-playbook/38572)

<div class="topic-metadata">

**Author:** [@Azadeh\_Amirhosseini](https://forum.ansible.com/u/Azadeh_Amirhosseini)\
**Replies:** 0\
**Last updated:** [November 7, 2023, 8:30am UTC](https://forum.ansible.com/t/huawei-display-interface-command-in-playbook/38572 "2023-11-07T08:30:08Z")

</div>

Hi All, is there anybody here has the experience to execute “display interface” by a Huawei-ce (CloudEngine) device successfully? All “display” commands could be executed right except “display interface”. In the output…

---

## [New release: ansible-core 2.16.0 - All My Love](https://forum.ansible.com/t/new-release-ansible-core-2-16-0-all-my-love/38571)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [November 6, 2023, 6:08pm UTC](https://forum.ansible.com/t/new-release-ansible-core-2-16-0-all-my-love/38571 "2023-11-06T18:08:42Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.16.0 How to get it

---

## [Issue escaping curly braces in template file](https://forum.ansible.com/t/issue-escaping-curly-braces-in-template-file/38569)

<div class="topic-metadata">

**Author:** [@matthew\_Higgs](https://forum.ansible.com/u/matthew_Higgs)\
**Replies:** 2\
**Last updated:** [November 6, 2023, 6:08pm UTC](https://forum.ansible.com/t/issue-escaping-curly-braces-in-template-file/38569 "2023-11-06T18:08:36Z")

</div>

Hey. I am having a bit of trouble trying to convert a jinja template because of the some issues escaping curly braces. Consider this simple jinja template that is currently returning an error: activationID: {{{ lookup(‘…

---

## [New release: ansible-core 2.15.6](https://forum.ansible.com/t/new-release-ansible-core-2-15-6/38570)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [November 6, 2023, 5:59pm UTC](https://forum.ansible.com/t/new-release-ansible-core-2-15-6/38570 "2023-11-06T17:59:15Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.15.6 How to get it

---

## [How to make sure that values for all keys with same name are strings?](https://forum.ansible.com/t/how-to-make-sure-that-values-for-all-keys-with-same-name-are-strings/38566)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 3\
**Last updated:** [November 3, 2023, 11:20pm UTC](https://forum.ansible.com/t/how-to-make-sure-that-values-for-all-keys-with-same-name-are-strings/38566 "2023-11-03T23:20:42Z")

</div>

Hii, I have a structure like this:

---

## [fact disappears after regather](https://forum.ansible.com/t/fact-disappears-after-regather/38564)

<div class="topic-metadata">

**Author:** [@mdidomenico](https://forum.ansible.com/u/mdidomenico)\
**Replies:** 7\
**Last updated:** [November 3, 2023, 7:16pm UTC](https://forum.ansible.com/t/fact-disappears-after-regather/38564 "2023-11-03T19:16:47Z")

</div>

i have a local fact defined. when i first run ansible and it runs through the gather facts stage, the fact shows up just fine. i do some tasks and then regather the facts with setup - name: regather facts ansible…

---

## [AWX Microsoft Teams Webhook Notification Issue](https://forum.ansible.com/t/awx-microsoft-teams-webhook-notification-issue/38563)

<div class="topic-metadata">

**Author:** [@Alex5](https://forum.ansible.com/u/Alex5)\
**Replies:** 1\
**Last updated:** [November 2, 2023, 11:55pm UTC](https://forum.ansible.com/t/awx-microsoft-teams-webhook-notification-issue/38563 "2023-11-02T23:55:57Z")

</div>

Hello, I’m experiencing an issue with sending notifications to a Microsoft Teams channel using a webhook connection. I received the following error: “Error sending webhook notification: 400.” Strangely, I can send messa…

---

## [Terraform support](https://forum.ansible.com/t/terraform-support/38565)

<div class="topic-metadata">

**Author:** [@thirumalairaja](https://forum.ansible.com/u/thirumalairaja)\
**Replies:** 1\
**Last updated:** [November 2, 2023, 6:36pm UTC](https://forum.ansible.com/t/terraform-support/38565 "2023-11-02T18:36:46Z")

</div>

Hi folks,. I have terraform code to deploy VM on vsphere Environment can we do the deployment using ansible Terraform module,if can how will it work is it will work like as we deploy using terraform. If anyone use this…

---

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

<div class="topic-metadata">

**Author:** [@Narmada\_Karthika](https://forum.ansible.com/u/Narmada_Karthika)\
**Replies:** 9\
**Last updated:** [November 1, 2023, 10:11pm UTC](https://forum.ansible.com/t/blockinfile-help/38559 "2023-11-01T22:11:33Z")

</div>

Hello, I am trying to update nginx file, I need to add 4 more lines before the ; I tried blockinfile, lineinfile, replace and sed but I am unable to get the required output ex: the below one is some part of my nginx fi…

---

## [get item from nested loop item](https://forum.ansible.com/t/get-item-from-nested-loop-item/38561)

<div class="topic-metadata">

**Author:** [@Vaishnave\_M](https://forum.ansible.com/u/Vaishnave_M)\
**Replies:** 1\
**Last updated:** [November 1, 2023, 2:13pm UTC](https://forum.ansible.com/t/get-item-from-nested-loop-item/38561 "2023-11-01T14:13:28Z")

</div>

Hi, I have list of items in configuration files as variable hostenv: env: test Serverconf: Resource: mem: Interface: { name: eth0, address: 10.0.10.2} {eth1: …} Now, I would like to fetch and print the values fro…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=7)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=9)
