Skip to content

Commit

Permalink
Update playbook.md (#2292)
Browse files Browse the repository at this point in the history
Some additional variables to change when provisioning to a remote environment.
  • Loading branch information
rosiel authored Mar 28, 2024
1 parent b544fbe commit 217b593
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/installation/playbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,33 @@ You will have to add the matomo line.
matomo_site_url: http://example.org
```
#### group_vars/webserver/apache.yml
If you have a domain name, change the default to your domain name.
```yml
- servername: "myactualddomain.com"
```
#### group_vars/webserver/drupal.yml
If you have a domain name, change the default to your domain name. And set the Drupal site name to whatever you need it to be.
```yml
drupal_domain: "myactualdomain.com"
drupal_site_name: "Example Sitename"
```
Also set your domain in `drupal_trusted_hosts`:

```yml
drupal_trusted_hosts:
- ^localhost$
- "{{ hostvars[groups['webserver'][0]].ansible_host }}"
- '^myactualdomain\.com$'
```

Note the backslash which escapes the period (which would otherwise match any character). Because of this escape character, the string needs to be surrounded by single quotes.

#### hosts

You'll need to put particulars for logging into your server in the `inventory/production/hosts` file . This example is set up to login as the `ansible` user (to avoid trying to run Composer as `root`) and uses
Expand Down

0 comments on commit 217b593

Please sign in to comment.