Browse Source

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
Monty Taylor 3 months ago
parent
commit
fef2b11ebd
No account linked to committer's email address
2 changed files with 6 additions and 0 deletions
  1. 3
    0
      playbooks/base-test/post.yaml
  2. 3
    0
      playbooks/base/post.yaml

+ 3
- 0
playbooks/base-test/post.yaml View File

@@ -3,5 +3,8 @@
3 3
     - fetch-output
4 4
 
5 5
 - hosts: all
6
+  # NOTE(pabelanger): We ignore_errors for the following tasks as not to fail
7
+  # successful jobs.
8
+  ignore_errors: yes
6 9
   roles:
7 10
     - remove-build-sshkey

+ 3
- 0
playbooks/base/post.yaml View File

@@ -3,5 +3,8 @@
3 3
     - fetch-output
4 4
 
5 5
 - hosts: all
6
+  # NOTE(pabelanger): We ignore_errors for the following tasks as not to fail
7
+  # successful jobs.
8
+  ignore_errors: yes
6 9
   roles:
7 10
     - remove-build-sshkey

Loading…
Cancel
Save