Is there a good way to display instructional information after a playbook ends without using the “debug” directive? I don’t like using debug because the output is printed in red and so it makes it look at though my playbook has failed. I’ve tried something like the following but Ansible only shows that task as having run with a changed status and not the actual message itself. Thanks.
This doesn’t echo as I want it to
post_tasks:
- name: echo post install instructions
shell: |
echo “###########################”
echo “Don’t forget to populate the htpasswd file!”
echo “htpasswd -sc /etc/nginx/htpasswd.txt johndoe”
echo “###########################”