Create a file named launch-server.yaml, that will be our playbook.
The first part of the playbook is a list of hosts that your playbook will run on, we only have one, localhost.
- hosts: localhost
Then we need to define a list of tasks to perform in this playbook. We will only have one that lau...