Nevermind, the notifications don't work since not run in the user's scope.
This commit is contained in:
12
local.yml
12
local.yml
@@ -21,12 +21,6 @@
|
|||||||
- include_tasks: facts/general/user.yml
|
- include_tasks: facts/general/user.yml
|
||||||
|
|
||||||
|
|
||||||
####### Start #######
|
|
||||||
- name: Main | Notification | Begin
|
|
||||||
shell: notify-send "Ansible Provisioning" "Started on `date`."
|
|
||||||
when: workstation == true
|
|
||||||
|
|
||||||
|
|
||||||
####### NixOS #######
|
####### NixOS #######
|
||||||
# Install the .nix files and do a little data setup.
|
# Install the .nix files and do a little data setup.
|
||||||
|
|
||||||
@@ -257,9 +251,3 @@
|
|||||||
- include_tasks: tasks/general/tests/services.yml
|
- include_tasks: tasks/general/tests/services.yml
|
||||||
- include_tasks: tasks/general/tests/lynis.yml
|
- include_tasks: tasks/general/tests/lynis.yml
|
||||||
- include_tasks: tasks/general/tests/nmap.yml
|
- include_tasks: tasks/general/tests/nmap.yml
|
||||||
|
|
||||||
|
|
||||||
####### Finish #######
|
|
||||||
- name: Main | Notification | Complete
|
|
||||||
shell: notify-send "Ansible Provisioning" "Completed on `date`."
|
|
||||||
when: workstation == true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user