git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/site-modules/adhoc
diff options
context:
space:
mode:
Diffstat (limited to 'site-modules/adhoc')
-rw-r--r--site-modules/adhoc/plans/myplan.pp9
-rw-r--r--site-modules/adhoc/tasks/nix_example.json4
-rw-r--r--site-modules/adhoc/tasks/nix_example.sh3
-rw-r--r--site-modules/adhoc/tasks/win_example.json4
-rw-r--r--site-modules/adhoc/tasks/win_example.ps11
5 files changed, 21 insertions, 0 deletions
diff --git a/site-modules/adhoc/plans/myplan.pp b/site-modules/adhoc/plans/myplan.pp
new file mode 100644
index 0000000..e60e742
--- /dev/null
+++ b/site-modules/adhoc/plans/myplan.pp
@@ -0,0 +1,9 @@
+# This is a description for my plan
+plan adhoc::myplan(
+ # input parameters go here
+ TargetSpec $targets,
+) {
+
+ # plan steps go here
+
+}
diff --git a/site-modules/adhoc/tasks/nix_example.json b/site-modules/adhoc/tasks/nix_example.json
new file mode 100644
index 0000000..2c4d5c7
--- /dev/null
+++ b/site-modules/adhoc/tasks/nix_example.json
@@ -0,0 +1,4 @@
+{
+ "description": "This is the description for the nix_example task",
+ "input_method": "environment"
+}
diff --git a/site-modules/adhoc/tasks/nix_example.sh b/site-modules/adhoc/tasks/nix_example.sh
new file mode 100644
index 0000000..6b06377
--- /dev/null
+++ b/site-modules/adhoc/tasks/nix_example.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+# task content goes here
diff --git a/site-modules/adhoc/tasks/win_example.json b/site-modules/adhoc/tasks/win_example.json
new file mode 100644
index 0000000..42dccda
--- /dev/null
+++ b/site-modules/adhoc/tasks/win_example.json
@@ -0,0 +1,4 @@
+{
+ "description": "This is the description for the win_example task",
+ "input_method": "powershell"
+}
diff --git a/site-modules/adhoc/tasks/win_example.ps1 b/site-modules/adhoc/tasks/win_example.ps1
new file mode 100644
index 0000000..3a109ee
--- /dev/null
+++ b/site-modules/adhoc/tasks/win_example.ps1
@@ -0,0 +1 @@
+# task content goes here