From fef2b11ebdb39f12ea88086b6f98fb0128915011 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 7 Jan 2019 14:06:12 +0000 Subject: [PATCH] Ignore errors on ssh key removal This already exists in the OpenStack base job. Protects against failures removing the ssh key failing an otherwise successful job. Change-Id: Id358403f6543d4ca7ddc0795807ef9a89840881d --- playbooks/base-test/post.yaml | 3 +++ playbooks/base/post.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/playbooks/base-test/post.yaml b/playbooks/base-test/post.yaml index a021a08..0318870 100644 --- a/playbooks/base-test/post.yaml +++ b/playbooks/base-test/post.yaml @@ -3,5 +3,8 @@ - fetch-output - hosts: all + # NOTE(pabelanger): We ignore_errors for the following tasks as not to fail + # successful jobs. + ignore_errors: yes roles: - remove-build-sshkey diff --git a/playbooks/base/post.yaml b/playbooks/base/post.yaml index a021a08..0318870 100644 --- a/playbooks/base/post.yaml +++ b/playbooks/base/post.yaml @@ -3,5 +3,8 @@ - fetch-output - hosts: all + # NOTE(pabelanger): We ignore_errors for the following tasks as not to fail + # successful jobs. + ignore_errors: yes roles: - remove-build-sshkey