aboutsummaryrefslogtreecommitdiffhomepage
path: root/dhall
diff options
context:
space:
mode:
authorPaul Bonaud <paul.bonaud@fretlink.com>2019-09-27 17:27:42 +0200
committerPaul Bonaud <paul.bonaud@fretlink.com>2019-09-27 18:16:55 +0200
commit592f1948b452394fec3d7c6e776d760ba16b231b (patch)
tree3fe48c47e7a942bd4c86152ad50ce5693b5e056a /dhall
parentccb3f886e72c9b315e064678387f0cbd59920c1e (diff)
downloadansible-rundeck-jobs-592f1948b452394fec3d7c6e776d760ba16b231b.tar.gz
ansible-rundeck-jobs-592f1948b452394fec3d7c6e776d760ba16b231b.tar.zst
ansible-rundeck-jobs-592f1948b452394fec3d7c6e776d760ba16b231b.zip
dhall: Add a basic dhall type to be able to configure the role
This commit adds a basic Dhall type for an easier usage of this role.
Diffstat (limited to 'dhall')
-rw-r--r--dhall/Config.dhall15
-rw-r--r--dhall/Types.dhall1
-rw-r--r--dhall/Vault.dhall1
3 files changed, 17 insertions, 0 deletions
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 }