setup ssh splash screen using motd for debian bullseye

This commit is contained in:
2022-08-21 10:34:04 -04:00
parent bcbca14816
commit 47dfd8aa22
5 changed files with 23 additions and 6 deletions

View File

@@ -12,10 +12,16 @@
with_items:
- lsb-release
- figlet
- update-motd
# - update-motd
- lm-sensors
when: ansible_architecture != 'armv7l'
- name: Create /etc/update-motd.d/ if it does not exist
ansible.builtin.file:
path: /etc/update-motd.d/
state: directory
owner: root
group: root
mode: '0755'
- name: remove help text
file:
@@ -24,7 +30,6 @@
with_items:
- /etc/update-motd.d/10-help-text
- /etc/update-motd.d/51-cloudguest
when: ansible_architecture != 'armv7l'
- name: add new info
@@ -35,4 +40,3 @@
with_items:
- { src: motd/hostname.sh, dest: 10-hostname }
- { src: motd/systats.sh, dest: 11-sysstats}
when: ansible_architecture != 'armv7l'