mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-07 18:57:12 +02:00
Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository
This commit is contained in:
@@ -4,7 +4,7 @@ This Ansible role handles resetting and cleaning up “Infinito.Nexus” systemd
|
||||
|
||||
## Description
|
||||
|
||||
When enabled via the `mode_reset` flag, this role will:
|
||||
When enabled via the `MODE_RESET` flag, this role will:
|
||||
|
||||
1. Run its reset tasks exactly once per play (`run_once_sys_rst_daemon` guard).
|
||||
2. Find all `/etc/systemd/system/*.infinito.service` units.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
- name: "reset (if enabled)"
|
||||
include_tasks: reset.yml
|
||||
when: mode_reset | bool and run_once_sys_rst_daemon is not defined
|
||||
when: MODE_RESET | bool and run_once_sys_rst_daemon is not defined
|
||||
|
||||
- name: run {{ role_name }} once
|
||||
set_fact:
|
||||
|
Reference in New Issue
Block a user