feat: Update variable definitions
This commit is contained in:
@@ -32,15 +32,15 @@ home:
|
|||||||
lair: "1:1"
|
lair: "1:1"
|
||||||
|
|
||||||
# NOTE: These generally do not need changed, unless debugging.
|
# NOTE: These generally do not need changed, unless debugging.
|
||||||
config:
|
build_dir_name: ".build"
|
||||||
build_dir_name: ".build"
|
work_dir: "{{ lookup('env', 'PWD') }}"
|
||||||
work_dir: "{{ lookup('env', 'PWD') }}"
|
build_dir: "{{ work_dir }}/{{ build_dir_name }}"
|
||||||
build_dir: "{{ config.work_dir }}/{{ config.build_dir_name }}"
|
|
||||||
|
|
||||||
|
config:
|
||||||
# NOTE: These generally do not need changed, unless debugging or customizing files.
|
# NOTE: These generally do not need changed, unless debugging or customizing files.
|
||||||
# Such as you want to add new definitions or customize the footer.
|
# Such as you want to add new definitions or customize the footer.
|
||||||
paths:
|
paths:
|
||||||
report_path: "{{ config.work_dir }}/Report.md"
|
report_path: "{{ work_dir }}/Report.md"
|
||||||
footer_path: "templates/footer.tex"
|
footer_path: "templates/footer.tex"
|
||||||
head_path: "files/head.tex"
|
head_path: "files/head.tex"
|
||||||
definitions_path: "files/Definitions.md"
|
definitions_path: "files/Definitions.md"
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
---
|
|
||||||
author_name: "Testy McTestface Jr"
|
|
||||||
document_title: "Home Performance Report"
|
|
||||||
company:
|
|
||||||
website: "https://example.com"
|
|
||||||
phone: "555-555-5555"
|
|
||||||
url_display_title: "www.Example.com"
|
|
||||||
|
|
||||||
links:
|
|
||||||
images:
|
|
||||||
logo: "img/logo.png"
|
|
||||||
trueflow: "img/trueflow.png"
|
|
||||||
trueflow_forecast: "img/forecast.png"
|
|
||||||
documents:
|
|
||||||
loads_folder: "https://example.com/path/to/loads/folder"
|
|
||||||
trueflow_file: "https://example.com/path/to/trueflow/file"
|
|
||||||
trueflow_forecast_file: "https://example.com/path/to/trueflow/forecast/file"
|
|
||||||
document_folder: "https://example.com/path/to/document/folder"
|
|
||||||
|
|
||||||
customer:
|
|
||||||
name: "Testy McTestface Sr"
|
|
||||||
address:
|
|
||||||
street: "1234 Seasme Street"
|
|
||||||
city: "No Mans Land"
|
|
||||||
state: "Foo"
|
|
||||||
zip: "55555"
|
|
||||||
|
|
||||||
home:
|
|
||||||
square_feet: "3,000"
|
|
||||||
cfm50: "3,000"
|
|
||||||
lair: "1:1"
|
|
||||||
@@ -16,3 +16,17 @@ home:
|
|||||||
square_feet: "3,000"
|
square_feet: "3,000"
|
||||||
cfm50: "3,000"
|
cfm50: "3,000"
|
||||||
lair: "1:1"
|
lair: "1:1"
|
||||||
|
|
||||||
|
# NOTE: These generally do not need changed, unless debugging.
|
||||||
|
build_dir_name: ".build"
|
||||||
|
work_dir: "{{ lookup('env', 'PWD') }}"
|
||||||
|
build_dir: "{{ work_dir }}/{{ build_dir_name }}"
|
||||||
|
|
||||||
|
config:
|
||||||
|
# NOTE: These generally do not need changed, unless debugging or customizing files.
|
||||||
|
# Such as you want to add new definitions or customize the footer.
|
||||||
|
paths:
|
||||||
|
report_path: "{{ work_dir }}/Report.md"
|
||||||
|
footer_path: "templates/footer.tex"
|
||||||
|
head_path: "files/head.tex"
|
||||||
|
definitions_path: "files/Definitions.md"
|
||||||
|
|||||||
@@ -60,6 +60,17 @@
|
|||||||
- setup
|
- setup
|
||||||
- setup-all
|
- setup-all
|
||||||
|
|
||||||
|
- name: "Copy vars if not exists."
|
||||||
|
ansible.builtin.include_tasks:
|
||||||
|
file: "copy_if_not_exists.yml"
|
||||||
|
vars:
|
||||||
|
source: "files/vars.vault.yml"
|
||||||
|
destination: "{{ work_dir }}/vars.yml"
|
||||||
|
tags:
|
||||||
|
- setup-vault
|
||||||
|
- setup-with-vault
|
||||||
|
- setup-all-with-vault
|
||||||
|
|
||||||
- name: "Copy vault if not exists."
|
- name: "Copy vault if not exists."
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: "copy_if_not_exists.yml"
|
file: "copy_if_not_exists.yml"
|
||||||
|
|||||||
Reference in New Issue
Block a user