mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 18:29:21 +00:00 
			
		
		
		
	Shorted generic- to gen-
This commit is contained in:
		
							
								
								
									
										19
									
								
								roles/gen-msmtp/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								roles/gen-msmtp/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| - name: install msmtp msmtp-mta  | ||||
|   community.general.pacman: | ||||
|     name: | ||||
|       - msmtp | ||||
|       - msmtp-mta | ||||
|     state:  present | ||||
|   when: run_once_msmtp is not defined | ||||
|  | ||||
| - name: configure msmtprc.conf.j2 | ||||
|   template: | ||||
|     src:  "msmtprc.conf.j2" | ||||
|     dest: "/root/.msmtprc" | ||||
|     mode: 600 | ||||
|   when: run_once_msmtp is not defined | ||||
|  | ||||
| - name: run the msmtp tasks once | ||||
|   set_fact: | ||||
|     run_once_msmtp: true | ||||
|   when: run_once_msmtp is not defined | ||||
		Reference in New Issue
	
	Block a user