mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-31 11:48:16 +00:00
init, dotfiles and install basic roles
This commit is contained in:
commit
46bdf4dda0
21 changed files with 283 additions and 0 deletions
34
roles/dotfiles/tasks/cli.yml
Normal file
34
roles/dotfiles/tasks/cli.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
|
||||
# shell
|
||||
- ansible.builtin.import_tasks: bash.yml
|
||||
|
||||
- name: Link fish configuration directory
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.config/fish'
|
||||
dest: '{{ ansible_env.HOME }}/.config/fish'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
# apps
|
||||
- name: Link tmux configuration
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.tmux.conf'
|
||||
dest: '{{ ansible_env.HOME }}/.tmux.conf'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
# TODO: set server keys
|
||||
- name: Link tmate configuration
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.tmate.conf'
|
||||
dest: '{{ ansible_env.HOME }}/.tmate.conf'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: Link helix configuration
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.config/helix'
|
||||
dest: '{{ ansible_env.HOME }}/.config/helix'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue