Add README.md #127

Merged
benjaoming merged 13 commits from readme into main 2022-11-29 13:58:39 +00:00
Showing only changes of commit 3f036ac0ea - Show all commits

View file

@ -15,7 +15,7 @@ also be specified. By default, the script deploys everything.
Here is a summary of the options that can be used with the script: Here is a summary of the options that can be used with the script:
```shell ```console
$ ./deploy.sh # deploy everything $ ./deploy.sh # deploy everything
$ ./deploy.sh base # deploy the ubuntu_base role only $ ./deploy.sh base # deploy the ubuntu_base role only
$ ./deploy.sh services # deploy the docker role only $ ./deploy.sh services # deploy the docker role only
@ -42,7 +42,7 @@ this to work properly.
Here is a summary of the commands that are available with the `vagrant` Here is a summary of the commands that are available with the `vagrant`
command-line tool: command-line tool:
```shell ```console
$ vagrant up # Create and provision the VM $ vagrant up # Create and provision the VM
$ vagrant provision # Re-provision the VM $ vagrant provision # Re-provision the VM
$ vagrant ssh # SSH into the VM $ vagrant ssh # SSH into the VM
@ -55,7 +55,7 @@ variables to Ansible on runtime, so to be able to deploy only parts of
the Ansible playbook to Vagrant, the `deploy.sh` script can be used with the Ansible playbook to Vagrant, the `deploy.sh` script can be used with
the `--vagrant` flag. Here are some examples: the `--vagrant` flag. Here are some examples:
```shell ```console
$ ./deploy.sh --vagrant base # deploy the ubuntu_base role only in the Vagrant VM $ ./deploy.sh --vagrant base # deploy the ubuntu_base role only in the Vagrant VM
$ ./deploy.sh --vagrant services SINGLE_SERVICE # deploy SINGLE_SERVICE Docker service only in the Vagrant VM $ ./deploy.sh --vagrant services SINGLE_SERVICE # deploy SINGLE_SERVICE Docker service only in the Vagrant VM
``` ```
@ -67,3 +67,4 @@ the script.
- [J2Live](https://j2live.ttl255.com/): A live Jinja2 parser, nice to - [J2Live](https://j2live.ttl255.com/): A live Jinja2 parser, nice to
test out filters test out filters