* set correctly sign character for yadm starship toml when setting up for non-root user
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user