# Archives

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

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

**Page:** 258

---

## [AWX Authenticating to Windows AD error](https://forum.ansible.com/t/awx-authenticating-to-windows-ad-error/31291)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 9\
**Last updated:** [September 17, 2019, 5:08pm UTC](https://forum.ansible.com/t/awx-authenticating-to-windows-ad-error/31291 "2019-09-17T17:08:23Z")

</div>

Hello, I am seem to be getting an error when trying to test users logging into AWX from Microsoft AD. My configuration for LDAP is below \` { “AUTH\_LDAP\_SERVER\_URI”: “”, “AUTH\_LDAP\_BIND\_DN”: “”, “AUTH\_LDAP\_BIND\_PAS…

---

## [list the all the file in directory and redirect the only file name to property file](https://forum.ansible.com/t/list-the-all-the-file-in-directory-and-redirect-the-only-file-name-to-property-file/31298)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 3\
**Last updated:** [September 17, 2019, 5:04pm UTC](https://forum.ansible.com/t/list-the-all-the-file-in-directory-and-redirect-the-only-file-name-to-property-file/31298 "2019-09-17T17:04:43Z")

</div>

Hi, wanted to list the files in a directory and copy the only file name into property file, using by win\_shell: name:list the files win\_shell: ‘ls {{directory}} \> {{directory}}/manifest.prob’ register: dir\_out d…

---

## [awx\_web vs awx\_task config changes](https://forum.ansible.com/t/awx-web-vs-awx-task-config-changes/31289)

<div class="topic-metadata">

**Author:** [@dpowell](https://forum.ansible.com/u/dpowell)\
**Replies:** 3\
**Last updated:** [September 17, 2019, 5:04pm UTC](https://forum.ansible.com/t/awx-web-vs-awx-task-config-changes/31289 "2019-09-17T17:04:41Z")

</div>

When wanting to make changes to ansible.cfg do I make them on the web or task container? Also is there any documentation as to what should be done where and when? For anything the Ansible tower doc’s say to edit/change i…

---

## [How to use vars\_files in template](https://forum.ansible.com/t/how-to-use-vars-files-in-template/31300)

<div class="topic-metadata">

**Author:** [@Prashant\_Iyer](https://forum.ansible.com/u/Prashant_Iyer)\
**Replies:** 1\
**Last updated:** [September 17, 2019, 5:04pm UTC](https://forum.ansible.com/t/how-to-use-vars-files-in-template/31300 "2019-09-17T17:04:24Z")

</div>

Hi, My template has a number of vars\_files. I’m using GIT repo for my project. How will this template playbook read info from the included vars\_files ? Any explanation is appreciated. Regards, Prash

---

## [Permissions problem when copying file to a Solaris 10 host remote with unprivileged user](https://forum.ansible.com/t/permissions-problem-when-copying-file-to-a-solaris-10-host-remote-with-unprivileged-user/31293)

<div class="topic-metadata">

**Author:** [@Sur\_Veillor](https://forum.ansible.com/u/Sur_Veillor)\
**Replies:** 5\
**Last updated:** [September 17, 2019, 2:23pm UTC](https://forum.ansible.com/t/permissions-problem-when-copying-file-to-a-solaris-10-host-remote-with-unprivileged-user/31293 "2019-09-17T14:23:08Z")

</div>

Hello, i am a new user of ansible and i’m facing an issue to copy files with unprivilegied user (becom\_user method). I investigated a little bit and i think it might be a bug. Can you please take a look and tell me wha…

---

## [AWX at Ansiblefest 2019 - Join us in-person or virtually!](https://forum.ansible.com/t/awx-at-ansiblefest-2019-join-us-in-person-or-virtually/31297)

<div class="topic-metadata">

**Author:** [@Matthew\_Jones1](https://forum.ansible.com/u/Matthew_Jones1)\
**Replies:** 0\
**Last updated:** [September 17, 2019, 12:14pm UTC](https://forum.ansible.com/t/awx-at-ansiblefest-2019-join-us-in-person-or-virtually/31297 "2019-09-17T12:14:33Z")

</div>

Greetings AWXers! As you may (or may not!) know, Ansiblefest is next week in Atlanta, Georgia. The Contributor Summit is Monday September 23rd, here’s the general agenda: https://etherpad.openstack.org/p/ansible-summit…

---

## [Download files from Jfrog](https://forum.ansible.com/t/download-files-from-jfrog/31295)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 1\
**Last updated:** [September 17, 2019, 9:59am UTC](https://forum.ansible.com/t/download-files-from-jfrog/31295 "2019-09-17T09:59:04Z")

</div>

Hi, Need to download some .zip files and .exc files from Jfrog for that i’m using python script, Is there any way to download files from General repo of Jfrog with Ansible?

---

## [Ansible register multiple variables within a single task](https://forum.ansible.com/t/ansible-register-multiple-variables-within-a-single-task/31286)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 4\
**Last updated:** [September 17, 2019, 9:58am UTC](https://forum.ansible.com/t/ansible-register-multiple-variables-within-a-single-task/31286 "2019-09-17T09:58:35Z")

</div>

Hello All, I have an Ansible task and I want to register multiple variables inside it, how do I achieve this? It doesn’t seem that a list or a comma separated string would work. This is what I have: \` name: Set SELi…

---

## [Multiple machine credentials for a Job Template in AWX !](https://forum.ansible.com/t/multiple-machine-credentials-for-a-job-template-in-awx/30573)

<div class="topic-metadata">

**Author:** [@mohamedjarboui1995](https://forum.ansible.com/u/mohamedjarboui1995)\
**Replies:** 2\
**Last updated:** [September 17, 2019, 5:31am UTC](https://forum.ansible.com/t/multiple-machine-credentials-for-a-job-template-in-awx/30573 "2019-09-17T05:31:35Z")

</div>

Hello, How to use multiple machine credentials for a Job Template in AWX? because i want to run a playbook to install something in three hosts ( forming a group) at the same time, Could someone point me in the right dir…

---

## ["msg": "winrm or requests is not installed: No module named winrm"](https://forum.ansible.com/t/msg-winrm-or-requests-is-not-installed-no-module-named-winrm/31292)

<div class="topic-metadata">

**Author:** [@shubham\_jain](https://forum.ansible.com/u/shubham_jain)\
**Replies:** 1\
**Last updated:** [September 17, 2019, 12:04am UTC](https://forum.ansible.com/t/msg-winrm-or-requests-is-not-installed-no-module-named-winrm/31292 "2019-09-17T00:04:05Z")

</div>

Hi All, i am facing some issue while trying to connect to windows. please help. ansible windows -i hosts -m win\_ping xxxxx | FAILED! =\> { “msg”: “winrm or requests is not installed: No module named winrm” } i can …

---

## [Ansible Azure -  azure\_rm\_image](https://forum.ansible.com/t/ansible-azure-azure-rm-image/31285)

<div class="topic-metadata">

**Author:** [@Lucas\_Chies](https://forum.ansible.com/u/Lucas_Chies)\
**Replies:** 4\
**Last updated:** [September 16, 2019, 8:19pm UTC](https://forum.ansible.com/t/ansible-azure-azure-rm-image/31285 "2019-09-16T20:19:49Z")

</div>

Hello team, I’m trying to use Ansible to create snapshot from my azure VMS. But every time that I use the azure\_rm\_image, return error. ERROR! ‘azure\_rm\_image’ is not a valid attribute for a Play Someone already use …

---

## [Firewalld fails to start on SLES 15 SP1](https://forum.ansible.com/t/firewalld-fails-to-start-on-sles-15-sp1/31290)

<div class="topic-metadata">

**Author:** [@racke](https://forum.ansible.com/u/racke)\
**Replies:** 0\
**Last updated:** [September 16, 2019, 6:35pm UTC](https://forum.ansible.com/t/firewalld-fails-to-start-on-sles-15-sp1/31290 "2019-09-16T18:35:02Z")

</div>

Dear Readers, Firewalld fails to start for SLES 15 SP1. \> That's a pity, but how is this related to Ansible? Regards Racke

---

## [Ansible AWX/Tower configure with MS AD auth](https://forum.ansible.com/t/ansible-awx-tower-configure-with-ms-ad-auth/31287)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 2\
**Last updated:** [September 16, 2019, 4:03pm UTC](https://forum.ansible.com/t/ansible-awx-tower-configure-with-ms-ad-auth/31287 "2019-09-16T16:03:50Z")

</div>

I have an instance of AWX setup and I am trying to configure it with MS Windows AD authentication. I am using the docker setup of AWX. 1) Where should I be looking for logs to help diagnose config issues? 2) Does anyone …

---

## [Ansible AWX/Tower configure with MS AD auth](https://forum.ansible.com/t/ansible-awx-tower-configure-with-ms-ad-auth/31284)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 1\
**Last updated:** [September 16, 2019, 11:36am UTC](https://forum.ansible.com/t/ansible-awx-tower-configure-with-ms-ad-auth/31284 "2019-09-16T11:36:58Z")

</div>

I have an instance of AWX setup and I am trying to configure it with MS Windows AD authentication. I am using the docker setup of AWX. 1) Where should I be looking for logs to help diagnose config issues? 2) Does anyone …

---

## [Ansible installation of MongoDB - missing mongodb folder in /var/run](https://forum.ansible.com/t/ansible-installation-of-mongodb-missing-mongodb-folder-in-var-run/31283)

<div class="topic-metadata">

**Author:** [@Stephen\_Thorpe](https://forum.ansible.com/u/Stephen_Thorpe)\
**Replies:** 5\
**Last updated:** [September 16, 2019, 11:13am UTC](https://forum.ansible.com/t/ansible-installation-of-mongodb-missing-mongodb-folder-in-var-run/31283 "2019-09-16T11:13:17Z")

</div>

Hi, I’m deploying MongoDB to a number of servers using the script below. Servers are Ubuntu 18.0.4. I have an issue where the installation fails to create a mongo folder in /var/run/ and thus can’t start the service (No…

---

## [\[aws-project\] how to create a single master workflow](https://forum.ansible.com/t/aws-project-how-to-create-a-single-master-workflow/30036)

<div class="topic-metadata">

**Author:** [@Vijay\_Ravindran](https://forum.ansible.com/u/Vijay_Ravindran)\
**Replies:** 2\
**Last updated:** [September 15, 2019, 2:39pm UTC](https://forum.ansible.com/t/aws-project-how-to-create-a-single-master-workflow/30036 "2019-09-15T14:39:01Z")

</div>

Team, I have a list of 10 small playbooks and i need to create a master bigger workflow template so that it can carry out a bigger task in a sequential format. Need your inputs how shall i create that and inbetween each…

---

## [end\_host not working as expected](https://forum.ansible.com/t/end-host-not-working-as-expected/31277)

<div class="topic-metadata">

**Author:** [@dpowell](https://forum.ansible.com/u/dpowell)\
**Replies:** 5\
**Last updated:** [September 14, 2019, 10:02pm UTC](https://forum.ansible.com/t/end-host-not-working-as-expected/31277 "2019-09-14T22:02:57Z")

</div>

Both end\_host and end\_play seem to both cause the job to skip all hosts. I know that only one host meets the condition so it should execute on 1 but exits for both. Am I missing something? I thought end\_host would only e…

---

## [Variable resolution issue, bug or feature?](https://forum.ansible.com/t/variable-resolution-issue-bug-or-feature/31242)

<div class="topic-metadata">

**Author:** [@mcronenworth](https://forum.ansible.com/u/mcronenworth)\
**Replies:** 5\
**Last updated:** [September 14, 2019, 4:37pm UTC](https://forum.ansible.com/t/variable-resolution-issue-bug-or-feature/31242 "2019-09-14T16:37:24Z")

</div>

Hi, I have a role that when it runs is only partially resolving variables. Variable\_A: defined in defaults - string Variable\_B: defined in defaults - hostvars reference to Variable\_C that will be loaded through includ…

---

## [mysql\_user cannot find an installed package](https://forum.ansible.com/t/mysql-user-cannot-find-an-installed-package/31279)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 6:55pm UTC](https://forum.ansible.com/t/mysql-user-cannot-find-an-installed-package/31279 "2019-09-13T18:55:48Z")

</div>

Trying to add a user to a mysql DB. Some relevant lines from playbook are: mysql\_packagelist: - python2-PyMySQL \[...\] - name: Install db prereqs package: name="{{mysql\_packagelist}}" state=latest \[...\] - name:…

---

## [Problem when attempting to create database with ansible](https://forum.ansible.com/t/problem-when-attempting-to-create-database-with-ansible/31278)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 6:54pm UTC](https://forum.ansible.com/t/problem-when-attempting-to-create-database-with-ansible/31278 "2019-09-13T18:54:14Z")

</div>

Hello, Have anyone attempted to use ansible to create database on mariaDB system recently. I am having a problem and would appreaciate advice. I have two tasks: name: create nextcloud database schema mysql\_db: name…

---

## [How to work around PERSISTENT\_COMMAND\_TIMEOUT](https://forum.ansible.com/t/how-to-work-around-persistent-command-timeout/31276)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 4:51pm UTC](https://forum.ansible.com/t/how-to-work-around-persistent-command-timeout/31276 "2019-09-13T16:51:03Z")

</div>

Hi there, Every ansible network command has a PERSISTENT\_COMMAND\_TIMEOUT which “controls the amount of time to wait for response from remote device before timing out persistent connection”. Actually, when using the net…

---

## [Credentials for ansible-galaxy when reading requirements.yml](https://forum.ansible.com/t/credentials-for-ansible-galaxy-when-reading-requirements-yml/31225)

<div class="topic-metadata">

**Author:** [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Replies:** 5\
**Last updated:** [September 13, 2019, 3:57pm UTC](https://forum.ansible.com/t/credentials-for-ansible-galaxy-when-reading-requirements-yml/31225 "2019-09-13T15:57:37Z")

</div>

Hello guys: I’m currently working with AWX 6.0.\*. I have a Git repo which is private (AWS CodeCommit) and it has SSH authentication configured. AWX is currently able to get the contents of this Git repo with my own cred…

---

## [Chocolatey and installing GIT](https://forum.ansible.com/t/chocolatey-and-installing-git/31272)

<div class="topic-metadata">

**Author:** [@Simon-Pierre\_Diamond](https://forum.ansible.com/u/Simon-Pierre_Diamond)\
**Replies:** 3\
**Last updated:** [September 13, 2019, 12:52pm UTC](https://forum.ansible.com/t/chocolatey-and-installing-git/31272 "2019-09-13T12:52:31Z")

</div>

Hi guys, I am trying to install git with chocolatey using a playbook: name: Install GIT win\_chocolatey: name: git state: present It should be really simple when I run this. It should go through and no issues. Alt…

---

## [Problem with "when" statement](https://forum.ansible.com/t/problem-with-when-statement/31275)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 3\
**Last updated:** [September 13, 2019, 12:28pm UTC](https://forum.ansible.com/t/problem-with-when-statement/31275 "2019-09-13T12:28:36Z")

</div>

I’m trying to compare two variables in a “when” statement - when x = y do something. This code works: when: unit\_number == {{ disk\_unit }} BUT I get a warning: \[WARNING\]: conditional statements should not include jin…

---

## [Privileges for become\_user](https://forum.ansible.com/t/privileges-for-become-user/31269)

<div class="topic-metadata">

**Author:** [@Torsten\_Lorenz](https://forum.ansible.com/u/Torsten_Lorenz)\
**Replies:** 9\
**Last updated:** [September 13, 2019, 8:36am UTC](https://forum.ansible.com/t/privileges-for-become-user/31269 "2019-09-13T08:36:04Z")

</div>

Hi @ all, i try to start/stop a service with ansible adn need to execute the comand with sudo: executing “sudo /usr/bin/systemctl start filebeat.service” works pretty fine, but i would like to use the service-modul. …

---

## [SAML Issues - RelayState Error](https://forum.ansible.com/t/saml-issues-relaystate-error/31274)

<div class="topic-metadata">

**Author:** [@Nathan\_Santos](https://forum.ansible.com/u/Nathan_Santos)\
**Replies:** 1\
**Last updated:** [September 13, 2019, 2:14am UTC](https://forum.ansible.com/t/saml-issues-relaystate-error/31274 "2019-09-13T02:14:12Z")

</div>

Hi AWX Team, Reviewing the following: https://groups.google.com/forum/#!searchin/awx-project/saml%7Csort:date/awx-project/Q88MzUwXgy4/m89b6QTGAQAJ I see there was no followup on this and was wondering if any direction…

---

## [New Ansible release 2.8.5](https://forum.ansible.com/t/new-ansible-release-2-8-5/31273)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 13, 2019, 1:45am UTC](https://forum.ansible.com/t/new-ansible-release-2-8-5/31273 "2019-09-13T01:45:18Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.8.5 is now available! How do you get it?

---

## [Jenkins test connection not working with Ansible-Awx 7.0.0](https://forum.ansible.com/t/jenkins-test-connection-not-working-with-ansible-awx-7-0-0/31271)

<div class="topic-metadata">

**Author:** [@dpowell](https://forum.ansible.com/u/dpowell)\
**Replies:** 1\
**Last updated:** [September 12, 2019, 7:33pm UTC](https://forum.ansible.com/t/jenkins-test-connection-not-working-with-ansible-awx-7-0-0/31271 "2019-09-12T19:33:28Z")

</div>

Is there anything that I may have missed during the awx install. Awx is up and the UI is working without issue. I’m unable to curl or run the testConnection from jenkins. Version 0.10.0 of the tower plugin is installed. …

---

## [Update string variable if the value matches in Ansible Play](https://forum.ansible.com/t/update-string-variable-if-the-value-matches-in-ansible-play/31254)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 12\
**Last updated:** [September 12, 2019, 4:25pm UTC](https://forum.ansible.com/t/update-string-variable-if-the-value-matches-in-ansible-play/31254 "2019-09-12T16:25:11Z")

</div>

I pass a variable fRegion to my ansible playbook. I wish to set fRegion to this string → ‘prd’ OR region LIKE ‘dr’ if the passed value is either “prd\_and\_dr” or “dr\_and\_prd”. I call the playbook like this : ansible-p…

---

## [Using lineinfile to append items to the END of a line](https://forum.ansible.com/t/using-lineinfile-to-append-items-to-the-end-of-a-line/31259)

<div class="topic-metadata">

**Author:** [@TheSmiths](https://forum.ansible.com/u/TheSmiths)\
**Replies:** 4\
**Last updated:** [September 12, 2019, 2:08pm UTC](https://forum.ansible.com/t/using-lineinfile-to-append-items-to-the-end-of-a-line/31259 "2019-09-12T14:08:12Z")

</div>

Hi, I would like to use lineinfile module to do the next: go over list of items (with\_items) look for specific line that always starts with the word “ALL:” (hosts.allow) append each item at the END of the line with co…

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

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