# Ansible Project

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

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

**Page:** 160

---

## [Feature request promptly closed without explanation](https://forum.ansible.com/t/feature-request-promptly-closed-without-explanation/31540)

<div class="topic-metadata">

**Author:** [@Les\_Hazlewood](https://forum.ansible.com/u/Les_Hazlewood)\
**Replies:** 7\
**Last updated:** [October 29, 2019, 5:09am UTC](https://forum.ansible.com/t/feature-request-promptly-closed-without-explanation/31540 "2019-10-29T05:09:05Z")

</div>

Hi folks, I posted a quite useful feature request and gave examples with clarification for why the feature is definitely beneficial on many fronts, but it was promptly closed without any clarification or justification a…

---

## [Using variables in dynamic inventory plugins](https://forum.ansible.com/t/using-variables-in-dynamic-inventory-plugins/31553)

<div class="topic-metadata">

**Author:** [@Danila](https://forum.ansible.com/u/Danila)\
**Replies:** 1\
**Last updated:** [October 28, 2019, 7:11pm UTC](https://forum.ansible.com/t/using-variables-in-dynamic-inventory-plugins/31553 "2019-10-28T19:11:15Z")

</div>

Hi, I am trying to use dynamic inventory plugin gce\_compute. I’ve created file named 00\_vars.yaml \`

---

## [Run a unix script on ansible server that connect to remote servers.](https://forum.ansible.com/t/run-a-unix-script-on-ansible-server-that-connect-to-remote-servers/31516)

<div class="topic-metadata">

**Author:** [@R-JRI](https://forum.ansible.com/u/R-JRI)\
**Replies:** 4\
**Last updated:** [October 28, 2019, 3:48pm UTC](https://forum.ansible.com/t/run-a-unix-script-on-ansible-server-that-connect-to-remote-servers/31516 "2019-10-28T15:48:52Z")

</div>

Hi, all I have an existing unix shell script that does ssh to connect to remote servers to search FAILED key word through logs on the remote server. If the logs contain FAILED key word, sftp to the servers to bring the …

---

## [Creating /etc/hosts from ansible hosts](https://forum.ansible.com/t/creating-etc-hosts-from-ansible-hosts/31549)

<div class="topic-metadata">

**Author:** [@budhac](https://forum.ansible.com/u/budhac)\
**Replies:** 2\
**Last updated:** [October 27, 2019, 10:35am UTC](https://forum.ansible.com/t/creating-etc-hosts-from-ansible-hosts/31549 "2019-10-27T10:35:15Z")

</div>

I am trying to figure out if there is a way to use Ansible to automate the creation of /etc/hosts files depending on which group the Ansible host belongs to. I am creating multiple test Kubernetes clusters that will use …

---

## [Ansible is setting Windows environment variables](https://forum.ansible.com/t/ansible-is-setting-windows-environment-variables/31547)

<div class="topic-metadata">

**Author:** [@Alek\_Ohanian](https://forum.ansible.com/u/Alek_Ohanian)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 2:23am UTC](https://forum.ansible.com/t/ansible-is-setting-windows-environment-variables/31547 "2019-10-26T02:23:22Z")

</div>

We’re seeing some strange behaviour where it seems like Powershell scripts executed by Ansible are having their variables written to the system as environment variables as opposed to temporary session variables. The same…

---

## [Ansible Best Practices - Group\_Vars Not Being Applied As Expected](https://forum.ansible.com/t/ansible-best-practices-group-vars-not-being-applied-as-expected/31486)

<div class="topic-metadata">

**Author:** [@Jeff\_Baldwin](https://forum.ansible.com/u/Jeff_Baldwin)\
**Replies:** 7\
**Last updated:** [October 25, 2019, 3:29pm UTC](https://forum.ansible.com/t/ansible-best-practices-group-vars-not-being-applied-as-expected/31486 "2019-10-25T15:29:10Z")

</div>

All, I have been setting up my environment to match the best practices provided here: https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_best\_practices.html#best-practices – However, I am running into some iss…

---

## [Questions about enabling the firewall in windows](https://forum.ansible.com/t/questions-about-enabling-the-firewall-in-windows/31539)

<div class="topic-metadata">

**Author:** [@ronny\_saavedra](https://forum.ansible.com/u/ronny_saavedra)\
**Replies:** 2\
**Last updated:** [October 25, 2019, 3:22pm UTC](https://forum.ansible.com/t/questions-about-enabling-the-firewall-in-windows/31539 "2019-10-25T15:22:47Z")

</div>

Good afternoon with everyone, I hope you have a great day. Could you help me with a problem, I will explain my problem shortly: I am in charge of creating instances from amis already designed, I think it’s great I am w…

---

## [How get hold file or repertory](https://forum.ansible.com/t/how-get-hold-file-or-repertory/31546)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 0\
**Last updated:** [October 25, 2019, 3:03pm UTC](https://forum.ansible.com/t/how-get-hold-file-or-repertory/31546 "2019-10-25T15:03:31Z")

</div>

Hey, I have one repertory /home/ansible/my\_repertory with this content : drwxr-xr-x 3 ansible ansible 4096 Sep 11 10:25 db-component\_2019-09-11\_10h25\_00 drwxr-xr-x 3 ansible ansible 4096 Sep 11 10:46 db-component\_2019…

---

## [ACL on AIX](https://forum.ansible.com/t/acl-on-aix/31544)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 0\
**Last updated:** [October 25, 2019, 9:39am UTC](https://forum.ansible.com/t/acl-on-aix/31544 "2019-10-25T09:39:18Z")

</div>

Hello Guys, I would like like to know how I can edit ACL directory with acledit on AIX? I would like to add splunk user with read permission. Default ACL permission: … … extended permissions: enabled permit r-- u…

---

## [roles will not run against localhost](https://forum.ansible.com/t/roles-will-not-run-against-localhost/31542)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 1\
**Last updated:** [October 25, 2019, 4:15am UTC](https://forum.ansible.com/t/roles-will-not-run-against-localhost/31542 "2019-10-25T04:15:41Z")

</div>

I have some complex aws related tasks that I would like to move into a role. However, when I run the play against localhost, the role never runs. After much troubleshooting, I finally created a brand new repo that just…

---

## [Running a script as root user.](https://forum.ansible.com/t/running-a-script-as-root-user/31541)

<div class="topic-metadata">

**Author:** [@Dave\_McPherson](https://forum.ansible.com/u/Dave_McPherson)\
**Replies:** 1\
**Last updated:** [October 24, 2019, 11:05pm UTC](https://forum.ansible.com/t/running-a-script-as-root-user/31541 "2019-10-24T23:05:18Z")

</div>

Hi All, I have a script that I need to run on oracle linux when I try the standard “become:” it fails with the error “run with sudo -s” I have tried many variations but what I have now is below. name: Run gold\_change…

---

## [luks\_device module questions](https://forum.ansible.com/t/luks-device-module-questions/31536)

<div class="topic-metadata">

**Author:** [@Test\_Acct](https://forum.ansible.com/u/Test_Acct)\
**Replies:** 4\
**Last updated:** [October 24, 2019, 5:19pm UTC](https://forum.ansible.com/t/luks-device-module-questions/31536 "2019-10-24T17:19:46Z")

</div>

Hello. I am trying to create encrypted logical volumes within my playbook. I have the process written out, via commands (as if i were doing each one individually). I have gotten the LVM portion in the playbook working.…

---

## [Hanging on SSH connection](https://forum.ansible.com/t/hanging-on-ssh-connection/31538)

<div class="topic-metadata">

**Author:** [@Thomas\_Lawrence](https://forum.ansible.com/u/Thomas_Lawrence)\
**Replies:** 7\
**Last updated:** [October 24, 2019, 4:27pm UTC](https://forum.ansible.com/t/hanging-on-ssh-connection/31538 "2019-10-24T16:27:59Z")

</div>

I have inherited the job of continuing with my organisation’s ansible setup after our sys admin left. I am having a hell of a job adding new server to the setup as ansible can not seem to connect to any newly created ser…

---

## [Read timeout when using WinRM to apply Windows patches on Azure](https://forum.ansible.com/t/read-timeout-when-using-winrm-to-apply-windows-patches-on-azure/31529)

<div class="topic-metadata">

**Author:** [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Replies:** 3\
**Last updated:** [October 24, 2019, 4:20pm UTC](https://forum.ansible.com/t/read-timeout-when-using-winrm-to-apply-windows-patches-on-azure/31529 "2019-10-24T16:20:02Z")

</div>

Hello guys: I’m currently working with Ansible 2.8.5 to apply Windows patches through WinRM connections. This is a portion of my code: name: Instalar actualizaciones 1 win\_updates: category\_names: “{{ windows\_update…

---

## [Passing a '(' in a variable string](https://forum.ansible.com/t/passing-a-in-a-variable-string/31498)

<div class="topic-metadata">

**Author:** [@Stephen\_Feyrer](https://forum.ansible.com/u/Stephen_Feyrer)\
**Replies:** 7\
**Last updated:** [October 24, 2019, 10:31am UTC](https://forum.ansible.com/t/passing-a-in-a-variable-string/31498 "2019-10-24T10:31:42Z")

</div>

Hi there, I have a password vault and a script to which I am passing a password. The vault looks kind of like this: \`

---

## [Backup of variable with ansible](https://forum.ansible.com/t/backup-of-variable-with-ansible/31537)

<div class="topic-metadata">

**Author:** [@Karther](https://forum.ansible.com/u/Karther)\
**Replies:** 0\
**Last updated:** [October 24, 2019, 10:09am UTC](https://forum.ansible.com/t/backup-of-variable-with-ansible/31537 "2019-10-24T10:09:09Z")

</div>

Hey, I have file var with this content : version: 3-40-00 I have this task who create repertory : name: “Create repertory if run\_db\_test.sh is execut” file: path: /home/ansible/hospitalis\_sql/gis-db-patch-{{ hold\_…

---

## [What happens if in between the Play the node goes down](https://forum.ansible.com/t/what-happens-if-in-between-the-play-the-node-goes-down/31534)

<div class="topic-metadata">

**Author:** [@Sumanyu\_Nandwani](https://forum.ansible.com/u/Sumanyu_Nandwani)\
**Replies:** 0\
**Last updated:** [October 24, 2019, 8:06am UTC](https://forum.ansible.com/t/what-happens-if-in-between-the-play-the-node-goes-down/31534 "2019-10-24T08:06:31Z")

</div>

I am facing an issue in which I run a playbook on ~30 nodes and if in between of a play one of the nodes goes down, the whole play gets stuck ( I think Ansible gets stuck ) and the other nodes are also getting stuck due …

---

## [How to resolve dependencies of locally downloaded packages, when package A depends on B.](https://forum.ansible.com/t/how-to-resolve-dependencies-of-locally-downloaded-packages-when-package-a-depends-on-b/31531)

<div class="topic-metadata">

**Author:** [@john\_517501](https://forum.ansible.com/u/john_517501)\
**Replies:** 4\
**Last updated:** [October 23, 2019, 9:31pm UTC](https://forum.ansible.com/t/how-to-resolve-dependencies-of-locally-downloaded-packages-when-package-a-depends-on-b/31531 "2019-10-23T21:31:31Z")

</div>

I have simple playbook where trying to install the Debian packages downloaded locally in my server. This playbook runs on localhost and install the Debian packages in the same system. But this playbook gives an error "De…

---

## [New Ansible release 2.9.0rc5](https://forum.ansible.com/t/new-ansible-release-2-9-0rc5/31532)

<div class="topic-metadata">

**Author:** [@Matt\_Davis3](https://forum.ansible.com/u/Matt_Davis3)\
**Replies:** 0\
**Last updated:** [October 23, 2019, 9:22pm UTC](https://forum.ansible.com/t/new-ansible-release-2-9-0rc5/31532 "2019-10-23T21:22:55Z")

</div>

Hi all- we’re happy to announce that Ansible 2.9.0rc5 is now available! This is anticipated as the final release candidate before Ansible 2.9.0 is generally available within the next week or so. How do you get it?

---

## [replace line in multiple files using lineinfile could anyone please help me.](https://forum.ansible.com/t/replace-line-in-multiple-files-using-lineinfile-could-anyone-please-help-me/31514)

<div class="topic-metadata">

**Author:** [@SARDARNI\_NK](https://forum.ansible.com/u/SARDARNI_NK)\
**Replies:** 3\
**Last updated:** [October 23, 2019, 6:27pm UTC](https://forum.ansible.com/t/replace-line-in-multiple-files-using-lineinfile-could-anyone-please-help-me/31514 "2019-10-23T18:27:07Z")

</div>

---

## [Failed to connect to the host via ssh: ssh: connect to host](https://forum.ansible.com/t/failed-to-connect-to-the-host-via-ssh-ssh-connect-to-host/31528)

<div class="topic-metadata">

**Author:** [@Frazer\_Grant](https://forum.ansible.com/u/Frazer_Grant)\
**Replies:** 0\
**Last updated:** [October 23, 2019, 2:30pm UTC](https://forum.ansible.com/t/failed-to-connect-to-the-host-via-ssh-ssh-connect-to-host/31528 "2019-10-23T14:30:35Z")

</div>

Hi, I feel a little bit uncomfortable posting this, as it seems it should be a simple fix, but I cannot seem to find an answer. Ive just installed Ansible 2.8.5 into a Vagrant VM on my laptop and from that I can gcloud…

---

## [Reboot wait for port to come available](https://forum.ansible.com/t/reboot-wait-for-port-to-come-available/31527)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [October 23, 2019, 2:07pm UTC](https://forum.ansible.com/t/reboot-wait-for-port-to-come-available/31527 "2019-10-23T14:07:33Z")

</div>

No, since host is server2 the wait\_for module will run on that host. You would need connection: local, delegate\_to: localhost or hosts: localhost to make it run on Ansible server aka Ansible controller.

---

## [Reboot wait for port to come available](https://forum.ansible.com/t/reboot-wait-for-port-to-come-available/31519)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 2\
**Last updated:** [October 23, 2019, 1:52pm UTC](https://forum.ansible.com/t/reboot-wait-for-port-to-come-available/31519 "2019-10-23T13:52:36Z")

</div>

Hi all, So I know how to do this for the most part, but I’ve got two servers that when I have to reboot them, one needs to be done before the other and cannot before a specific port comes available. That port is only ac…

---

## [Can I use github\_releases with a enterprise github?](https://forum.ansible.com/t/can-i-use-github-releases-with-a-enterprise-github/31446)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Rapozo](https://forum.ansible.com/u/Rodrigo_Rapozo)\
**Replies:** 2\
**Last updated:** [October 23, 2019, 1:52pm UTC](https://forum.ansible.com/t/can-i-use-github-releases-with-a-enterprise-github/31446 "2019-10-23T13:52:06Z")

</div>

Hello, I’m trying to use github\_release module to fetch a release from a enterprise internal repository in the company that I work. This is possivle and how I can do that if don’t have any option like “url”, “server”, …

---

## [Ansible Play book for the Windows exe file](https://forum.ansible.com/t/ansible-play-book-for-the-windows-exe-file/31502)

<div class="topic-metadata">

**Author:** [@Vikrant](https://forum.ansible.com/u/Vikrant)\
**Replies:** 6\
**Last updated:** [October 23, 2019, 12:38pm UTC](https://forum.ansible.com/t/ansible-play-book-for-the-windows-exe-file/31502 "2019-10-23T12:38:53Z")

</div>

Hi All, There is a exe file at some location in windows server and I need to click on it and the in some java tab have to update below values: -Djavax.net.ssl.trustStore=D:/apps/Tomcathomeconf/xyz.jks -Djavax.net.ssl.…

---

## [Facing problem while using Ansible for Open edX installation.](https://forum.ansible.com/t/facing-problem-while-using-ansible-for-open-edx-installation/31522)

<div class="topic-metadata">

**Author:** [@Waleed\_Khan](https://forum.ansible.com/u/Waleed_Khan)\
**Replies:** 2\
**Last updated:** [October 23, 2019, 12:27pm UTC](https://forum.ansible.com/t/facing-problem-while-using-ansible-for-open-edx-installation/31522 "2019-10-23T12:27:02Z")

</div>

I am trying to install ironwood.master using native installation method by following this link: https://openedx.atlassian.net/wiki/spaces/a/pages/146440579/Native+Open+edX+Ubuntu+16.04+64+bit+Installation For step 5 in …

---

## [Ansible on Windows Environment](https://forum.ansible.com/t/ansible-on-windows-environment/31520)

<div class="topic-metadata">

**Author:** [@Harini\_K](https://forum.ansible.com/u/Harini_K)\
**Replies:** 2\
**Last updated:** [October 23, 2019, 10:39am UTC](https://forum.ansible.com/t/ansible-on-windows-environment/31520 "2019-10-23T10:39:06Z")

</div>

Hi, We followed below steps to use Ansible on Windows. Installing Ansible on Cygwin Using Host machine as Windows machine Using Powershell to perform actions. The issues which we are facing are : On launching any a…

---

## [azure\_rm\_devtestlabvirtualmachine – Manage Azure DevTest Lab Virtual Machine instance - ssh\_key attribute](https://forum.ansible.com/t/azure-rm-devtestlabvirtualmachine-manage-azure-devtest-lab-virtual-machine-instance-ssh-key-attribute/31525)

<div class="topic-metadata">

**Author:** [@Mr\_Decisive](https://forum.ansible.com/u/Mr_Decisive)\
**Replies:** 0\
**Last updated:** [October 23, 2019, 9:55am UTC](https://forum.ansible.com/t/azure-rm-devtestlabvirtualmachine-manage-azure-devtest-lab-virtual-machine-instance-ssh-key-attribute/31525 "2019-10-23T09:55:19Z")

</div>

Hi, I have a question on the above module. I want to use ssh key authentication as opposed to password authentication on the vm that is created in the lab but if I exclude the password property and include a key for the…

---

## [Installing multiple roles from the same repo (Ansible Galaxy)](https://forum.ansible.com/t/installing-multiple-roles-from-the-same-repo-ansible-galaxy/31513)

<div class="topic-metadata">

**Author:** [@Ry1](https://forum.ansible.com/u/Ry1)\
**Replies:** 1\
**Last updated:** [October 23, 2019, 7:58am UTC](https://forum.ansible.com/t/installing-multiple-roles-from-the-same-repo-ansible-galaxy/31513 "2019-10-23T07:58:10Z")

</div>

Hi everyone, I’m having difficulties figuring out how I can install two different roles from the same project. Below is the project tree, Project\_Name ansible\_role role1 role2 The different between these two roles …

---

## [network unreachable](https://forum.ansible.com/t/network-unreachable/31503)

<div class="topic-metadata">

**Author:** [@Julien\_Cochennec](https://forum.ansible.com/u/Julien_Cochennec)\
**Replies:** 2\
**Last updated:** [October 22, 2019, 10:50pm UTC](https://forum.ansible.com/t/network-unreachable/31503 "2019-10-22T22:50:08Z")

</div>

Hi, Searching proxy in this list, I found no answer, so maybe it’s not a proxy issue : I run a playbook with following task : \` name: download miniconda installer get\_url: url={{ miniconda\_url }} dest={{ minicond…

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

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