update ohmyposh

This commit is contained in:
sebastian
2025-04-21 12:56:22 +02:00
parent 2f680ee1c8
commit 940a46b8c9

View File

@@ -39,10 +39,10 @@
name: "{{ regular_user }}"
shell: /usr/bin/zsh
- name: Install OhMyPosh
ansible.builtin.command: curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/bin
register: result
failed_when: result.rc not in [0, 1]
# - name: Install OhMyPosh
# ansible.builtin.command: curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/bin
# register: result
# failed_when: result.rc not in [0, 1]
- name: Create fonts directory
ansible.builtin.file:
@@ -60,3 +60,9 @@
mode: "0755"
owner: "{{ regular_user }}"
- name: Install Oh My Posh
ansible.builtin.shell: curl -s https://ohmyposh.dev/install.sh | bash -s
args:
creates: ~/bin/oh-my-posh # Prevents rerunning if already installed
become: false # Set to true if you want to install system-wide (adjust path accordingly)