have a workign copy now

This commit is contained in:
Matthew Stobbs
2026-03-17 16:19:15 -06:00
parent 3c03e5eecf
commit ac0ac25bba
32 changed files with 470 additions and 622 deletions

View File

@@ -1,5 +1,22 @@
# vim: set filetype=yaml.ansible :
#
## Package: direnv
## Description: automatically read env files when changing directories
## Version: latest
## Methods: system
## Helpers: -
---
- name: Set direnv default facts
ansible.builtin.set_fact:
direnv:
install_methods:
- system
pkgname:
RedHat: direnv
Alpine: direnv
Debian: direnv
Darwin: direnv
- name: Configure direnv
when:
- "'direnv' not in __configured"
@@ -14,7 +31,7 @@
when:
- direnv_install_method == "system"
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['direnv'] }}"
pkg_sys: "{{ pkg_sys + [direnv.pkgname[os_family]] }}"
- name: Finalize direnv configuration
ansible.builtin.set_fact: