mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-01 20:28:16 +00:00
22 lines
559 B
YAML
22 lines
559 B
YAML
|
|
- name: Creating dotfiles dir
|
||
|
|
ansible.builtin.file:
|
||
|
|
path: "{{ ansible_env.HOME }}/.config"
|
||
|
|
state: directory
|
||
|
|
mode: a
|
||
|
|
|
||
|
|
- name: Creating local bin dir
|
||
|
|
ansible.builtin.file:
|
||
|
|
path: "{{ ansible_env.HOME }}/.local/bin"
|
||
|
|
state: directory
|
||
|
|
mode: a
|
||
|
|
|
||
|
|
- name: Getting programs list to check fish presence
|
||
|
|
ansible.builtin.package_facts:
|
||
|
|
manager: auto
|
||
|
|
|
||
|
|
- name: Updating fish path to include local bin dir
|
||
|
|
ansible.builtin.shell: fish_add_path -m {{ ansible_env.HOME }}/.local/bin
|
||
|
|
args:
|
||
|
|
executable: /usr/bin/fish
|
||
|
|
changed_when: false
|