From b278aa1ef4d428cdd87a0d6aaaf8e2b8a5e881e4 Mon Sep 17 00:00:00 2001 From: WeiLai Date: Tue, 13 Dec 2022 19:31:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=BD=E7=95=A5=E6=96=87=E4=BB=B6=E4=B8=8D?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=20(#1206)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playbooks/11.harbor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/11.harbor.yml b/playbooks/11.harbor.yml index 425bf8d..208e22e 100644 --- a/playbooks/11.harbor.yml +++ b/playbooks/11.harbor.yml @@ -93,6 +93,7 @@ regexp: '{{ harbor_hostname }}' line: "{{ groups['harbor'][0] }} {{ harbor_hostname }}" when: 'ansible_distribution in ["Ubuntu","Debian"]' + ignore_errors: true - name: Adding cloud-init hosts template (redhat) entry for the HARBOR DOMAIN lineinfile: @@ -101,3 +102,4 @@ regexp: '{{ harbor_hostname }}' line: "{{ groups['harbor'][0] }} {{ harbor_hostname }}" when: 'ansible_distribution in ["CentOS","RedHat","Amazon","Aliyun"]' + ignore_errors: true \ No newline at end of file