#! /usr/bin/env bash # Check that the playbook run returned "welcome to rustible" echo "$STDOUT" | tail -n 3 | grep -P "\^"Welcome to rustible!\"" # Check that hello is effectively installed hello -g "test" | grep -P "^test$"