bin path choice, proxy fix, common tasks

This commit is contained in:
ProgramSnail 2025-08-24 00:08:44 +03:00
parent a6e521986b
commit 2fe632b325
7 changed files with 36 additions and 12 deletions

View file

@ -0,0 +1,21 @@
- 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