On 19.03.19 03:27, federico montaldo wrote:
> Hi Folks:
>
> I want to know if there is a way to extract from a yaml file the disk
> information in order to pass it into jinja2 template. I got the following:
You can access ansible_facts in a jinja2 template like you would in a
playbook:
{{ ansib
Hi Folks:
I want to know if there is a way to extract from a yaml file the disk
information in order to pass it into jinja2 template. I got the following:
{
"ansible_facts": {
"ansible_disks": [
{
"bootable": false,
"bus_type": "SAS",
"clustered": false,