Ich habe es noch nicht getan. Ich habe darauf gewartet, zu sehen, ob es Ihrer Meinung nach funktioniert.
Hier ist die Änderung, nur das Hinzufügen von global: true am Ende des zweiten replace:
- replace:
filename: "/etc/runit/1.d/letsencrypt"
from: /--fullchainpath/
to: "-d =domain2= --fullchainpath"
global: true
und hier ist das Ganze:
after_ssl:
# tell letsencrypt what additional certs to get
- replace:
filename: "/etc/runit/1.d/letsencrypt"
from: /--keylength/
to: "-d extrahostname.myforum.us --keylength"
- replace:
filename: "/etc/runit/1.d/letsencrypt"
from: /--fullchainpath/
to: "-d extrahostname.myforum.us --fullchainpath"
global: true