Backblaze / boardwalk

A linear remote execution workflow engine built on top of Ansible
Other
11 stars 0 forks source link

Bugfix: Handle authenticating when there is no api_token file #21

Closed m4wh6k closed 1 year ago

m4wh6k commented 1 year ago

What and why?

There was a bug where boardwalk would crash if the api_token file did not already exist. This fixes that issue

How was this tested?

tested locally

$ rm .boardwalk/api_token.txt 
$ boardwalk check            
Using workspace: ShouldSucceedTestWorkspace

Please visit to login:
http://localhost:8888/api/auth/login?id=42bg5vc5kdwjkoh0

Opened browser to login URL

Reading inventory to process any --limit
Processing ansible-inventory
^CReceived signal 2

Aborted!

Checklist