You've already forked base
add custom motd for reboot detection
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -28,3 +28,7 @@
|
||||
- name: base | set datetime
|
||||
import_tasks: datetime.yml
|
||||
tags: [ 'datetime', 'date', 'ntp' ]
|
||||
|
||||
- name: base | configure motd
|
||||
import_tasks: motd.yml
|
||||
tags: [ 'motd' ]
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: motd | copy reboot required script
|
||||
copy:
|
||||
src: 99-reboot-required
|
||||
dest: /etc/update-motd.d/99-reboot-required
|
||||
mode: '0755'
|
||||
Reference in New Issue
Block a user