The first step is to install IBM watsonx Code Assistant. You can do this by downloading and connecting your Ansible VS Code extension directly in your IDE and click “Generate an Ansible Role” to get started with role generation.
Article Source
https://www.ibm.com/new/announcements/building-reusable-automation-with-ibm-watsonx-code-assistant