# Ansible Project

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

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

**Page:** 46

---

## [Question on Configuring multiple ldap user search using  awx.awx.tower\_settings](https://forum.ansible.com/t/question-on-configuring-multiple-ldap-user-search-using-awx-awx-tower-settings/36651)

<div class="topic-metadata">

**Author:** [@rake](https://forum.ansible.com/u/rake)\
**Replies:** 0\
**Last updated:** [May 23, 2022, 12:21pm UTC](https://forum.ansible.com/t/question-on-configuring-multiple-ldap-user-search-using-awx-awx-tower-settings/36651 "2022-05-23T12:21:58Z")

</div>

Hello Team, I have ansible playbook that uses module awx.awx.tower\_settings to do AUTH\_LDAP\_USER\_SEARCH.I’m trying to configure two ldap\_user\_search some thing like this OU=employees,OU=users,OU=,DC=,DC=,DC=com and OU…

---

## [Error register variable "The task includes an option with an undefined variable"](https://forum.ansible.com/t/error-register-variable-the-task-includes-an-option-with-an-undefined-variable/36647)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 3\
**Last updated:** [May 20, 2022, 3:04pm UTC](https://forum.ansible.com/t/error-register-variable-the-task-includes-an-option-with-an-undefined-variable/36647 "2022-05-20T15:04:58Z")

</div>

Hello, 30 minutes ago I am reviewing my playbook and I do not find the error, I am going crazy, i see this error: I run the playbook this way /usr/bin/ansible-playbook -i hosts --extra-vars “CARRIER=xx” tasks/create\_ec…

---

## [community.docker.docker\_container\_exec error handling](https://forum.ansible.com/t/community-docker-docker-container-exec-error-handling/36646)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 1\
**Last updated:** [May 19, 2022, 6:31pm UTC](https://forum.ansible.com/t/community-docker-docker-container-exec-error-handling/36646 "2022-05-19T18:31:53Z")

</div>

Hi all, Provision docker instance \> Get application code \> Run some tests I am currently creating a CICD pipeline for an application. Before we build the application, we run some scala tests using sbt. Some of the tes…

---

## [Ansible 5.8.0 has been released](https://forum.ansible.com/t/ansible-5-8-0-has-been-released/36643)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 0\
**Last updated:** [May 18, 2022, 5:05pm UTC](https://forum.ansible.com/t/ansible-5-8-0-has-been-released/36643 "2022-05-18T17:05:08Z")

</div>

Hi all, We're happy to announce that the Ansible 5.8.0 package has been released ! Ansible 5.8.0 includes ansible-core 2.12 as well as a curated set of Ansible collections to provide a vast number of modules and plugi…

---

## [Ansible 6.0.0a3 (including ansible-core 2.13.0) available for testing](https://forum.ansible.com/t/ansible-6-0-0a3-including-ansible-core-2-13-0-available-for-testing/36642)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 0\
**Last updated:** [May 18, 2022, 4:03pm UTC](https://forum.ansible.com/t/ansible-6-0-0a3-including-ansible-core-2-13-0-available-for-testing/36642 "2022-05-18T16:03:20Z")

</div>

Hi all, We're happy to announce that the third alpha release of Ansible 6.0 is now available for testing ! Ansible 6.0.0 will include ansible-core 2.13 as well as a curated set of Ansible collections to provide a vas…

---

## [Update docker images and re-run docker compose up](https://forum.ansible.com/t/update-docker-images-and-re-run-docker-compose-up/36636)

<div class="topic-metadata">

**Author:** [@Thibaut\_Perrin1](https://forum.ansible.com/u/Thibaut_Perrin1)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 8:33am UTC](https://forum.ansible.com/t/update-docker-images-and-re-run-docker-compose-up/36636 "2022-05-17T08:33:59Z")

</div>

Hello, I am working on automating my docker images updates. For that I get a notification from DIUN, and so far I’m running the update with a simple bash scripts that goes through my docker stack folders, running a doc…

---

## [docker-compose down and up](https://forum.ansible.com/t/docker-compose-down-and-up/36611)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 8:29am UTC](https://forum.ansible.com/t/docker-compose-down-and-up/36611 "2022-05-17T08:29:13Z")

</div>

trying to get this module to work and docker-compose down and up

---

## [New releases: ansible-core 2.13.0 - Nobody's Fault but Mine](https://forum.ansible.com/t/new-releases-ansible-core-2-13-0-nobodys-fault-but-mine/36633)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [May 16, 2022, 4:52pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-13-0-nobodys-fault-but-mine/36633 "2022-05-16T16:52:49Z")

</div>

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

---

## [ValueError: No closing quotation](https://forum.ansible.com/t/valueerror-no-closing-quotation/36631)

<div class="topic-metadata">

**Author:** [@wael\_ghazouani](https://forum.ansible.com/u/wael_ghazouani)\
**Replies:** 0\
**Last updated:** [May 16, 2022, 8:17am UTC](https://forum.ansible.com/t/valueerror-no-closing-quotation/36631 "2022-05-16T08:17:32Z")

</div>

The full traceback is: Traceback (most recent call last): File “/venv\_ansible/lib/python2.7/site-packages/ansible/executor/task\_executor.py”, line 158, in run res = self.\_execute() File “/venv\_ansible/lib/python2.7/s…

---

## [vmware\_guest does not add cd-rom for a VM](https://forum.ansible.com/t/vmware-guest-does-not-add-cd-rom-for-a-vm/36619)

<div class="topic-metadata">

**Author:** [@Anil\_Kumar](https://forum.ansible.com/u/Anil_Kumar)\
**Replies:** 3\
**Last updated:** [May 13, 2022, 9:44pm UTC](https://forum.ansible.com/t/vmware-guest-does-not-add-cd-rom-for-a-vm/36619 "2022-05-13T21:44:55Z")

</div>

here is my code hosts: localhost connection: localhost vars: vcenter\_hostname: myVcenter vcenter\_username: \*\*\*\*\*\*\*\*\*\*\*\*\*\* vcenter\_password: ‘\*\*\*\*\*\*\*\*\*\*’ tasks: name: Create a virtual machine from a template vmwa…

---

## [Playbook structure](https://forum.ansible.com/t/playbook-structure/36607)

<div class="topic-metadata">

**Author:** [@Marc\_Haber](https://forum.ansible.com/u/Marc_Haber)\
**Replies:** 7\
**Last updated:** [May 13, 2022, 11:04am UTC](https://forum.ansible.com/t/playbook-structure/36607 "2022-05-13T11:04:08Z")

</div>

Hi, after using ansible for quite a while, my project to manage my own servers has grown to a respectable size. I was a puppet user before, so I have a single big playbook containing everything. I have the feeling th…

---

## [trying to modify line in yaml file spaces](https://forum.ansible.com/t/trying-to-modify-line-in-yaml-file-spaces/36617)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 6\
**Last updated:** [May 12, 2022, 4:36pm UTC](https://forum.ansible.com/t/trying-to-modify-line-in-yaml-file-spaces/36617 "2022-05-12T16:36:16Z")

</div>

trying to modify this line image: jenkins/jenkins:2.332.1 docker-compose.yml version: ‘3.7’ services: jenkins: #image: jenkins/jenkins:lts #image: jenkins/jenkins:2.289.3 #image: jenkins/jenkins:2.303.1 #image: j…

---

## [\<built-in method replace of AnsibleUnsafeText object at 0x7fec9aea8c50\>](https://forum.ansible.com/t/built-in-method-replace-of-ansibleunsafetext-object-at-0x7fec9aea8c50/36620)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 0\
**Last updated:** [May 12, 2022, 3:33pm UTC](https://forum.ansible.com/t/built-in-method-replace-of-ansibleunsafetext-object-at-0x7fec9aea8c50/36620 "2022-05-12T15:33:58Z")

</div>

When I run this pb, The line keeps getting replaced with this \<built-in method replace of AnsibleUnsafeText object at 0x7fec9aea8c50\> vars.yml line\_to\_replace: “‘search: ‘image: jenkins/jenkins:2.332.1’, replace: ‘#im…

---

## [Why cannot rename directory after unarchiving file in unarchive module](https://forum.ansible.com/t/why-cannot-rename-directory-after-unarchiving-file-in-unarchive-module/24695)

<div class="topic-metadata">

**Author:** [@Desong\_Qiu](https://forum.ansible.com/u/Desong_Qiu)\
**Replies:** 1\
**Last updated:** [May 12, 2022, 2:36pm UTC](https://forum.ansible.com/t/why-cannot-rename-directory-after-unarchiving-file-in-unarchive-module/24695 "2022-05-12T14:36:15Z")

</div>

I want to rename directory after unarchiving file in unarchive module, but there seems no option to do.

---

## [Run powershell as administrator](https://forum.ansible.com/t/run-powershell-as-administrator/36614)

<div class="topic-metadata">

**Author:** [@Maryam\_Al\_Shami](https://forum.ansible.com/u/Maryam_Al_Shami)\
**Replies:** 0\
**Last updated:** [May 11, 2022, 1:36am UTC](https://forum.ansible.com/t/run-powershell-as-administrator/36614 "2022-05-11T01:36:23Z")

</div>

Hi, how I can run a script using win\_shell command in ansible on a remote windows but with powershell run as administrator? Thank you.

---

## [ansible-core 2.13 schedule change](https://forum.ansible.com/t/ansible-core-2-13-schedule-change/36612)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [May 10, 2022, 7:56pm UTC](https://forum.ansible.com/t/ansible-core-2-13-schedule-change/36612 "2022-05-10T19:56:41Z")

</div>

Due to unexpected scheduling conflicts with the ansible-core 2.13 general availability release, we will be releasing 2.13.0 on May 16, 2022. This date is one week earlier than the previously communicated date of May 23,…

---

## [Start/Stop SAP System via Ansible](https://forum.ansible.com/t/start-stop-sap-system-via-ansible/36606)

<div class="topic-metadata">

**Author:** [@Michal\_Misiak](https://forum.ansible.com/u/Michal_Misiak)\
**Replies:** 0\
**Last updated:** [May 9, 2022, 4:57pm UTC](https://forum.ansible.com/t/start-stop-sap-system-via-ansible/36606 "2022-05-09T16:57:05Z")

</div>

Hi, I would like to start and stop SAP system via Ansible playbook. I have a simple playbook, with script module and bash script. I use sapcontrol in bash script and I give SAP instance number to this script. I have a p…

---

## [ansible\_ssh\_pass and ansible\_become\_pass in non interactive way](https://forum.ansible.com/t/ansible-ssh-pass-and-ansible-become-pass-in-non-interactive-way/36603)

<div class="topic-metadata">

**Author:** [@surender\_rajasekaran](https://forum.ansible.com/u/surender_rajasekaran)\
**Replies:** 2\
**Last updated:** [May 9, 2022, 1:41pm UTC](https://forum.ansible.com/t/ansible-ssh-pass-and-ansible-become-pass-in-non-interactive-way/36603 "2022-05-09T13:41:38Z")

</div>

Im currently working on ansible to automate few server infrastructure activities, i would like to specify --ask-pass and—ask-become-pass for Ansible in non-interactive way. My Scenario: when i run the below command, I…

---

## [playbook to comment out one line and add another line in a file](https://forum.ansible.com/t/playbook-to-comment-out-one-line-and-add-another-line-in-a-file/36588)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 19\
**Last updated:** [May 7, 2022, 3:34am UTC](https://forum.ansible.com/t/playbook-to-comment-out-one-line-and-add-another-line-in-a-file/36588 "2022-05-07T03:34:18Z")

</div>

how do i use ansible to remotely comment out a line in a docker-compose file and add a line like this #image: gralog/graylog:4.2.5 image: graylog/graylog4.2.8 then do a docker compose down and docker-compose up -d i…

---

## [Ansible 6.0.0a2 (including ansible-core 2.13.0rc1) available for testing](https://forum.ansible.com/t/ansible-6-0-0a2-including-ansible-core-2-13-0rc1-available-for-testing/36595)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 1\
**Last updated:** [May 5, 2022, 11:34pm UTC](https://forum.ansible.com/t/ansible-6-0-0a2-including-ansible-core-2-13-0rc1-available-for-testing/36595 "2022-05-05T23:34:44Z")

</div>

Hi all, We're happy to announce that the second alpha release of Ansible 6.0 is now available for testing ! Ansible 6.0.0 will include ansible-core 2.13 as well as a curated set of Ansible collections to provide a va…

---

## [Regarding get\_url issue in ansible](https://forum.ansible.com/t/regarding-get-url-issue-in-ansible/36541)

<div class="topic-metadata">

**Author:** [@Ashok-2017](https://forum.ansible.com/u/Ashok-2017)\
**Replies:** 9\
**Last updated:** [May 5, 2022, 12:02pm UTC](https://forum.ansible.com/t/regarding-get-url-issue-in-ansible/36541 "2022-05-05T12:02:57Z")

</div>

name: Download dms ear file to local get\_url: url: “https://artifactory.sicpa.com/artifactory/{{ artifactory\_folder }}/com/sicpa/gssd/tt040\_my/server/dms/tt040\_my-dms-ear/{{ dms\_release\_version }}/tt040\_my-dms-ear-{{ …

---

## [Track changes for further processing](https://forum.ansible.com/t/track-changes-for-further-processing/36593)

<div class="topic-metadata">

**Author:** [@schoeppi](https://forum.ansible.com/u/schoeppi)\
**Replies:** 1\
**Last updated:** [May 4, 2022, 7:58pm UTC](https://forum.ansible.com/t/track-changes-for-further-processing/36593 "2022-05-04T19:58:21Z")

</div>

Hi, I am using a slightly adapted role taken from \<https://github.com/1it/ansible-role-users&gt; to manage our users on our servers. This is working fine so far but one little thing I can't get to work. I want to fo…

---

## [Playbooks for integration with Mitel MiVoice Business](https://forum.ansible.com/t/playbooks-for-integration-with-mitel-mivoice-business/36585)

<div class="topic-metadata">

**Author:** [@user29032902](https://forum.ansible.com/u/user29032902)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 7:41pm UTC](https://forum.ansible.com/t/playbooks-for-integration-with-mitel-mivoice-business/36585 "2022-05-04T19:41:55Z")

</div>

We have a use case where we want to automate user onboarding, including configuring the staff member’s extension in Mitel MiVoice Business. Has anyone been successful with using Ansible to set up user extensions in Mite…

---

## [Ansible 5.7.1 has been released](https://forum.ansible.com/t/ansible-5-7-1-has-been-released/36594)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 0\
**Last updated:** [May 4, 2022, 4:00pm UTC](https://forum.ansible.com/t/ansible-5-7-1-has-been-released/36594 "2022-05-04T16:00:44Z")

</div>

Hi all, We're happy to announce that the Ansible 5.7.1 package has been released ! Ansible 5.7.1 includes ansible-core 2.12 as well as a curated set of Ansible collections to provide a vast number of modules and plugi…

---

## [ansible-2.9 how to password](https://forum.ansible.com/t/ansible-2-9-how-to-password/36579)

<div class="topic-metadata">

**Author:** [@dimndskier](https://forum.ansible.com/u/dimndskier)\
**Replies:** 4\
**Last updated:** [May 4, 2022, 12:08am UTC](https://forum.ansible.com/t/ansible-2-9-how-to-password/36579 "2022-05-04T00:08:23Z")

</div>

I am very new to writing ansible syntax, and am working on writing my first playbook. I want to set a password that I control for a user named admin2 but I cannot find a solid good example for creating the user and sett…

---

## [using module ec2\_instance\_info get private ip](https://forum.ansible.com/t/using-module-ec2-instance-info-get-private-ip/36587)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 0\
**Last updated:** [May 3, 2022, 4:52pm UTC](https://forum.ansible.com/t/using-module-ec2-instance-info-get-private-ip/36587 "2022-05-03T16:52:24Z")

</div>

Hi, I’m trying to get the private ip of an instance by filtering by the tag name but I get the following error: \` fatal: \[localhost\]: FAILED! =\> {“msg”: “The task includes an option with an undefined variable. The err…

---

## [UNREACHABLE! =\> {"changed": false, "msg": "Failed to create temporary directory.](https://forum.ansible.com/t/unreachable-changed-false-msg-failed-to-create-temporary-directory/36583)

<div class="topic-metadata">

**Author:** [@e4a05c80731a0c080841](https://forum.ansible.com/u/e4a05c80731a0c080841)\
**Replies:** 1\
**Last updated:** [May 3, 2022, 6:15am UTC](https://forum.ansible.com/t/unreachable-changed-false-msg-failed-to-create-temporary-directory/36583 "2022-05-03T06:15:43Z")

</div>

Hi all, i’ve been having this Problem since a few weeks already and could not seem to find the cause to the problem. Setup: OS: NAME=“Red Hat Enterprise Linux Server” ; VERSION=“7.9 (Maipo)” Ansible Version: ansible …

---

## [Looking to replace AV on Windows Servers using Ansible](https://forum.ansible.com/t/looking-to-replace-av-on-windows-servers-using-ansible/36586)

<div class="topic-metadata">

**Author:** [@Gregory\_Machin](https://forum.ansible.com/u/Gregory_Machin)\
**Replies:** 0\
**Last updated:** [May 3, 2022, 3:23am UTC](https://forum.ansible.com/t/looking-to-replace-av-on-windows-servers-using-ansible/36586 "2022-05-03T03:23:47Z")

</div>

Hi, New to Ansible. I’m looking for a way to remove Trend AV and Replace it with Defender and a large number of Windows servers. I have the PowerShell scripts that were used in to carry out the same processes on the W…

---

## [Adding Windows host via SSH](https://forum.ansible.com/t/adding-windows-host-via-ssh/36576)

<div class="topic-metadata">

**Author:** [@John\_Carter](https://forum.ansible.com/u/John_Carter)\
**Replies:** 5\
**Last updated:** [May 2, 2022, 8:01pm UTC](https://forum.ansible.com/t/adding-windows-host-via-ssh/36576 "2022-05-02T20:01:10Z")

</div>

Hello. I am running AWX with ansible 2.9.18. I have it working with several hosts running Linux without issue. I wanted to test it with a Windows host. Windows host is Windows Pro x64 10.0.19044. I have OpenSSH installe…

---

## [Move port group and datastores to folder](https://forum.ansible.com/t/move-port-group-and-datastores-to-folder/36581)

<div class="topic-metadata">

**Author:** [@The\_Flakes](https://forum.ansible.com/u/The_Flakes)\
**Replies:** 2\
**Last updated:** [May 1, 2022, 5:58pm UTC](https://forum.ansible.com/t/move-port-group-and-datastores-to-folder/36581 "2022-05-01T17:58:25Z")

</div>

Trying to find how to either move or create a port group / datastore in/to a folder. Is there an Ansible module for this? thanks, Brian

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

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