Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/extras/drupal-console.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,19 @@ To run commands on your host computer but execute them on the VM, add a new site
dev:
root: /var/www/drupalvm/drupal
host: 192.168.88.88
user: vagrant
password: vagrant
type: ssh
extra-options: '-o PasswordAuthentication=no -i ~/.vagrant.d/insecure_private_key'
```

Execute from host machine using the `--target` option.

drupal --target=drupalvm.test site:status

or

drupal @drupalvm.test site:status

For more details, see [Drupal Console's documentation](https://docs.drupalconsole.com/en/alias/how-to-use-drupal-console-in-a-remote-installation.html)

For a list of available role variables, see the [`geerlingguy.drupal-console` Ansible role's README](https://github.com/geerlingguy/ansible-role-drupal-console#readme).
Expand Down