mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-03 07:59:42 +00:00
Removed block from main.yml and moved run_once logic to 01_core.yml
This commit is contained in:
@@ -6,3 +6,5 @@
|
||||
- name: "reset (if enabled)"
|
||||
include_tasks: 02_reset.yml
|
||||
when: MODE_RESET | bool
|
||||
|
||||
- include_tasks: utils/run_once.yml
|
||||
@@ -4,9 +4,7 @@
|
||||
handler_role_name: "sys-daemon"
|
||||
when: run_once_sys_service is defined
|
||||
|
||||
- block:
|
||||
- include_tasks: 01_core.yml
|
||||
- include_tasks: utils/run_once.yml
|
||||
- include_tasks: 01_core.yml
|
||||
when: run_once_sys_service is not defined
|
||||
|
||||
- name: "Execute service routines for '{{ system_service_id }}'"
|
||||
|
||||
Reference in New Issue
Block a user