Ask for sudo password when running playbook

This commit is contained in:
Adw8 2024-09-04 16:21:14 +05:30
parent 8434a21def
commit 973ee60774

View File

@ -39,7 +39,7 @@ The following commands have to be executed in [`l2-setup`](./) directory
NOTE: By default, deployments are created in the `l2-setup/out` directory. To change this location, update the `l2_directory` variable in the [vars.yml](./vars.yml) file. NOTE: By default, deployments are created in the `l2-setup/out` directory. To change this location, update the `l2_directory` variable in the [vars.yml](./vars.yml) file.
```bash ```bash
LANG=en_US.utf8 ansible-playbook -i localhost, --connection=local run-optimism.yml --extra-vars='{ "target_host": "localhost"}' --user $USER LANG=en_US.utf8 ansible-playbook -i localhost, --connection=local run-optimism.yml --extra-vars='{ "target_host": "localhost"}' -kK --user $USER
``` ```
- For skipping container build, set `"skip_container_build" : true` in the `--extra-vars` parameter: - For skipping container build, set `"skip_container_build" : true` in the `--extra-vars` parameter: