Reputation: 934
Instead of the usual output which shows only status and hostname, how can I also output the value of a host-specific variable that is loaded from inventory.py under the _meta["hostvars"]
key?
Looking for output something like:
TASK [Ping host]
********************************************
ok: [192.168.80.1] foo
ok: [192.168.80.2] bar
ok: [192.168.80.3] foo2
I want this to happen independent of OK/FAILURE/UNREACHABLE task status.
Upvotes: 1
Views: 45