I would like to make certificates by certbot command
var:
domain_name: game.com
server_name:
- -d api
- -d im
tasks:
name: Generate new certificate
shell: "certbot --nginx certonly --noninteractive --agree-tos --email xxx@mail.com {{ server_name }}.{{ domain_name }}"
I'd like to this:
certbot --nginx certonly --noninteractive --agree-tos --email xxx@mail.com -d api.game.com -d im.game.com
but it is:
certbot --nginx certonly --noninteractive --agree-tos --email xxx@mail.com -d api -d im.game.com
How to combine the item ?