diff --git a/tasks/main.yml b/tasks/main.yml index ed18d96c1c9345614c4ca4b2f22126578dd7d5c3..ed3f85a8afbed14dd65d71c6cf9525ceb5bfac45 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -32,13 +32,13 @@ dest: /var/www/uptime force: yes notify: - - "Restart Uptime" + - Restart Uptime - name: Install node components npm: path: /var/www/uptime notify: - - "Restart Uptime" + - Restart Uptime - name: Configure uptime template: @@ -48,7 +48,7 @@ group: root mode: 0644 notify: - - "Restart Uptime" + - Restart Uptime - name: List Patches shell: ls /var/www/uptime/patches -1 @@ -61,6 +61,6 @@ with_items: '{{ patch_list.stdout_lines }}' ignore_errors: yes notify: - - "Restart Uptime" + - Restart Uptime when: not excluded_roles or "uptime" not in excluded_roles