4 Commits

Author SHA1 Message Date
Jeremy Stanley
371d9e8a1c Add site name to Exim local_domains on SB server
To allow Exim to perform outbound delivery for the production
StoryBoard service without choking on sender verification, add
storyboard.openstack.org to its local_domains list.

Change-Id: I2d380ead26319269819026acb2e1b175774a6c77
2019-02-21 16:00:41 +00:00
Monty Taylor
4b7252ce8b
Add raw blocks to storyboard exim routers
The exim config chunk has a {{ in it, which makes the ansible jinja
very cranky. Add in a raw block so it doesn't try to understand the
exim.

Change-Id: If49d976e503b6ebe236a2d2c6077cce96783e102
2018-08-16 16:29:02 -05:00
James E. Blair
40c6e6d7ad Template all exim routers
So that we can have complete control of the router order, always
template the full set of routers, including the "default" ones.
So that it's easy to use the defaults but put them in a different
order, define each router in its own variable which can be used
in host or group vars to "copy" that router in.

Apply this change to lists, firehose, and storyboard, all of which
have custom exim routers.  Note that firehose intentionally has
its localuser router last.

Change-Id: I737942b8c15f7020b54e350db885e968a93f806a
2018-08-16 13:49:55 -07:00
Monty Taylor
0d1f235fce
Add exim config for firehose and storyboard
In order to get puppet out of the business of mucking with exim and
fighting ansible, finish moving the config to ansible.

This introduces a storyboard group that we can use to apply the exim
config across both servers. It also splits the base playbook so that we
can avoid running exim on the backup servers. And we set
purge_apt_sources the same as was set in puppet. We should probably
remove it though, since none of us have any clue why it's here.

Change-Id: I43ee891a9c1beead7f97808208829b01a0a7ced6
2018-08-15 15:11:48 -05:00