From 61bf7ef108b4c50430e92f1d30d21f2f518fa268 Mon Sep 17 00:00:00 2001 From: Sil3nt <55059643+sil3ntc@users.noreply.github.com> Date: Thu, 13 Aug 2020 16:28:12 +0100 Subject: [PATCH] Revert "add redbot role" --- appveyor.yml | 1 - community.yml | 1 - roles/redbot/tasks/main.yml | 38 ------------------------------------- 3 files changed, 40 deletions(-) delete mode 100644 roles/redbot/tasks/main.yml diff --git a/appveyor.yml b/appveyor.yml index 1ff91235a..67c3061ea 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -77,7 +77,6 @@ environment: qbittorrent quassel radarrx - redbot resilio-sync requestrrx rocketchat diff --git a/community.yml b/community.yml index dc8169fe8..ffcc761a9 100644 --- a/community.yml +++ b/community.yml @@ -77,7 +77,6 @@ - { role: qbittorrent, tags: ['qbittorrent'] } - { role: quassel, tags: ['quassel'] } - { role: radarrx, tags: ['radarrx'] } - - { role: redbot, tags: ['redbot'] } - { role: requestrr, tags: ['requestrr'] } - { role: requestrrx, tags: ['requestrrx'] } - { role: resilio-sync, tags: ['resilio-sync'] } diff --git a/roles/redbot/tasks/main.yml b/roles/redbot/tasks/main.yml deleted file mode 100644 index cf25c5c7d..000000000 --- a/roles/redbot/tasks/main.yml +++ /dev/null @@ -1,38 +0,0 @@ -######################################################################### -# Title: Community: Red Discord Bot # -# Author(s): sil3ntc # -# URL: https://github.com/Cloudbox/Community # -# Docker Image(s): phasecorex/red-discordbot # -# -- # -# Part of the Cloudbox project: https://cloudbox.works # -######################################################################### -# GNU General Public License v3.0 # -######################################################################### ---- -- name: Stop and remove any existing container - docker_container: - name: redbot - state: absent - -- name: Create redbot directories - file: "path={{ item }} state=directory mode=0775 owner={{ user.name }} group={{ user.name }}" - with_items: - - /opt/redbot - -- name: Create and start container - docker_container: - name: redbot - image: phasecorex/red-discordbot - pull: yes - env: - PUID: "{{ uid }}" - PGID: "{{ gid }}" - TOKEN: "{{ redbot.token }}" - PREFIX: "{{ redbot.prefix }}" - volumes: - - "/opt/redbot:/data/" - labels: - "com.github.cloudbox.cloudbox_managed": "true" - networks: - restart_policy: unless-stopped - state: started