# Latest

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

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

**Page:** 400

---

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

---

## [dynamic load yaml using include\_vars and use these vars later](https://forum.ansible.com/t/dynamic-load-yaml-using-include-vars-and-use-these-vars-later/32231)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 2\
**Last updated:** [February 15, 2020, 1:08am UTC](https://forum.ansible.com/t/dynamic-load-yaml-using-include-vars-and-use-these-vars-later/32231 "2020-02-15T01:08:50Z")

</div>

I have dozens of yaml files , and I want to use these yaml files as vars in playbook. so I try to dynamic load vars like aaa.yaml , bbb.yaml,ccc.yaml name: get all yaml files name shell: find /home/yaml -name \*.yam…

---

## [Docker container is not starting on ubuntu 18.0 ver for ansible. Any idea?](https://forum.ansible.com/t/docker-container-is-not-starting-on-ubuntu-18-0-ver-for-ansible-any-idea/32229)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 10:46pm UTC](https://forum.ansible.com/t/docker-container-is-not-starting-on-ubuntu-18-0-ver-for-ansible-any-idea/32229 "2020-02-14T22:46:02Z")

</div>

Docker container is not starting on ubuntu 18.0 ver for ansible. Any idea? TASK \[local\_docker : Start the containers\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible - Wacom Tablet](https://forum.ansible.com/t/ansible-wacom-tablet/32237)

<div class="topic-metadata">

**Author:** [@J\_Driz](https://forum.ansible.com/u/J_Driz)\
**Replies:** 1\
**Last updated:** [February 14, 2020, 10:06pm UTC](https://forum.ansible.com/t/ansible-wacom-tablet/32237 "2020-02-14T22:06:25Z")

</div>

Hi, Im trying to turn off a wacom tablet’s touch:

---

## [timout-playbook for ubuntu after reboot](https://forum.ansible.com/t/timout-playbook-for-ubuntu-after-reboot/32224)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 2\
**Last updated:** [February 14, 2020, 6:28pm UTC](https://forum.ansible.com/t/timout-playbook-for-ubuntu-after-reboot/32224 "2020-02-14T18:28:52Z")

</div>

Hi, can someone please explain why my playbook for instance timeout after a reboot: /dev/null 2\>&1 && sleep 0’ The full traceback is: WARNING: The below traceback may not be related to the actual failure. File “/tmp/…

---

## [AWX error on webpage "A server error has occurred."](https://forum.ansible.com/t/awx-error-on-webpage-a-server-error-has-occurred/32236)

<div class="topic-metadata">

**Author:** [@Kurt\_Mitchell](https://forum.ansible.com/u/Kurt_Mitchell)\
**Replies:** 0\
**Last updated:** [February 14, 2020, 3:18pm UTC](https://forum.ansible.com/t/awx-error-on-webpage-a-server-error-has-occurred/32236 "2020-02-14T15:18:31Z")

</div>

Hello! I’m an novice to Linux and Ansible, and am trying to expand my skill set. I’ve been playing around with Ansible for a little while, and decided we wanted to explore AWX to see about expanding the use for Ansible.…

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

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