From ea71e3ad84dadb222b79877edcff162f681ea026 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 17 Jun 2014 13:33:40 +0000 Subject: [PATCH] This is just not how its done. --- roles/github2fedmsg/tasks/main.yml | 10 -------- .../github2fedmsg/templates/githubsecrets.py | 23 ------------------- 2 files changed, 33 deletions(-) delete mode 100644 roles/github2fedmsg/templates/githubsecrets.py diff --git a/roles/github2fedmsg/tasks/main.yml b/roles/github2fedmsg/tasks/main.yml index 9e6e52085f..8202b67be1 100644 --- a/roles/github2fedmsg/tasks/main.yml +++ b/roles/github2fedmsg/tasks/main.yml @@ -29,16 +29,6 @@ notify: - restart apache -- name: copy github2fedmsg secret oauth creds - template: > - src=githubsecrets.py - dest=/usr/lib/python2.6/site-packages/github2fedmsg/githubsecrets.py - mode=0640 owner=apache group=apache - tags: - - config - notify: - - restart apache - - name: copy github2fedmsg wsgi script copy: > src={{ item }} dest="/usr/share/github2fedmsg/{{ item }}" diff --git a/roles/github2fedmsg/templates/githubsecrets.py b/roles/github2fedmsg/templates/githubsecrets.py deleted file mode 100644 index 19fdbb24c3..0000000000 --- a/roles/github2fedmsg/templates/githubsecrets.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file is a part of github2fedmsg, a pubsubhubbub to zeromq bridge. -# Copyright (C) 2014, Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . - -# github2fedmsg's secret key to the kingdom -{% if env != 'staging' %} -secret_oauth_token = "{{github2fedmsgGHsecret_oauth_token}}" -{% else %} -secret_oauth_token = "{{github2fedmsgGHsecret_oauth_token_staging}}" -{% endif %} -