Ansible
playbooks with no gatherfacts and using fqdn
Archives
Ansible Project
ansible-project
Kai_Stian_Olstad
(Kai Stian Olstad)
August 7, 2019, 5:39pm
1
{{ inventory_hostname }} or {{ ansible_host }} depending on how your inventory.
Related topics
Topic
Replies
Views
Activity
FQDN in playbook but not in inventory file - skipping: no hosts matched
Ansible Project
0
0
July 20, 2017
Ansible facts help (ansible_fqdn)
Ansible Project
12
0
November 25, 2014
Need help with playbook to gather info from inventory and direct to a file
Ansible Project
1
0
October 25, 2017
How to get a hold of the hostname from inventory file?
Ansible Project
ansible-project
0
1
October 8, 2014
ansible inventory name: "{{ inventory_hostname }}"
Ansible Project
1
0
April 12, 2017