2025-08-03 12:33:33 +03:00
|
|
|
# shell
|
2025-08-17 10:54:07 +03:00
|
|
|
- name: Importing bash config
|
2025-08-09 11:47:58 +03:00
|
|
|
ansible.builtin.import_tasks: bash.yml
|
2025-08-03 12:33:33 +03:00
|
|
|
|
2025-08-17 10:54:07 +03:00
|
|
|
- name: Creating fish configuration directory
|
2025-08-03 12:33:33 +03:00
|
|
|
ansible.builtin.file:
|
|
|
|
|
dest: '{{ ansible_env.HOME }}/.config/fish'
|
2025-08-17 10:54:07 +03:00
|
|
|
state: directory
|
|
|
|
|
mode: a
|
|
|
|
|
|
|
|
|
|
- name: Linking fish configuration (config)
|
|
|
|
|
ansible.builtin.file:
|
|
|
|
|
src: '{{ role_path }}/files/.config/fish/config.fish'
|
|
|
|
|
dest: '{{ ansible_env.HOME }}/.config/fish/config.fish'
|
|
|
|
|
state: link
|
|
|
|
|
force: true
|
|
|
|
|
|
|
|
|
|
- name: Linking fish configuration (functions)
|
|
|
|
|
ansible.builtin.file:
|
|
|
|
|
src: '{{ role_path }}/files/.config/fish/functions'
|
|
|
|
|
dest: '{{ ansible_env.HOME }}/.config/fish/functions'
|
2025-08-03 12:33:33 +03:00
|
|
|
state: link
|
|
|
|
|
force: true
|
|
|
|
|
|
2025-08-17 16:26:47 +03:00
|
|
|
- name: Linking fish configuration (completions)
|
|
|
|
|
ansible.builtin.file:
|
|
|
|
|
src: '{{ role_path }}/files/.config/fish/completions'
|
|
|
|
|
dest: '{{ ansible_env.HOME }}/.config/fish/completions'
|
|
|
|
|
state: link
|
|
|
|
|
force: true
|
|
|
|
|
|
|
|
|
|
- name: Linking fish configuration (conf.d)
|
|
|
|
|
ansible.builtin.file:
|
|
|
|
|
src: '{{ role_path }}/files/.config/fish/conf.d'
|
|
|
|
|
dest: '{{ ansible_env.HOME }}/.config/fish/conf.d'
|
|
|
|
|
state: link
|
|
|
|
|
force: true
|
|
|
|
|
|
2025-08-17 12:40:21 +03:00
|
|
|
- name: Copying fish configuration (variables)
|
2025-08-17 12:42:05 +03:00
|
|
|
ansible.builtin.copy:
|
2025-08-17 12:40:21 +03:00
|
|
|
src: '{{ role_path }}/files/.config/fish/fish_variables'
|
|
|
|
|
dest: '{{ ansible_env.HOME }}/.config/fish/fish_variables'
|
|
|
|
|
force: false
|
2025-08-22 18:26:22 +03:00
|
|
|
mode: a
|
2025-08-17 12:40:21 +03:00
|
|
|
|
2025-08-03 12:33:33 +03:00
|
|
|
# apps
|
2025-08-17 10:54:07 +03:00
|
|
|
- name: Linking tmux configuration
|
2025-08-03 12:33:33 +03:00
|
|
|
ansible.builtin.file:
|
|
|
|
|
src: '{{ role_path }}/files/.tmux.conf'
|
|
|
|
|
dest: '{{ ansible_env.HOME }}/.tmux.conf'
|
|
|
|
|
state: link
|
|
|
|
|
force: true
|
|
|
|
|
|
2025-08-08 14:41:44 +03:00
|
|
|
# TODO: set server keys in some way
|
2025-08-17 10:54:07 +03:00
|
|
|
- name: Linking tmate configuration
|
2025-08-03 12:33:33 +03:00
|
|
|
ansible.builtin.file:
|
|
|
|
|
src: '{{ role_path }}/files/.tmate.conf'
|
|
|
|
|
dest: '{{ ansible_env.HOME }}/.tmate.conf'
|
|
|
|
|
state: link
|
|
|
|
|
force: true
|
|
|
|
|
|
2025-08-17 10:54:07 +03:00
|
|
|
- name: Linking helix configuration
|
2025-08-03 12:33:33 +03:00
|
|
|
ansible.builtin.file:
|
|
|
|
|
src: '{{ role_path }}/files/.config/helix'
|
|
|
|
|
dest: '{{ ansible_env.HOME }}/.config/helix'
|
|
|
|
|
state: link
|
|
|
|
|
force: true
|