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}}"