summaryrefslogtreecommitdiffstats
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
parentf57a4fe08a8ed8a1fac875e6afa352b00ea426a8 (diff)
Add git-crypt role to different machines
-rw-r--r--configure.yml6
-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
4 files changed, 35 insertions, 0 deletions
diff --git a/configure.yml b/configure.yml
index f8b117a9..b3701a0d 100644
--- a/configure.yml
+++ b/configure.yml
@@ -21,6 +21,8 @@
- role: "ansible"
- role: "rsync"
- role: "gpg"
+ - role: "git"
+ - role: "git-crypt"
- role: "dotfiles"
- role: "password_store"
- role: "vim"
@@ -52,6 +54,8 @@
- role: "gnome"
- role: "rsync"
- role: "gpg"
+ - role: "git"
+ - role: "git-crypt"
- role: "dotfiles"
- role: "password_store"
- role: "vim"
@@ -76,6 +80,8 @@
- role: "prometheus"
- role: "grafana"
- role: "gpg"
+ - role: "git"
+ - role: "git-crypt"
- role: "dotfiles"
- role: "password_store"
- role: "vim"
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"