From 3cc7bb4b415e758786ed04d3b506031cd9f1971b Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 11 Aug 2025 00:33:29 +0200 Subject: Add the bootstrap role to install archlinux w/testing --- roles/bootstrap/meta/argument_specs.yml | 16 ++++++++++++++++ roles/bootstrap/meta/main.yml | 14 ++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 roles/bootstrap/meta/argument_specs.yml create mode 100644 roles/bootstrap/meta/main.yml (limited to 'roles/bootstrap/meta') diff --git a/roles/bootstrap/meta/argument_specs.yml b/roles/bootstrap/meta/argument_specs.yml new file mode 100644 index 0000000..e391e65 --- /dev/null +++ b/roles/bootstrap/meta/argument_specs.yml @@ -0,0 +1,16 @@ +--- +argument_specs: + main: + options: + hostname: + type: "str" + required: true + description: "The distro linux hostname to be configured (will configure if availabe in inventory)" + partition_boot: + type: "dict" + required: true + description: "Check partition_boot argument in role: partition" + partition_root: + type: "dict" + required: true + description: "Check partition_root argument in role: partition" diff --git a/roles/bootstrap/meta/main.yml b/roles/bootstrap/meta/main.yml new file mode 100644 index 0000000..0e12b9a --- /dev/null +++ b/roles/bootstrap/meta/main.yml @@ -0,0 +1,14 @@ +--- +dependencies: + - partition +galaxy_info: + role_name: bootstarp + author: a14m + description: "Install the linux distro on partitioned drive using pacstrap or debootstrap" + company: "kartoffeln.work GmbH." + license: "license MIT" + min_ansible_version: "2.18" + platforms: + - name: ArchLinux + versions: + - all -- cgit v1.2.3