summaryrefslogtreecommitdiffstats
path: root/roles/ag/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-18 21:39:40 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-18 21:39:40 +0100
commit03f0e7c569c828e1ef314528d8e4f1a3909974b0 (patch)
tree743525db5f68c8211cc4fcb7dfae043c1c250eb5 /roles/ag/tasks
parent37cde904c097879331fd978032bf3898f16413ee (diff)
Add ag role w/testing
Diffstat (limited to 'roles/ag/tasks')
-rw-r--r--roles/ag/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/ag/tasks/main.yml b/roles/ag/tasks/main.yml
new file mode 100644
index 00000000..37171d32
--- /dev/null
+++ b/roles/ag/tasks/main.yml
@@ -0,0 +1,9 @@
+---
+- name: "Include OS-specific variables"
+ ansible.builtin.include_vars: "{{ ansible_os_family | lower }}.yml"
+
+- name: "Ensure the silver searcher (ag) is installed"
+ become: true
+ ansible.builtin.package:
+ name: "{{ ag_package }}"
+ state: "present"