# Archives

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

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

**Page:** 225

---

## [AWX Installation Failing!](https://forum.ansible.com/t/awx-installation-failing/28047)

<div class="topic-metadata">

**Author:** [@Ram\_V](https://forum.ansible.com/u/Ram_V)\
**Replies:** 3\
**Last updated:** [February 19, 2020, 5:25pm UTC](https://forum.ansible.com/t/awx-installation-failing/28047 "2020-02-19T17:25:10Z")

</div>

Hi, I installed docker, docker-py, ansible and cloned AWX. When i try to install AWX, I am getting below error. Any help will be appreciated. Thank you. TASK \[local\_docker : Activate postgres container\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Obfuscate password in the Ansible Vault](https://forum.ansible.com/t/obfuscate-password-in-the-ansible-vault/32275)

<div class="topic-metadata">

**Author:** [@Jeremy\_Njock](https://forum.ansible.com/u/Jeremy_Njock)\
**Replies:** 1\
**Last updated:** [February 19, 2020, 3:28pm UTC](https://forum.ansible.com/t/obfuscate-password-in-the-ansible-vault/32275 "2020-02-19T15:28:56Z")

</div>

Hi, My playbook installs Docker on a remote server, and logs in on a docker registry by using user credentials, specified by following task \` name: Log into FIS registry docker\_login: registry: my-company-docker-re…

---

## [AWX Install in Openshift Failing: "msg": "template error while templating string: no test named 'version'. String: {{ 'apps/v1' if kube\_api\_version is version('1.9', '\>=') else 'apps/v1beta1' }}"](https://forum.ansible.com/t/awx-install-in-openshift-failing-msg-template-error-while-templating-string-no-test-named-version-string-apps-v1-if-kube-api-version-is-version-1-9-else-apps-v1beta1/32238)

<div class="topic-metadata">

**Author:** [@Parashar\_Singh](https://forum.ansible.com/u/Parashar_Singh)\
**Replies:** 2\
**Last updated:** [February 19, 2020, 3:10pm UTC](https://forum.ansible.com/t/awx-install-in-openshift-failing-msg-template-error-while-templating-string-no-test-named-version-string-apps-v1-if-kube-api-version-is-version-1-9-else-apps-v1beta1/32238 "2020-02-19T15:10:01Z")

</div>

Can someone please advise, how to fix this issue while installing AWX in Openshift 3.9? I’m getting following error: TASK \[kubernetes : Determine StatefulSet api version\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [remote\_src and template\_host not working in template module for me](https://forum.ansible.com/t/remote-src-and-template-host-not-working-in-template-module-for-me/32272)

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 0\
**Last updated:** [February 19, 2020, 2:02pm UTC](https://forum.ansible.com/t/remote-src-and-template-host-not-working-in-template-module-for-me/32272 "2020-02-19T14:02:32Z")

</div>

Hello, pleaes use the appropriate places for support questions. This mailing list is for discussions on the development of Ansible. You might want to try https://groups.google.com/forum/#!forum/ansible-project instea…

---

## [retrieving the inventory name from the job template](https://forum.ansible.com/t/retrieving-the-inventory-name-from-the-job-template/32264)

<div class="topic-metadata">

**Author:** [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Replies:** 5\
**Last updated:** [February 19, 2020, 1:24pm UTC](https://forum.ansible.com/t/retrieving-the-inventory-name-from-the-job-template/32264 "2020-02-19T13:24:22Z")

</div>

Hi Ansible/AWX Community! I’m working on a project that builds an on-premesis virtual machine then adds it to a tower inventory. I have a job template that runs against “Inventory X”. How can I retrieve the name of the…

---

## [Cannot filter with from\_json](https://forum.ansible.com/t/cannot-filter-with-from-json/32261)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 6\
**Last updated:** [February 19, 2020, 12:41pm UTC](https://forum.ansible.com/t/cannot-filter-with-from-json/32261 "2020-02-19T12:41:52Z")

</div>

Hi Team, I’m encountered some issue with set\_facts from variable with json and for this reason I’m tried to understand this. To reproduce this case I’m using the example from here : playbooks filters \` tasks shell:…

---

## [Ansible - Router ACL changes](https://forum.ansible.com/t/ansible-router-acl-changes/32266)

<div class="topic-metadata">

**Author:** [@ilayavpl](https://forum.ansible.com/u/ilayavpl)\
**Replies:** 4\
**Last updated:** [February 19, 2020, 11:55am UTC](https://forum.ansible.com/t/ansible-router-acl-changes/32266 "2020-02-19T11:55:59Z")

</div>

Router ACL Changes - Ansible playbook Execution – While updating the below Router ACL changes in router, The playbook execution status was changed, but the changes are not replicated in Router and not getting any error …

---

## [Ansible roles and tasks](https://forum.ansible.com/t/ansible-roles-and-tasks/32268)

<div class="topic-metadata">

**Author:** [@Amarnatha\_Reddy](https://forum.ansible.com/u/Amarnatha_Reddy)\
**Replies:** 1\
**Last updated:** [February 19, 2020, 11:38am UTC](https://forum.ansible.com/t/ansible-roles-and-tasks/32268 "2020-02-19T11:38:05Z")

</div>

Hi All, I am planning to implement Ansible to do some tasks as per my requirement! Need ansible project structure guidance to process mix of roles and tasks. Tasks: Deploy the .zip file into server After deploy clea…

---

## [Doubt regarding loops and conditionals](https://forum.ansible.com/t/doubt-regarding-loops-and-conditionals/32257)

<div class="topic-metadata">

**Author:** [@Nuno\_Jordao](https://forum.ansible.com/u/Nuno_Jordao)\
**Replies:** 6\
**Last updated:** [February 19, 2020, 11:37am UTC](https://forum.ansible.com/t/doubt-regarding-loops-and-conditionals/32257 "2020-02-19T11:37:18Z")

</div>

Hello, I have a doubt regarding loops and conditionals that maybe someone can make it clear to me. In the documentation is stated that: “When combining Conditionals with a loop, the when: statement is processed separa…

---

## [New tool: nanvault - the Ansible crypto utility you are looking for](https://forum.ansible.com/t/new-tool-nanvault-the-ansible-crypto-utility-you-are-looking-for/32270)

<div class="topic-metadata">

**Author:** [@Marco\_Bellaccini](https://forum.ansible.com/u/Marco_Bellaccini)\
**Replies:** 0\
**Last updated:** [February 19, 2020, 11:28am UTC](https://forum.ansible.com/t/new-tool-nanvault-the-ansible-crypto-utility-you-are-looking-for/32270 "2020-02-19T11:28:47Z")

</div>

Hi, I've just released nanvault - a smart, standalone crypto tool compatible with the Ansible Vault format. Hope you'll enjoy it: https://github.com/marcobellaccini/nanvault https://asciinema.org/a/302642 Cheers Ma…

---

## [not able to run playbook in ansible 2.9.2](https://forum.ansible.com/t/not-able-to-run-playbook-in-ansible-2-9-2/32265)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 1\
**Last updated:** [February 19, 2020, 8:01am UTC](https://forum.ansible.com/t/not-able-to-run-playbook-in-ansible-2-9-2/32265 "2020-02-19T08:01:34Z")

</div>

I wrote a simple plabook to test ansible\_play\_name hosts: localhost tasks: name: ref playname debug: msg: ansible\_play\_name I can run the playbook in ansible 2.8 , but get an error in ansible 2.9.2 ansible 2.…

---

## [deployment failing in ansible](https://forum.ansible.com/t/deployment-failing-in-ansible/32262)

<div class="topic-metadata">

**Author:** [@Nishu\_Sinha](https://forum.ansible.com/u/Nishu_Sinha)\
**Replies:** 3\
**Last updated:** [February 18, 2020, 3:56pm UTC](https://forum.ansible.com/t/deployment-failing-in-ansible/32262 "2020-02-18T15:56:15Z")

</div>

Hi I am getting the below error when i am trying to deploy the application NCS via Jenkins using ansible scripts | | TASK \[ncs-ansible : Run install.sh\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* task path: /aut…

---

## [Ansible when logic to determine whether to use yum or dnf to install packages on ansible\_os\_family='RedHat'](https://forum.ansible.com/t/ansible-when-logic-to-determine-whether-to-use-yum-or-dnf-to-install-packages-on-ansible-os-family-redhat/32260)

<div class="topic-metadata">

**Author:** [@Donald\_Jones](https://forum.ansible.com/u/Donald_Jones)\
**Replies:** 3\
**Last updated:** [February 18, 2020, 2:51pm UTC](https://forum.ansible.com/t/ansible-when-logic-to-determine-whether-to-use-yum-or-dnf-to-install-packages-on-ansible-os-family-redhat/32260 "2020-02-18T14:51:11Z")

</div>

Hi, Up until now I’ve been making a logic decision with my ansible roles based upon the ansible\_os\_family, to run the appropriate module for yum (‘RedHat’) or apt (‘Debian’). With the introduction of CentOS 8, dnf has …

---

## [List of hosts by MacAdress + Connexion if computer is in standby](https://forum.ansible.com/t/list-of-hosts-by-macadress-connexion-if-computer-is-in-standby/32247)

<div class="topic-metadata">

**Author:** [@Test\_Deux](https://forum.ansible.com/u/Test_Deux)\
**Replies:** 3\
**Last updated:** [February 18, 2020, 12:05pm UTC](https://forum.ansible.com/t/list-of-hosts-by-macadress-connexion-if-computer-is-in-standby/32247 "2020-02-18T12:05:35Z")

</div>

Hello, I am considering using Ansible to achieve a certain goal, but as I get more informed, I feel that Ansible may not be the right tool. Unless, perhaps, I missed some information? Result sought: Use Ansible to qui…

---

## [aws\_s3 - not sure if I understand how to use](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32259)

<div class="topic-metadata">

**Author:** [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Replies:** 1\
**Last updated:** [February 18, 2020, 4:06am UTC](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32259 "2020-02-18T04:06:04Z")

</div>

Hello: my role for learning is: s3-create.yml \` name: Create S3 Bucket aws\_s3: bucket: my-bucket mode: create permission: private-read region: us-east-1 \` This piece of code looks good. my playbook: \` ke…

---

## [Ansible-variable containing double quotes changed](https://forum.ansible.com/t/ansible-variable-containing-double-quotes-changed/32249)

<div class="topic-metadata">

**Author:** [@Barun\_kumar](https://forum.ansible.com/u/Barun_kumar)\
**Replies:** 3\
**Last updated:** [February 18, 2020, 2:12am UTC](https://forum.ansible.com/t/ansible-variable-containing-double-quotes-changed/32249 "2020-02-18T02:12:43Z")

</div>

When I assign a variable containing double quotes to another variable the double quotes (") sometimes get converted to single quotes ('). .can you please suggest how to solve this. TASK \[asm\_pdb\_disk\_mapping : debug\] \*\*…

---

## [Unable to restart auditd service on centos7](https://forum.ansible.com/t/unable-to-restart-auditd-service-on-centos7/32251)

<div class="topic-metadata">

**Author:** [@Bala\_Mutyam](https://forum.ansible.com/u/Bala_Mutyam)\
**Replies:** 6\
**Last updated:** [February 18, 2020, 1:47am UTC](https://forum.ansible.com/t/unable-to-restart-auditd-service-on-centos7/32251 "2020-02-18T01:47:53Z")

</div>

Hi all, Anisble Version: ansible 2.7.7 I’m configuring auditd on centos7 but the auditd service is failing to restart. Handler: name: centos7 restart auditd become: yes command: service auditd restart Error: FAI…

---

## [Ansible Create vSphere Virtual Machine](https://forum.ansible.com/t/ansible-create-vsphere-virtual-machine/32252)

<div class="topic-metadata">

**Author:** [@David\_Foley](https://forum.ansible.com/u/David_Foley)\
**Replies:** 5\
**Last updated:** [February 17, 2020, 7:29pm UTC](https://forum.ansible.com/t/ansible-create-vsphere-virtual-machine/32252 "2020-02-17T19:29:04Z")

</div>

Ansible playbook fails to deploy Virtual Machine: Can’t Find Folder How can I deploy a Virtual machine without any Folders within the Cluster ?

---

## [aws\_s3 - not sure if I understand how to use](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32255)

<div class="topic-metadata">

**Author:** [@Amit\_Kulkarni](https://forum.ansible.com/u/Amit_Kulkarni)\
**Replies:** 2\
**Last updated:** [February 17, 2020, 6:42pm UTC](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32255 "2020-02-17T18:42:39Z")

</div>

Ansible supports S3 and all the operations supported by S3 API. You have to make sure that you have access to AWS CLI and also install python boto. This is the framework used for calling AWS API via ansible. Also make …

---

## [aws\_s3 - not sure if I understand how to use](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32256)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [February 17, 2020, 6:22pm UTC](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32256 "2020-02-17T18:22:04Z")

</div>

I now see that the error you’re getting isn’t from the aws\_s3 taks that you posted. Instead it’s from an ec2 task - that you did NOT provide. This is quite frustrating - next time provide ALL the information and not le…

---

## [Inventory source Microsoft Azure Resource Manager is not working](https://forum.ansible.com/t/inventory-source-microsoft-azure-resource-manager-is-not-working/32244)

<div class="topic-metadata">

**Author:** [@Pini\_Vaknin](https://forum.ansible.com/u/Pini_Vaknin)\
**Replies:** 3\
**Last updated:** [February 17, 2020, 6:08pm UTC](https://forum.ansible.com/t/inventory-source-microsoft-azure-resource-manager-is-not-working/32244 "2020-02-17T18:08:48Z")

</div>

Inventory sync for Azure is not working, both the script and the inventory plugin are providing very limited info after the error. Attached logs from plugin error. AWX 9.2.0 Ansible 2.9.3 K8s deployment on AKS (atta…

---

## [aws\_s3 - not sure if I understand how to use](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32248)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [February 17, 2020, 6:08pm UTC](https://forum.ansible.com/t/aws-s3-not-sure-if-i-understand-how-to-use/32248 "2020-02-17T18:08:06Z")

</div>

As you are beginning with ansible, start with the simplest option, which is just a single playbook file, and don't bother with roles yet. Something like this should already work to create a bucket: - hosts: localhost …

---

## [Connecting Radware cli](https://forum.ansible.com/t/connecting-radware-cli/32253)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 0\
**Last updated:** [February 17, 2020, 4:29pm UTC](https://forum.ansible.com/t/connecting-radware-cli/32253 "2020-02-17T16:29:10Z")

</div>

Hi, Has anyone connected Cli of Radware(Loadbalancer device) using Ansible? Thanks, Raj

---

## [How to gather kernel parameters of remote hosts](https://forum.ansible.com/t/how-to-gather-kernel-parameters-of-remote-hosts/32250)

<div class="topic-metadata">

**Author:** [@Vikrant\_Agarwal](https://forum.ansible.com/u/Vikrant_Agarwal)\
**Replies:** 3\
**Last updated:** [February 17, 2020, 2:31pm UTC](https://forum.ansible.com/t/how-to-gather-kernel-parameters-of-remote-hosts/32250 "2020-02-17T14:31:41Z")

</div>

How to i collect remote hosts kernel parameters using ansible. I’m looking to below type collect info of remote hosts . setup module doesn’t collect this info . And sysctl module is to edit , can i use sysctl module jus…

---

## [The Complete Guide to using AppViewX and Ansible for NetOps and DevSecOps Orchestration](https://forum.ansible.com/t/the-complete-guide-to-using-appviewx-and-ansible-for-netops-and-devsecops-orchestration/32246)

<div class="topic-metadata">

**Author:** [@Vidhya\_Kumar](https://forum.ansible.com/u/Vidhya_Kumar)\
**Replies:** 0\
**Last updated:** [February 17, 2020, 9:19am UTC](https://forum.ansible.com/t/the-complete-guide-to-using-appviewx-and-ansible-for-netops-and-devsecops-orchestration/32246 "2020-02-17T09:19:08Z")

</div>

Download the complete guide to using AppViewX and Ansible for NetOps and DevSecOps Orchsetration

---

## [KEY: VALUE iterations](https://forum.ansible.com/t/key-value-iterations/32217)

<div class="topic-metadata">

**Author:** [@Anand\_Solomon](https://forum.ansible.com/u/Anand_Solomon)\
**Replies:** 20\
**Last updated:** [February 16, 2020, 1:37pm UTC](https://forum.ansible.com/t/key-value-iterations/32217 "2020-02-16T13:37:00Z")

</div>

Hi, What is the best way to loop the below KEY : VALUE ? main.yml var\_files: /home/ansible/sqlvar.yml name: Script oracle\_sql: sql: {{Value}} environment: “{{oracle\_env}}” register: query\_result connection:…

---

## [run task in a sorted manner](https://forum.ansible.com/t/run-task-in-a-sorted-manner/32243)

<div class="topic-metadata">

**Author:** [@sandkan](https://forum.ansible.com/u/sandkan)\
**Replies:** 3\
**Last updated:** [February 16, 2020, 12:35pm UTC](https://forum.ansible.com/t/run-task-in-a-sorted-manner/32243 "2020-02-16T12:35:16Z")

</div>

Playbook is running task on wrong node: I have two nodes and this task has to run on a specific one and not the other, as well as only running once. I have tried adding a sort() like this: {{ansible\_play\_batch | join(’ …

---

## [Get a value from a fact from type type](https://forum.ansible.com/t/get-a-value-from-a-fact-from-type-type/32242)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 4\
**Last updated:** [February 15, 2020, 7:08pm UTC](https://forum.ansible.com/t/get-a-value-from-a-fact-from-type-type/32242 "2020-02-15T19:08:23Z")

</div>

I have a fact hostUUid when I display it with the following debug command \` name: debug uuid debug: msg: “{{ hostUUid | type\_debug }}” “{{ hostUUid }}” \` I get the following result: ok: \[localhost\] =\> { "msg": \[ …

---

## [include\_vars in folders](https://forum.ansible.com/t/include-vars-in-folders/32240)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 3\
**Last updated:** [February 15, 2020, 9:42am UTC](https://forum.ansible.com/t/include-vars-in-folders/32240 "2020-02-15T09:42:39Z")

</div>

according to https://docs.ansible.com/ansible/2.5/modules/include\_vars\_module.html this task should load all yaml files in /home/yaml/users and assign to var ‘users’ name: load yaml using include\_vars with dir incl…

---

## [debug ansible](https://forum.ansible.com/t/debug-ansible/32239)

<div class="topic-metadata">

**Author:** [@ansible\_Iac](https://forum.ansible.com/u/ansible_Iac)\
**Replies:** 0\
**Last updated:** [February 15, 2020, 1:36am UTC](https://forum.ansible.com/t/debug-ansible/32239 "2020-02-15T01:36:33Z")

</div>

I am trying to create a playbook that creates user in linux and I have declared my variables as a dictionary's type user\_data but when I run it I have the following error : FAILED! =\> { "assertion": "ansible\_failed\_res…

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

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