summaryrefslogtreecommitdiffstats
path: root/roles/gcc/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-20 22:01:54 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-20 22:01:54 +0200
commit068198fd661b1414e3b13d418200650f5705be4a (patch)
tree10f7a729f3593ff0fd6286160c2afd641adc59ec /roles/gcc/tasks
parentd619aadae27f2d98782651760dc75b81a20dfd81 (diff)
Move gcc to it's own role and add it as homebrew dependency
Diffstat (limited to 'roles/gcc/tasks')
-rw-r--r--roles/gcc/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/gcc/tasks/main.yml b/roles/gcc/tasks/main.yml
new file mode 100644
index 00000000..92cb96dd
--- /dev/null
+++ b/roles/gcc/tasks/main.yml
@@ -0,0 +1,9 @@
+---
+- name: "Include OS-specific variables"
+ ansible.builtin.include_vars: "{{ ansible_os_family | lower }}.yml"
+
+- name: "Ensure gcc is installed"
+ become: true
+ ansible.builtin.package:
+ name: "{{ gcc_package }}"
+ state: "present"