summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-02-07 00:27:05 +0100
committerChristian Pointner <equinox@spreadspace.org>2023-02-07 00:27:05 +0100
commitb7c8fac31efdfbfecebc77dcfc0114ea41eba6b8 (patch)
treec5b2b11dce2d8a2cc9252e17028115756c7ad61b
parentprometheus targets: cleanup and add support for target specific labels (diff)
add dummy setup module for openwrt
-rw-r--r--inventory/hosts.ini1
-rw-r--r--library/openwrt_setup.sh5
2 files changed, 6 insertions, 0 deletions
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index 9e857228..0e03db50 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -276,6 +276,7 @@ elevate-mediachannel-edge
## OS
[openwrt:vars]
ansible_ssh_transfer_method=scp
+ansible_facts_modules='openwrt_setup'
[openwrt]
ch-router
diff --git a/library/openwrt_setup.sh b/library/openwrt_setup.sh
new file mode 100644
index 00000000..6f3730f8
--- /dev/null
+++ b/library/openwrt_setup.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo '{}'
+
+exit 0