# Archives

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

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

**Page:** 227

---

## [docker-compose still trying to pull repo](https://forum.ansible.com/t/docker-compose-still-trying-to-pull-repo/32211)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 2:05pm UTC](https://forum.ansible.com/t/docker-compose-still-trying-to-pull-repo/32211 "2020-02-12T14:05:09Z")

</div>

Hi guys, idea to fix this error…it’s certificate error? docker-compose -f /u01/awx/tools/docker-compose.yml up -d WARNING: The CURRENT\_UID variable is not set. Defaulting to a blank string. WARNING: The DEV\_DOCKER\_TA…

---

## [Automating LDAP integration of artifactory using ansible](https://forum.ansible.com/t/automating-ldap-integration-of-artifactory-using-ansible/32198)

<div class="topic-metadata">

**Author:** [@Vishal\_Bobade](https://forum.ansible.com/u/Vishal_Bobade)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 12:59pm UTC](https://forum.ansible.com/t/automating-ldap-integration-of-artifactory-using-ansible/32198 "2020-02-12T12:59:40Z")

</div>

Hi, could some one help me in understanding if the below yaml code can be used in ansible-playbook to achieve the automation of LDAP integration. security: #Security configuration (LDAP, SAML, Password Policy, ...) l…

---

## [How to use group\_vars in ansible templates](https://forum.ansible.com/t/how-to-use-group-vars-in-ansible-templates/32189)

<div class="topic-metadata">

**Author:** [@Bala\_Mutyam](https://forum.ansible.com/u/Bala_Mutyam)\
**Replies:** 4\
**Last updated:** [February 12, 2020, 12:54pm UTC](https://forum.ansible.com/t/how-to-use-group-vars-in-ansible-templates/32189 "2020-02-12T12:54:23Z")

</div>

Hi there, Could someone help me with how to template this config like below please? cluster\_formation.classic\_config.nodes.1 = rabbit@rabbitmq-1 cluster\_formation.classic\_config.nodes.2 = rabbit@rabbitmq-2 cluster\_fo…

---

## [use rules from different git repos/locations](https://forum.ansible.com/t/use-rules-from-different-git-repos-locations/32208)

<div class="topic-metadata">

**Author:** [@sanctc](https://forum.ansible.com/u/sanctc)\
**Replies:** 2\
**Last updated:** [February 12, 2020, 12:31pm UTC](https://forum.ansible.com/t/use-rules-from-different-git-repos-locations/32208 "2020-02-12T12:31:39Z")

</div>

Hi Folks, Can I use roles from several different git repos/locations to single ansible? e.g.

---

## [Announcing AWX 9.2.0](https://forum.ansible.com/t/announcing-awx-9-2-0/32210)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 0\
**Last updated:** [February 12, 2020, 11:25am UTC](https://forum.ansible.com/t/announcing-awx-9-2-0/32210 "2020-02-12T11:25:24Z")

</div>

Hey everyone, We’re happy to announce a new version of AWX, 9.2.0. Here are some of the notable changes from the official changelog (https://github.com/ansible/awx/blob/devel/CHANGELOG.md): Added the ability to confi…

---

## [Adding body: to uri: task results in Status code was -1 and not \[200\]: An unknown error occurred: unhashable type](https://forum.ansible.com/t/adding-body-to-uri-task-results-in-status-code-was-1-and-not-200-an-unknown-error-occurred-unhashable-type/32209)

<div class="topic-metadata">

**Author:** [@Stephen\_Elves](https://forum.ansible.com/u/Stephen_Elves)\
**Replies:** 0\
**Last updated:** [February 12, 2020, 7:34am UTC](https://forum.ansible.com/t/adding-body-to-uri-task-results-in-status-code-was-1-and-not-200-an-unknown-error-occurred-unhashable-type/32209 "2020-02-12T07:34:08Z")

</div>

Hi, Tearing what little hair I have left: This is the fragment of the playbook: name: create new RE if RE doesn’t exist uri: url: https://api.eu.cloud.talend.com/tmc/v1.3/runtimes/remote-engines method: POST head…

---

## [how can i have my windows instances to use IP address instead of dns name?](https://forum.ansible.com/t/how-can-i-have-my-windows-instances-to-use-ip-address-instead-of-dns-name/32196)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 2\
**Last updated:** [February 11, 2020, 11:57pm UTC](https://forum.ansible.com/t/how-can-i-have-my-windows-instances-to-use-ip-address-instead-of-dns-name/32196 "2020-02-11T23:57:05Z")

</div>

Hello, how can i have my windows instances to use IP address instead of dns name? it works with my Linux instances but windows.

---

## [Strange deprecation warning wanting me to turn an equality statement into something that returns a boolean?](https://forum.ansible.com/t/strange-deprecation-warning-wanting-me-to-turn-an-equality-statement-into-something-that-returns-a-boolean/32191)

<div class="topic-metadata">

**Author:** [@Kurtis\_Rainbolt-Gre1](https://forum.ansible.com/u/Kurtis_Rainbolt-Gre1)\
**Replies:** 4\
**Last updated:** [February 11, 2020, 11:52pm UTC](https://forum.ansible.com/t/strange-deprecation-warning-wanting-me-to-turn-an-equality-statement-into-something-that-returns-a-boolean/32191 "2020-02-11T23:52:06Z")

</div>

\[DEPRECATION WARNING\]: evaluating node\_leader\_hostname == service\_fqdn.stdout as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL\_BARE\_VA…

---

## [When var1 == "yes" and var2 == "no"](https://forum.ansible.com/t/when-var1-yes-and-var2-no/32205)

<div class="topic-metadata">

**Author:** [@kzersatz](https://forum.ansible.com/u/kzersatz)\
**Replies:** 3\
**Last updated:** [February 11, 2020, 9:34pm UTC](https://forum.ansible.com/t/when-var1-yes-and-var2-no/32205 "2020-02-11T21:34:05Z")

</div>

So, I’m having fits with when conditionals matching strings No matter what I do, it applies each conditional, the combination of the variables doesn’t seem to count for … anything. what the heck am I doing wrong? addi…

---

## [How do I include another playbook in current playbook?](https://forum.ansible.com/t/how-do-i-include-another-playbook-in-current-playbook/32031)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 4\
**Last updated:** [February 11, 2020, 9:31pm UTC](https://forum.ansible.com/t/how-do-i-include-another-playbook-in-current-playbook/32031 "2020-02-11T21:31:51Z")

</div>

Hello, I created a playbook which needs to call another playbook. This is my current playbook:

---

## [Upgrading from previous version as of 9.1.0](https://forum.ansible.com/t/upgrading-from-previous-version-as-of-9-1-0/31927)

<div class="topic-metadata">

**Author:** [@dpowell](https://forum.ansible.com/u/dpowell)\
**Replies:** 7\
**Last updated:** [February 11, 2020, 7:48pm UTC](https://forum.ansible.com/t/upgrading-from-previous-version-as-of-9-1-0/31927 "2020-02-11T19:48:48Z")

</div>

I noticed there was a section added to the install doc as of 9.1.0. Does anyone know if the upgrade process retains existing data? Is it only from 9.1.0 to the next version or can you upgrade from say 7.0.0 to 9.1.0 usin…

---

## [How to fix warning message conditional statements should not include jinja2 templating delimiters](https://forum.ansible.com/t/how-to-fix-warning-message-conditional-statements-should-not-include-jinja2-templating-delimiters/32203)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 1\
**Last updated:** [February 11, 2020, 7:26pm UTC](https://forum.ansible.com/t/how-to-fix-warning-message-conditional-statements-should-not-include-jinja2-templating-delimiters/32203 "2020-02-11T19:26:04Z")

</div>

How do I make changes to the below complex when condition without breaking the code in order to address the warning. - debug: msg: "Hi" when: entrycurrdb.stdout.find("{{ hostvars\['localhost'\]\['BASEPATH\_FINAL'\] }}/{{ va…

---

## [win\_domain\_group\_membership](https://forum.ansible.com/t/win-domain-group-membership/32190)

<div class="topic-metadata">

**Author:** [@kzersatz](https://forum.ansible.com/u/kzersatz)\
**Replies:** 4\
**Last updated:** [February 11, 2020, 5:50pm UTC](https://forum.ansible.com/t/win-domain-group-membership/32190 "2020-02-11T17:50:50Z")

</div>

Hey Folks, I’ve got a couple of specific questions about win\_domain\_group\_membership. I can find where support was backported to 2.8, and where its listed as supported in 2.9 (same post: https://github.com/ansible/ansi…

---

## [How to split a json key containing a colon into 2 keys](https://forum.ansible.com/t/how-to-split-a-json-key-containing-a-colon-into-2-keys/32175)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 2\
**Last updated:** [February 11, 2020, 5:39pm UTC](https://forum.ansible.com/t/how-to-split-a-json-key-containing-a-colon-into-2-keys/32175 "2020-02-11T17:39:06Z")

</div>

I receive some json data which sometimes start with the first key within “json\_data” variable containing a ‘:’, such as: \` “json\_data”: { “key1:key2”: { “key3”: \[ “value31”, “value32”, “…” \] } } \` The goal is…

---

## [use binascii.unhexlify() in Jinja2 template](https://forum.ansible.com/t/use-binascii-unhexlify-in-jinja2-template/32204)

<div class="topic-metadata">

**Author:** [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Replies:** 0\
**Last updated:** [February 11, 2020, 5:32pm UTC](https://forum.ansible.com/t/use-binascii-unhexlify-in-jinja2-template/32204 "2020-02-11T17:32:48Z")

</div>

HI! I'm using stat task to let ansible calculate the SHA-512 checksum of a file on the managed node \[1\] which returns hex-encoded hash values. Now I have to convert the checksum to bytes prior to base64-encoding this…

---

## [simple problem has me stumped](https://forum.ansible.com/t/simple-problem-has-me-stumped/32194)

<div class="topic-metadata">

**Author:** [@Tony\_Walsh](https://forum.ansible.com/u/Tony_Walsh)\
**Replies:** 2\
**Last updated:** [February 11, 2020, 3:13pm UTC](https://forum.ansible.com/t/simple-problem-has-me-stumped/32194 "2020-02-11T15:13:14Z")

</div>

I have a simple scenario that fails, but I can’t figure out why. Here’s the command line invocation and the result: \[root@cluster-mgmt tasks\]# ansible-playbook -i ./hosts main.yml PLAY \[CLUSTERS team downtime orchestra…

---

## [Unable to connect to postgres with pgadmin](https://forum.ansible.com/t/unable-to-connect-to-postgres-with-pgadmin/32202)

<div class="topic-metadata">

**Author:** [@r4f](https://forum.ansible.com/u/r4f)\
**Replies:** 0\
**Last updated:** [February 11, 2020, 1:41pm UTC](https://forum.ansible.com/t/unable-to-connect-to-postgres-with-pgadmin/32202 "2020-02-11T13:41:15Z")

</div>

ISSUE TYPE- Bug Report SUMMARY Unable to connect to postgres (docker container) with pgadmin ENVIRONMENT- AWX version: 9.1.1 AWX install method: docker Ansible version: 2.8.5 Operating System: CentOS 7 Web Browser: Chr…

---

## [Jinja2 template loop with JSON](https://forum.ansible.com/t/jinja2-template-loop-with-json/32201)

<div class="topic-metadata">

**Author:** [@Juergen\_Hofer](https://forum.ansible.com/u/Juergen_Hofer)\
**Replies:** 2\
**Last updated:** [February 11, 2020, 12:45pm UTC](https://forum.ansible.com/t/jinja2-template-loop-with-json/32201 "2020-02-11T12:45:50Z")

</div>

Hello all, I am a Network Engineer and Ansible is relative new for me. At the moment I am trying to build a template with “JSON” as source. See below. The template should do the follwing (hopefully you get the idea). …

---

## [LDAP Authentication is failing.](https://forum.ansible.com/t/ldap-authentication-is-failing/32199)

<div class="topic-metadata">

**Author:** [@Ekta\_Dhussa](https://forum.ansible.com/u/Ekta_Dhussa)\
**Replies:** 2\
**Last updated:** [February 11, 2020, 12:16pm UTC](https://forum.ansible.com/t/ldap-authentication-is-failing/32199 "2020-02-11T12:16:40Z")

</div>

Trying to configure LDAP Authentication. But it is throwing error as Failed to save settings. Returned status=500 A server error has occured.

---

## [Okta SAML setup with AWX 9.0.1](https://forum.ansible.com/t/okta-saml-setup-with-awx-9-0-1/32192)

<div class="topic-metadata">

**Author:** [@Alex\_Pilon](https://forum.ansible.com/u/Alex_Pilon)\
**Replies:** 2\
**Last updated:** [February 11, 2020, 12:09pm UTC](https://forum.ansible.com/t/okta-saml-setup-with-awx-9-0-1/32192 "2020-02-11T12:09:33Z")

</div>

Hi everyone, Been trying to setup Okta SAML authentication in AWX 9.0.1 and it keeps redirecting me to /#/login with a RelayState error, and I’m getting a bit confused. Here’s my redacted Identity Provider configuratio…

---

## [Unable to add label to Job Template](https://forum.ansible.com/t/unable-to-add-label-to-job-template/32200)

<div class="topic-metadata">

**Author:** [@r4f](https://forum.ansible.com/u/r4f)\
**Replies:** 0\
**Last updated:** [February 11, 2020, 12:08pm UTC](https://forum.ansible.com/t/unable-to-add-label-to-job-template/32200 "2020-02-11T12:08:00Z")

</div>

Hi everyone, I’m using AWX 9.1.1 and I’m facing an issue in Job Template. I’m unable to add a label to my JT (I have 403 (Forbidden) “You do not have permission to perform this action”) My user is member of a team and …

---

## [How to ron SQL stored Procedures with Ansible](https://forum.ansible.com/t/how-to-ron-sql-stored-procedures-with-ansible/32149)

<div class="topic-metadata">

**Author:** [@Jeff\_Knights](https://forum.ansible.com/u/Jeff_Knights)\
**Replies:** 1\
**Last updated:** [February 11, 2020, 11:35am UTC](https://forum.ansible.com/t/how-to-ron-sql-stored-procedures-with-ansible/32149 "2020-02-11T11:35:55Z")

</div>

How do I get ansible to run a folder full of SQL stored procedures on a remote sql server? any help would be appreciated.

---

## [aws ec2 attach snapshot ansible playbook error  message](https://forum.ansible.com/t/aws-ec2-attach-snapshot-ansible-playbook-error-message/32197)

<div class="topic-metadata">

**Author:** [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Replies:** 1\
**Last updated:** [February 11, 2020, 8:36am UTC](https://forum.ansible.com/t/aws-ec2-attach-snapshot-ansible-playbook-error-message/32197 "2020-02-11T08:36:53Z")

</div>

Dear all: I have some problem I don’t know I attach ebs from snapshot but attach show error message please help thanks. fatal: \[localhost\]: FAILED! =\> { “msg”: “The task includes an option with an undefined variable. …

---

## [Switch to root user using dzdo](https://forum.ansible.com/t/switch-to-root-user-using-dzdo/32173)

<div class="topic-metadata">

**Author:** [@Jeremy\_Njock](https://forum.ansible.com/u/Jeremy_Njock)\
**Replies:** 12\
**Last updated:** [February 11, 2020, 7:27am UTC](https://forum.ansible.com/t/switch-to-root-user-using-dzdo/32173 "2020-02-11T07:27:52Z")

</div>

I have an ansible playblook running some tasks for my user, which I log in through ssh. The user has root privileges by running following command in the terminal: dzdo su - It’s actually the only way (no sudo, no root…

---

## [Updating software on cluster nodes without dropping traffic on those nodes](https://forum.ansible.com/t/updating-software-on-cluster-nodes-without-dropping-traffic-on-those-nodes/32170)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar1](https://forum.ansible.com/u/Rahul_Kumar1)\
**Replies:** 5\
**Last updated:** [February 11, 2020, 6:48am UTC](https://forum.ansible.com/t/updating-software-on-cluster-nodes-without-dropping-traffic-on-those-nodes/32170 "2020-02-11T06:48:55Z")

</div>

Hi Ansible Gurus, I need some suggestions for performing online opeations on a cluster. Problem : I have a 5 nodes cluster set up by Ansible . All nodes of cluster carrying some network traffic. Now I want to update a…

---

## [nmcli module seems broken.  Documention mentions old libraries for CentOS8/RHEL8](https://forum.ansible.com/t/nmcli-module-seems-broken-documention-mentions-old-libraries-for-centos8-rhel8/32167)

<div class="topic-metadata">

**Author:** [@matzuba](https://forum.ansible.com/u/matzuba)\
**Replies:** 6\
**Last updated:** [February 11, 2020, 2:05am UTC](https://forum.ansible.com/t/nmcli-module-seems-broken-documention-mentions-old-libraries-for-centos8-rhel8/32167 "2020-02-11T02:05:26Z")

</div>

I am trying to use the nmcli module to set DNS server and other network related configuration rather than using templates Is it still broken? should i give up on this module? the module dependencies mention an old libr…

---

## [Apache NiFi ansible script](https://forum.ansible.com/t/apache-nifi-ansible-script/32195)

<div class="topic-metadata">

**Author:** [@Nishu\_Sinha](https://forum.ansible.com/u/Nishu_Sinha)\
**Replies:** 1\
**Last updated:** [February 10, 2020, 10:34pm UTC](https://forum.ansible.com/t/apache-nifi-ansible-script/32195 "2020-02-10T22:34:13Z")

</div>

Hi I need some help in ansible scripting for Apache NiFi with\_items: - { src: 'templates/activity-history.properties.j2', dest: '/opt/cts/nifi/conf/activity-history.properties' } - { src: 'templates/nifi.properties…

---

## [Not able to ssh on fortigate from ansible](https://forum.ansible.com/t/not-able-to-ssh-on-fortigate-from-ansible/32187)

<div class="topic-metadata">

**Author:** [@Bharat\_Bhushan\_Mehta](https://forum.ansible.com/u/Bharat_Bhushan_Mehta)\
**Replies:** 0\
**Last updated:** [February 10, 2020, 10:40am UTC](https://forum.ansible.com/t/not-able-to-ssh-on-fortigate-from-ansible/32187 "2020-02-10T10:40:03Z")

</div>

Hi Team, I am trying to take config backup of fortigate vm which is having version v6.2.3 using ansible, while doing this i am getting below error:- The full traceback is: WARNING: The below traceback may not be relat…

---

## [Elastic Beanstalk module](https://forum.ansible.com/t/elastic-beanstalk-module/32186)

<div class="topic-metadata">

**Author:** [@Giles\_Westwood](https://forum.ansible.com/u/Giles_Westwood)\
**Replies:** 0\
**Last updated:** [February 10, 2020, 10:31am UTC](https://forum.ansible.com/t/elastic-beanstalk-module/32186 "2020-02-10T10:31:00Z")

</div>

The current module in Ansible:- https://docs.ansible.com/ansible/latest/modules/aws\_elasticbeanstalk\_app\_module.html#aws-elasticbeanstalk-app-module Doesn’t seem to do much that’s useful, without a version or environme…

---

## [Ansible module with Python replace string in multiple files](https://forum.ansible.com/t/ansible-module-with-python-replace-string-in-multiple-files/32184)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 0\
**Last updated:** [February 10, 2020, 9:08am UTC](https://forum.ansible.com/t/ansible-module-with-python-replace-string-in-multiple-files/32184 "2020-02-10T09:08:24Z")

</div>

Hi all, I’m new to Ansible module with Python needed some help for below scenario; we have windows\_config.yml defined all variable in this file, like target\_disk: 'D:'have to find all \*ResponseFile.txt in folder in tha…

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

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