Update motd role to no longer require Perl dependancy or script
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -1,5 +1,11 @@
|
||||
---
|
||||
motd_motd_file : /etc/motd
|
||||
motd_motd_file: /etc/motd
|
||||
|
||||
motd_host_ip : "{{ ansible_default_ipv4.address | default('127.0.0.1') }}"
|
||||
motd_host_uptime : "{{ now().replace(microsecond=0) - now().fromtimestamp(now(fmt='%s') | int - ansible_uptime_seconds) }}"
|
||||
|
||||
motd_day_filter : "(.* day[s]?),\\s+(\\d+):(\\d+):(\\d+)"
|
||||
motd_nonday_filter : "(\\d+):(\\d+):(\\d+)"
|
||||
|
||||
|
||||
...
|
||||
|
Reference in New Issue
Block a user