For those who find it interesting, enjoy!
Wrong tool for the job, but if you want to order pizza, you can use terraform:
https://registry.terraform.io/providers/MNThomson/dominos/latest/docs
I suppose you could then feed your Terraform runs into Grafana and use it to track your pizza consumption.
In the early days of the pandemic…and the early days of my Ansible learning…I set up a playbook to scrape several websites for hand sanitizer and Clorox wipes.
If it found one in stock, it would email my cell phone carriers SMS gateway. Tasker would then make a loud audible alert.
Ran for weeks before it found some in stock. And then it did. At 2am. And again at 2:05, and 2:10, and 2:15…
And it was an error on the shops webpage. It wasn’t actually orderable…once it got in your cart, it wouldn’t let you check out.
Bwahaha:
- Even if you do want a pizza, you should probably be careful with this provider. In testing, I once nearly ordered every item on the Domino’s menu, which would probably have been expensive and embarrassing.
Reminds me of the old adage:
A computer lets you make more mistakes faster than any invention in human history – with the possible exceptions of hand guns and tequila.