summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-10-21 09:19:16 +0300
committerLars Wirzenius <liw@liw.fi>2020-10-21 09:19:16 +0300
commit4702f64f2e26f0294ab7a3b24cad7d198d21b054 (patch)
tree4fa307f9f84193c16e60e378481e5864d9f246a4
parent6f1703216b5068db1700e3e72e04aa508e368fdb (diff)
downloaddebian-ansible-4702f64f2e26f0294ab7a3b24cad7d198d21b054.tar.gz
doc: all roles
-rwxr-xr-xcheck15
-rw-r--r--roles/apache_server/subplot.md5
-rw-r--r--roles/gitano_server/subplot.md7
-rw-r--r--roles/haproxy/subplot.md5
4 files changed, 29 insertions, 3 deletions
diff --git a/check b/check
index 0fdede0..795e2f7 100755
--- a/check
+++ b/check
@@ -4,6 +4,15 @@
set -eu -o pipefail
+cat_with_sep()
+{
+ for x in "$@"
+ do
+ cat "$x"
+ echo
+ done
+}
+
quiet=-q
hideok=chronic
if [ "$#" -gt 0 ]
@@ -23,9 +32,9 @@ trap 'rm -rf "$dir"' EXIT
rm -f test.log test.py
cp subplot.md "$dir"
-cat subplot.md roles/*/subplot.md > "$dir/subplot.md"
-cat subplot/*.py roles/*/subplot.py > "$dir/subplot.py"
-cat subplot/*.yaml roles/*/subplot.yaml > "$dir/subplot.yaml"
+cat_with_sep subplot.md roles/*/subplot.md > "$dir/subplot.md"
+cat_with_sep subplot/*.py roles/*/subplot.py > "$dir/subplot.py"
+cat_with_sep subplot/*.yaml roles/*/subplot.yaml > "$dir/subplot.yaml"
(
set -eu -o pipefail
diff --git a/roles/apache_server/subplot.md b/roles/apache_server/subplot.md
new file mode 100644
index 0000000..79fa071
--- /dev/null
+++ b/roles/apache_server/subplot.md
@@ -0,0 +1,5 @@
+# Role `apache_server` &ndash; set up a web server using Apache
+
+This role sets up a host to be a web server using the Apache
+software. However, as I don't plan on working on the role, I haven't
+made any acceptance criteria for it yet.
diff --git a/roles/gitano_server/subplot.md b/roles/gitano_server/subplot.md
new file mode 100644
index 0000000..1fc2ea0
--- /dev/null
+++ b/roles/gitano_server/subplot.md
@@ -0,0 +1,7 @@
+# Role `gitano_server` &ndash; set up a Gitano git server
+
+This role sets up a host to be a git server using the [Gitano][]
+software. However, as I don't plan on working on the role, I haven't
+made any acceptance criteria for it yet.
+
+[Gitano]: https://www.gitano.org.uk/
diff --git a/roles/haproxy/subplot.md b/roles/haproxy/subplot.md
new file mode 100644
index 0000000..660cfd3
--- /dev/null
+++ b/roles/haproxy/subplot.md
@@ -0,0 +1,5 @@
+# Role `haproxy` &ndash; set up a web proxy using haproxy
+
+This role sets up a host to be a web proxy using the haproxy
+software. However, as I don't plan on working on the role, I haven't
+made any acceptance criteria for it yet.