Alter format of Debian version in MOTD
This commit is contained in:
@ -579,6 +579,7 @@
|
||||
- { src: "usr/local/sbin/update-motd.sh.j2", dest: "/usr/local/sbin/update-motd.sh" }
|
||||
- { src: "etc/profile.d/w.sh.j2", dest: "/etc/profile.d/w.sh" }
|
||||
- { src: "etc/profile.d/pvc.sh.j2", dest: "/etc/profile.d/zzz_pvc.sh" }
|
||||
register: profile_scripts
|
||||
tags: base-shell
|
||||
|
||||
- name: install update-motd crontab
|
||||
@ -596,6 +597,11 @@
|
||||
state: absent
|
||||
tags: base-shell
|
||||
|
||||
- name: run update-motd on change
|
||||
command: /usr/local/sbin/update-motd.sh
|
||||
when: profile_scripts.changed
|
||||
tags: base-shell
|
||||
|
||||
# htop
|
||||
- name: install htop configuration
|
||||
template:
|
||||
|
Reference in New Issue
Block a user