Skip to content

Commit

Permalink
Add how to set an ansible task as softfailed
Browse files Browse the repository at this point in the history
Add how to set an ansible task as softfailed.
  • Loading branch information
hadeskun committed Dec 9, 2024
1 parent cc84b1a commit 2b31ee7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,10 @@ export ANSIBLE_ROLES_PATH=<the-dir-where-the-role-is-located>
. . . (run deployment as you would normally do)
```

### How to rewrite an ansible task to be softfailed automatically in OSADO
### Mark temporary workaround for known issues

To softfailed an ansible task it is needed to add a msg attribute in the task following this format:
If Ansible code is added to temporary workaround known issue, already associated to an open ticket, there's a convention to communicate it to openQA.
Use `ansible.buildin.debug` with a specific format.

```yaml
msg: "[OSADO][softfail] [bsc or jsc]#[number] [short description]"
Expand Down

0 comments on commit 2b31ee7

Please sign in to comment.