Files
ansible_samba_tasks/tasks/hostname.yml
T

6 lines
182 B
YAML
Raw Normal View History

- hosts: localhost
gather_facts: yes
tasks:
- name: Show the local hostname
ansible.builtin.debug:
msg: "The hostname of this machine is {{ ansible_hostname }}"