-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The project got renamed to `mise` to reduce confusion. It's also in Homebrew mainline now so we don't need to add the tap on macos.
- Loading branch information
1 parent
f107c98
commit 073bd42
Showing
4 changed files
with
48 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ third_party_src: "{{ home }}/vendor" | |
|
||
fd_package: fd-find | ||
redis_package: redis | ||
rtx_package: rtx | ||
mise_package: mise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
- name: Add mise yum repository | ||
become: true | ||
ansible.builtin.yum_repository: | ||
name: mise | ||
description: mise-en-place | ||
baseurl: https://mise.jdx.dev/rpm | ||
enabled: true | ||
gpgcheck: true | ||
gpgkey: http://mise.jdx.dev/gpg-key.pub | ||
when: ansible_facts["os_family"] == "RedHat" | ||
tags: | ||
- mise | ||
|
||
- name: Add mise apt repository | ||
become: true | ||
when: ansible_facts["os_family"] == "Debian" | ||
tags: | ||
- mise | ||
block: | ||
- name: Fetch mise repo signing key | ||
ansible.builtin.get_url: | ||
url: https://mise.jdx.dev/gpg-key.pub | ||
dest: /etc/apt/trusted.gpg.d/mise.asc | ||
checksum: sha256:bf3bedf8b33a9486ba1a2f488b3fc59c6080b7a06fb7e5d3deac3ffa6aaaf2e2 | ||
mode: "0644" | ||
|
||
- name: Add mise apt repository | ||
when: ansible_architecture == "aarch64" | ||
ansible.builtin.apt_repository: | ||
repo: deb [signed-by=/etc/apt/trusted.gpg.d/mise.asc arch=arm64] https://mise.jdx.dev/deb stable main | ||
state: present | ||
|
||
- name: Add mise apt repository | ||
when: ansible_architecture != "aarch64" | ||
ansible.builtin.apt_repository: | ||
repo: deb [signed-by=/etc/apt/trusted.gpg.d/mise.asc arch={{ ansible_architecture }}] https://mise.jdx.dev/deb stable main | ||
state: present | ||
|
||
- name: Install mise | ||
become: "{{ elevate_for_package_installation }}" | ||
ansible.builtin.package: | ||
name: "{{ mise_package }}" | ||
state: present | ||
tags: | ||
- mise |
This file was deleted.
Oops, something went wrong.