# Archives

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

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

**Page:** 229

---

## [win\_domain\_group using AD LDS?](https://forum.ansible.com/t/win-domain-group-using-ad-lds/32147)

<div class="topic-metadata">

**Author:** [@kzersatz](https://forum.ansible.com/u/kzersatz)\
**Replies:** 3\
**Last updated:** [February 5, 2020, 7:17pm UTC](https://forum.ansible.com/t/win-domain-group-using-ad-lds/32147 "2020-02-05T19:17:58Z")

</div>

Attempting to implement group creation/management playbooks via a jump box running AD LDS nets us the below error The play itself isn’t overly complicated… yet. ##CREATING RW GROUPS tasks: name: Verify we connect f…

---

## [How to do 3 with\_items in the same task ?](https://forum.ansible.com/t/how-to-do-3-with-items-in-the-same-task/32126)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 3\
**Last updated:** [February 5, 2020, 4:11pm UTC](https://forum.ansible.com/t/how-to-do-3-with-items-in-the-same-task/32126 "2020-02-05T16:11:56Z")

</div>

Hi, I am reading 3 different variable from a text file and want to iterate in 3 different with\_items. variablefile.yml vars1 : first\_value1 first\_value 2 var2: second\_value1 second\_value2 var3: third\_value1 th…

---

## [Missing sudo password in AWX](https://forum.ansible.com/t/missing-sudo-password-in-awx/32113)

<div class="topic-metadata">

**Author:** [@mark.tovey](https://forum.ansible.com/u/mark.tovey)\
**Replies:** 7\
**Last updated:** [February 5, 2020, 4:05pm UTC](https://forum.ansible.com/t/missing-sudo-password-in-awx/32113 "2020-02-05T16:05:37Z")

</div>

I am just starting to use AWX. Our goal is to automate some playbooks to be executed at specific times, and AWX seemed like the logical place to do run these from. For this purpose, we created a user account on our targe…

---

## [Match filter missing in Ansible version 2.9](https://forum.ansible.com/t/match-filter-missing-in-ansible-version-2-9/32146)

<div class="topic-metadata">

**Author:** [@Devesh\_singh](https://forum.ansible.com/u/Devesh_singh)\
**Replies:** 2\
**Last updated:** [February 5, 2020, 3:20pm UTC](https://forum.ansible.com/t/match-filter-missing-in-ansible-version-2-9/32146 "2020-02-05T15:20:38Z")

</div>

Hello All, Anybody can help for the below error. My system was patched recently and ansible version has been upgraded to 2.9. After that my playbook started to throw below error.:

---

## [the connection attempt timed out](https://forum.ansible.com/t/the-connection-attempt-timed-out/32144)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 1:44pm UTC](https://forum.ansible.com/t/the-connection-attempt-timed-out/32144 "2020-02-05T13:44:08Z")

</div>

Dear guys, I try to connect with winrm to a Windows server 2016: winrm is installed, port winrm is open and firewall down (windows) Some output about this error? ansible@host01:~/playbooks$ ansible all -i …/inventory\_…

---

## [get hostname from multihost](https://forum.ansible.com/t/get-hostname-from-multihost/32136)

<div class="topic-metadata">

**Author:** [@Azir\_Guleroglu](https://forum.ansible.com/u/Azir_Guleroglu)\
**Replies:** 4\
**Last updated:** [February 5, 2020, 1:05pm UTC](https://forum.ansible.com/t/get-hostname-from-multihost/32136 "2020-02-05T13:05:38Z")

</div>

Hello, I try to automate MongoDB installation with Ansible, but i can’t create a replica set members automatically. I want to get automatically 3 host’s hostnames and add to members. I tried to use setup module and wit…

---

## [Ansible 2.9.4 not considering/ honouring ansible\_winrm\_server\_cert\_validation=ignore flag.](https://forum.ansible.com/t/ansible-2-9-4-not-considering-honouring-ansible-winrm-server-cert-validation-ignore-flag/32142)

<div class="topic-metadata">

**Author:** [@Bhushan\_Gholave](https://forum.ansible.com/u/Bhushan_Gholave)\
**Replies:** 5\
**Last updated:** [February 5, 2020, 12:14pm UTC](https://forum.ansible.com/t/ansible-2-9-4-not-considering-honouring-ansible-winrm-server-cert-validation-ignore-flag/32142 "2020-02-05T12:14:32Z")

</div>

Hi All, Issue closed : https://github.com/ansible/ansible/issues/67114 host file \[windows\] 192.152.1.21 ansible\_user=administrator ansible\_password=Password123 ansible\_port=5986 ansible\_winrm\_transport=basic ansible…

---

## [Ansible install packages in docker image is hung.](https://forum.ansible.com/t/ansible-install-packages-in-docker-image-is-hung/32143)

<div class="topic-metadata">

**Author:** [@Toan\_Huynh\_Van](https://forum.ansible.com/u/Toan_Huynh_Van)\
**Replies:** 5\
**Last updated:** [February 5, 2020, 10:33am UTC](https://forum.ansible.com/t/ansible-install-packages-in-docker-image-is-hung/32143 "2020-02-05T10:33:56Z")

</div>

Hi all, I am using ansible to install packages for docker image but it’s hung with messages below. Can you have a look and give me advice? docker: “stderr\_lines”: \[ docker: “”, docker: “Extracting templates from pack…

---

## ["msg": "Unsupported parameters for (basic.py)](https://forum.ansible.com/t/msg-unsupported-parameters-for-basic-py/32140)

<div class="topic-metadata">

**Author:** [@Tejas\_Gadaria1](https://forum.ansible.com/u/Tejas_Gadaria1)\
**Replies:** 1\
**Last updated:** [February 5, 2020, 8:41am UTC](https://forum.ansible.com/t/msg-unsupported-parameters-for-basic-py/32140 "2020-02-05T08:41:25Z")

</div>

Hi Team, I have written ansible custom module. Module suppose to fetch data from database via graphsql template. Module execution fails with “Unsupported parameters for (basic.py)”. Ansible is imported as “from ansibl…

---

## [Example for running a playbook using Python API](https://forum.ansible.com/t/example-for-running-a-playbook-using-python-api/12413)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 3\
**Last updated:** [February 5, 2020, 8:33am UTC](https://forum.ansible.com/t/example-for-running-a-playbook-using-python-api/12413 "2020-02-05T08:33:03Z")

</div>

Probably the best example of running a playbook via Python code is actually /usr/bin/ansible-playbook itself, though it uses nearly all of the flags. https://github.com/ansible/ansible/blob/devel/bin/ansible-playbook …

---

## [Ansible vault key stored in another server](https://forum.ansible.com/t/ansible-vault-key-stored-in-another-server/32137)

<div class="topic-metadata">

**Author:** [@Vignesh\_Srinivas](https://forum.ansible.com/u/Vignesh_Srinivas)\
**Replies:** 0\
**Last updated:** [February 4, 2020, 9:44pm UTC](https://forum.ansible.com/t/ansible-vault-key-stored-in-another-server/32137 "2020-02-04T21:44:11Z")

</div>

Hi Team, My requirement is to store the vault key in another server, and as part of playbook execution, the ansible reads key value from remote server and decrypts the file on control server. I tried getting the key usi…

---

## [Having issues running win\_domain\_group](https://forum.ansible.com/t/having-issues-running-win-domain-group/32127)

<div class="topic-metadata">

**Author:** [@Craig\_Simon](https://forum.ansible.com/u/Craig_Simon)\
**Replies:** 2\
**Last updated:** [February 4, 2020, 9:39pm UTC](https://forum.ansible.com/t/having-issues-running-win-domain-group/32127 "2020-02-04T21:39:08Z")

</div>

Hey all, i’ve been using Ansibe with Linux for years, but now I have a need to use it to build out some Windows boxes and I am running into some issues. So far I am able to instal the AD-DS features and create my domain…

---

## [File exists but stat is false](https://forum.ansible.com/t/file-exists-but-stat-is-false/32132)

<div class="topic-metadata">

**Author:** [@Daniel\_Nanboe](https://forum.ansible.com/u/Daniel_Nanboe)\
**Replies:** 5\
**Last updated:** [February 4, 2020, 8:58pm UTC](https://forum.ansible.com/t/file-exists-but-stat-is-false/32132 "2020-02-04T20:58:46Z")

</div>

I have a problem checking if a file exists: - name: Check if ssh key exists stat: path= "/config/clients/ssh\_keys/daniel\_nanboe.pub" register: exista - debug: var=exista - fail: msg: Stop The file exists but th…

---

## [Error while readin split part for updating Ubuntu packages - Should I include the path of splitpath,py in playbook ?](https://forum.ansible.com/t/error-while-readin-split-part-for-updating-ubuntu-packages-should-i-include-the-path-of-splitpath-py-in-playbook/32125)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 2\
**Last updated:** [February 4, 2020, 7:24pm UTC](https://forum.ansible.com/t/error-while-readin-split-part-for-updating-ubuntu-packages-should-i-include-the-path-of-splitpath-py-in-playbook/32125 "2020-02-04T19:24:35Z")

</div>

Hello, Please see below ansible.cfg \[defaults\] inventory = ./hosts splitpart.py = /etc/ansible/splitpart.py/ splitpart.py def splitpart (value, index, char = ‘,’): if isinstance(value, (list, tuple)): ret = for…

---

## [Problems with ios\_command and prompt '\[y/n\]'](https://forum.ansible.com/t/problems-with-ios-command-and-prompt-y-n/32135)

<div class="topic-metadata">

**Author:** [@Heinz\_Meier](https://forum.ansible.com/u/Heinz_Meier)\
**Replies:** 4\
**Last updated:** [February 4, 2020, 3:30pm UTC](https://forum.ansible.com/t/problems-with-ios-command-and-prompt-y-n/32135 "2020-02-04T15:30:36Z")

</div>

Hi, I have a problem with the ios\_command and the C9200L switch when updating the IOS-XE. One step of the upgrade is On step is to remove inactive IOS versions: install remove inactive (…) Do you want to remove the …

---

## [How to connect to ec2 instance using .pem file in ansible](https://forum.ansible.com/t/how-to-connect-to-ec2-instance-using-pem-file-in-ansible/32134)

<div class="topic-metadata">

**Author:** [@anilkumar\_panditi](https://forum.ansible.com/u/anilkumar_panditi)\
**Replies:** 4\
**Last updated:** [February 4, 2020, 1:29pm UTC](https://forum.ansible.com/t/how-to-connect-to-ec2-instance-using-pem-file-in-ansible/32134 "2020-02-04T13:29:15Z")

</div>

Hi , I am trying to connect to ec2 instance using .pem file in ansible. I am getting below error. fatal: \[hdi\_master1\]: UNREACHABLE! =\> { “changed”: false, “msg”: “Failed to connect to the host via ssh: Permission d…

---

## [ansible playbook executing the tasks on localhost(Master Node) instead of remote node](https://forum.ansible.com/t/ansible-playbook-executing-the-tasks-on-localhost-master-node-instead-of-remote-node/32133)

<div class="topic-metadata">

**Author:** [@anilkumar\_panditi](https://forum.ansible.com/u/anilkumar_panditi)\
**Replies:** 1\
**Last updated:** [February 4, 2020, 11:43am UTC](https://forum.ansible.com/t/ansible-playbook-executing-the-tasks-on-localhost-master-node-instead-of-remote-node/32133 "2020-02-04T11:43:35Z")

</div>

this is my dynamic inventory inventory of servers #ungrouped servers hdi\_master1 ansible\_host=13.234.186.61 ansible\_user=centos --private-key=/home/centos/openshift.pem #hdinsights groups \[hdinsights\_all\] hdi\_master…

---

## [get context extra vars before 2.8](https://forum.ansible.com/t/get-context-extra-vars-before-2-8/32117)

<div class="topic-metadata">

**Author:** [@FERREIRA\_CHRISTOPHE](https://forum.ansible.com/u/FERREIRA_CHRISTOPHE)\
**Replies:** 2\
**Last updated:** [February 4, 2020, 11:32am UTC](https://forum.ansible.com/t/get-context-extra-vars-before-2-8/32117 "2020-02-04T11:32:23Z")

</div>

Hello it’s possible to get extra\_vars on the context of host before 2.8 in python ? In 2.8 load\_extra\_vars is work

---

## [start servers using ansible playbook](https://forum.ansible.com/t/start-servers-using-ansible-playbook/32128)

<div class="topic-metadata">

**Author:** [@Cloud09](https://forum.ansible.com/u/Cloud09)\
**Replies:** 3\
**Last updated:** [February 4, 2020, 10:41am UTC](https://forum.ansible.com/t/start-servers-using-ansible-playbook/32128 "2020-02-04T10:41:12Z")

</div>

Hello Team, I am writing a playbook to start weblogic servers, could anyone help me any syntax errors, I could not make item/item display as it should be, or please feel free to correct me here if any incorrect syntax a…

---

## [error while deploying docker-ce using ansible](https://forum.ansible.com/t/error-while-deploying-docker-ce-using-ansible/32122)

<div class="topic-metadata">

**Author:** [@Vishal\_Bobade](https://forum.ansible.com/u/Vishal_Bobade)\
**Replies:** 2\
**Last updated:** [February 4, 2020, 7:58am UTC](https://forum.ansible.com/t/error-while-deploying-docker-ce-using-ansible/32122 "2020-02-04T07:58:34Z")

</div>

Hi, I am facing below error while running ansible role in my environment. could some one quide me how can I fix this.

---

## [multi process](https://forum.ansible.com/t/multi-process/32131)

<div class="topic-metadata">

**Author:** [@Mark\_Anthony\_Garcia](https://forum.ansible.com/u/Mark_Anthony_Garcia)\
**Replies:** 0\
**Last updated:** [February 4, 2020, 6:59am UTC](https://forum.ansible.com/t/multi-process/32131 "2020-02-04T06:59:06Z")

</div>

has anyone tried multi process / multi threading in ansible? not sure if my term is correct, but this is available in Python and was wondering if anyone was able to apply the same in Ansible. thank you. Mark

---

## [Selenium Script to be trigger from ansible Playbook](https://forum.ansible.com/t/selenium-script-to-be-trigger-from-ansible-playbook/32130)

<div class="topic-metadata">

**Author:** [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Replies:** 0\
**Last updated:** [February 4, 2020, 5:30am UTC](https://forum.ansible.com/t/selenium-script-to-be-trigger-from-ansible-playbook/32130 "2020-02-04T05:30:57Z")

</div>

Dear All, I am trying to automate selenium script for web browser testing which will be trigger by ansible playbook once configuration is done. Please share if you have any sample playbook which can be modified and use…

---

## [ansible support](https://forum.ansible.com/t/ansible-support/32129)

<div class="topic-metadata">

**Author:** [@vishwas\_govekar1](https://forum.ansible.com/u/vishwas_govekar1)\
**Replies:** 3\
**Last updated:** [February 4, 2020, 3:44am UTC](https://forum.ansible.com/t/ansible-support/32129 "2020-02-04T03:44:59Z")

</div>

Hi I need some project support on ansible scrippting

---

## [How can i fix the Errors when trying to import inventory file using awx\_manage within the container?](https://forum.ansible.com/t/how-can-i-fix-the-errors-when-trying-to-import-inventory-file-using-awx-manage-within-the-container/32111)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 2\
**Last updated:** [February 4, 2020, 3:16am UTC](https://forum.ansible.com/t/how-can-i-fix-the-errors-when-trying-to-import-inventory-file-using-awx-manage-within-the-container/32111 "2020-02-04T03:16:38Z")

</div>

Hello All, I am using a custom vmware script which retrieves inventory information and creates an inventory in .ini format and imports it using awx\_manage within the task container. For some reason, i am getting the fol…

---

## [Issues with specifying group vars with a dynamic EC2 inventory](https://forum.ansible.com/t/issues-with-specifying-group-vars-with-a-dynamic-ec2-inventory/32123)

<div class="topic-metadata">

**Author:** [@Justin\_Madill](https://forum.ansible.com/u/Justin_Madill)\
**Replies:** 3\
**Last updated:** [February 3, 2020, 10:25pm UTC](https://forum.ansible.com/t/issues-with-specifying-group-vars-with-a-dynamic-ec2-inventory/32123 "2020-02-03T22:25:31Z")

</div>

I’m currently building out a PoC with Ansible Tower to manage our primarily windows environment. I’ve had everything working from the command line before starting with Tower, that that was using a static inventory. The…

---

## [Looking for guidance for a new \`homebrew\_service\` module](https://forum.ansible.com/t/looking-for-guidance-for-a-new-homebrew-service-module/32124)

<div class="topic-metadata">

**Author:** [@Lukas\_Bestle](https://forum.ansible.com/u/Lukas_Bestle)\
**Replies:** 1\
**Last updated:** [February 3, 2020, 9:40pm UTC](https://forum.ansible.com/t/looking-for-guidance-for-a-new-homebrew-service-module/32124 "2020-02-03T21:40:44Z")

</div>

Hi everyone, I’m currently working on a module to manage system services with the homebrew services command. Basically it allows to start, stop, enable and restart services of packages that have been installed using the…

---

## [please advise - Not generating logs after with ansible log\_group](https://forum.ansible.com/t/please-advise-not-generating-logs-after-with-ansible-log-group/32105)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 2\
**Last updated:** [February 3, 2020, 6:31pm UTC](https://forum.ansible.com/t/please-advise-not-generating-logs-after-with-ansible-log-group/32105 "2020-02-03T18:31:07Z")

</div>

I am unable to generate logs with the playbook. Please advise? ansible.cfg \[defaults\] inventory = ./hosts \[callback\_log\_plays\] log\_folder = /var/log/ansible/hosts env:ANSIBLE\_LOG\_FOLDER host file \[windows\] windo…

---

## [install postgresql](https://forum.ansible.com/t/install-postgresql/32118)

<div class="topic-metadata">

**Author:** [@gaddam\_mahendra](https://forum.ansible.com/u/gaddam_mahendra)\
**Replies:** 4\
**Last updated:** [February 3, 2020, 3:12pm UTC](https://forum.ansible.com/t/install-postgresql/32118 "2020-02-03T15:12:42Z")

</div>

HI Team, could you please post a playbook to install postgresql database thanks mahi

---

## [Managing New virtual Machine inventory](https://forum.ansible.com/t/managing-new-virtual-machine-inventory/32120)

<div class="topic-metadata">

**Author:** [@Joffrey](https://forum.ansible.com/u/Joffrey)\
**Replies:** 3\
**Last updated:** [February 3, 2020, 3:01pm UTC](https://forum.ansible.com/t/managing-new-virtual-machine-inventory/32120 "2020-02-03T15:01:43Z")

</div>

Hi, I need you for an advice. I have some playbook to deploy virtuals machines on vsphere (the hosts option for these playbooks is ‘localhost’). And I have some playbook to configure these VM. I don’t know manage the …

---

## [Convert PowerShell script to Ansible task](https://forum.ansible.com/t/convert-powershell-script-to-ansible-task/32121)

<div class="topic-metadata">

**Author:** [@Rahul\_Rawat](https://forum.ansible.com/u/Rahul_Rawat)\
**Replies:** 1\
**Last updated:** [February 3, 2020, 12:58pm UTC](https://forum.ansible.com/t/convert-powershell-script-to-ansible-task/32121 "2020-02-03T12:58:07Z")

</div>

Hi, I have to convert PowerShell Script (using if else condition) into anisble task. How we can work with condition in ansible tasks. Here is my powershell script. $officeInstalled = Get-WmiObject win32\_product | whe…

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

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