Add a notification for when an Ansible run completes.
This commit is contained in:
@@ -251,3 +251,9 @@
|
||||
- include_tasks: tasks/general/tests/services.yml
|
||||
- include_tasks: tasks/general/tests/lynis.yml
|
||||
- include_tasks: tasks/general/tests/nmap.yml
|
||||
|
||||
|
||||
####### Finish #######
|
||||
- name: Main | Completion Notification
|
||||
shell: notify-send "Ansible Provisioning" "Completed on `date`."
|
||||
when: workstation == true
|
||||
|
||||
Reference in New Issue
Block a user