From a92ac59e15c062beb9cfea5db52a6af4b241cb45 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 24 May 2019 08:53:57 -0700 Subject: [PATCH] Fix new mirror system errors Fix the reported stat name for the mirror playbook. Run the mirror job in gate. Set follow=false so that we're telling Ansible to set the perms on the link rather than the target (which is the default). Change-Id: Id594cf3f7ab1dacae423cd2b7e158a701d086af6 --- .zuul.yaml | 1 + playbooks/roles/mirror/tasks/main.yaml | 1 + run_all.sh | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index 60383f2ef6..d60a8f4375 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -668,6 +668,7 @@ - system-config-run-dns - system-config-run-eavesdrop - system-config-run-nodepool + - system-config-run-mirror - system-config-run-docker-registry - system-config-run-gitea: dependencies: diff --git a/playbooks/roles/mirror/tasks/main.yaml b/playbooks/roles/mirror/tasks/main.yaml index ef167f323d..927229ccb8 100644 --- a/playbooks/roles/mirror/tasks/main.yaml +++ b/playbooks/roles/mirror/tasks/main.yaml @@ -75,6 +75,7 @@ state: link owner: root group: root + follow: false with_items: - centos - ceph-deb-hammer diff --git a/run_all.sh b/run_all.sh index 92f6acd4cd..dba438a5ce 100755 --- a/run_all.sh +++ b/run_all.sh @@ -106,7 +106,7 @@ send_timer nodepool start_timer timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-mirror.yaml -send_timer nodepool +send_timer mirror start_timer timeout -k 2m 30m ansible-playbook -f 50 ${ANSIBLE_PLAYBOOKS}/service-registry.yaml