aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--dhall/Config.dhall15
-rw-r--r--dhall/Types.dhall1
-rw-r--r--dhall/Vault.dhall1
4 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 71d4acc..5a99be8 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,8 @@ Role Variables
19* `rundeck_remove_missing` Whether to delete jobs present in rundeck and not in file. Defaults to true. 19* `rundeck_remove_missing` Whether to delete jobs present in rundeck and not in file. Defaults to true.
20* `rundeck_jobs_group` the group of job to check for removal 20* `rundeck_jobs_group` the group of job to check for removal
21 21
22A [dhall](https://dhall-lang.org/) Type representing the roles' variables is available in the `./dhall/Config.dhall` file to help you configure your projects with some type checking.
23
22Dependencies 24Dependencies
23------------ 25------------
24 26
diff --git a/dhall/Config.dhall b/dhall/Config.dhall
new file mode 100644
index 0000000..1c6202c
--- /dev/null
+++ b/dhall/Config.dhall
@@ -0,0 +1,15 @@
1{ rundeck_jobs_path :
2 Text
3, rundeck_project :
4 Text
5, rundeck_api_url :
6 Text
7, rundeck_api_token :
8 Text
9, rundeck_api_version :
10 Optional Natural
11, rundeck_remove_missing :
12 Optional Bool
13, rundeck_jobs_group :
14 Optional Text
15}
diff --git a/dhall/Types.dhall b/dhall/Types.dhall
new file mode 100644
index 0000000..2a6fa6e
--- /dev/null
+++ b/dhall/Types.dhall
@@ -0,0 +1 @@
{ Vault = ./Vault.dhall, Config = ./Config.dhall }
diff --git a/dhall/Vault.dhall b/dhall/Vault.dhall
new file mode 100644
index 0000000..089da4e
--- /dev/null
+++ b/dhall/Vault.dhall
@@ -0,0 +1 @@
{ apiToken : Text }