From 79ede2d43122307991926099aa0e5bcfb2fabe2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20L=C3=BCscher?= Date: Fri, 10 May 2024 20:20:35 +0000 Subject: [PATCH] fix(just): adapt to decisions made during gui implementation --- docs/just.md | 5 ++++- forge.just | 12 ++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/just.md b/docs/just.md index 5859f7d..14e790f 100644 --- a/docs/just.md +++ b/docs/just.md @@ -22,8 +22,11 @@ just -f forge.just {{ recipe_name }} {{ forge_config_var_file }} **_Example:_** +The path to the [configuration](./index.md#configuration) data directory is pre set. So you just +have to specify the configuration yaml. + ```sh -just -f forge.just forge_project-clone ~/ublue-os_forge/my-forge-project.env +just -f forge.just forge_project-build bluefin.yml ``` In case you don't have [just command runner](https://github.com/casey/just) available. diff --git a/forge.just b/forge.just index d300794..d436acf 100644 --- a/forge.just +++ b/forge.just @@ -1,13 +1,9 @@ # ublue-os forge just configuration -## default - -default := "'${HOME}'/ublue-os_forge/forge_default_vars.env" - ## recipes -forge_project-clone forge_config_var_file=default: - podman exec --env-file '{{forge_config_var_file}}' ublue-os_forge-anvil-ansible.ublue.local ansible-playbook playbooks/project_clone.yml +forge_project-clone forge_config_var_file: + podman exec ublue-os_forge-anvil-ansible.ublue.local ansible-playbook ansible/playbooks/project_clone.yml --extra-vars "@/data/{{forge_config_var_file}}" -forge_project-build forge_config_var_file=default: - podman exec --env-file '{{forge_config_var_file}}' ublue-os_forge-anvil-ansible.ublue.local ansible-playbook playbooks/project_build.yml +forge_project-build forge_config_var_file: + podman exec ublue-os_forge-anvil-ansible.ublue.local ansible-playbook ansible/playbooks/project_build.yml --extra-vars "@/data/{{forge_config_var_file}}"