blob: a8ff3522654ba3b04ec412b09a168b2c1dca166c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
---
- name: "Include OS-specific tasks"
ansible.builtin.include_tasks: "install-{{ ansible_facts['os_family'] | lower }}.yml"
- name: "Add mise activation to bash"
ansible.builtin.blockinfile:
path: "{{ ansible_facts['env']['HOME'] }}/.bashrc"
state: "present"
prepend_newline: true
append_newline: true
marker: "# ==== {mark} ANSIBLE MISE CONFIG"
block: |
if command -v mise 1>/dev/null 2>&1; then
eval "$(mise activate bash)"
fi
|