I have a role for installing ssl certificates.
I also have a playbook for installing an instance of mailman with various vhosts. One such host like this:
host_vars/mailman.unixathome.org:
I have a role for installing ssl certificates.
I also have a playbook for installing an instance of mailman with various vhosts. One such host like this:
host_vars/mailman.unixathome.org:
Tonight I figured it out. Starting thinking in terms of hosts, not vhosts. I added this to the hosts file:
In the hosts file I had this:
[mailman_vhosts]
a.example.org
b.example.org
c.example.org
d.example.org
[mailman_vhosts:vars]
ansible_ssh_host=mailman.vpn.example.org
Then, now that I have listed each vhost which needs an ssl cert added to the server, I created this:
mailman-vhosts.yml