Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1943 from harold20/update-drupal-console-remote-site
Browse files Browse the repository at this point in the history
[docs] Update drupal console remote sites
  • Loading branch information
geerlingguy authored Aug 28, 2019
2 parents 3b672b9 + 018f5c2 commit 8881228
Showing 1 changed file with 6 additions and 1 deletion.
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

0 comments on commit 8881228

Please sign in to comment.