mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-01 04:08:14 +00:00
init, dotfiles and install basic roles
This commit is contained in:
commit
46bdf4dda0
21 changed files with 283 additions and 0 deletions
27
roles/dotfiles/tasks/bash.yml
Normal file
27
roles/dotfiles/tasks/bash.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
- name: Link bashrc
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.bashrc'
|
||||
dest: '{{ ansible_env.HOME }}/.bashrc'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: Link inputrc
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.inputrc'
|
||||
dest: '{{ ansible_env.HOME }}/.inputrc'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: Link profile
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.profile'
|
||||
dest: '{{ ansible_env.HOME }}/.profile'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: Link bash profile
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.bash_profile'
|
||||
dest: '{{ ansible_env.HOME }}/.bash_profile'
|
||||
state: link
|
||||
force: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue