Catching up IRC -- MOTD colors; servicefile; logging; config

This commit is contained in:
2023-03-22 17:44:57 -05:00
parent 2f93e03f3a
commit 5fef78f60e
7 changed files with 65 additions and 46 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
result="$(find roles/*/{files,templates} -type f -exec file {} \; | grep -Ev ASCII\ text\|empty\|Unicode\ text)"
result="$(find roles/*/{files,templates} -type f -exec file {} \; | grep -Ev ASCII\ text\|empty\|Unicode\ text | grep -v motd.txt.j2)"
if [ -n "$result" ]; then
echo "These files need to be evaluated -- generally, don't commit data files to Git."
echo "$result"