diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-08-11 00:32:08 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-08-11 00:32:08 +0200 |
| commit | 4a0b46929b130bd539c052db359b351716bf9dd3 (patch) | |
| tree | cbca6923b72fd01a83621d283912d4116cd57b25 /roles/hostname/meta | |
| parent | 077c7721695f01f3daf9d8b702a2f819067e0d07 (diff) | |
Refactor: move hostname into its own role
Diffstat (limited to 'roles/hostname/meta')
| -rw-r--r-- | roles/hostname/meta/argument_specs.yml | 7 | ||||
| -rw-r--r-- | roles/hostname/meta/main.yml | 19 |
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 |
