I have included a variable from a different Ansible .yml
file. How do I print that variable to STDOUT
in my playbook?
Here is an example playbook to show what I am trying to achieve:
---
- hosts: host1
var_files: configure.yml
tasks:
- name: Print to stdout
action: {{build}}.stdout
build is the variable which is included from another yml file