* set correctly sign character for yadm starship toml when setting up for non-root user

This commit is contained in:
2024-08-05 12:49:44 +03:00
parent 7f393e79d7
commit 051b7778d6

View File

@ -3,3 +3,9 @@
tasks: tasks:
- name: Clone dotfiles repo - name: Clone dotfiles repo
shell: yadm clone --bootstrap https://vcs.wpstudio.ru/gitea/dotfiles.git shell: yadm clone --bootstrap https://vcs.wpstudio.ru/gitea/dotfiles.git
- name: 'Change character for non-root user'
become: false
become_user: root
shell: |
sed -i 's/#/\\$/g' /home/{{ ansible_user_id }}/.config/starship.toml