This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-role-drupal-settings/README.md

24 lines
718 B
Markdown
Raw Normal View History

2019-01-24 02:47:04 +00:00
# Ansible Role: Drupal settings
```yaml
drupal_settings:
- drupal_root: /var/www/web
sites:
- name: default
filename: settings.php # Optional, defaults to 'settings.php'
settings:
databases:
2019-01-24 02:59:40 +00:00
default: # The database key
default: # The database target
2019-01-24 02:47:04 +00:00
driver: mysql # Optional, defaults to 'mysql'
host: localhost # Optional, defaults to 'localhost'
database: mydatabase
username: user
password: secret
2019-01-24 02:54:37 +00:00
trusted_hosts: # Optional
- '^example\.com$'
- '^.+\.example\.com$'
- '^example\.org$'
- '^.+\.example\.org$'
2019-01-24 02:47:04 +00:00
```