mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 04:08:15 +00:00 
			
		
		
		
	Added more text because it seems to solve a recieving problem
This commit is contained in:
		@@ -6,6 +6,7 @@
 | 
				
			|||||||
  template:
 | 
					  template:
 | 
				
			||||||
    src:  "msmtprc.conf.j2"
 | 
					    src:  "msmtprc.conf.j2"
 | 
				
			||||||
    dest: "/root/.msmtprc"
 | 
					    dest: "/root/.msmtprc"
 | 
				
			||||||
 | 
					    mode: 600
 | 
				
			||||||
  when: run_once_systemd_notifier_email is not defined
 | 
					  when: run_once_systemd_notifier_email is not defined
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: "create {{systemd_notifier_email_folder}}"
 | 
					- name: "create {{systemd_notifier_email_folder}}"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,5 +7,9 @@ Subject: $1
 | 
				
			|||||||
Content-Transfer-Encoding: 8bit
 | 
					Content-Transfer-Encoding: 8bit
 | 
				
			||||||
Content-Type: text/plain; charset=UTF-8
 | 
					Content-Type: text/plain; charset=UTF-8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(systemctl status --full "$1")
 | 
					A problem with the service $1 occured:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					$(systemctl status --full "$1" | head -n 30)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ERRMAIL
 | 
					ERRMAIL
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user