diff options
Diffstat (limited to 'roles/linux_headers')
| -rw-r--r-- | roles/linux_headers/meta/argument_specs.yml | 6 | ||||
| -rw-r--r-- | roles/linux_headers/meta/main.yml | 17 | ||||
| -rw-r--r-- | roles/linux_headers/tasks/main.yml | 6 |
3 files changed, 29 insertions, 0 deletions
diff --git a/roles/linux_headers/meta/argument_specs.yml b/roles/linux_headers/meta/argument_specs.yml new file mode 100644 index 00000000..f4ece4b7 --- /dev/null +++ b/roles/linux_headers/meta/argument_specs.yml @@ -0,0 +1,6 @@ +--- +argument_specs: + main: + short_description: "Install linux-headers on Linux distribution" + description: "Install linux-headers on Linux distribution" + options: {} diff --git a/roles/linux_headers/meta/main.yml b/roles/linux_headers/meta/main.yml new file mode 100644 index 00000000..f2598464 --- /dev/null +++ b/roles/linux_headers/meta/main.yml @@ -0,0 +1,17 @@ +--- +dependencies: [] +galaxy_info: + author: "a14m" + description: "Install linux-headers" + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" + - name: "Ubuntu" + versions: + - "noble" + - name: "Debian" + versions: + - "bookworm" diff --git a/roles/linux_headers/tasks/main.yml b/roles/linux_headers/tasks/main.yml new file mode 100644 index 00000000..454e4af8 --- /dev/null +++ b/roles/linux_headers/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- name: "Ensure linux-headers is installed" + become: true + ansible.builtin.package: + name: "linux-headers" + state: "present" |
