Importing existing actions from GitHub
3 min
learn how to import 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 publish the onboarded action https //docs kyndryl com/us/en/services/introduction to bridge services/ccm/create an action using github/validate and publish the action