Remove standalone Kinoite website
Replaced by https://fedoraproject.org/kinoite/ Needs: https://pagure.io/fedora-infra/ansible/pull-request/1479
This commit is contained in:
parent
d00aadc0d2
commit
3a79d45596
12 changed files with 1 additions and 131 deletions
|
@ -55,8 +55,6 @@
|
||||||
when: master_sundries_node|bool
|
when: master_sundries_node|bool
|
||||||
- role: fedoraloveskde/build
|
- role: fedoraloveskde/build
|
||||||
when: master_sundries_node|bool
|
when: master_sundries_node|bool
|
||||||
- role: fedora-web/kinoite/build
|
|
||||||
when: master_sundries_node|bool
|
|
||||||
- role: rabbit/user
|
- role: rabbit/user
|
||||||
username: "sundries{{ env_suffix }}"
|
username: "sundries{{ env_suffix }}"
|
||||||
sent_topics: ^$
|
sent_topics: ^$
|
||||||
|
|
|
@ -61,6 +61,3 @@
|
||||||
|
|
||||||
- role: fedora-web/fedora.im
|
- role: fedora-web/fedora.im
|
||||||
website: fedora.im
|
website: fedora.im
|
||||||
|
|
||||||
- role: fedora-web/kinoite/website
|
|
||||||
website: kinoite.fedoraproject.org
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
MAILTO=web-members@fedoraproject.org
|
|
||||||
25 * * * * apache /usr/local/bin/lock-wrapper synckinoite /usr/local/bin/synckinoite
|
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [ ! -d /srv/web/kinoite.fedoraproject.org/.git ]
|
|
||||||
then
|
|
||||||
/usr/bin/git clone -q https://pagure.io/fedora-kde/kinoite-site /srv/web/kinoite.fedoraproject.org
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd /srv/web/kinoite.fedoraproject.org
|
|
||||||
|
|
||||||
/usr/bin/git clean -q -fdx || exit 1
|
|
||||||
/usr/bin/git fetch -q || exit 1
|
|
||||||
/usr/bin/git reset -q --hard origin/production || exit 1
|
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [ ! -d /srv/web/kinoite.fedoraproject.org/.git ]
|
|
||||||
then
|
|
||||||
/usr/bin/git clone -q https://pagure.io/fedora-kde/kinoite-site /srv/web/kinoite.fedoraproject.org
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd /srv/web/kinoite.fedoraproject.org
|
|
||||||
|
|
||||||
/usr/bin/git clean -q -fdx || exit 1
|
|
||||||
/usr/bin/git fetch -q || exit 1
|
|
||||||
/usr/bin/git reset -q --hard origin/staging || exit 1
|
|
|
@ -1,52 +0,0 @@
|
||||||
- name: Create directories
|
|
||||||
file:
|
|
||||||
state: directory
|
|
||||||
path: "/srv/web/{{item}}"
|
|
||||||
owner: apache
|
|
||||||
group: apache
|
|
||||||
mode: 0755
|
|
||||||
setype: httpd_sys_content_t
|
|
||||||
seuser: system_u
|
|
||||||
with_items:
|
|
||||||
- kinoite.fedoraproject.org
|
|
||||||
tags:
|
|
||||||
- kinoite
|
|
||||||
|
|
||||||
- name: Copy synckinoite script (stg)
|
|
||||||
when: env == "staging"
|
|
||||||
copy:
|
|
||||||
src: sync{{item}}.stg.sh
|
|
||||||
dest: /usr/local/bin/sync{{item}}
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0755
|
|
||||||
with_items:
|
|
||||||
- kinoite
|
|
||||||
tags:
|
|
||||||
- kinoite
|
|
||||||
|
|
||||||
- name: Copy synckinoite script (prod)
|
|
||||||
when: env == "production"
|
|
||||||
copy:
|
|
||||||
src: "{{item}}.sh"
|
|
||||||
dest: "/usr/local/bin/{{item}}"
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0755
|
|
||||||
with_items:
|
|
||||||
- synckinoite
|
|
||||||
tags:
|
|
||||||
- kinoite
|
|
||||||
|
|
||||||
- name: Install the synckinoite cron job
|
|
||||||
copy:
|
|
||||||
src: "{{item}}.cron"
|
|
||||||
dest: "/etc/cron.d/{{item}}.cron"
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0644
|
|
||||||
with_items:
|
|
||||||
- synckinoite
|
|
||||||
tags:
|
|
||||||
- kinoite
|
|
||||||
- cron
|
|
|
@ -1 +0,0 @@
|
||||||
30 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group --delete-excluded --exclude='.git*' sundries01::kinoite.fedoraproject.org/ /srv/web/kinoite.fedoraproject.org/
|
|
|
@ -1,8 +0,0 @@
|
||||||
DocumentRoot /srv/web/kinoite.fedoraproject.org/public
|
|
||||||
|
|
||||||
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
|
|
||||||
|
|
||||||
FileETag MTime Size
|
|
||||||
|
|
||||||
ExpiresActive On
|
|
||||||
ExpiresDefault "access plus 30 minutes"
|
|
|
@ -1,22 +0,0 @@
|
||||||
- name: Copy in the sync-kinoite cronjob
|
|
||||||
copy:
|
|
||||||
src: "cron-sync-{{item}}"
|
|
||||||
dest: "/etc/cron.d/sync-{{item}}"
|
|
||||||
with_items:
|
|
||||||
- kinoite
|
|
||||||
tags:
|
|
||||||
- kinoite
|
|
||||||
|
|
||||||
- name: Copy some config files for {{website}}
|
|
||||||
copy:
|
|
||||||
src: "{{item}}"
|
|
||||||
dest: "/etc/httpd/conf.d/{{website}}/{{item}}"
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0644
|
|
||||||
with_items:
|
|
||||||
- kinoite.fedoraproject.org.conf
|
|
||||||
notify:
|
|
||||||
- reload proxyhttpd
|
|
||||||
tags:
|
|
||||||
- kinoite
|
|
|
@ -205,11 +205,3 @@ uid = root
|
||||||
gid = root
|
gid = root
|
||||||
read only = yes
|
read only = yes
|
||||||
hosts allow = 10.3.160.0/255.255.224.0 192.168.0.0/255.255.0.0
|
hosts allow = 10.3.160.0/255.255.224.0 192.168.0.0/255.255.0.0
|
||||||
|
|
||||||
[kinoite.fedoraproject.org]
|
|
||||||
comment = kinoite.fedoraproject.org
|
|
||||||
path = /srv/web/kinoite.fedoraproject.org
|
|
||||||
uid = root
|
|
||||||
gid = root
|
|
||||||
read only = yes
|
|
||||||
hosts allow = 10.3.160.0/255.255.224.0 192.168.0.0/255.255.0.0
|
|
||||||
|
|
|
@ -205,11 +205,3 @@ uid = root
|
||||||
gid = root
|
gid = root
|
||||||
read only = yes
|
read only = yes
|
||||||
hosts allow = 10.3.160.0/255.255.224.0 192.168.0.0/255.255.0.0
|
hosts allow = 10.3.160.0/255.255.224.0 192.168.0.0/255.255.0.0
|
||||||
|
|
||||||
[kinoite.fedoraproject.org]
|
|
||||||
comment = kinoite.fedoraproject.org
|
|
||||||
path = /srv/web/kinoite.fedoraproject.org
|
|
||||||
uid = root
|
|
||||||
gid = root
|
|
||||||
read only = yes
|
|
||||||
hosts allow = 10.3.160.0/255.255.224.0 192.168.0.0/255.255.0.0
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ TREEDIR=${LOGDIR}/${YEAR}/${MONTH}/${DAY}
|
||||||
AWSTATS=/usr/share/awstats/wwwroot/cgi-bin/awstats.pl
|
AWSTATS=/usr/share/awstats/wwwroot/cgi-bin/awstats.pl
|
||||||
HTMLDOC=/usr/bin/htmldoc
|
HTMLDOC=/usr/bin/htmldoc
|
||||||
|
|
||||||
SITES="admin.fedoraproject.org apps.fedoraproject.org ask.fedoraproject.org badges.fedoraproject.org bodhi.fedoraproject.org budget.fedoraproject.org bugz.fedoraproject.org cloud.fedoraproject.org codecs.fedoraproject.org communityblog.fedoraproject.org copr.fedoraproject.org developer.fedoraproject.org developers.fedoraproject.org docs.fedoraproject.org docs-old.fedoraproject.org download.fedoraproject.org fas.fedoraproject.org fedora.my fedoracommunity.org fedoramagazine.org fedoraproject.com fedoraproject.org flocktofedora.net flocktofedora.org fonts.fedoraproject.org fpaste.org fudcon.fedoraproject.org get.fedoraproject.org getfedora.org help.fedoraproject.org id.fedoraproject.org it.fedoracommunity.org join.fedoraproject.org k12linux.org kde.fedoraproject.org l10n.fedoraproject.org labs.fedoraproject.org lists.fedorahosted.org lists.fedoraproject.org meetbot-raw.fedoraproject.org meetbot.fedoraproject.org mirrors.fedoraproject.org nightly.fedoraproject.org osbs.fedoraproject.org paste.fedoraproject.org pdc.fedoraproject.org people.fedoraproject.org port389.org qa.fedoraproject.org redirect.fedoraproject.org registry.fedoraproject.org smolts.org spins.fedoraproject.org src.fedoraproject.org start.fedoraproject.org store.fedoraproject.org translate.fedoraproject.org uk.fedoracommunity.org fedoraloveskde.org kinoite.fedoraproject.org"
|
SITES="admin.fedoraproject.org apps.fedoraproject.org ask.fedoraproject.org badges.fedoraproject.org bodhi.fedoraproject.org budget.fedoraproject.org bugz.fedoraproject.org cloud.fedoraproject.org codecs.fedoraproject.org communityblog.fedoraproject.org copr.fedoraproject.org developer.fedoraproject.org developers.fedoraproject.org docs.fedoraproject.org docs-old.fedoraproject.org download.fedoraproject.org fas.fedoraproject.org fedora.my fedoracommunity.org fedoramagazine.org fedoraproject.com fedoraproject.org flocktofedora.net flocktofedora.org fonts.fedoraproject.org fpaste.org fudcon.fedoraproject.org get.fedoraproject.org getfedora.org help.fedoraproject.org id.fedoraproject.org it.fedoracommunity.org join.fedoraproject.org k12linux.org kde.fedoraproject.org l10n.fedoraproject.org labs.fedoraproject.org lists.fedorahosted.org lists.fedoraproject.org meetbot-raw.fedoraproject.org meetbot.fedoraproject.org mirrors.fedoraproject.org nightly.fedoraproject.org osbs.fedoraproject.org paste.fedoraproject.org pdc.fedoraproject.org people.fedoraproject.org port389.org qa.fedoraproject.org redirect.fedoraproject.org registry.fedoraproject.org smolts.org spins.fedoraproject.org src.fedoraproject.org start.fedoraproject.org store.fedoraproject.org translate.fedoraproject.org uk.fedoracommunity.org fedoraloveskde.org"
|
||||||
|
|
||||||
pushd ${CONFDIR}
|
pushd ${CONFDIR}
|
||||||
for SITE in ${SITES}; do
|
for SITE in ${SITES}; do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue