From 591c3f5a67479aa4e820551e3e5bf9b2dd2ec776 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Mon, 22 Apr 2024 14:16:29 +0800 Subject: [PATCH] Convert into galaxy collection --- collection/galaxy.yml | 13 +++++++++++++ .../playbooks}/install_syncthing.yml | 0 {playbooks => collection/playbooks}/manage.yml | 0 .../plugins/modules/device.py | 0 .../plugins/modules/folder.py | 0 5 files changed, 13 insertions(+) create mode 100644 collection/galaxy.yml rename {playbooks => collection/playbooks}/install_syncthing.yml (100%) rename {playbooks => collection/playbooks}/manage.yml (100%) rename library/storage/syncthing/syncthing_device.py => collection/plugins/modules/device.py (100%) rename library/storage/syncthing/syncthing_folder.py => collection/plugins/modules/folder.py (100%) diff --git a/collection/galaxy.yml b/collection/galaxy.yml new file mode 100644 index 0000000..7ca917f --- /dev/null +++ b/collection/galaxy.yml @@ -0,0 +1,13 @@ +--- +namespace: community +name: syncthing +version: 1.2 +readme: README.md +authors: + - Rafael Bodill + - Borjan Tchakaloff + - Peter Surda +description: >- + - Syncthing collection, allows to control a syncthing instance via ansible +repository: https://git.bitmessage.org/Sysdeploy/ansible-modules-syncthing +license: GPL-3.0-only diff --git a/playbooks/install_syncthing.yml b/collection/playbooks/install_syncthing.yml similarity index 100% rename from playbooks/install_syncthing.yml rename to collection/playbooks/install_syncthing.yml diff --git a/playbooks/manage.yml b/collection/playbooks/manage.yml similarity index 100% rename from playbooks/manage.yml rename to collection/playbooks/manage.yml diff --git a/library/storage/syncthing/syncthing_device.py b/collection/plugins/modules/device.py similarity index 100% rename from library/storage/syncthing/syncthing_device.py rename to collection/plugins/modules/device.py diff --git a/library/storage/syncthing/syncthing_folder.py b/collection/plugins/modules/folder.py similarity index 100% rename from library/storage/syncthing/syncthing_folder.py rename to collection/plugins/modules/folder.py