File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ dnf_automatic_upgrade_type: security
24
24
dnf_automatic_random_sleep : 300
25
25
dnf_automatic_emit_via : stdio
26
26
dnf_automatic_system_name : " {{ ansible_nodename }}"
27
+ dnf_automatic_command_format : cat
28
+ dnf_automatic_stdin_format : " {body}"
29
+ dnf_automatic_email_command_format : mail -s {subject} -r {email_from} {email_to}
30
+ dnf_automatic_email_stdin_format : " {body}"
27
31
dnf_automatic_email_from : root
28
32
dnf_automatic_email_to : root
29
33
dnf_automatic_email_host : localhost
Original file line number Diff line number Diff line change @@ -15,6 +15,16 @@ dnf_automatic_random_sleep: 300
15
15
dnf_automatic_emit_via : stdio
16
16
dnf_automatic_system_name : " {{ ansible_nodename }}"
17
17
18
+ # [command]
19
+
20
+ dnf_automatic_command_format : cat
21
+ dnf_automatic_stdin_format : " {body}"
22
+
23
+ # [command_email]
24
+
25
+ dnf_automatic_email_command_format : mail -s {subject} -r {email_from} {email_to}
26
+ dnf_automatic_email_stdin_format : " {body}"
27
+
18
28
# [email]
19
29
20
30
dnf_automatic_email_from : root
Original file line number Diff line number Diff line change @@ -15,6 +15,18 @@ random_sleep = {{ dnf_automatic_random_sleep }}
15
15
emit_via = {{ dnf_automatic_emit_via }}
16
16
system_name = {{ dnf_automatic_system_name }}
17
17
18
+ [command]
19
+
20
+ command_format = {{ dnf_automatic_command_format }}
21
+ stdin_format = {{ dnf_automatic_stdin_format }}
22
+
23
+ [command_email]
24
+
25
+ command_format = {{ dnf_automatic_email_command_format }}
26
+ stdin_format = {{ dnf_automatic_email_stdin_format }}
27
+ email_from = {{ dnf_automatic_email_from }}
28
+ email_to = {{ dnf_automatic_email_to }}
29
+
18
30
[email]
19
31
20
32
email_from = {{ dnf_automatic_email_from }}
You can’t perform that action at this time.
0 commit comments