summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/syncthing.fact23
1 files changed, 0 insertions, 23 deletions
diff --git a/files/syncthing.fact b/files/syncthing.fact
deleted file mode 100644
index 79ea632..0000000
--- a/files/syncthing.fact
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env perl
-###############################################################################
-# \_o< WARNING : This file is being managed by ansible! >o_/ #
-# ~~~~ ~~~~ #
-###############################################################################
-
-use strict;
-use warnings;
-
-use JSON::PP;
-use LWP::UserAgent;
-
-my $id = '0000000-0000000-0000000-0000000-0000000-0000000-0000000-0000000';
-
-my $resp = LWP::UserAgent->new()->head('http://localhost:8384/');
-if ($resp->code == 200) {
- $id = $resp->header('X-Syncthing-Id');
-}
-
-my %output = (
- 'id' => $id,
-);
-print encode_json \%output;