From 21336802f4a99a47fa7564ce59a9dd6691a6de52 Mon Sep 17 00:00:00 2001 From: liubo Date: Wed, 26 Feb 2020 11:50:38 +0800 Subject: [PATCH] fix 404 url (#1163) * fix 404 url * update ntp check url --- roles/check_system_dynamic/tasks/main.yml | 2 +- roles/check_system_static/tasks/main.yml | 4 ++-- roles/tikv/tasks/check_filesystem.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/check_system_dynamic/tasks/main.yml b/roles/check_system_dynamic/tasks/main.yml index d760d4e35..cf59f80fe 100644 --- a/roles/check_system_dynamic/tasks/main.yml +++ b/roles/check_system_dynamic/tasks/main.yml @@ -39,7 +39,7 @@ - name: Preflight check - NTP service fail: - msg: "Make sure NTP service is running and ntpstat is synchronised to NTP server. See https://github.com/pingcap/docs/blob/master/dev/how-to/deploy/orchestrated/ansible.md#how-to-check-whether-the-ntp-service-is-normal ." + msg: "Make sure NTP service is running and ntpstat is synchronised to NTP server. See https://github.com/pingcap/docs/blob/master/how-to/deploy/orchestrated/ansible.md#how-to-check-whether-the-ntp-service-is-normal ." when: - enable_ntpd - ntp_st.stdout|int != 1 diff --git a/roles/check_system_static/tasks/main.yml b/roles/check_system_static/tasks/main.yml index 0e834218f..367586a28 100644 --- a/roles/check_system_static/tasks/main.yml +++ b/roles/check_system_static/tasks/main.yml @@ -13,7 +13,7 @@ - name: Preflight check - Linux OS family and distribution version fail: - msg: "System versions lower than Red Hat Enterprise Linux / CentOS 7.3 have been deprecated. Please use CentOS 7.3 and above. See https://github.com/pingcap/docs/blob/master/dev/how-to/deploy/hardware-recommendations.md" + msg: "System versions lower than Red Hat Enterprise Linux / CentOS 7.3 have been deprecated. Please use CentOS 7.3 and above. See https://github.com/pingcap/docs/blob/master/how-to/deploy/hardware-recommendations.md" when: - ansible_os_family == 'RedHat' - ansible_distribution in ['CentOS', 'RedHat'] @@ -72,7 +72,7 @@ - name: Preflight check - Fail when CPU frequency governor is not set to performance mode fail: - msg: "To achieve maximum performance, it is recommended to set The CPU frequency governor to performance mode, see https://github.com/pingcap/docs/blob/master/dev/how-to/deploy/orchestrated/ansible.md#step-7-configure-the-cpufreq-governor-mode-on-the-target-machine" + msg: "To achieve maximum performance, it is recommended to set The CPU frequency governor to performance mode, see https://github.com/pingcap/docs/blob/master/how-to/deploy/orchestrated/ansible.md#step-7-configure-the-cpufreq-governor-mode-on-the-target-machine" when: - cpufreq_available_governors.stdout.find("performance") != -1 - cpufreq_current_governor.stdout.find("performance") == -1 diff --git a/roles/tikv/tasks/check_filesystem.yml b/roles/tikv/tasks/check_filesystem.yml index b9a40be92..ddeeae398 100644 --- a/roles/tikv/tasks/check_filesystem.yml +++ b/roles/tikv/tasks/check_filesystem.yml @@ -40,7 +40,7 @@ - name: Preflight check - Does tikv data dir meet ext4 file system requirement fail: - msg: "You don't mount the file system of {{ deploy_partition.stdout }} with ext4 nodelalloc option. See https://github.com/pingcap/docs/blob/master/dev/how-to/deploy/orchestrated/ansible.md#step-8-mount-the-data-disk-ext4-filesystem-with-options-on-the-target-machines." + msg: "You don't mount the file system of {{ deploy_partition.stdout }} with ext4 nodelalloc option. See https://github.com/pingcap/docs/blob/master/how-to/deploy/orchestrated/ansible.md#step-8-mount-the-data-disk-ext4-filesystem-with-options-on-the-target-machines." when: - ext4_filesystem_alert is defined - ext4_filesystem_alert