Skip to content

Commit

Permalink
add direnv
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwn committed Aug 2, 2024
1 parent 987c4d6 commit bd58f97
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ cue:
checksum: "sha256:3ae7b28e12de2e0554c28d9a9eb3dd919f0640274c925ba0e36de9079af80de2"
delta:
release: "0.16.5"
direnv:
release: "v2.34.0"
go:
release: "1.22.3"
checksum: "sha256:8920ea521bad8f6b7bc377b4824982e011c19af27df88a815e3586ea895f1b36"
Expand Down
5 changes: 5 additions & 0 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@
tags:
- starship

- name: Install direnv.
ansible.builtin.import_tasks: "tasks/direnv.yml"
tags:
- direnv

- name: Install terraform.
ansible.builtin.import_tasks: "tasks/terraform.yml"
tags:
Expand Down
6 changes: 6 additions & 0 deletions tasks/direnv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
- name: direnv - download

Check failure on line 2 in tasks/direnv.yml

View workflow job for this annotation

GitHub Actions / Lint

name[casing]

All names should start with an uppercase letter.
ansible.builtin.get_url:
url: "https://github.com/direnv/direnv/releases/download/{{ direnv.release }}/direnv.linux-amd64"
dest: "{{ ansible_env.HOME }}/opt/direnv"
mode: u=rwx,g=rwx,o=rx

0 comments on commit bd58f97

Please sign in to comment.