# Archives

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

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

**Page:** 240

---

## [Visansible - Visualization of Ansibel-Facts](https://forum.ansible.com/t/visansible-visualization-of-ansibel-facts/31835)

<div class="topic-metadata">

**Author:** [@Oliver\_Dippel](https://forum.ansible.com/u/Oliver_Dippel)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 1:32pm UTC](https://forum.ansible.com/t/visansible-visualization-of-ansibel-facts/31835 "2019-12-17T13:32:18Z")

</div>

Hi, hope you like it and it is useful: https://github.com/multigcs/visansible

---

## [How to add key to elastic's kibana-keystore via ansible script?](https://forum.ansible.com/t/how-to-add-key-to-elastics-kibana-keystore-via-ansible-script/31833)

<div class="topic-metadata">

**Author:** [@Andreas\_Schampera](https://forum.ansible.com/u/Andreas_Schampera)\
**Replies:** 0\
**Last updated:** [December 17, 2019, 10:38am UTC](https://forum.ansible.com/t/how-to-add-key-to-elastics-kibana-keystore-via-ansible-script/31833 "2019-12-17T10:38:19Z")

</div>

Hi, I am new to ansible and try to automate the installation process of elastic stack. Currently I am stuck while trying to add a key to kibana’s keystore. Directly from bash (no ansible) the following works: bash-4.2…

---

## [Checking whether nested variable is defined in the when statement](https://forum.ansible.com/t/checking-whether-nested-variable-is-defined-in-the-when-statement/31826)

<div class="topic-metadata">

**Author:** [@Emmanuel\_Livingstone](https://forum.ansible.com/u/Emmanuel_Livingstone)\
**Replies:** 2\
**Last updated:** [December 17, 2019, 3:49am UTC](https://forum.ansible.com/t/checking-whether-nested-variable-is-defined-in-the-when-statement/31826 "2019-12-17T03:49:04Z")

</div>

Nested data structures can be accessed either by indexing using the key name or dot syntax with the key name - https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_variables.html#accessing-complex-variable-data B…

---

## [docker\_prune not working with label](https://forum.ansible.com/t/docker-prune-not-working-with-label/31830)

<div class="topic-metadata">

**Author:** [@abin\_stephen](https://forum.ansible.com/u/abin_stephen)\
**Replies:** 8\
**Last updated:** [December 16, 2019, 11:03pm UTC](https://forum.ansible.com/t/docker-prune-not-working-with-label/31830 "2019-12-16T23:03:59Z")

</div>

How we can configure docker\_prune to delete docker images with specific name, I have tried something below and it didt worked can you please help us to fix this | | | | name: Remove unused images …

---

## [Large task Issue](https://forum.ansible.com/t/large-task-issue/31825)

<div class="topic-metadata">

**Author:** [@Aaa\_Bbb](https://forum.ansible.com/u/Aaa_Bbb)\
**Replies:** 5\
**Last updated:** [December 16, 2019, 9:19pm UTC](https://forum.ansible.com/t/large-task-issue/31825 "2019-12-16T21:19:27Z")

</div>

1 playbook, 20 tasks, 10 targets/hosts. On 9 host tasks runs similar time - a couple of minutes. On 1 server 15’th tasks takes 1,5h. After that time last 5 task runs quickly and end result report is produced for whole 10…

---

## [AnsibleAWX && WINRM returns "certificate: the specified credentials were rejected by the server"](https://forum.ansible.com/t/ansibleawx-winrm-returns-certificate-the-specified-credentials-were-rejected-by-the-server/31814)

<div class="topic-metadata">

**Author:** [@Robert\_Rozek](https://forum.ansible.com/u/Robert_Rozek)\
**Replies:** 4\
**Last updated:** [December 16, 2019, 8:43pm UTC](https://forum.ansible.com/t/ansibleawx-winrm-returns-certificate-the-specified-credentials-were-rejected-by-the-server/31814 "2019-12-16T20:43:45Z")

</div>

I have setup Windows remote management as per guidelines from below for the certificate: https://docs.ansible.com/ansible/latest/user\_guide/windows\_winrm.html#certificate So what I have done. Enabled WINRM using the …

---

## [Offline awx installation](https://forum.ansible.com/t/offline-awx-installation/31827)

<div class="topic-metadata">

**Author:** [@Richard\_Klar](https://forum.ansible.com/u/Richard_Klar)\
**Replies:** 1\
**Last updated:** [December 16, 2019, 4:14pm UTC](https://forum.ansible.com/t/offline-awx-installation/31827 "2019-12-16T16:14:28Z")

</div>

I have tried to perform an offline installation. But it fails when it tries to reach a online registry. Is there any one that could give me some tips on how an offline i installation should be done. // Richard

---

## [Powershell Script execution](https://forum.ansible.com/t/powershell-script-execution/31823)

<div class="topic-metadata">

**Author:** [@Vikrant](https://forum.ansible.com/u/Vikrant)\
**Replies:** 3\
**Last updated:** [December 16, 2019, 8:38am UTC](https://forum.ansible.com/t/powershell-script-execution/31823 "2019-12-16T08:38:11Z")

</div>

Hi All, I’m curious if this is possible, At a very high level, for the connectivity testing on different servers, I’ve to follow below steps: Push two Powershell script to each server Run the two PowerShell scripts o…

---

## [fatal: \[localhost\]: FAILED! ansible-playbook](https://forum.ansible.com/t/fatal-localhost-failed-ansible-playbook/31822)

<div class="topic-metadata">

**Author:** [@Veny\_Cycilia](https://forum.ansible.com/u/Veny_Cycilia)\
**Replies:** 0\
**Last updated:** [December 15, 2019, 2:03pm UTC](https://forum.ansible.com/t/fatal-localhost-failed-ansible-playbook/31822 "2019-12-15T14:03:20Z")

</div>

Hi, I have followed the toturial, but an error when running the command ansible-playbook -i localhost, -c local analytics\_single.yml --extra-vars "INSIGHTS\_LMS\_BASE=mysite.org" anyone can help?? fatal: \[localhost\]: F…

---

## [Sql Alwayson Configuration with Ansible module](https://forum.ansible.com/t/sql-alwayson-configuration-with-ansible-module/31806)

<div class="topic-metadata">

**Author:** [@Raviteja\_Jinkala](https://forum.ansible.com/u/Raviteja_Jinkala)\
**Replies:** 4\
**Last updated:** [December 15, 2019, 12:59pm UTC](https://forum.ansible.com/t/sql-alwayson-configuration-with-ansible-module/31806 "2019-12-15T12:59:38Z")

</div>

Hi All, Please suggest if any Ansible module available to configure SQL Alwayson Configuration and Alwayson group creation. Thanks Raviteja

---

## [uri body call needs \[\] instead of {}](https://forum.ansible.com/t/uri-body-call-needs-instead-of/31819)

<div class="topic-metadata">

**Author:** [@Nicholas\_Britton](https://forum.ansible.com/u/Nicholas_Britton)\
**Replies:** 9\
**Last updated:** [December 15, 2019, 5:31am UTC](https://forum.ansible.com/t/uri-body-call-needs-instead-of/31819 "2019-12-15T05:31:58Z")

</div>

I am working on some uri calls with netbackup and with swagger shows that it only works with but the uri modual is using {}. Any thoughts or tricks to get that to format correctly? For example i am sending a body uri b…

---

## [aws\_ec2 and compose option](https://forum.ansible.com/t/aws-ec2-and-compose-option/31808)

<div class="topic-metadata">

**Author:** [@Guy\_Knights1](https://forum.ansible.com/u/Guy_Knights1)\
**Replies:** 1\
**Last updated:** [December 14, 2019, 12:21am UTC](https://forum.ansible.com/t/aws-ec2-and-compose-option/31808 "2019-12-14T00:21:19Z")

</div>

Hi, According to the documentation for the aws\_ec2 plugin, the compose option can be used to create vars when the plugin is executed. I’ve been trying to get this to work with a simple plugin config like so: plugin: a…

---

## [Verify groups in linux server and display the groups doesn't exist using lineinfile module](https://forum.ansible.com/t/verify-groups-in-linux-server-and-display-the-groups-doesnt-exist-using-lineinfile-module/31820)

<div class="topic-metadata">

**Author:** [@Prudhvi1](https://forum.ansible.com/u/Prudhvi1)\
**Replies:** 0\
**Last updated:** [December 13, 2019, 9:59pm UTC](https://forum.ansible.com/t/verify-groups-in-linux-server-and-display-the-groups-doesnt-exist-using-lineinfile-module/31820 "2019-12-13T21:59:04Z")

</div>

I want to search for available groups in the server and print the groups doesn’t exist. - name: Checking if group exist lineinfile: dest: /etc/group line: "{{ item.group }}" check\_mode: yes register: verif…

---

## [Vultr inventory on AWX?](https://forum.ansible.com/t/vultr-inventory-on-awx/30236)

<div class="topic-metadata">

**Author:** [@xtoast](https://forum.ansible.com/u/xtoast)\
**Replies:** 5\
**Last updated:** [December 13, 2019, 6:48pm UTC](https://forum.ansible.com/t/vultr-inventory-on-awx/30236 "2019-12-13T18:48:33Z")

</div>

I’ve used ansible CLI for some time now, and have made use of the Vultr inventory plugin. Now I’m getting started with AWX and I’m stuck on inventory. Is there a way to get the Vultr inventory plugin working with AWX? I…

---

## [Accessing a dictionary item using a variable](https://forum.ansible.com/t/accessing-a-dictionary-item-using-a-variable/31818)

<div class="topic-metadata">

**Author:** [@Spiro\_Mitsialis](https://forum.ansible.com/u/Spiro_Mitsialis)\
**Replies:** 2\
**Last updated:** [December 13, 2019, 3:49pm UTC](https://forum.ansible.com/t/accessing-a-dictionary-item-using-a-variable/31818 "2019-12-13T15:49:21Z")

</div>

I would like to access data in a dictionary by referencing a variable. I have the following dict: \` “vlan\_list”: { “1”: { “id”: “1”, “name”: “Management”, “status”: “active” }, “2”: { “id”: “2”, “name”: “VLAN 2…

---

## [Zeros are truncated from strings. #10281](https://forum.ansible.com/t/zeros-are-truncated-from-strings-10281/31817)

<div class="topic-metadata">

**Author:** [@Dylan\_Humphreys](https://forum.ansible.com/u/Dylan_Humphreys)\
**Replies:** 3\
**Last updated:** [December 13, 2019, 2:33pm UTC](https://forum.ansible.com/t/zeros-are-truncated-from-strings-10281/31817 "2019-12-13T14:33:03Z")

</div>

Im getting that bug happen to me, but Im on 2.9.2 \` % dpkg -l ansible Desired=Unknown/Install/Remove/Purge/Hold

---

## [Enforce AWX 7.0.0+ to use Ansible 2.7](https://forum.ansible.com/t/enforce-awx-7-0-0-to-use-ansible-2-7/31816)

<div class="topic-metadata">

**Author:** [@Dragos\_Andronache](https://forum.ansible.com/u/Dragos_Andronache)\
**Replies:** 0\
**Last updated:** [December 13, 2019, 12:21pm UTC](https://forum.ansible.com/t/enforce-awx-7-0-0-to-use-ansible-2-7/31816 "2019-12-13T12:21:30Z")

</div>

Hi guys! Description: A while ago we implemented AWX in order to manage our configuration jobs in templates. The version we are actually using is version 2.0.1. Starting with version 7.0.0, AWX enforce to use Ansible 2.…

---

## [Besoin d'aide pour Upgrade ansible](https://forum.ansible.com/t/besoin-daide-pour-upgrade-ansible/31813)

<div class="topic-metadata">

**Author:** [@Redhat](https://forum.ansible.com/u/Redhat)\
**Replies:** 3\
**Last updated:** [December 13, 2019, 8:55am UTC](https://forum.ansible.com/t/besoin-daide-pour-upgrade-ansible/31813 "2019-12-13T08:55:20Z")

</div>

Bonjour; Pouvez vous m’aider pour faire la mise à jour d’ansible de 2.7 vers 2.9 svp. je n’ai pas trouver la procédure détaillée pour le faire. Merci par avance

---

## [How do I assign different variable values for different group system](https://forum.ansible.com/t/how-do-i-assign-different-variable-values-for-different-group-system/31815)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 1\
**Last updated:** [December 13, 2019, 12:05am UTC](https://forum.ansible.com/t/how-do-i-assign-different-variable-values-for-different-group-system/31815 "2019-12-13T00:05:43Z")

</div>

Hello, I’m trying to create an Ansible role, networking, to automate /etc/resolv.conf file. I created this role like below: production networking.yml group\_vars/ agroup bgroup roles/ networking/ tasks/main.yml …

---

## [Feature design: add option to synchronize module to pass password on command-line instead of pipes](https://forum.ansible.com/t/feature-design-add-option-to-synchronize-module-to-pass-password-on-command-line-instead-of-pipes/31811)

<div class="topic-metadata">

**Author:** [@Platon\_Pronko](https://forum.ansible.com/u/Platon_Pronko)\
**Replies:** 2\
**Last updated:** [December 12, 2019, 6:59pm UTC](https://forum.ansible.com/t/feature-design-add-option-to-synchronize-module-to-pass-password-on-command-line-instead-of-pipes/31811 "2019-12-12T18:59:25Z")

</div>

Hi! I’m writing regarding this issue: https://github.com/ansible/ansible/issues/56629#issuecomment-559045249 I suggested that I could add an option that will make the password be added to sshpass command command line d…

---

## [supervisord error messages](https://forum.ansible.com/t/supervisord-error-messages/31812)

<div class="topic-metadata">

**Author:** [@Chiku](https://forum.ansible.com/u/Chiku)\
**Replies:** 0\
**Last updated:** [December 12, 2019, 2:16pm UTC](https://forum.ansible.com/t/supervisord-error-messages/31812 "2019-12-12T14:16:31Z")

</div>

Hello With version 9.0.1, I see in awx-web and awx-tasks logs these messages error: 2019-12-12 11:03:00,559 ERRO pool awx-config-watcher event buffer overflowed, discarding event 1190 2019-12-12 11:04:00,554 ERRO pool…

---

## [Failed updating job undefined with variables. POST returned: 500 A server error has occurred](https://forum.ansible.com/t/failed-updating-job-undefined-with-variables-post-returned-500-a-server-error-has-occurred/31809)

<div class="topic-metadata">

**Author:** [@Soniya\_panwar](https://forum.ansible.com/u/Soniya_panwar)\
**Replies:** 1\
**Last updated:** [December 12, 2019, 1:13pm UTC](https://forum.ansible.com/t/failed-updating-job-undefined-with-variables-post-returned-500-a-server-error-has-occurred/31809 "2019-12-12T13:13:16Z")

</div>

Hi I am using AWX 1.0.2 on rhel7.4 and i using ansible v2.4.2. My AWX installattion method is docker on linux. I am facing an issue on AWX GUI while launching the job template: “Failed updating job undefined with varia…

---

## [deploy WAR file in IBM Webshpere application server ND9 (AIX server 7.1)](https://forum.ansible.com/t/deploy-war-file-in-ibm-webshpere-application-server-nd9-aix-server-7-1/31810)

<div class="topic-metadata">

**Author:** [@racke](https://forum.ansible.com/u/racke)\
**Replies:** 0\
**Last updated:** [December 12, 2019, 10:16am UTC](https://forum.ansible.com/t/deploy-war-file-in-ibm-webshpere-application-server-nd9-aix-server-7-1/31810 "2019-12-12T10:16:51Z")

</div>

We are unable to deploy WAR file in IBM Webshpere application server ND9 (AIX server 7.1) through ansible. tasks: name: copying the war file from the existing WAS deployment folder to backup shell: sh wsadmin.sh -use…

---

## [Need help using URI module for a curl command with json body](https://forum.ansible.com/t/need-help-using-uri-module-for-a-curl-command-with-json-body/31765)

<div class="topic-metadata">

**Author:** [@Robert\_Heppe](https://forum.ansible.com/u/Robert_Heppe)\
**Replies:** 6\
**Last updated:** [December 12, 2019, 1:24am UTC](https://forum.ansible.com/t/need-help-using-uri-module-for-a-curl-command-with-json-body/31765 "2019-12-12T01:24:56Z")

</div>

Hi all, I have a working curl command that I’ve been trying to get into an ansible playbook in a testing environment. I’ve found several posts on various forums for similar situations, but not the one I’m working with, …

---

## [Sending JSON through URI module](https://forum.ansible.com/t/sending-json-through-uri-module/31807)

<div class="topic-metadata">

**Author:** [@Junaid\_Farooq](https://forum.ansible.com/u/Junaid_Farooq)\
**Replies:** 2\
**Last updated:** [December 12, 2019, 1:23am UTC](https://forum.ansible.com/t/sending-json-through-uri-module/31807 "2019-12-12T01:23:30Z")

</div>

I am doing this task \` name: Register evercam-media local commit hash local\_action: shell chdir={{local\_media\_dir}} git log --pretty=‘{“sha”:“%h”, “author\_name”:“%an”, “author\_name”:“%ae”, “unix\_timestamp”:“%at”,…

---

## [executing awx api for job template with out inventory](https://forum.ansible.com/t/executing-awx-api-for-job-template-with-out-inventory/30595)

<div class="topic-metadata">

**Author:** [@Ragesh\_R\_pillai](https://forum.ansible.com/u/Ragesh_R_pillai)\
**Replies:** 2\
**Last updated:** [December 11, 2019, 8:34pm UTC](https://forum.ansible.com/t/executing-awx-api-for-job-template-with-out-inventory/30595 "2019-12-11T20:34:18Z")

</div>

We have one application which will call the awx api to triger the job template curl -X POST -d ‘{“inventory”: “4”,“limit”:“\<hostname”}’ -H “Content-Type: application/json” --user : http://localhost/api/v2/job\_templates/…

---

## [Lauching template job via api on custom host (ie. not on an inventory)](https://forum.ansible.com/t/lauching-template-job-via-api-on-custom-host-ie-not-on-an-inventory/31401)

<div class="topic-metadata">

**Author:** [@MrAquilinux](https://forum.ansible.com/u/MrAquilinux)\
**Replies:** 3\
**Last updated:** [December 11, 2019, 8:17pm UTC](https://forum.ansible.com/t/lauching-template-job-via-api-on-custom-host-ie-not-on-an-inventory/31401 "2019-12-11T20:17:22Z")

</div>

Hi all, i don’t know if this is really possibile or i can use tower/awx for this. Anyway, i’d like to setup a trigger on my monitoring system that, if the trigger is fired on a particular host, launches a template/job/p…

---

## [Optimization help](https://forum.ansible.com/t/optimization-help/31805)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 7\
**Last updated:** [December 11, 2019, 5:53pm UTC](https://forum.ansible.com/t/optimization-help/31805 "2019-12-11T17:53:04Z")

</div>

Hi Ansible Gurus, How can I optimize below code ? below is the sufficient code to understand the problem… name: Application item1Conf provisioning include\_tasks: resturlcall.yml with\_items: { name: ‘{{item1Conf}…

---

## [Export and Import certificates in Windows host](https://forum.ansible.com/t/export-and-import-certificates-in-windows-host/31804)

<div class="topic-metadata">

**Author:** [@Vikrant](https://forum.ansible.com/u/Vikrant)\
**Replies:** 0\
**Last updated:** [December 11, 2019, 10:51am UTC](https://forum.ansible.com/t/export-and-import-certificates-in-windows-host/31804 "2019-12-11T10:51:01Z")

</div>

Hi All, I need to create a certificate using giving LB VIP. Can some please advise which module I can use for windows host. the reason I’m asking as then I need to import it using below command: D:\\Java\\JDK1.8\\bin\\k…

---

## [execute ssh-copy-id, if passwdless login not able](https://forum.ansible.com/t/execute-ssh-copy-id-if-passwdless-login-not-able/31802)

<div class="topic-metadata">

**Author:** [@Ganeshwari\_Sk](https://forum.ansible.com/u/Ganeshwari_Sk)\
**Replies:** 3\
**Last updated:** [December 11, 2019, 10:46am UTC](https://forum.ansible.com/t/execute-ssh-copy-id-if-passwdless-login-not-able/31802 "2019-12-11T10:46:51Z")

</div>

in Ansible playbook, I want to do two task, one to check passwdless ssh login is enabled or not, and in another task if passwdless login not abled for the remote host, then execute the ssh-copy-id command. I have writte…

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

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