83ced7f6e6
Make inventory/service for service-specific things, including the groups.yaml group definitions, and inventory/base for hostvars related to the base system, including the list of hosts. Move the exisitng host_vars into inventory/service, since most of them are likely service-specific. Move group_vars/all.yaml into base/group_vars as almost all of it is related to base things, with the execption of the gerrit public key. A followup patch will move host-specific values into equivilent files in inventory/base. This should let us override hostvars in gate jobs. It should also allow us to do better file matchers - and to be able to organize our playbooks move if we want to. Depends-On: https://review.opendev.org/731583 Change-Id: Iddf57b5be47c2e9de16b83a1bc83bee25db995cf
41 lines
1.4 KiB
YAML
41 lines
1.4 KiB
YAML
exim_local_domains: "@:storyboard.openstack.org"
|
|
exim_routers:
|
|
- dnslookup: '{{ exim_dnslookup_router }}'
|
|
- system_aliases: '{{ exim_system_aliases_router }}'
|
|
- localuser: '{{ exim_localuser_router }}'
|
|
- storyboard_verp_router: |
|
|
driver = dnslookup
|
|
# we only consider messages sent in through loopback
|
|
{% raw -%}
|
|
condition = ${if or{{eq{$sender_host_address}{127.0.0.1}}\
|
|
{eq{$sender_host_address}{::1}}}{yes}{no}}
|
|
{% endraw %}
|
|
# we do not do this for traffic going to the local machine
|
|
domains = '!+local_domains'
|
|
ignore_target_hosts = <; \
|
|
0.0.0.0; \
|
|
64.94.110.11; \
|
|
127.0.0.0/8; \
|
|
::1/128; \
|
|
fe80::/10; \
|
|
fec0::/10; \
|
|
ff00::/8
|
|
# only the un-VERPed bounce addresses are handled
|
|
senders = "*-bounces@*"
|
|
transport = storyboard_verp_smtp
|
|
- storyboard: |
|
|
# Send bounces to /dev/null until storyboard supports them.
|
|
driver = redirect
|
|
local_parts = storyboard
|
|
local_part_suffix_optional = true
|
|
local_part_suffix = -bounces : -bounces+*
|
|
data = :blackhole:
|
|
exim_transports:
|
|
- storyboard_verp_smtp: |
|
|
driver = smtp
|
|
return_path = \
|
|
${local_part:$return_path}+$local_part=$domain@${domain:$return_path}
|
|
max_rcpt = 1
|
|
headers_remove = Errors-To
|
|
headers_add = Errors-To: ${return_path}
|