2025-08-03 12:33:33 +03:00
|
|
|
|
|
|
|
|
# shell
|
|
|
|
|
- ansible.builtin.import_tasks: bash.yml
|
|
|
|
|
|
2025-08-08 13:34:17 +03:00
|
|
|
# copy to modify during install ??
|
2025-08-03 12:33:33 +03:00
|
|
|
- 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
|
|
|
|
|
|
2025-08-08 14:41:44 +03:00
|
|
|
# TODO: set server keys in some way
|
2025-08-03 12:33:33 +03:00
|
|
|
- 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
|
|
|
|
|
|
2025-08-08 13:34:17 +03:00
|
|
|
# path update
|
|
|
|
|
- name: Get programs list to check fish presence
|
|
|
|
|
ansible.builtin.package_facts:
|
|
|
|
|
manager: auto
|
|
|
|
|
|
|
|
|
|
- name: Update fish path to include scripts folder
|
|
|
|
|
ansible.builtin.shell:
|
|
|
|
|
cmd: echo 'fish_add_path {{ ansible_env.HOME }}/.bin'
|
|
|
|
|
when: "'fish' in ansible_facts.packages"
|