# Archives

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

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

**Page:** 251

---

## [Setting up Windows without interaction](https://forum.ansible.com/t/setting-up-windows-without-interaction/31500)

<div class="topic-metadata">

**Author:** [@Fabiano\_Sidler](https://forum.ansible.com/u/Fabiano_Sidler)\
**Replies:** 4\
**Last updated:** [October 22, 2019, 9:59pm UTC](https://forum.ansible.com/t/setting-up-windows-without-interaction/31500 "2019-10-22T21:59:31Z")

</div>

What’s the best way to set up a Windows without any interaction? With Linux/Unix I’d place my SSH public key onto the installer and be able to connect to the host after first boot. How can this be done with Windows and…

---

## [Nagios downtime Issue with max sessions on remote server](https://forum.ansible.com/t/nagios-downtime-issue-with-max-sessions-on-remote-server/31504)

<div class="topic-metadata">

**Author:** [@abhijith.devaraju](https://forum.ansible.com/u/abhijith.devaraju)\
**Replies:** 1\
**Last updated:** [October 22, 2019, 4:50pm UTC](https://forum.ansible.com/t/nagios-downtime-issue-with-max-sessions-on-remote-server/31504 "2019-10-22T16:50:56Z")

</div>

Hi All, I’m using below playbook to enable/disable nagios downtime. My problem here is since the hosts in my inventory file are a lot (around min 1000), I’m running into mux sessions limit Issue on the remote nagios ser…

---

## [Ansible Tower 3.5 Attempting to send email notification](https://forum.ansible.com/t/ansible-tower-3-5-attempting-to-send-email-notification/31512)

<div class="topic-metadata">

**Author:** [@Eugene\_Roux](https://forum.ansible.com/u/Eugene_Roux)\
**Replies:** 1\
**Last updated:** [October 22, 2019, 3:48pm UTC](https://forum.ansible.com/t/ansible-tower-3-5-attempting-to-send-email-notification/31512 "2019-10-22T15:48:06Z")

</div>

Hi Mike, Have a look whether the following resolves your issue: https://github.com/ansible/awx/issues/2830 Based on that, one potential resolution is to add “host: SMTPSERVER” to your playbook; without it the AWX do…

---

## [workaround for serial: 1 failures stopping the entire playbook?](https://forum.ansible.com/t/workaround-for-serial-1-failures-stopping-the-entire-playbook/30038)

<div class="topic-metadata">

**Author:** [@vampyreapocalypse](https://forum.ansible.com/u/vampyreapocalypse)\
**Replies:** 4\
**Last updated:** [October 22, 2019, 3:32pm UTC](https://forum.ansible.com/t/workaround-for-serial-1-failures-stopping-the-entire-playbook/30038 "2019-10-22T15:32:43Z")

</div>

Hello, This has probably been addressed 1000 times before, but I can’t seem to find an answer (if this is even possible) on how, when running a play within a playbook on serial: 1, to have a node fail a task that would …

---

## [Ansible Tower 3.5 Attempting to send email notification](https://forum.ansible.com/t/ansible-tower-3-5-attempting-to-send-email-notification/31511)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 1\
**Last updated:** [October 22, 2019, 3:14pm UTC](https://forum.ansible.com/t/ansible-tower-3-5-attempting-to-send-email-notification/31511 "2019-10-22T15:14:32Z")

</div>

This is the list for Ansible and not Tower, contact RedHat support for help with Tower.

---

## [ASA dynamic network-object host control](https://forum.ansible.com/t/asa-dynamic-network-object-host-control/31510)

<div class="topic-metadata">

**Author:** [@Sayantan\_Laha](https://forum.ansible.com/u/Sayantan_Laha)\
**Replies:** 0\
**Last updated:** [October 22, 2019, 3:01pm UTC](https://forum.ansible.com/t/asa-dynamic-network-object-host-control/31510 "2019-10-22T15:01:19Z")

</div>

Dear Team, I am using ansible to put network-object host x.x.x.x for my ASA Can we make this list x.x.x.x dynamic? Otherwise if i use command line arguments to pass then login will be the number of times respect to nu…

---

## [Ansible tower "fatal error"](https://forum.ansible.com/t/ansible-tower-fatal-error/31508)

<div class="topic-metadata">

**Author:** [@Rupender\_singh\_chauh](https://forum.ansible.com/u/Rupender_singh_chauh)\
**Replies:** 0\
**Last updated:** [October 22, 2019, 1:54pm UTC](https://forum.ansible.com/t/ansible-tower-fatal-error/31508 "2019-10-22T13:54:27Z")

</div>

Hi Team, Please help me on this below error. it is Ansible tower server. TASK \[tomcat\_instance\_create : Pull down keystore from git\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* task path: /var/lib/awx/projects/\_128\_\_tomcat\_dev\_yaml\_b/roles/…

---

## [Want to send mail notification of task completion](https://forum.ansible.com/t/want-to-send-mail-notification-of-task-completion/31507)

<div class="topic-metadata">

**Author:** [@Sayantan\_Laha](https://forum.ansible.com/u/Sayantan_Laha)\
**Replies:** 0\
**Last updated:** [October 22, 2019, 10:49am UTC](https://forum.ansible.com/t/want-to-send-mail-notification-of-task-completion/31507 "2019-10-22T10:49:19Z")

</div>

Dear Team, I want to send a mail once task completed. Mail should contains success failure results , which is displayed on task completion. Sayantan

---

## [Awx Postgresql  Kubernetes](https://forum.ansible.com/t/awx-postgresql-kubernetes/31483)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar](https://forum.ansible.com/u/Praveen_Kumar)\
**Replies:** 1\
**Last updated:** [October 22, 2019, 8:34am UTC](https://forum.ansible.com/t/awx-postgresql-kubernetes/31483 "2019-10-22T08:34:07Z")

</div>

Hi, Can I know if any one has installed Awx on Kubernetes without using helm or tiller and specifically the postgresql pod ? If so, can you please share the steps/Playbook ? Thanks, Praveen

---

## [playbook hangs indefinitely when remote host goes down in-between execution](https://forum.ansible.com/t/playbook-hangs-indefinitely-when-remote-host-goes-down-in-between-execution/31505)

<div class="topic-metadata">

**Author:** [@abhijith.devaraju](https://forum.ansible.com/u/abhijith.devaraju)\
**Replies:** 0\
**Last updated:** [October 22, 2019, 7:46am UTC](https://forum.ansible.com/t/playbook-hangs-indefinitely-when-remote-host-goes-down-in-between-execution/31505 "2019-10-22T07:46:17Z")

</div>

Hi All, I have Issue with playbook getting stuck/hang indefinitely, if remote host goes due to kernel panic during the execution. I have tried using async poll for every task but still run into the Issue. When a server …

---

## [Best practice to test a playbook on a Docker image](https://forum.ansible.com/t/best-practice-to-test-a-playbook-on-a-docker-image/31497)

<div class="topic-metadata">

**Author:** [@Julien\_Cochennec](https://forum.ansible.com/u/Julien_Cochennec)\
**Replies:** 7\
**Last updated:** [October 22, 2019, 6:17am UTC](https://forum.ansible.com/t/best-practice-to-test-a-playbook-on-a-docker-image/31497 "2019-10-22T06:17:48Z")

</div>

Hi, Ansible Noob here. We’re developing ansible roles and playbooks for production VMs which are RHEL7 systems. We can’t test our playbook on those machines because they are dedicated to another service. So we only ca…

---

## [User Input from web to execute Ansible playbook backend.](https://forum.ansible.com/t/user-input-from-web-to-execute-ansible-playbook-backend/31501)

<div class="topic-metadata">

**Author:** [@Sayantan\_Laha](https://forum.ansible.com/u/Sayantan_Laha)\
**Replies:** 1\
**Last updated:** [October 21, 2019, 8:41pm UTC](https://forum.ansible.com/t/user-input-from-web-to-execute-ansible-playbook-backend/31501 "2019-10-21T20:41:07Z")

</div>

Dear Team, I have a web server from where I want users to provide required inputs which i can supply as a cli arguments to call playbook and execute some configurations on remote nework box. Is there any way out to do …

---

## [Announcing AWX 8.0.0](https://forum.ansible.com/t/announcing-awx-8-0-0/31499)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 0\
**Last updated:** [October 21, 2019, 6:24pm UTC](https://forum.ansible.com/t/announcing-awx-8-0-0/31499 "2019-10-21T18:24:55Z")

</div>

Hey everyone, We’re excited to announce a new major version of AWX, 8.0.0. Here’s what’s new: The Ansible Tower Ansible modules have been migrated to a new official Ansible AWX collection: https://galaxy.ansible.com…

---

## [Precendence: why playbook level variables win over inventory ones?](https://forum.ansible.com/t/precendence-why-playbook-level-variables-win-over-inventory-ones/31492)

<div class="topic-metadata">

**Author:** [@Stanislav\_German-Evt](https://forum.ansible.com/u/Stanislav_German-Evt)\
**Replies:** 4\
**Last updated:** [October 21, 2019, 3:34pm UTC](https://forum.ansible.com/t/precendence-why-playbook-level-variables-win-over-inventory-ones/31492 "2019-10-21T15:34:05Z")

</div>

Documentation (see 4-7, 9, 10 from the list of priorities) says that playbook level variables override an inventory ones. Can somebody explain why this is the case? To me this is counter-intuitive and keeps leading to mi…

---

## [cli\_command and python](https://forum.ansible.com/t/cli-command-and-python/31496)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 4\
**Last updated:** [October 21, 2019, 3:33pm UTC](https://forum.ansible.com/t/cli-command-and-python/31496 "2019-10-21T15:33:06Z")

</div>

Does the cli\_command module require python on the remote host?

---

## [vmconnect.exe running in background service when we run with ansible](https://forum.ansible.com/t/vmconnect-exe-running-in-background-service-when-we-run-with-ansible/31495)

<div class="topic-metadata">

**Author:** [@Raviteja\_Jinkala](https://forum.ansible.com/u/Raviteja_Jinkala)\
**Replies:** 0\
**Last updated:** [October 21, 2019, 11:35am UTC](https://forum.ansible.com/t/vmconnect-exe-running-in-background-service-when-we-run-with-ansible/31495 "2019-10-21T11:35:49Z")

</div>

Hi All, Need your guidance on vmconnect.exe on ansible. I am trying to connect to new Virtual machine using vmconnect.exe in ansible with below playbook but it is running as service. Can you please help how can i run a…

---

## [AWX Postgresql installtion problem](https://forum.ansible.com/t/awx-postgresql-installtion-problem/31493)

<div class="topic-metadata">

**Author:** [@Mo\_Saman](https://forum.ansible.com/u/Mo_Saman)\
**Replies:** 0\
**Last updated:** [October 19, 2019, 6:28am UTC](https://forum.ansible.com/t/awx-postgresql-installtion-problem/31493 "2019-10-19T06:28:54Z")

</div>

Hello AWX Community, I apologize if this is the wrong place, but I found nowhere else to ask this question. While running the installation playbook against a k8s cluster, this is what I am getting. Your help is immensel…

---

## [k8s Module: Unable to escape SSL\_Cert error calling nodes.](https://forum.ansible.com/t/k8s-module-unable-to-escape-ssl-cert-error-calling-nodes/31491)

<div class="topic-metadata">

**Author:** [@Boa\_Ah](https://forum.ansible.com/u/Boa_Ah)\
**Replies:** 1\
**Last updated:** [October 19, 2019, 5:23am UTC](https://forum.ansible.com/t/k8s-module-unable-to-escape-ssl-cert-error-calling-nodes/31491 "2019-10-19T05:23:35Z")

</div>

Team, My playbook is below and unable to get rid of the cert. - name: Fetch all deployments set\_fact: deployments: "{{ lookup('k8s', kind='Deployment') }}" kubeconfig: $WORKSPACE - name: Fetch all Nodes with Module k8…

---

## [How does Ansible deliver patches to servers that have no internet connectivity?](https://forum.ansible.com/t/how-does-ansible-deliver-patches-to-servers-that-have-no-internet-connectivity/31490)

<div class="topic-metadata">

**Author:** [@Gary\_Barber1](https://forum.ansible.com/u/Gary_Barber1)\
**Replies:** 0\
**Last updated:** [October 18, 2019, 10:47am UTC](https://forum.ansible.com/t/how-does-ansible-deliver-patches-to-servers-that-have-no-internet-connectivity/31490 "2019-10-18T10:47:42Z")

</div>

I help run a large and varied network supporting a number of customers. We’re looking at Ansible to replace CA’s ITCM as our patch management tool. Since most of our customer estates have no internet access we need to r…

---

## [ec2\_instance & AMIs that require agreement to terms & conditions?](https://forum.ansible.com/t/ec2-instance-amis-that-require-agreement-to-terms-conditions/31489)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [October 18, 2019, 9:30am UTC](https://forum.ansible.com/t/ec2-instance-amis-that-require-agreement-to-terms-conditions/31489 "2019-10-18T09:30:36Z")

</div>

Hi While trying to spin up a CentOS7 instance using ec2\_instance, I get the following error message (ansible 2.8.5): fatal: \[localhost\]: FAILED! =\> changed=false boto3\_version: 1.9.228 botocore\_version: 1.12.228 …

---

## [Facts overview](https://forum.ansible.com/t/facts-overview/31488)

<div class="topic-metadata">

**Author:** [@astrakid](https://forum.ansible.com/u/astrakid)\
**Replies:** 1\
**Last updated:** [October 18, 2019, 9:03am UTC](https://forum.ansible.com/t/facts-overview/31488 "2019-10-18T09:03:57Z")

</div>

I read somewhere that it is possible to cache facts - is it possible as well to have those facts in an overview? my focus is on identifying old software packages. Is that possible? kind regards, andre

---

## [ERROR! Decryption failed (no vault secrets were found that could decrypt)](https://forum.ansible.com/t/error-decryption-failed-no-vault-secrets-were-found-that-could-decrypt/31487)

<div class="topic-metadata">

**Author:** [@Nikolay\_Georgiev](https://forum.ansible.com/u/Nikolay_Georgiev)\
**Replies:** 0\
**Last updated:** [October 18, 2019, 7:58am UTC](https://forum.ansible.com/t/error-decryption-failed-no-vault-secrets-were-found-that-could-decrypt/31487 "2019-10-18T07:58:46Z")

</div>

Hey, i do experience a bug… i cannot descrypt/edit/view vault… did someone have it and how do you resolve it? Ansible:2.8.5 OS/env : centos 7 1810 config file = /home/centos/git/ebrctl/ansible.cfg configured module s…

---

## [Not able to execute playbook from php shell\_exec](https://forum.ansible.com/t/not-able-to-execute-playbook-from-php-shell-exec/31485)

<div class="topic-metadata">

**Author:** [@Sayantan\_Laha](https://forum.ansible.com/u/Sayantan_Laha)\
**Replies:** 3\
**Last updated:** [October 18, 2019, 4:54am UTC](https://forum.ansible.com/t/not-able-to-execute-playbook-from-php-shell-exec/31485 "2019-10-18T04:54:36Z")

</div>

Dear Team, I have written lots of playbooks for our Network Automation Nxos, ios and ASA. Now trying call someof our playbooks from php web page using shell\_exec('anisble\_playbok cli command')... Its throwing an error…

---

## [k8s module error: 'NoneType' object has no attribute 'endswith'\\n"](https://forum.ansible.com/t/k8s-module-error-nonetype-object-has-no-attribute-endswith-n/31484)

<div class="topic-metadata">

**Author:** [@Boa\_Ah](https://forum.ansible.com/u/Boa_Ah)\
**Replies:** 0\
**Last updated:** [October 17, 2019, 10:39pm UTC](https://forum.ansible.com/t/k8s-module-error-nonetype-object-has-no-attribute-endswith-n/31484 "2019-10-17T22:39:43Z")

</div>

Team, I have simple test and its failing with below when using k8s module. task/main.yaml name: “Validate k8s version KUBECTL” shell: “kubectl version --short” register: k8s\_version failed\_when: k8s\_version.rc == …

---

## [New Ansible releases 2.8.6, 2.7.14, 2.6.20, and 2.9.0rc4](https://forum.ansible.com/t/new-ansible-releases-2-8-6-2-7-14-2-6-20-and-2-9-0rc4/31482)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [October 17, 2019, 10:16pm UTC](https://forum.ansible.com/t/new-ansible-releases-2-8-6-2-7-14-2-6-20-and-2-9-0rc4/31482 "2019-10-17T22:16:07Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.8.6, 2.7.14, 2.6.20, and a new prerelease of 2.9.0, 2.9.0rc4, are now available! How do you get it?

---

## [Using Github hosted private repos with Tower](https://forum.ansible.com/t/using-github-hosted-private-repos-with-tower/31480)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [October 17, 2019, 5:01pm UTC](https://forum.ansible.com/t/using-github-hosted-private-repos-with-tower/31480 "2019-10-17T17:01:07Z")

</div>

This list is for Ansible only not Tower. Contact RedHat for Tower support.

---

## [Import Objetcs with tower-cli from AWX version 2.1.2 to version 7.0.0](https://forum.ansible.com/t/import-objetcs-with-tower-cli-from-awx-version-2-1-2-to-version-7-0-0/31479)

<div class="topic-metadata">

**Author:** [@Alberto\_Jimenez\_Loza](https://forum.ansible.com/u/Alberto_Jimenez_Loza)\
**Replies:** 3\
**Last updated:** [October 17, 2019, 3:15pm UTC](https://forum.ansible.com/t/import-objetcs-with-tower-cli-from-awx-version-2-1-2-to-version-7-0-0/31479 "2019-10-17T15:15:54Z")

</div>

I have been worked with AWX in production along a year with the version 2.1.2. When I migrated from 1.0.6 to 2.1.2 version, I used tower-cli with receive and send options. Now I have tried the same procedure to migrate…

---

## [Dict to string; using json\_query](https://forum.ansible.com/t/dict-to-string-using-json-query/31478)

<div class="topic-metadata">

**Author:** [@John\_Green](https://forum.ansible.com/u/John_Green)\
**Replies:** 0\
**Last updated:** [October 17, 2019, 1:30pm UTC](https://forum.ansible.com/t/dict-to-string-using-json-query/31478 "2019-10-17T13:30:43Z")

</div>

In an Ansible playbook, I am using “with\_file” to read a text file off the file system. It returns a dict. name: show cvfr dictionary debug: msg: “{{item.key}}: {{item.value}}” loop: “{{ lookup(‘dict’, cos\_vault\_fil…

---

## [Start service if is not running](https://forum.ansible.com/t/start-service-if-is-not-running/31477)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 3\
**Last updated:** [October 17, 2019, 9:51am UTC](https://forum.ansible.com/t/start-service-if-is-not-running/31477 "2019-10-17T09:51:44Z")

</div>

Guys, I would like to start a service if is not running on my target. What is the best practice to do that? Example: when: my\_agent == False ? when\_false Thanks

---

## [Per machine credentials for privileges escalation using AWX](https://forum.ansible.com/t/per-machine-credentials-for-privileges-escalation-using-awx/31457)

<div class="topic-metadata">

**Author:** [@Jonas\_Husser](https://forum.ansible.com/u/Jonas_Husser)\
**Replies:** 2\
**Last updated:** [October 16, 2019, 2:07pm UTC](https://forum.ansible.com/t/per-machine-credentials-for-privileges-escalation-using-awx/31457 "2019-10-16T14:07:45Z")

</div>

Hi, This is a crosspost from https://devops.stackexchange.com/questions/9017/per-machine-credentials-for-privileges-escalation-using-awx because I couldn’t get an answer there. I have an inventory with a lot of hosts i…

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

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