From ddffeebb6397ae061eeafde03425c958e5f5fcb9 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 19 May 2022 16:31:30 -0700 Subject: [PATCH] proxies: drop ipv6 restart script Yesterdays fix: a script that restarted networking to bring back a ipv6 route on proxy11, causes: Todays bug: restarting the interface every minute causes the nameserver to burp and not find sundries01, so all the rsyncs fail. It seems to handle this just fine now, so lets retire this glorious hack. Signed-off-by: Kevin Fenzi --- files/scripts/restart-broken-ipv6.cron | 1 - playbooks/groups/proxies.yml | 10 ---------- 2 files changed, 11 deletions(-) delete mode 100644 files/scripts/restart-broken-ipv6.cron diff --git a/files/scripts/restart-broken-ipv6.cron b/files/scripts/restart-broken-ipv6.cron deleted file mode 100644 index d4c3e270eb..0000000000 --- a/files/scripts/restart-broken-ipv6.cron +++ /dev/null @@ -1 +0,0 @@ -* * * * * root /usr/local/bin/restart-broken-ipv6 diff --git a/playbooks/groups/proxies.yml b/playbooks/groups/proxies.yml index ad7c1418a3..b1af304949 100644 --- a/playbooks/groups/proxies.yml +++ b/playbooks/groups/proxies.yml @@ -154,13 +154,3 @@ - name: make sure selinux contexts are right on srv command: restorecon -R /srv changed_when: false - - - name: install restart ipv6 script on proxies that have problems keeping ipv6 routes - copy: src="{{ files }}/scripts/restart-broken-ipv6" dest=/usr/local/bin/restart-broken-ipv6 mode=0755 - when: inventory_hostname.startswith('proxy11.fedoraproject') - tags: restart-ipv6 - - - name: setup cron job to check/fix ipv6 - copy: src="{{ files }}/scripts/restart-broken-ipv6.cron" dest=/etc/cron.d/restart-broken-ipv6 mode=0644 - when: inventory_hostname.startswith('proxy11.fedoraproject') - tags: restart-ipv6