summaryrefslogtreecommitdiffstats
path: root/roles/github2fedmsg
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2014-06-17 13:33:40 +0000
committerRalph Bean <rbean@redhat.com>2014-06-17 13:33:40 +0000
commitea71e3ad84dadb222b79877edcff162f681ea026 (patch)
treed0dad56cea0cdb9acd5caa4aee8420a2c1c6e1d9 /roles/github2fedmsg
parent6414533b5a107a502d2d5a5638a02f1231099905 (diff)
downloadansible-ea71e3ad84dadb222b79877edcff162f681ea026.tar.gz
ansible-ea71e3ad84dadb222b79877edcff162f681ea026.tar.xz
ansible-ea71e3ad84dadb222b79877edcff162f681ea026.zip
This is just not how its done.
Diffstat (limited to 'roles/github2fedmsg')
-rw-r--r--roles/github2fedmsg/tasks/main.yml10
-rw-r--r--roles/github2fedmsg/templates/githubsecrets.py23
2 files changed, 0 insertions, 33 deletions
diff --git a/roles/github2fedmsg/tasks/main.yml b/roles/github2fedmsg/tasks/main.yml
index 9e6e52085..8202b67be 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 19fdbb24c..000000000
--- 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 <http://www.gnu.org/licenses/>.
-
-# 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 %}
-