mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 06:20:26 +08:00
retire legacy fedora websites repo phase 1
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
This commit is contained in:
committed by
kevin
parent
1331fab138
commit
c509e526fb
@@ -42,7 +42,7 @@
|
||||
- role: fedora-web/build
|
||||
when: master_sundries_node|bool
|
||||
- role: fedora-web/translation
|
||||
when: master_sundries_node|bool
|
||||
when: master_sundries_node|bool and env != "staging"
|
||||
- role: fedora-budget/build
|
||||
when: master_sundries_node|bool
|
||||
- role: fedora-docs/build
|
||||
|
||||
@@ -18,20 +18,25 @@
|
||||
website: fedoraproject.org
|
||||
- role: fedora-web/start
|
||||
website: start.fedoraproject.org
|
||||
when: env != "staging"
|
||||
- role: fedora-web/mirrors
|
||||
website: mirrors.fedoraproject.org
|
||||
when: env != "staging"
|
||||
- role: fedora-web/community
|
||||
website: fedoracommunity.org
|
||||
when: env == "production"
|
||||
- role: fedora-web/getfedora
|
||||
website: getfedora.org
|
||||
when: env != "staging"
|
||||
- role: fedora-web/flocktofedora
|
||||
website: flocktofedora.org
|
||||
when: env == "production"
|
||||
- role: fedora-web/labs
|
||||
website: labs.fedoraproject.org
|
||||
when: env != "staging"
|
||||
- role: fedora-web/iot
|
||||
website: iot.fedoraproject.org
|
||||
when: env != "staging"
|
||||
- role: fedora-web/registry
|
||||
website: registry.fedoraproject.org
|
||||
- role: fedora-web/ostree
|
||||
@@ -42,6 +47,7 @@
|
||||
website: codecs.fedoraproject.org
|
||||
- role: fedora-web/alt
|
||||
website: alt.fedoraproject.org
|
||||
when: env != "staging"
|
||||
- role: fedora-web/src
|
||||
website: src.fedoraproject.org
|
||||
- role: fedora-web/ols
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/alt
|
||||
when: env != "staging"
|
||||
|
||||
- name: Copy some config files for {{website}}
|
||||
ansible.builtin.copy: >
|
||||
@@ -17,3 +18,4 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/alt
|
||||
when: env != "staging"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/community
|
||||
when: env != "staging"
|
||||
|
||||
- name: Copy some config files for {{website}}
|
||||
ansible.builtin.copy: >
|
||||
@@ -17,3 +18,4 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/community
|
||||
when: env != "staging"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/flocktofedora
|
||||
when: env != "staging"
|
||||
|
||||
- name: Copy some config files for {{website}}
|
||||
ansible.builtin.copy: >
|
||||
@@ -17,3 +18,4 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/flocktofedora
|
||||
when: env != "staging"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
25 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::getfedora.org/ /srv/web/getfedora.org/
|
||||
30 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::fmw/ /srv/web/fmw/
|
||||
# 30 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::fmw/ /srv/web/fmw/
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/getfedora
|
||||
when: env != "staging"
|
||||
|
||||
- name: Copy some config files for {{website}}
|
||||
ansible.builtin.copy: >
|
||||
@@ -18,3 +19,4 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/getfedora
|
||||
when: env != "staging"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/iot
|
||||
when: env != "staging"
|
||||
|
||||
- name: Copy some config files for {{website}}
|
||||
ansible.builtin.copy: >
|
||||
@@ -17,3 +18,4 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/iot
|
||||
when: env != "staging"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/labs
|
||||
when: env != "staging"
|
||||
|
||||
- name: Copy some config files for {{website}}
|
||||
ansible.builtin.copy: >
|
||||
@@ -17,3 +18,4 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/labs
|
||||
when: env != "staging"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/mirrors
|
||||
when: env != "staging"
|
||||
|
||||
- name: Copy some config files for {{website}}
|
||||
ansible.builtin.copy: >
|
||||
@@ -16,3 +17,4 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/mirrors
|
||||
when: env != "staging"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/start
|
||||
when: env != "staging"
|
||||
|
||||
- name: Copy some config files for {{website}}
|
||||
ansible.builtin.copy: >
|
||||
@@ -17,3 +18,4 @@
|
||||
tags:
|
||||
- fedora-web
|
||||
- fedora-web/start
|
||||
when: env != "staging"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
state: present
|
||||
tags:
|
||||
- fedora-web-translation
|
||||
when: env != "staging"
|
||||
|
||||
- name: Create a non root user to run the code
|
||||
user:
|
||||
@@ -17,10 +18,12 @@
|
||||
register: user_result
|
||||
tags:
|
||||
- fedora-web-translation
|
||||
when: env != "staging"
|
||||
|
||||
- name: Display the public key to add it to pagure
|
||||
debug:
|
||||
var: user_result.ssh_public_key
|
||||
when: env != "staging"
|
||||
|
||||
- name: Create gitconfig for user
|
||||
ansible.builtin.copy:
|
||||
@@ -36,6 +39,7 @@
|
||||
mode: "0644"
|
||||
tags:
|
||||
- fedora-web-translation
|
||||
when: env != "staging"
|
||||
|
||||
- ansible.builtin.copy:
|
||||
src: ssh_config
|
||||
@@ -45,6 +49,7 @@
|
||||
mode: "0644"
|
||||
tags:
|
||||
- fedora-web-translation
|
||||
when: env != "staging"
|
||||
|
||||
- ansible.builtin.copy:
|
||||
src: web-translation-update
|
||||
@@ -54,6 +59,7 @@
|
||||
mode: "0755"
|
||||
tags:
|
||||
- fedora-web-translation
|
||||
when: env != "staging"
|
||||
|
||||
- ansible.builtin.copy:
|
||||
src: cron-web-translation-update
|
||||
|
||||
Reference in New Issue
Block a user