Ansible
How to get a hold of the hostname from inventory file?
Archives
Ansible Project
ansible-project
Serge_van_Ginderacht
(Serge van Ginderachter)
October 8, 2014, 1:59pm
1
that would be the special var inventory_hostname
Related topics
Topic
Replies
Views
Activity
Get host name from inventory on remote host?
Ansible Project
4
1
May 2, 2012
How to access host inventory file entry from playbook?
Ansible Project
2
0
September 11, 2013
Inventory hostname as variable ?
Ansible Project
3
0
September 27, 2012
{{ inventory_hostname }} variable
Ansible Project
3
0
December 1, 2015
How to use variables set in inventory file for the hostname /group
Ansible Project
0
0
June 24, 2019