Skip to content

Commit

Permalink
fix: test error on pandoc caused by homebrew
Browse files Browse the repository at this point in the history
The warning message is as below:

warning: Cask homebrew/cask/pandoc was renamed to homebrew/core/pandoc
  • Loading branch information
jeffreytse committed Mar 29, 2024
1 parent 23d18a6 commit 5abdb4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/playbooks/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
when: ansible_distribution == 'MacOSX'
community.general.homebrew:
name: pandoc
# Ignore warning: Cask homebrew/cask/pandoc was renamed to homebrew/core/pandoc
failed_when: "'was renamed to' in command_result.stderr"

- name: Ubuntu => install pandoc
when: ansible_distribution == 'Ubuntu'
Expand Down

0 comments on commit 5abdb4c

Please sign in to comment.