Files
ansible_samba_tasks/tasks/hostname.yml
Jose 181f2f9a1b refactor ♻️: Refactoring the tasks directory to improve code organization and readability.
The tasks directory has been refactored to separate different roles into their own directories, making it easier to manage and understand the project structure. This change adheres to the guidelines for maintaining clean and organized codebases.
2025-10-09 21:12:04 +02:00

6 lines
182 B
YAML

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