additional course material RH294
Olaf Bohlen
2020-08-20 1de6236f80a879ca110981fe0e5c0c05c521225b
commit | author | age
8b8624 1 ---
SU 2 - name: complex demo of magic var
3   hosts: server
4   become: true
5   tasks:
6     - name: "dump hostvars"
7       debug:
8         msg: '{{ hostvars["servera"]["ansible_facts"]["fqdn"] }}'