trivial: cleanup

This commit is contained in:
Erik Stambaugh 2024-01-26 16:25:30 -08:00
parent 15b157a8ea
commit 5241d9d091

View file

@ -21,12 +21,6 @@
dest: /srv/certbot/docker-compose.yaml dest: /srv/certbot/docker-compose.yaml
register: dockercompose register: dockercompose
#- name: nginx config
# template:
# src: templates/nginx.conf
# dest: /srv/nginx/conf.d/certbot.conf
# register: nginxconf
- name: nginx options - name: nginx options
copy: copy:
dest: /srv/certbot/etc/options-ssl-nginx.conf dest: /srv/certbot/etc/options-ssl-nginx.conf
@ -55,7 +49,6 @@
state: directory state: directory
recurse: true recurse: true
# XXX FIXME configure email address
- name: seed a cert if needed - name: seed a cert if needed
command: "docker run --volume /srv/certbot/etc:/etc/letsencrypt --volume /srv/certbot/www:/var/www/certbot -p 80:80 --rm -t certbot/certbot certonly --agree-tos --email {{admin_email}} --standalone --noninteractive --cert-name {{domain_name}} --domains {{domain_name}}" command: "docker run --volume /srv/certbot/etc:/etc/letsencrypt --volume /srv/certbot/www:/var/www/certbot -p 80:80 --rm -t certbot/certbot certonly --agree-tos --email {{admin_email}} --standalone --noninteractive --cert-name {{domain_name}} --domains {{domain_name}}"
args: args: