mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-02 20:58:15 +00:00
add dotfiles (including kitty & alacritty themes), add proxies, add writing & haskell roles
This commit is contained in:
parent
46bdf4dda0
commit
6561d54f45
346 changed files with 15329 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
# shell
|
||||
- ansible.builtin.import_tasks: bash.yml
|
||||
|
||||
# copy to modify during install ??
|
||||
- name: Link fish configuration directory
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.config/fish'
|
||||
|
|
@ -32,3 +33,27 @@
|
|||
state: link
|
||||
force: true
|
||||
|
||||
# additional files
|
||||
- name: Link scripts
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.bin'
|
||||
dest: '{{ ansible_env.HOME }}/.bin'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
- name: Link templates
|
||||
ansible.builtin.file:
|
||||
src: '{{ role_path }}/files/.templates'
|
||||
dest: '{{ ansible_env.HOME }}/.templates'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
# 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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue