|
|
|
|
|
by blipvert
787 days ago
|
|
If scripts need particular arguments the make is a good place to record them. I use it quite a lot for automating deployments - if you want to Terraform up a VM: make colo1-fooserver01.vm
Then if you want to run Ansible against it: make colo1-fooserver01
You don’t have remember or type all of the flags or arguments - just type make and hit tab for a list of the targets that you can build |
|
I think the real reason is you have it all in one file rather than multiple scripts which makes it easier to edit and maintain.