Skip to content

Commit

Permalink
fix: suppress error output in stow script
Browse files Browse the repository at this point in the history
The bug is known + harmless. Easier to just ignore it for now as the
message trips up the execution of the playbook w/ a non-0 exit code.

For reference, see: aspiers/stow#65
  • Loading branch information
Toalaah committed Apr 19, 2022
1 parent eef3edb commit 4a3d19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/dotfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
accept_newhostkey: true

- name: stow dotfiles
ansible.builtin.shell: "stow --verbose=1 --restow --dir=$HOME/.local/dotfiles --target=$HOME {{ item.name }}"
ansible.builtin.shell: "stow --verbose=1 --restow --dir=$HOME/.local/dotfiles --target=$HOME {{ item.name }} 2>&1 | grep -v 'BUG in find_stowed_path'"
loop:
- { name: 'alacritty' }
- { name: 'bat' }
Expand Down

0 comments on commit 4a3d19b

Please sign in to comment.