system-from-scratch/roles/terminal/tasks/bash.yml

26 lines
634 B
YAML
Raw Normal View History

2024-04-13 19:06:22 +05:00
- name: Install bash
become: true
ansible.builtin.apt:
pkg:
- bash
- name: Copy bash config
ansible.builtin.copy:
src: files/bashrc.sh
dest: "{{ ansible_env.HOME }}/.bashrc"
mode: '0660'
- name: Copy bash aliases
ansible.builtin.copy:
src: files/bash_aliases.sh
dest: "{{ ansible_env.HOME }}/.bash_aliases"
mode: '0660'
- name: Copy profile
ansible.builtin.copy:
src: files/profile.sh
dest: "{{ ansible_env.HOME }}/.profile"
mode: '0660'
- name: Copy bash logout
ansible.builtin.copy:
src: files/profile.sh
dest: "{{ ansible_env.HOME }}/.bash_logout"
mode: '0660'