status_render¶
Note
Always use the FQCN (Fully Qualified Collection Name) arista.avd.status_render when using this plugin.
Convert Text to EMOJI code.
Synopsis¶
Returns the input value unless rendering is set to "github".
Returns :x: if input status string is FAIL and rendering is set to "github".
Returns :white_check_mark: if input status string is PASS and rendering is set to "github".
Parameters¶
| Argument | Type | Required | Default | Value Restrictions | Description |
|---|---|---|---|---|---|
| _input | string | True | None | Text to convert to EMOJI. | |
| rendering | string | True | None | Markdown Flavor to use for Emoji rendering. Only "github" is supported. |
Return Values¶
| Name | Type | Description |
|---|---|---|
| _value | string | Input value or GitHub Markdown emoji code. |
Authors¶
- Arista Ansible Team (@aristanetworks)