Saved Bookmarks
| 1. |
How Do I See All The Inventory Vars Defined For My Host? |
|
Answer» You can SEE the resulting VARS you DEFINE in inventory running the FOLLOWING command: ansible -m DEBUG -a "var=hostvars['hostname']" localhost. You can see the resulting vars you define in inventory running the following command: ansible -m debug -a "var=hostvars['hostname']" localhost. |
|