summaryrefslogtreecommitdiffstats
path: root/roles/git-crypt
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-18 17:40:40 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-18 17:42:20 +0100
commit9aa1383cb314e987a90323dfb49731512a73c30a (patch)
tree38a0767f152b0a184812f4db104b473069b58c42 /roles/git-crypt
parentf57a4fe08a8ed8a1fac875e6afa352b00ea426a8 (diff)
Add git-crypt role to different machines
Diffstat (limited to 'roles/git-crypt')
-rw-r--r--roles/git-crypt/meta/argument_specs.yml6
-rw-r--r--roles/git-crypt/meta/main.yml17
-rw-r--r--roles/git-crypt/tasks/main.yml6
3 files changed, 29 insertions, 0 deletions
diff --git a/roles/git-crypt/meta/argument_specs.yml b/roles/git-crypt/meta/argument_specs.yml
new file mode 100644
index 00000000..770e7e6c
--- /dev/null
+++ b/roles/git-crypt/meta/argument_specs.yml
@@ -0,0 +1,6 @@
+---
+argument_specs:
+ main:
+ short_description: "Install git-crypt on Linux distribution"
+ description: "Install git-crypt on Linux distribution"
+ options: {}
diff --git a/roles/git-crypt/meta/main.yml b/roles/git-crypt/meta/main.yml
new file mode 100644
index 00000000..1a826a95
--- /dev/null
+++ b/roles/git-crypt/meta/main.yml
@@ -0,0 +1,17 @@
+---
+dependencies: []
+galaxy_info:
+ author: "a14m"
+ description: "Install git-crypt"
+ license: "MIT"
+ min_ansible_version: "2.18"
+ platforms:
+ - name: "ArchLinux"
+ versions:
+ - "all"
+ - name: "Ubuntu"
+ versions:
+ - "noble"
+ - name: "Debian"
+ versions:
+ - "bookworm"
diff --git a/roles/git-crypt/tasks/main.yml b/roles/git-crypt/tasks/main.yml
new file mode 100644
index 00000000..b3fe1f51
--- /dev/null
+++ b/roles/git-crypt/tasks/main.yml
@@ -0,0 +1,6 @@
+---
+- name: "Ensure git is installed"
+ become: true
+ ansible.builtin.package:
+ name: "git-crypt"
+ state: "present"