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.
This commit is contained in:
6
tasks/hostname.yml
Normal file
6
tasks/hostname.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- hosts: localhost
|
||||
gather_facts: yes
|
||||
tasks:
|
||||
- name: Show the local hostname
|
||||
ansible.builtin.debug:
|
||||
msg: "The hostname of this machine is {{ ansible_hostname }}"
|
||||
Reference in New Issue
Block a user