From b3e1f90233aad313b1ab92ff80c64114f8e9b77f Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Mon, 25 Nov 2024 09:17:23 -0500 Subject: [PATCH] feat: Begins updating variables to allow for local default file overrides --- defaults/main.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index ea63d8b..d9cf0b5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -31,14 +31,25 @@ home: cfm50: "3,000" lair: "1:1" -# NOTE: These generally do not need changed, unless debugging. -build_dir_name: ".build" +# NOTE: You generally want to pass this in when running the playbook. work_dir: "{{ lookup('env', 'PWD') }}" + + +# NOTE: The below variables generally do not need changed, unless debugging or customizing files. +# Such as you want to add new definitions, customize the footer or change the +# build directory name, etc. +build_dir_name: ".build" build_dir: "{{ work_dir }}/{{ build_dir_name }}" -# NOTE: These generally do not need changed, unless debugging or customizing files. -# Such as you want to add new definitions or customize the footer. config: + default_files: + definitions: "files/Definitions.md" + footer: "templates/footer.tex" + head: "files/head.tex" + report_template: "templates/Report.md" + vars: "files/vars.default.yml" + vault: "files/vault.default.yml" + paths: report_path: "{{ work_dir }}/Report.md" footer_path: "templates/footer.tex"