# Latest

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

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

**Page:** 463

---

## [print free space for mount](https://forum.ansible.com/t/print-free-space-for-mount/30237)

<div class="topic-metadata">

**Author:** [@Nicholas\_Britton](https://forum.ansible.com/u/Nicholas_Britton)\
**Replies:** 1\
**Last updated:** [May 8, 2019, 7:18pm UTC](https://forum.ansible.com/t/print-free-space-for-mount/30237 "2019-05-08T19:18:58Z")

</div>

I am trying to print the free space for a mount that an application needs to have x free on. Once i can do that i would look at adding actions based on that, but i would also like to the user running the play to know if …

---

## [run a task when a play gets skipped by all hosts](https://forum.ansible.com/t/run-a-task-when-a-play-gets-skipped-by-all-hosts/30200)

<div class="topic-metadata">

**Author:** [@IP\_Freely](https://forum.ansible.com/u/IP_Freely)\
**Replies:** 1\
**Last updated:** [May 8, 2019, 6:49pm UTC](https://forum.ansible.com/t/run-a-task-when-a-play-gets-skipped-by-all-hosts/30200 "2019-05-08T18:49:10Z")

</div>

Hi all I have a playbook that checks 2 servers for log entrys, below is what is expected when it runs correctly: (part of the playbook below)

---

## [Ansible + F5](https://forum.ansible.com/t/ansible-f5/30281)

<div class="topic-metadata">

**Author:** [@renato.marcandier](https://forum.ansible.com/u/renato.marcandier)\
**Replies:** 3\
**Last updated:** [May 8, 2019, 4:17pm UTC](https://forum.ansible.com/t/ansible-f5/30281 "2019-05-08T16:17:10Z")

</div>

Hello all, I am in a project with Ansible and F5 and I was checking this article about best practices for structure and groups → https://support.f5.com/csp/article/K35276063 I was hoping they would have best practices f…

---

## [Playbook using host groups: Notify slack on failure and fail entire playbook](https://forum.ansible.com/t/playbook-using-host-groups-notify-slack-on-failure-and-fail-entire-playbook/30284)

<div class="topic-metadata">

**Author:** [@AllenJB](https://forum.ansible.com/u/AllenJB)\
**Replies:** 0\
**Last updated:** [May 8, 2019, 3:45pm UTC](https://forum.ansible.com/t/playbook-using-host-groups-notify-slack-on-failure-and-fail-entire-playbook/30284 "2019-05-08T15:45:41Z")

</div>

Hi, I’m working on an Ansible (2.7.9) playbook ( https://gist.github.com/AllenJB/09f54224a8731467548391e0f093ad33 ) to deploy our project via AWX (4.0.0 via docker) and I’m currently trying to achieve the following: T…

---

## [Can Ansible Re-Install an application which was provisioned using Ansible and then removed manually?](https://forum.ansible.com/t/can-ansible-re-install-an-application-which-was-provisioned-using-ansible-and-then-removed-manually/30282)

<div class="topic-metadata">

**Author:** [@Omkar](https://forum.ansible.com/u/Omkar)\
**Replies:** 2\
**Last updated:** [May 8, 2019, 3:34pm UTC](https://forum.ansible.com/t/can-ansible-re-install-an-application-which-was-provisioned-using-ansible-and-then-removed-manually/30282 "2019-05-08T15:34:09Z")

</div>

Hello, I’m totally new to Ansible so please pardon me for my silly question. The question that I have is, can Ansible monitor a system/vm and detect whether an application/program (like tomcat/java/nginx) which was pro…

---

## [Create a variable that contains other variable values with labels](https://forum.ansible.com/t/create-a-variable-that-contains-other-variable-values-with-labels/30250)

<div class="topic-metadata">

**Author:** [@mark.tovey](https://forum.ansible.com/u/mark.tovey)\
**Replies:** 2\
**Last updated:** [May 8, 2019, 2:50pm UTC](https://forum.ansible.com/t/create-a-variable-that-contains-other-variable-values-with-labels/30250 "2019-05-08T14:50:30Z")

</div>

I have a list: list1 value1 value2 and I want to use set\_fact create a new variable that contains these variables with a label in front of them, so that this debug task: debug: msg: “{{var1}}” would…

---

## [vmware - add new guest to VM group](https://forum.ansible.com/t/vmware-add-new-guest-to-vm-group/30283)

<div class="topic-metadata">

**Author:** [@deewon](https://forum.ansible.com/u/deewon)\
**Replies:** 0\
**Last updated:** [May 8, 2019, 2:27pm UTC](https://forum.ansible.com/t/vmware-add-new-guest-to-vm-group/30283 "2019-05-08T14:27:42Z")

</div>

Hi, Not sure if anyone has ever tried to do this: I’m trying to add a VM in ESXi to a specific VM group in a cluster. I stumbled on vmware\_vm\_vm\_drs\_rule\_module.html which seems to try to do the job but looks more like …

---

## [Ansible-Vault remove key file after playbook start](https://forum.ansible.com/t/ansible-vault-remove-key-file-after-playbook-start/30280)

<div class="topic-metadata">

**Author:** [@user14](https://forum.ansible.com/u/user14)\
**Replies:** 0\
**Last updated:** [May 8, 2019, 8:20am UTC](https://forum.ansible.com/t/ansible-vault-remove-key-file-after-playbook-start/30280 "2019-05-08T08:20:20Z")

</div>

Hi! Just don’t know where to post feature requests/suggestions, so I’ve decided to post it here. How about additional key to ansible-playbook binary which will tell Ansible to delete vault password file right after sta…

---

## [ANSIBLE and CYBERARK AIM](https://forum.ansible.com/t/ansible-and-cyberark-aim/30279)

<div class="topic-metadata">

**Author:** [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Replies:** 0\
**Last updated:** [May 8, 2019, 5:36am UTC](https://forum.ansible.com/t/ansible-and-cyberark-aim/30279 "2019-05-08T05:36:38Z")

</div>

Hello, I am trying to secure my ansible server with help of AIM , For that i gathered this info : 1\> Setup AIM client at Ansible 2\>integrate AIM client to Cyberark vault Would appreciate suggestions/walkthroughs/docs…

---

## [Network stack](https://forum.ansible.com/t/network-stack/30275)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 4\
**Last updated:** [May 8, 2019, 5:04am UTC](https://forum.ansible.com/t/network-stack/30275 "2019-05-08T05:04:47Z")

</div>

Hi Team, Is network stack consider as single node license in ansible tower? for eg I have network stack contains 4 switches. I need to understand whether have to buy license for four switches or single license is enough…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/30267)

<div class="topic-metadata">

**Author:** [@Gopal\_Dhapa](https://forum.ansible.com/u/Gopal_Dhapa)\
**Replies:** 4\
**Last updated:** [May 8, 2019, 2:31am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/30267 "2019-05-08T02:31:20Z")

</div>

Hello Team, How to see centos server host name using ansible. Please suggest Thanks in advance. Thank you Gopal Dhapa

---

## [Request your help](https://forum.ansible.com/t/request-your-help/30215)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 1\
**Last updated:** [May 8, 2019, 12:38am UTC](https://forum.ansible.com/t/request-your-help/30215 "2019-05-08T00:38:06Z")

</div>

Hi All, I am trying to store the output of the ansible task into MySQL database, at present i am able to store the output of the task which does not contain with\_items , but not able to store the data for the task which…

---

## [Shell module output from playboot is lesster than ansible adhoc shell output](https://forum.ansible.com/t/shell-module-output-from-playboot-is-lesster-than-ansible-adhoc-shell-output/30219)

<div class="topic-metadata">

**Author:** [@palani\_b](https://forum.ansible.com/u/palani_b)\
**Replies:** 2\
**Last updated:** [May 8, 2019, 12:34am UTC](https://forum.ansible.com/t/shell-module-output-from-playboot-is-lesster-than-ansible-adhoc-shell-output/30219 "2019-05-08T00:34:53Z")

</div>

Am facing this this weird issue. Am getting less no of lines output for Shell module in playbook where getting full output in ansible adhoc for the same commands. Playbook output: “HOSTNAME - ansiblevm2”, “DATE - Tue …

---

## [Append shell script output on remote server](https://forum.ansible.com/t/append-shell-script-output-on-remote-server/30227)

<div class="topic-metadata">

**Author:** [@Rahul\_Kolan](https://forum.ansible.com/u/Rahul_Kolan)\
**Replies:** 1\
**Last updated:** [May 8, 2019, 12:30am UTC](https://forum.ansible.com/t/append-shell-script-output-on-remote-server/30227 "2019-05-08T00:30:52Z")

</div>

In Ansible is there any way i can append the shell script out to in one file. basically I have script which does some validation like services status up after the OS upgrade. I want to execute the script on remote mach…

---

## [Is there any way to get parsed data from stdout of each task on playbook?](https://forum.ansible.com/t/is-there-any-way-to-get-parsed-data-from-stdout-of-each-task-on-playbook/14803)

<div class="topic-metadata">

**Author:** [@Jinsik\_Kim](https://forum.ansible.com/u/Jinsik_Kim)\
**Replies:** 6\
**Last updated:** [May 7, 2019, 9:46pm UTC](https://forum.ansible.com/t/is-there-any-way-to-get-parsed-data-from-stdout-of-each-task-on-playbook/14803 "2019-05-07T21:46:17Z")

</div>

Hi, I am a newbie in this wonderful tool Ansible. I made a playbook script to test it. But I found that sometimes I need to parse the stdout of each task. For instance name : run and get the result in JSON format o…

---

## [Error in awe docker while sending ansible awe job run data to Splunk](https://forum.ansible.com/t/error-in-awe-docker-while-sending-ansible-awe-job-run-data-to-splunk/30277)

<div class="topic-metadata">

**Author:** [@Abhinav\_anand](https://forum.ansible.com/u/Abhinav_anand)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 9:04pm UTC](https://forum.ansible.com/t/error-in-awe-docker-while-sending-ansible-awe-job-run-data-to-splunk/30277 "2019-05-07T21:04:26Z")

</div>

Have you guys seen this ? Looks like some key error but I am not figure out why 2019-05-07 02:36:21,194 WARNING awx.main.dispatch detail: Traceback (most recent call last): File “/var/lib/awx/venv/awx/lib64/python3.6/s…

---

## [connect without dns or /etc/hosts" resolution](https://forum.ansible.com/t/connect-without-dns-or-etc-hosts-resolution/30274)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 2:11pm UTC](https://forum.ansible.com/t/connect-without-dns-or-etc-hosts-resolution/30274 "2019-05-07T14:11:33Z")

</div>

i have a dynamic inventory script which outputs the following. \` “NODE\_A”: { “inventory\_hostname”: “10.0.2.6”, “inventory\_lparname”: “NODE\_A” } \` the nodes are not resolvable via dns or something as this network i…

---

## [problem in AWX reinstallation](https://forum.ansible.com/t/problem-in-awx-reinstallation/30271)

<div class="topic-metadata">

**Author:** [@Michael\_Alexander](https://forum.ansible.com/u/Michael_Alexander)\
**Replies:** 2\
**Last updated:** [May 7, 2019, 9:06am UTC](https://forum.ansible.com/t/problem-in-awx-reinstallation/30271 "2019-05-07T09:06:37Z")

</div>

Dear friends, I have a problem when i tried to reinstall AWX in the docker way. I was trying to change the password of the awx superuser but when the installation finished AWX maintain the last password. How I can solv…

---

## [Using jinja macros in tasks templates](https://forum.ansible.com/t/using-jinja-macros-in-tasks-templates/30272)

<div class="topic-metadata">

**Author:** [@user19](https://forum.ansible.com/u/user19)\
**Replies:** 1\
**Last updated:** [May 6, 2019, 6:16pm UTC](https://forum.ansible.com/t/using-jinja-macros-in-tasks-templates/30272 "2019-05-06T18:16:36Z")

</div>

Hi! The case is, I want to define some simple jinja macros, to simplify some common filters / conditionals combinations without using python directly (my point is: supporting those tasks is easier for my team than suppo…

---

## [Local docker test runner](https://forum.ansible.com/t/local-docker-test-runner/30212)

<div class="topic-metadata">

**Author:** [@user19](https://forum.ansible.com/u/user19)\
**Replies:** 5\
**Last updated:** [May 6, 2019, 4:19pm UTC](https://forum.ansible.com/t/local-docker-test-runner/30212 "2019-05-06T16:19:52Z")

</div>

Hi! Is there an easy way to run ansible unittests and integration tests locally before push? Some kind of preconfigured docker container with all deps installed?

---

## [Rebuild awx\_task image with custom options](https://forum.ansible.com/t/rebuild-awx-task-image-with-custom-options/30269)

<div class="topic-metadata">

**Author:** [@cristian.fernandez](https://forum.ansible.com/u/cristian.fernandez)\
**Replies:** 1\
**Last updated:** [May 6, 2019, 2:45pm UTC](https://forum.ansible.com/t/rebuild-awx-task-image-with-custom-options/30269 "2019-05-06T14:45:44Z")

</div>

Hi all. Im newbie in dokcer and i want know how i can rebuild the awx\_task image with dns options ndots to 1.

---

## [Including roles dynamically make dependencies runs multiple time](https://forum.ansible.com/t/including-roles-dynamically-make-dependencies-runs-multiple-time/30255)

<div class="topic-metadata">

**Author:** [@Bleacks](https://forum.ansible.com/u/Bleacks)\
**Replies:** 2\
**Last updated:** [May 6, 2019, 10:58am UTC](https://forum.ansible.com/t/including-roles-dynamically-make-dependencies-runs-multiple-time/30255 "2019-05-06T10:58:01Z")

</div>

Hello everyone, (this is my first post BTW, I’ll try to be as clear as possible) I want to include roles dynamically using this bit of code in my playbook.yml : \` tasks: name: “Including roles dynamically” remote\_…

---

## [Configuring huawei NE series devices using ansible.](https://forum.ansible.com/t/configuring-huawei-ne-series-devices-using-ansible/30268)

<div class="topic-metadata">

**Author:** [@vicky.singh](https://forum.ansible.com/u/vicky.singh)\
**Replies:** 0\
**Last updated:** [May 6, 2019, 7:33am UTC](https://forum.ansible.com/t/configuring-huawei-ne-series-devices-using-ansible/30268 "2019-05-06T07:33:01Z")

</div>

Hey, I see that there are modules available for huawei ce series devices but i couldn’t find any for NE series devices. Is using netconf commands (netconf\_config, netconf\_rpc, netconf\_get) my only option ?

---

## [socket.timout() while connecting to a junos devices via network\_cli](https://forum.ansible.com/t/socket-timout-while-connecting-to-a-junos-devices-via-network-cli/30240)

<div class="topic-metadata">

**Author:** [@vicky.singh](https://forum.ansible.com/u/vicky.singh)\
**Replies:** 2\
**Last updated:** [May 6, 2019, 7:30am UTC](https://forum.ansible.com/t/socket-timout-while-connecting-to-a-junos-devices-via-network-cli/30240 "2019-05-06T07:30:35Z")

</div>

I was exploring ansible and the first step i tried was getting some information from a router (a virtual gns3 image). I am able to connect to the device using ssh, get into it’s cli and run commands normally but not via…

---

## [Merge variables (dicts, lists) with same names from different yml files](https://forum.ansible.com/t/merge-variables-dicts-lists-with-same-names-from-different-yml-files/30119)

<div class="topic-metadata">

**Author:** [@Frank\_Fllr](https://forum.ansible.com/u/Frank_Fllr)\
**Replies:** 2\
**Last updated:** [May 5, 2019, 4:45pm UTC](https://forum.ansible.com/t/merge-variables-dicts-lists-with-same-names-from-different-yml-files/30119 "2019-05-05T16:45:51Z")

</div>

Hi, I need to loop over a directory with yml files all containing the same variable names (dicts, list, simple vars) e.g. ---- file1.yml ---- serviceconf: document: xxx: “{{ ansible\_hostname }}”:8080 proxyconf: /…

---

## [How to install Ansible with Windows 10 (Operating System)](https://forum.ansible.com/t/how-to-install-ansible-with-windows-10-operating-system/22637)

<div class="topic-metadata">

**Author:** [@Satish](https://forum.ansible.com/u/Satish)\
**Replies:** 7\
**Last updated:** [May 5, 2019, 5:33am UTC](https://forum.ansible.com/t/how-to-install-ansible-with-windows-10-operating-system/22637 "2019-05-05T05:33:12Z")

</div>

Hello Community, I m very new to Ansible environment. I have decided to develop a networking project with Ansible. Because Ansible is simplast and is much cleaner because it automates the process of getting context befo…

---

## [Enabling delegate\_to on include\_role via block](https://forum.ansible.com/t/enabling-delegate-to-on-include-role-via-block/30266)

<div class="topic-metadata">

**Author:** [@Tim\_Diels](https://forum.ansible.com/u/Tim_Diels)\
**Replies:** 3\
**Last updated:** [May 4, 2019, 11:38pm UTC](https://forum.ansible.com/t/enabling-delegate-to-on-include-role-via-block/30266 "2019-05-04T23:38:56Z")

</div>

Hi, I noticed that while: include\_role: name: myrole delegate\_to: somehost will not delegate the included role, this will: block: include\_role: name: myrole delegate\_to: somehost Is this by design, i.e. I may …

---

## [Need help on how to generate a configuration file and use it to start my client](https://forum.ansible.com/t/need-help-on-how-to-generate-a-configuration-file-and-use-it-to-start-my-client/30178)

<div class="topic-metadata">

**Author:** [@Des\_Sindatry](https://forum.ansible.com/u/Des_Sindatry)\
**Replies:** 2\
**Last updated:** [May 4, 2019, 2:20pm UTC](https://forum.ansible.com/t/need-help-on-how-to-generate-a-configuration-file-and-use-it-to-start-my-client/30178 "2019-05-04T14:20:01Z")

</div>

Hello, I have a configuration file which i need to generate using ansible. The key question is how to generate this file ? what module can i use ? example: There are close to 25 lines like this which i have to generat…

---

## [ERROR! Syntax Error while loading YAML.   mapping values are not allowed in this context](https://forum.ansible.com/t/error-syntax-error-while-loading-yaml-mapping-values-are-not-allowed-in-this-context/30256)

<div class="topic-metadata">

**Author:** [@opitz](https://forum.ansible.com/u/opitz)\
**Replies:** 2\
**Last updated:** [May 4, 2019, 2:14pm UTC](https://forum.ansible.com/t/error-syntax-error-while-loading-yaml-mapping-values-are-not-allowed-in-this-context/30256 "2019-05-04T14:14:43Z")

</div>

I have the following playbook:

---

## [leftover on AMI after using Ansible with Packer](https://forum.ansible.com/t/leftover-on-ami-after-using-ansible-with-packer/30249)

<div class="topic-metadata">

**Author:** [@Wawrzek\_Niewodniczan](https://forum.ansible.com/u/Wawrzek_Niewodniczan)\
**Replies:** 1\
**Last updated:** [May 4, 2019, 2:11pm UTC](https://forum.ansible.com/t/leftover-on-ami-after-using-ansible-with-packer/30249 "2019-05-04T14:11:03Z")

</div>

Hello, I use Ansible to configure OS which is base for Packer to create AMI for AWS and disk image for Azure. AMI bases on Amazon Linux and Azure image on Ubuntu image. The whole process works fine, however somehow o…

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

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