setup ssh splash screen using motd for debian bullseye
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user