mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-05 23:18:42 +00:00
fix: scripts path in scripts tasks
This commit is contained in:
parent
9e97c4c76d
commit
262c37e98f
3 changed files with 15 additions and 15 deletions
|
|
@ -44,14 +44,3 @@
|
|||
dest: '{{ ansible_env.HOME }}/.config/helix'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
# path update
|
||||
- name: Getting programs list to check fish presence
|
||||
ansible.builtin.package_facts:
|
||||
manager: auto
|
||||
|
||||
- name: Updating fish path to include scripts folder
|
||||
ansible.builtin.shell: fish_add_path -m {{ ansible_env.HOME }}/.bin
|
||||
args:
|
||||
executable: /usr/bin/fish
|
||||
changed_when: false
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@
|
|||
ansible.builtin.import_tasks: bash.yml
|
||||
when: "'bash' in configure"
|
||||
|
||||
- name: Script dirs config
|
||||
ansible.builtin.import_tasks: scripts.yml
|
||||
when: "'scripts' in configure"
|
||||
|
||||
- name: Common cli tools config
|
||||
ansible.builtin.import_tasks: cli.yml
|
||||
when: "'cli' in configure"
|
||||
|
|
@ -24,10 +28,6 @@
|
|||
ansible.builtin.import_tasks: gui.yml
|
||||
when: "'gui' in configure"
|
||||
|
||||
- name: Script dirs config
|
||||
ansible.builtin.import_tasks: scripts.yml
|
||||
when: "'scripts' in configure"
|
||||
|
||||
- name: Desctop envionment config
|
||||
ansible.builtin.import_tasks: de.yml
|
||||
when: "'de' in configure"
|
||||
|
|
|
|||
|
|
@ -15,3 +15,14 @@
|
|||
dest: '{{ ansible_env.HOME }}/.templates'
|
||||
state: link
|
||||
force: true
|
||||
|
||||
# path update
|
||||
- name: Getting programs list to check fish presence
|
||||
ansible.builtin.package_facts:
|
||||
manager: auto
|
||||
|
||||
- name: Updating fish path to include scripts folder
|
||||
ansible.builtin.shell: fish_add_path -m {{ ansible_env.HOME }}/.bin
|
||||
args:
|
||||
executable: /usr/bin/fish
|
||||
changed_when: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue