Importing existing actions from GitHub
Users can onboard customized or Out-of -the-Box (OOTB) actions using the import from an external source option. All actions contents are applicable to all the Public Cloud providers (AWS, Azure Google Cloud) and private cloud like vRA . Select this option to import action definitions from your own Github or Kyndryl Github account.
The onboard option can only be performed by the Actions Registry admin.
Importing customized actions from an external source using your local github
This option allows you to import your own actions. Before importing customized actions, make sure to create a github connection and maintain the same structure as the OOTB content.
Action template structure
The folder structure must contain the path where actions are stored. Each action must include three .json files:
- action-configuration.json: This file is required if the action type is configuration change.
- action-definition.json: Set the actionConfigParams to true if the action type is configuration change
- action-template.json: This file must have an encoded template and must include the playbook repository path.
Use the following procedure to import from an external source:
- From the Kyndryl Modern Operations Applications dashboard, click the Main Menu.
- Select Actions.
- Click Actions Onboarding.
- From the Actions Admin page, click the onboard action + button.
- Select the following import option: Import from external source.
- Click OK
- In the Select a Content Source to Import Action page, click GitHub. To import Ansible Action metadata, select the GitHub repository.
Make sure to add the actual playbook path.
- Multiple accounts detected window pop-up. Select the correspondent Account name and click OK.
- An Import Started message confirms the import is underway. Click OK to acknowledge the message. When the import is complete, a confirmation email is sent and the action is added in the Drafts tab of the Actions Admin page.
Importing OOTB content from Github
Follow the procedure described in Importing customized actions from an external source using your local github to import from an external source. When selecting the content source (step 7), make sure to add the playbookRefID (DB reference).
After the action is onboarded, the action is displayed under the draft tab. It is required to Validate and publish the action.