Cloud Services

Enterprise Marketplace

Creating Ansible Tower and CAS service provider + asset accounts
Published On Jun 14, 2024 - 9:03 AM

Creating Ansible Tower and CAS service provider + asset accounts

Enabling Ansible Tower (AT) using the Kyndryl Modern Operations Applications user interface (UI) and the APIs Developer Console.
Common Actions Services provisioning feature allows you to configure any stack action supported by Common Actions Services for Ansible Tower. This feature is specifically for the Enterprise Marketplace application.
Any new provisioning action that has been onboarded using CAS can be published as a catalog in the Enterprise Marketplace catalog.

Create Common Actions Services provider account

You need to create a new
CAS
provider account via the Provider Account page by completing the following steps:
  1. Click the
    Main menu
    on the left side of the page.
  2. Select the
    Admin
    menu.
  3. Click
    Provider
    . The
    Provider
    page opens.
  4. Select the
    Provider Type
    tab.
  5. Click
    New Provider Type
    .
  6. Complete the following information:
    1. Type
      CAS
      as
      Name
      .
    2. Update and upload the .json file
      { "providerType": "cas", "displayName": "Actions", "iconImage": "Path of icon for this provider", "canSupportSubAccounts": true, "canDiscoverSubAccounts": false, "canDetachSubAccounts": false, "canDoTestConnection": true, "version": 1, "accountMetadata": { }, "credentialMetadata": { "provisioning": { "basic_username": { "type": "string", "canUpdate": true, "minLength": 5, "maxLength": 50, "isRequired": false, "displayLabel": "Basic Auth - User Name", "helpText": "Basic Auth - Enter User Name", "translationCodes":{ "displayLabel": "CO_BASIC_AUTH_USER_NAME", "helpText": "CO_ENTER_BASIC_AUTH_USER_NAME" } }, "basic_password": { "type": "password", "canUpdate": true, "minLength": 5, "maxLength": 50, "isRequired": false, "displayLabel": "Basic Auth - Password", "helpText": "Basic Auth - Enter Password", "translationCodes":{ "displayLabel": "CO_BASIC_AUTH_PWD", "helpText": "CO_ENTER_BASIC_AUTH_PWD" } } } } }
  7. Click
    Create
    .
  8. Select the
    Provider
    tab.
  9. Click
    New Provider
    .
  10. From the 
    Select Type
    dropdown, select
    CAS
    and click
    Next
    .
  11. Complete the following information to finish:
    1. Provider Name:
      CAS.
    2. Vault Name:
      Select your vault.
    3. Provider Code:
      CAS.
    4. Set the status to
      Active
      .
  12. Click
    Create.

Create Common Actions Services asset account

You need to create a new
CAS
asset account via the Provider Account page and add the required credentials by completing the following steps:
  1. Click the
    Main menu
    on the left side of the page.
  2. Select the
    Admin
    menu.
  3. Click
    Provider Account
    . The
    Account Management
    page opens.
  4. Select the
    Asset Accounts
    tab.
  5. Click
    New Asset Account
    .
  6. Select
    CAS
    as your provider account.
  7. Complete all required account details
    1. Provide a
      name
      , an optional
      description
      and the
      endpoint URL
      . Finally, click
      Create Account
      to finish creating the account.
    2. Set status to
      Active
      .
  8. Click
    Add Credentials
    at the bottom of the page, and complete all required credential details:
    1. Provide a
      name
      , select
      Provisioning
      as the
      Purpose
      , and provide an optional
      description
      .
    2. Click the
      Create New or Update Credential in Vault
      box, and provide the
      Username and Password
      .
    3. Click both the
      Show Associated
      and the
      Associate
      box. Select
      Organization
      as the
      Business Entities
      , and select
      All
      as the
      Values
      .
    4. Click
      Add
      .

Create Ansible Tower asset account

You need to create a new
Ansible Tower
asset account via the Provider Account page and add the required credentials by completing the following steps:
  1. Click the
    Main menu
    on the left side of the page.
  2. Select the
    Admin
    menu.
  3. Click
    Provider Account
    . The
    Account Management
    page opens.
  4. Select the
    Asset Accounts
    tab.
  5. Click
    New Asset Account
    .
  6. Select
    Tower
    as your provider account.
  7. Complete all required account details:
    1. Provide a
      name
      , an optional
      description
      and the
      endpoint URL
      . Finally, click
      Create Account
      to finish creating the account.
    2. Set status to
      Active
      .
  8. Click
    Add Credentials
    at the bottom of the page, and complete all required credential details:
    1. Provide a
      name
      , select
      Provisioning
      as the
      Purpose
      , and provide an optional
      description
      .
    2. Click the
      Create New or Update Credential in Vault
      box, and provide the
      Authorization Token
      .
    3. Click both the
      Show Associated
      and the
      Associate
      box. Select
      Organization
      as the
      Business Entities
      , and select
      All
      as the
      Values
      .
    4. Click
      Add
      to finish adding credentials.

Run APIs

You need to go to the Developer Console and run the required APIs as follows:
  1. From the
    Application
    dropdown menu, select
    Actions
    .
  2. From the
    Service
    dropdown menu, select
    actions-registry-service
    .
  3. Scroll to the
    Actions Registry
    section.
Do you have two minutes for a quick survey?
Take Survey