3.8.2 Setting projects
A project is the directory where the Playbook is stored.
In a project, you can set the organization that will use the created project, as well as authentication information for accessing the GitLab repository where “Playbookβ.yaml” is registered, etc. Only users belonging to the organization set here can access this project or the job template that set this project.
[Procedure for setting projects]
1. Select the Automation application and then select "Projects" in the "Resources" category on the AWX window displayed in the contents area.
2. When the Projects windows appears, click the "Add" button and the Create New Project window will be displayed. Enter the required information.
(Figure) Create New Project window
(Table) List of information to be entered in the Create New Project window to create a job
| Item | Description |
|---|---|
| Name | Project name |
| Organization | Click the icon to display a list of registered organizations. Select the organization you want by putting a check in the radio button and clicking the "Select" button. Users who belong to the selected organization can view, edit, or execute this project. |
| Source Control Type | Select "Git" to access the Playbook registered in GitLab |
| Source Control URL | https://git.tenant name.ops-integration.com/group name/project name.git URL of the GitLab repository where "Playbookβ.yaml" is registered |
| Source Control Branch/Tag/Commit | Branch of the GitLab repository where "Playbookβ.yaml" is registered |
| Source Control Credential | Click the icon to display a list of source control authentication information. Select the name of the source control credential created in "Registering authentication information". |
3. Click the "Save" button after entering the required information. When the detail window appears, synchronization with GitLab will automatically start, and the final job status will be "Running". When synchronization is complete, the status will be "Successful". To cancel synchronization, click the "Cancel Sync" button. A dialog box will appear to confirm cancellation of synchronization, so click the "Confirm cancellation" button. You will return to the detail window, so click the "Edit" button and then click the "Save" button on the edit details window.
[Procedure for resynchronizing set projects]
If you added a playbook to the GitLab specified in the source control during the setting projects procedure, it must be resynchronized with the following procedure.
1. Select "Projects" in the "Resources" category in the contents area.
2. Click on the name of the relevant project from the Projects window to open the detail window.
3. Click the "Sync" button.
icon to display a list of registered organizations. Select the organization you want by putting a check in the radio button and clicking the "Select" button. Users who belong to the selected organization can view, edit, or execute this project.