Merge branch 'certbot' into 'newinfra'
run certbot See merge request nounous/ansible!126certbot_on_virtu
						commit
						a6e5fd722e
					
				| 
						 | 
					@ -34,3 +34,6 @@
 | 
				
			||||||
    src: "letsencrypt/conf.d/certname.ini.j2"
 | 
					    src: "letsencrypt/conf.d/certname.ini.j2"
 | 
				
			||||||
    dest: "/etc/letsencrypt/conf.d/{{ certbot.certname }}.ini"
 | 
					    dest: "/etc/letsencrypt/conf.d/{{ certbot.certname }}.ini"
 | 
				
			||||||
    mode: 0644
 | 
					    mode: 0644
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: Run certbot                                                                                      
 | 
				
			||||||
 | 
					  command: certbot --non-interactive --config /etc/letsencrypt/conf.d/{{ certbot.certname }}.ini certonly
 | 
				
			||||||
| 
						 | 
					@ -15,6 +15,9 @@ email = {{ certbot.mail }}
 | 
				
			||||||
# Uncomment to use a text interface instead of ncurses
 | 
					# Uncomment to use a text interface instead of ncurses
 | 
				
			||||||
text = True
 | 
					text = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Yes I want to sell my soul and my guinea pig.
 | 
				
			||||||
 | 
					agree-tos = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Use DNS-01 challenge
 | 
					# Use DNS-01 challenge
 | 
				
			||||||
authenticator = dns-rfc2136
 | 
					authenticator = dns-rfc2136
 | 
				
			||||||
dns-rfc2136-credentials = /etc/letsencrypt/rfc2136.ini
 | 
					dns-rfc2136-credentials = /etc/letsencrypt/rfc2136.ini
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue