This repository has been archived on 2024-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
setup/roles/bash/tasks/main.yml
2023-06-12 00:04:31 +02:00

27 lines
612 B
YAML

- name: Install packages
become: true
apt:
pkg:
- fd-find
- bat
- fzf
- name: Install .bashrc
copy:
src: "{{ role_path }}/files/bashrc"
dest: ~/.bashrc
- name: Create bashrc config directory
file:
path: ~/.bashrc.d
state: directory
- name: Copy base.bashrc
template:
src: "{{ role_path }}/templates/base.bashrc.j2"
dest: ~/.bashrc.d/base.bashrc
- name: Copy fzf.bash
copy:
src: "{{ role_path }}/files/fzf.bashrc"
dest: ~/.bashrc.d/fzf.bashrc
- name: Clone fzf repository
git:
repo: https://github.com/junegunn/fzf.git
dest: ~/repos/fzf