composer_keep_updated: true
composer_global_packages:
 - { name: hirak/prestissimo }
apt_cache_valid_time: 86400
default_timezone: Etc/UTC
www_root: /opt/proteusnet/www
ip_whitelist:
  - "{{ lookup('pipe', 'curl -4 -s https://api.ipify.org') }}"

wordpress_env_defaults:
  db_host: localhost
  db_name: "{{ item.key | underscore }}_{{ env }}"
  db_user: "{{ item.key | underscore }}"
  disable_wp_cron: true
  wp_env: "{{ env }}"
  wp_home: "{{ item.value.ssl.enabled | default(false) | ternary('https', 'http') }}://{{ item.value.site_hosts[0] }}"
  wp_siteurl: "${WP_HOME}"

site_env: "{{ wordpress_env_defaults | combine(item.value.env | default({}), vault_wordpress_sites[item.key].env) }}"

mariadb_mirror: ams2.mirrors.digitalocean.com
mariadb_version: "10.1"

composer_keep_updated: true
composer_global_packages:
 - { name: hirak/prestissimo }
apt_cache_valid_time: 86400
default_timezone: Etc/UTC
www_root: /opt/proteusnet/www
ip_whitelist:
  - "{{ lookup('pipe', 'curl -4 -s https://api.ipify.org') }}"

wordpress_env_defaults:
  db_host: localhost
  db_name: "{{ item.key | underscore }}_{{ env }}"
  db_user: "{{ item.key | underscore }}"
  disable_wp_cron: true
  wp_env: "{{ env }}"
  wp_home: "{{ item.value.ssl.enabled | default(false) | ternary('https', 'http') }}://${HTTP_HOST}"
  wp_siteurl: "${WP_HOME}"

site_env: "{{ wordpress_env_defaults | combine(item.value.env | default({}), vault_wordpress_sites[item.key].env) }}"

mariadb_mirror: ams2.mirrors.digitalocean.com
mariadb_version: "10.1"

Revert "Changed the wp_home variable to use the first site_hosts item."
Revert "Changed the wp_home variable to use the first site_hosts item."

This reverts commit 659189566199842aa474d105153c023ef2ec7be5.
