commited current state
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
- name: Set MOTD to display fastfetch on login
|
||||
copy:
|
||||
content: |
|
||||
#!/bin/bash
|
||||
# Managed by Ansible - Do not edit manually
|
||||
fastfetch -s os:kernel:uptime:packages:shell:disk:cpu:memory:localip:colors
|
||||
dest: /etc/profile.d/motd.sh
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0755'
|
||||
|
||||
- name: Remove default MOTD file if it exists
|
||||
file:
|
||||
path: /etc/motd
|
||||
state: absent
|
||||
|
||||
Reference in New Issue
Block a user