Commit f6beb900 authored by Louis-Philippe Véronneau's avatar Louis-Philippe Véronneau

start working on motd unit test

parent ca56f6af
......@@ -17,3 +17,12 @@ bash:
script:
- ansible-playbook tests/bash.yml
- bash -c "compgen -c unam |grep -q uname && exit || exit 1"
motd:
script:
- cat /etc/motd
- ansible-playbook tests/motd.yml
- cat /etc/motd
- sh /etc/profile.d/showcpu.sh
- sh /etc/profile.d/showrelease.sh
- sh /etc/profile.d/uptime.sh
---
- hosts: 'localhost'
connection: 'local'
roles:
- { role: roles/motd }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment