Skip to content

Commit

Permalink
Merge pull request #304 from hadeskun/softFailedAnsibleTask
Browse files Browse the repository at this point in the history
Add how to set an ansible task as softfailed
  • Loading branch information
BillAnastasiadis authored Dec 9, 2024
2 parents fc245f6 + 2b31ee7 commit 41e95ae
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,3 +275,20 @@ If the user does not wish to copy the role in the `roles` folder of this reposit
export ANSIBLE_ROLES_PATH=<the-dir-where-the-role-is-located>
. . . (run deployment as you would normally do)
```

### Mark temporary workaround for known issues

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]"
```

Here a complete example:

```yaml
- name: Example of debug message
ansible.builtin.debug:
msg: "[OSADO][softfail] bsc#123456789 Here a generic message with some explanations."
```

0 comments on commit 41e95ae

Please sign in to comment.