From c0b1131f36f007a297811d168999c67897e57ae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dubois?= Date: Wed, 12 Oct 2022 16:44:29 +0200 Subject: [PATCH] base: we can chose to deploy or not utils files --- CHANGELOG | 1 + roles/base/defaults/main.yml | 3 +++ roles/base/tasks/utils.yml | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 86ac264..8ea0a4a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * base: use "servers" option instead of "server" option for ntpd.conf * base: fstab options can be activated or not * base: configure "/usr/X11R6" and "/usr/local" for servers that have a mount on it +* base: we can chose to deploy or not utils files ### Fixed diff --git a/roles/base/defaults/main.yml b/roles/base/defaults/main.yml index c057a2a..c641289 100644 --- a/roles/base/defaults/main.yml +++ b/roles/base/defaults/main.yml @@ -14,3 +14,6 @@ evobsd_fstab_noatime: true evobsd_fstab_noexec: true install_url: "https://cdn.openbsd.org/pub/OpenBSD" + +evobsd_updateevobackupcanary_include: true +evobsd_dumpserverstate_include: true diff --git a/roles/base/tasks/utils.yml b/roles/base/tasks/utils.yml index b9cf8c1..e989d38 100644 --- a/roles/base/tasks/utils.yml +++ b/roles/base/tasks/utils.yml @@ -7,6 +7,8 @@ owner: root group: wheel mode: "0750" + when: + - evobsd_dumpserverstate_include | bool tags: - utils @@ -18,5 +20,7 @@ owner: root group: wheel mode: "0755" + when: + - evobsd_updateevobackupcanary_include | bool tags: - utils