diff options
| author | Ahmed AbdelHalim <[email protected]> | 2026-01-18 17:40:40 +0100 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2026-01-18 17:42:20 +0100 |
| commit | 6c9a7b2c180e1ef69feb4fb061b9a594ab8409c1 (patch) | |
| tree | 38a0767f152b0a184812f4db104b473069b58c42 /roles/git-crypt | |
| parent | 5bb94bb4913aa0b4859caa035b19e8fa97986283 (diff) | |
Add git-crypt role to different machines
Diffstat (limited to 'roles/git-crypt')
| -rw-r--r-- | roles/git-crypt/meta/argument_specs.yml | 6 | ||||
| -rw-r--r-- | roles/git-crypt/meta/main.yml | 17 | ||||
| -rw-r--r-- | roles/git-crypt/tasks/main.yml | 6 |
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" |
