23 lines
488 B
YAML
23 lines
488 B
YAML
---
|
|
- name: Install direnv for Arch
|
|
community.general.pacman:
|
|
name:
|
|
- direnv
|
|
state: present
|
|
when: ansible_facts.distribution == 'Archlinux'
|
|
|
|
- name: Install direnv for Debian based systems
|
|
become: true
|
|
ansible.builtin.apt:
|
|
name:
|
|
- direnv
|
|
state: present
|
|
when: ansible_facts.os_family == 'Debian'
|
|
|
|
- name: Install direnv for MacOS
|
|
community.general.homebrew:
|
|
name:
|
|
- direnv
|
|
state: present
|
|
when: ansible_facts.distribution == 'MacOSX'
|