summaryrefslogtreecommitdiffstats
path: root/roles/hostname/meta
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-08-11 00:32:08 +0200
committerAhmed AbdelHalim <[email protected]>2025-08-11 00:32:08 +0200
commita8b82fdd655cf23b6b1d7cd689d5b859f302fc68 (patch)
treecbca6923b72fd01a83621d283912d4116cd57b25 /roles/hostname/meta
parentde459a3d107f711d279505e55f66b6ea0f2c367d (diff)
Refactor: move hostname into its own role
Diffstat (limited to 'roles/hostname/meta')
-rw-r--r--roles/hostname/meta/argument_specs.yml7
-rw-r--r--roles/hostname/meta/main.yml19
2 files changed, 26 insertions, 0 deletions
diff --git a/roles/hostname/meta/argument_specs.yml b/roles/hostname/meta/argument_specs.yml
new file mode 100644
index 00000000..d74f95e5
--- /dev/null
+++ b/roles/hostname/meta/argument_specs.yml
@@ -0,0 +1,7 @@
+---
+argument_specs:
+ main:
+ options:
+ hostname:
+ type: "str"
+ description: "The distro linux network hostname to be used"
diff --git a/roles/hostname/meta/main.yml b/roles/hostname/meta/main.yml
new file mode 100644
index 00000000..94c03b4d
--- /dev/null
+++ b/roles/hostname/meta/main.yml
@@ -0,0 +1,19 @@
+---
+dependencies: []
+galaxy_info:
+ role_name: hostname
+ author: a14m
+ description: "Configure basic distro hostname"
+ company: "kartoffeln.work GmbH."
+ license: "license MIT"
+ min_ansible_version: "2.18"
+ platforms:
+ - name: ArchLinux
+ versions:
+ - all
+ - name: Ubuntu
+ versions:
+ - noble
+ - name: Debian
+ versions:
+ - bookworm