From f6ff5fca31185ee613b36b6b25bc2bad7c543107 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Apr 09 2020 17:34:31 +0000 Subject: s3-mirror: disable for now as we are caching dl directly now Signed-off-by: Kevin Fenzi --- diff --git a/roles/s3-mirror/tasks/main.yml b/roles/s3-mirror/tasks/main.yml index 4334455..83fc44a 100644 --- a/roles/s3-mirror/tasks/main.yml +++ b/roles/s3-mirror/tasks/main.yml @@ -55,6 +55,7 @@ cron: name="s3sync-main" minute="0" hour="0" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-main /usr/local/bin/s3.sh 2>&1 | /usr/local/bin/nag-once s3.sh 1d 2>&1' cron_file=s3.sh + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror @@ -72,6 +73,7 @@ cron: name="s3sync-updates-current" minute="0" hour="3,9,15,21" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-updates-current "/usr/local/bin/s3-sync-path.sh /pub/fedora/linux/updates/{{ FedoraCycleNumber|int }}/Everything/x86_64/" 2>&1 | /usr/local/bin/nag-once s3-updates-current.sh 1d 2>&1' cron_file=s3-updates-current.sh + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror @@ -80,7 +82,7 @@ cron: name="s3sync-updates-current" minute="0" hour="2,7,10" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-updates-dev-cur-plus-1-x86_64 "/usr/local/bin/s3-sync-path.sh /pub/fedora/linux/development/{{ FedoraCycleNumber|int + 1 }}/Everything/x86_64/os/" 2>&1 | /usr/local/bin/nag-once s3-updates-dev-cur-plus-1-x86_64.sh 1d 2>&1' cron_file=s3-updates-dev-cur-plus-1-x86_64.sh - disabled={{not FedoraBranched|bool}} + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror @@ -89,7 +91,7 @@ cron: name="s3sync-updates-current" minute="0" hour="4,11,18" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-updates-dev-cur-plus-1-aarch64 "/usr/local/bin/s3-sync-path.sh /pub/fedora/linux/development/{{ FedoraCycleNumber|int + 1 }}/Everything/aarch64/os/" 2>&1 | /usr/local/bin/nag-once s3-updates-dev-cur-plus-1-aarch64.sh 1d 2>&1' cron_file=s3-updates-dev-cur-plus-1-aarch64.sh - disabled={{not FedoraBranched|bool}} + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror @@ -98,6 +100,7 @@ cron: name="s3sync-updates-previous" minute="30" hour="0,6,12,18" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-updates-previous "/usr/local/bin/s3-sync-path.sh /pub/fedora/linux/updates/{{ FedoraCycleNumber|int - 1 }}/Everything/x86_64/" 2>&1 | /usr/local/bin/nag-once s3-updates-previous.sh 1d 2>&1' cron_file=s3-updates-previous.sh + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror @@ -106,6 +109,7 @@ cron: name="s3sync-epel7-x86_64" minute="10" hour="2,5,8,11,14,17,20,23" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-epel7-x86_64 "/usr/local/bin/s3-sync-path.sh /pub/epel/7/x86_64/" 2>&1 | /usr/local/bin/nag-once s3-epel7-x86_64.sh 1d 2>&1' cron_file=s3-epel7-x86_64.sh + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror @@ -114,6 +118,7 @@ cron: name="s3sync-epel7-aarch64" minute="20" hour="4,7,10,13,16,19,22" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-epel7-aarch64 "/usr/local/bin/s3-sync-path.sh /pub/epel/7/aarch64/" 2>&1 | /usr/local/bin/nag-once s3-epel7-aarch64.sh 1d 2>&1' cron_file=s3-epel7-aarch64.sh + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror @@ -122,6 +127,7 @@ cron: name="s3sync-epel8-everything-x86_64" minute="43" hour="3,6,9,12,15,17,20,23" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-epel8-everything-x86_64 "/usr/local/bin/s3-sync-path.sh /pub/epel/8/Everything/x86_64/" 2>&1 | /usr/local/bin/nag-once s3-epel8-everything-x86_64.sh 1d 2>&1' cron_file=s3-epel8-everything-x86_64.sh + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror @@ -130,6 +136,7 @@ cron: name="s3sync-epel8-everything-aarch64" minute="38" hour="4,7,10,13,16,19,22" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-epel8-everything-aarch64 "/usr/local/bin/s3-sync-path.sh /pub/epel/8/Everything/aarch64/" 2>&1 | /usr/local/bin/nag-once s3-epel8-everything-aarch64.sh 1d 2>&1' cron_file=s3-epel8-everything-aarch64.sh + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror @@ -138,6 +145,7 @@ cron: name="s3sync-epel8-modular-x86_64" minute="32" hour="3,6,9,12,15,17,20,23" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-epel8-modular-x86_64 "/usr/local/bin/s3-sync-path.sh /pub/epel/8/Modular/x86_64/" 2>&1 | /usr/local/bin/nag-once s3-epel8-modular-x86_64.sh 1d 2>&1' cron_file=s3-epel8-modular-x86_64.sh + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror @@ -146,6 +154,7 @@ cron: name="s3sync-epel8-modular-aarch64" minute="27" hour="4,7,10,13,16,19,22" user="s3-mirror" job='/usr/local/bin/lock-wrapper s3sync-epel8-modular-aarch64 "/usr/local/bin/s3-sync-path.sh /pub/epel/8/Modular/aarch64/" 2>&1 | /usr/local/bin/nag-once s3-epel8-modular-aarch64.sh 1d 2>&1' cron_file=s3-epel8-modular-aarch64.sh + disabled=true when: env != 'staging' and inventory_hostname.startswith('mm-backend01.') tags: - s3-mirror