ldubov Posted September 25, 2020 Share Posted September 25, 2020 Hello, it's my first workflow and looks like a doing something wrong. A add a block "Run Script" and try to run this script cd /Volumes/My\ Book/Documents/Code/home_auto/infra/ansible/ ansible-playbook -i hosts/dubov-ho.me local_update_ldn.json but got the error: ERROR: Upgarde LDN[Run Script] /Users/dubov/.zshenv:2: bad floating point constant /Users/dubov/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/5E9CD61F-2EE2-4F14-BF60-23309E072BCA:2: command not found: ansible-playbook Could somebody help me with this? Thanks a lot in advance. Link to comment
deanishe Posted September 26, 2020 Share Posted September 26, 2020 Unless you launch Alfred from your shell, it doesn’t share your shell’s $PATH. Use /usr/local/bin/ansible-playbook. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now