diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-24 20:28:03 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-24 20:28:03 +0100 |
| commit | e1acbb9225197f3910fb3a84009773564c47297f (patch) | |
| tree | 41945b8ba8e7dd916a25123bf240d4ae3dc96599 /roles/linux_headers | |
| parent | 2750789cd67985d049d40ce2fbd89864e95d50d3 (diff) | |
Fix nvidia role to setup the correct driver to GTX1060
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" |
