# Latest

**URL:** https://forum.ansible.com/latest.md?page=414

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

**Page:** 415

---

## [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…

---

## [Create custom plugin for running in ansible server](https://forum.ansible.com/t/create-custom-plugin-for-running-in-ansible-server/31803)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 0\
**Last updated:** [December 11, 2019, 10:45am UTC](https://forum.ansible.com/t/create-custom-plugin-for-running-in-ansible-server/31803 "2019-12-11T10:45:49Z")

</div>

Hey Dear, I would like to know if exists plugin, filter, module, then always running in ansible server, not necessary to specify delegate\_to or local\_action. If exists, which is and how work?

---

## [AWX 7.0.0 install not working properly](https://forum.ansible.com/t/awx-7-0-0-install-not-working-properly/31790)

<div class="topic-metadata">

**Author:** [@Cary\_Snyder](https://forum.ansible.com/u/Cary_Snyder)\
**Replies:** 2\
**Last updated:** [December 11, 2019, 9:29am UTC](https://forum.ansible.com/t/awx-7-0-0-install-not-working-properly/31790 "2019-12-11T09:29:31Z")

</div>

I had to re-install my awx instance. So I wiped everything (rm db) and ran the install scripts. This isn’t working properly. There was no admin user created. No demo templates and tokens aren’t working properly. Any advi…

---

## [AWX installation using docker-compose with python3](https://forum.ansible.com/t/awx-installation-using-docker-compose-with-python3/31797)

<div class="topic-metadata">

**Author:** [@Rahul\_Rawat](https://forum.ansible.com/u/Rahul_Rawat)\
**Replies:** 1\
**Last updated:** [December 11, 2019, 9:27am UTC](https://forum.ansible.com/t/awx-installation-using-docker-compose-with-python3/31797 "2019-12-11T09:27:20Z")

</div>

Hi, After installation AWX on centos 8 on VM created on Hyper-v getting below error. But when I used same command on VM created on AWS it’s working fine. Using /etc/ansible/ansible.cfg as config file 127.0.0.1 | FAILE…

---

## [Could not find or access template file](https://forum.ansible.com/t/could-not-find-or-access-template-file/31632)

<div class="topic-metadata">

**Author:** [@morten\_hoffmann](https://forum.ansible.com/u/morten_hoffmann)\
**Replies:** 5\
**Last updated:** [December 11, 2019, 8:10am UTC](https://forum.ansible.com/t/could-not-find-or-access-template-file/31632 "2019-12-11T08:10:05Z")

</div>

hi I’m trying to setup a linux service on remote host I have my file in template folder . ├── group\_vars │ ├── artefacts\_conf.yml │ ├── jdk\_wl\_conf.yml │ ├── configuration\_conf.yml ├── hosts └── templates ├── n…

---

## [using assert in ansible](https://forum.ansible.com/t/using-assert-in-ansible/31801)

<div class="topic-metadata">

**Author:** [@evnflow](https://forum.ansible.com/u/evnflow)\
**Replies:** 2\
**Last updated:** [December 10, 2019, 7:57pm UTC](https://forum.ansible.com/t/using-assert-in-ansible/31801 "2019-12-10T19:57:57Z")

</div>

I have a playbook and I am using the following assertion assert: that: ( (disk\_usage|float)/mount.size\_total ) \< disk\_limit|float msg: “Disk usage {{ disk\_usage\_ratio\_s }} exceeds {{ disk\_limit\_ratio\_s }}” any\_errors…

[Previous page](https://forum.ansible.com/latest.md?page=413)

[Next page](https://forum.ansible.com/latest.md?page=415)
