mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	Agree Let's Encrypt ToS
Signed-off-by: Yohann D'ANELLO <yohann.danello@gmail.com>
This commit is contained in:
		@@ -31,7 +31,7 @@
 | 
			
		||||
    state: stopped
 | 
			
		||||
 | 
			
		||||
- name: Generate new certificate if one doesn't exist.
 | 
			
		||||
  shell: "certbot certonly --non-interactive --config /etc/letsencrypt/conf.d/nk20.ini -d {{note.server_name}}"
 | 
			
		||||
  shell: "certbot certonly --non-interactive --agree-tos --config /etc/letsencrypt/conf.d/nk20.ini -d {{note.server_name}}"
 | 
			
		||||
  when: letsencrypt_cert.stat.exists == False
 | 
			
		||||
 | 
			
		||||
- name: Restart services to allow certbot to generate a cert.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user