Add certbot installation.
This commit is contained in:
		
							
								
								
									
										16
									
								
								tasks/server/software/certbot.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								tasks/server/software/certbot.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
---
 | 
			
		||||
# Ensure certbot is installed.
 | 
			
		||||
 | 
			
		||||
- name: Server | Software | Certbot | FreeBSD
 | 
			
		||||
  package: 
 | 
			
		||||
    name:
 | 
			
		||||
      - py37-certbot
 | 
			
		||||
      - py37-certbot-nginx
 | 
			
		||||
    state: present
 | 
			
		||||
  when: ansible_distribution == "FreeBSD"
 | 
			
		||||
 | 
			
		||||
- name: Server | Software | Certbot | FreeBSD
 | 
			
		||||
  package: 
 | 
			
		||||
    - certbot
 | 
			
		||||
    - python3-certbot-nginx
 | 
			
		||||
  when: ansible_pkg_mgr == "apt"
 | 
			
		||||
		Reference in New Issue
	
	Block a user