mise
- Instead of using 2 tools, I can use 1.
- Just still feels nicer to me, perhaps because I’m more used to it, but Mise is good enough that I don’t think I’d miss the extra features.
- Mise lets you write tasks in separate files, which lets any editor handle them well without having to support justfile syntax, but still shares a CLI with inline tasks.
∞
Mise + fnox + macOS Keychain is a great combo for running Ansible with stored, encrypted secrets.
In mise.toml:
[env]
DBSERVER_PW = { value = "{{ exec(command='fnox get DBSERVER') }}", tools = true, redact = true }
In Ansible’s host vars:
my_servers:
hosts:
dbserver:
ansible_become_password: "{{ lookup('ansible.builtin.env', 'DBSERVER_PW') }}"
Now you can run ansible-playbook and friends without hardcoding your sudo passwords anywhere!
∞
I’ve been using Just for a while as a task runner. It’s similar to Make, but optimized for developer ergonomics with a vastly simpler syntax and a wonderful CLI. I’d also been using Mise for other environment management things, such as installing specific versions of Python and NPM and other tools in a project directory.
Someone introduced me to Mise’s own newish task runner, and it just might win me over from Just for most things:
I like it.