Skip to content

Commit 9b6ea3b

Browse files
authored
Merge pull request #1754 from rundeck/add-runner-management-docs-4.0.x
RUN-4060: Document Single-Screen Inline Runner Editing Feature
2 parents 1e5b405 + 95b136f commit 9b6ea3b

File tree

1 file changed

+146
-21
lines changed

1 file changed

+146
-21
lines changed

docs/administration/runner/runner-management/managing-runners.md

Lines changed: 146 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Both the System and Project level management interfaces allow users to create, e
99
However, there are specific actions that can only take place in the System Level - such as assigning a Runner to multiple projects - or at the Project level - such as defining the Node Filter for dispatching to nodes.
1010

1111
## System Level Runner Management
12-
<br>
12+
1313
<details>
1414
<summary><u>ACL Permissions for Managing Runners at <strong>System</strong> level</u></summary>
1515

@@ -44,19 +44,19 @@ context:
4444
application: rundeck
4545
```
4646

47-
* Change **`my-user-group-name`** in the above ACL policy to the name of the user group that needs to have these permissions.
47+
- Change **`my-user-group-name`** in the above ACL policy to the name of the user group that needs to have these permissions.
4848

49-
</details>
49+
</details>
5050

5151
At the System level, in addition to creating, editing, and deleting Runners, users can also assign Runners to Projects.
5252

5353
To access the System level Runner management interface, navigate to the **System menu** and select **Runner Management**:
5454

55-
![Runner Management System Menu](/assets/img/runner-management-system-menu.png)<br>
55+
![Runner Management System Menu](/assets/img/runner-management-system-menu.png)
5656

5757
The Runner Management interface will display a list of all Runners in the system:
5858

59-
![Runner Management System List](/assets/img/system-level-runner-management.png)<br>
59+
![Runner Management System List](/assets/img/system-level-runner-management.png)
6060

6161
From this interface, users can:
6262

@@ -65,23 +65,21 @@ From this interface, users can:
6565
- [Assigning Runners to Projects](#assign-runners-to-projects).
6666
- [Manage a Runner's Replicas](managing-replicas.md).
6767

68-
[//]: # (- Delete Runners. For detailed steps, see [Deleting a Runner]&#40;/administration/runner/runner-installation/delete-a-runner&#41;.)
69-
7068
### Assigning Runners to Projects
7169

7270
To assign a Runner to a project, follow these steps:
7371

7472
1. From the System level Runner management interface, click on the name of the Runner.
7573
2. In the **Project Assignments** section, click on the **Add Projects** button.
76-
![Add Projects Button](/assets/img/assign-runner-to-project.png)
74+
![Add Projects Button](/assets/img/assign-runner-to-project.png)
7775
3. From the popup, select the Projects that should be able to use this Runner
78-
![Select Projects](/assets/img/runner-select-projects.png)
76+
![Select Projects](/assets/img/runner-select-projects.png)
7977
4. Click **Add**
8078

8179
The Runner can now be used within the designated projects for various tasks such as job execution, node discovery, and secrets-management integration.
8280

8381
## Managing Runners within a Project
84-
<br>
82+
8583
<details>
8684
<summary><u>ACL Permissions for Creating Runners at <strong>Project</strong> level</u></summary>
8785

@@ -116,7 +114,7 @@ context:
116114
project: my-project-name
117115
```
118116

119-
* Change **`my-user-group-name`** in the above ACL policy to the name of the user group that needs to have these permissions.
117+
- Change **`my-user-group-name`** in the above ACL policy to the name of the user group that needs to have these permissions.
120118

121119
</details>
122120

@@ -127,17 +125,15 @@ To access the Project level Runner management interface, navigate to a specific
127125

128126
The Runner Management interface will display a list of all Runners in the Project:
129127

130-
![Project Runners](/assets/img/project-management-runners-list.png)<br>
128+
![Project Runners](/assets/img/project-management-runners-list.png)
131129

132130
From this interface, users can:
133131

134-
- [Creating a new Runner](/administration/runner/runner-installation/creating-runners.md).
132+
- Create a new Runner. For detailed steps, see [Creating a Runner](/administration/runner/runner-installation/creating-runners.md).
135133
- [Modify a Runner's Node Dispatch Settings](/administration/runner/runner-management/node-dispatch.md).
136134
- [Edit a Runner's Tags](#runner-tags).
137135
- [Remove a Runner from a Project](#removing-a-runner-from-a-project).
138136

139-
[//]: # (- Delete Runners. For detailed steps, see [Deleting a Runner]&#40;/administration/runner/runner-installation/delete-a-runner&#41;.)
140-
141137
### Removing a Runner from a Project
142138

143139
To remove a Runner from a Project, follow these steps:
@@ -163,11 +159,14 @@ context:
163159
If using the self-hosted product and upgrading a version earlier than 5.3.0, the AppAdmin ACL policy stored on the local filesystem may need to be updated.
164160

165161
The following permissions must be **added** to it in order to manage Runners at the Project level:
162+
166163
```
167164
runner:
168165
- allow: '*' # allow read/write/delete for all Runners
169166
```
167+
170168
Therefore, the AppAdmin ACL Policy should look like this:
169+
171170
```
172171
description: Admin, all access.
173172
context:
@@ -177,7 +176,7 @@ for:
177176
- allow: '*' # allow read/create all kinds
178177
adhoc:
179178
- allow: '*' # allow read/running/killing adhoc jobs
180-
job:
179+
job:
181180
- allow: '*' # allow read/write/delete/run/kill of all jobs
182181
node:
183182
- allow: '*' # allow read/run for all nodes
@@ -201,11 +200,13 @@ for:
201200
by:
202201
group: admin
203202
```
203+
204204
:::
205205

206206
## Changing Runners from Single to Multiple Projects
207207

208208
When a Runner is assigned to a single Project, then users within a Project and with the appropriate permissions can make any changes to the Runner from the Project level interface. This includes the ability to:
209+
209210
- Edit the Runner's Name
210211
- Edit the Runner's Tags
211212
- Delete the Runner
@@ -221,14 +222,138 @@ This is because when a Runner spans multiple Projects it is considered a _shared
221222

222223
## Runner Tags
223224

224-
Runner Tags are used to select on or more Runners for specific operations - such as for Job execution when using [**Manual Runner Dispatch Configuration**](/administration/runner/runner-management/project-dispatch-configuration.md#manual-runner-selection) or when using [Runners for Node Source](/administration/runner/using-runners/runners-for-node-discovery.md) plugins.
225+
Runner Tags are used to select one or more Runners for specific operations - such as for Job execution when using [**Manual Runner Dispatch Configuration**](/administration/runner/runner-management/project-dispatch-configuration.md#manual-runner-selection) or when using [Runners for Node Source](/administration/runner/using-runners/runners-for-node-discovery.md) plugins.
225226

226227
Tag selection within the **Runner Selector** uses _and_ logic to define the inclusive set of Runners. For example, if a Job is configured to run on Runners with the tags `LINUX` and `DEV`, then only Runners that have _both_ tags will be listed as usable for the Job.
227228

228-
![Edit Runners](/assets/img/runner-config-edit.png)<br>
229+
![Edit Runners](/assets/img/runner-config-edit.png)
230+
231+
## Editing Runner Details
232+
233+
Rundeck provides an improved single-screen inline editing experience for managing Runner information. Instead of navigating to a separate edit page, you can now edit Runner details directly on the Runner's detail page within the **Basic Information** tab.
234+
235+
### Accessing Edit Mode
236+
237+
To edit a Runner:
238+
239+
1. Navigate to the Runner Management page (system or project level)
240+
2. Click the **Actions** dropdown next to the Runner you want to edit
241+
3. Select **Edit Runner**
242+
243+
The Runner's detail page opens with the **Basic Information** tab in edit mode, allowing you to modify Runner properties without leaving the page.
244+
245+
### Editable Fields
246+
247+
In edit mode, you can modify the following Runner properties:
248+
249+
- **Name**: The Runner's display name (required)
250+
- **Description**: Additional information about the Runner's purpose
251+
- **Tags**: Labels for organizing Runners and controlling job execution targeting
252+
253+
### Validation
254+
255+
The edit form includes built-in validation:
256+
257+
- **Runner Name is Required**: You cannot save a Runner without a name
258+
- Empty or whitespace-only names will display a clear error message
259+
- Invalid inputs are caught before submission to prevent errors
260+
261+
### Saving Changes
262+
263+
To save your edits:
264+
265+
1. Make your desired changes to the Runner details
266+
2. Click **Save** to commit the changes
267+
268+
Upon successful save:
269+
270+
- You'll see a success notification: "Runner updated successfully"
271+
- The detail page returns to view mode with your updated Runner data
272+
- Changes are immediately reflected across the system
273+
274+
### Canceling Edits
275+
276+
To discard your changes:
277+
278+
1. Click **Cancel** in the edit form
279+
2. All changes are discarded
280+
3. The detail page returns to view mode with the original Runner data
281+
282+
### Focused Editing Experience
283+
284+
When in edit mode:
285+
286+
- Non-essential tabs (Node Dispatch, Replicas) are hidden to maintain focus on editing
287+
- Only the **Basic Information** tab is visible with the edit form
288+
- The **Regenerate Credentials** button is hidden during editing (only available in view mode)
289+
- All tabs reappear when you cancel or save
290+
291+
**Note**: The **Node Dispatch** tab settings are managed and saved independently from the basic Runner information.
292+
293+
To edit these settings:
294+
295+
1. View the Runner detail page in **View Mode** (not Edit Mode)
296+
2. Open the **Node Dispatch** tab
297+
3. Adjust the settings as needed
298+
4. Use the **Node Dispatch** tab's save action to persist those changes without affecting the other Runner fields
299+
300+
## Regenerating Runner Credentials
301+
302+
Credentials may need to be regenerated if they are compromised or lost. The **Regenerate Credentials** functionality is only available when viewing a Runner's detail page in view mode (not during edit mode).
303+
304+
### When Regenerate is Available
305+
306+
The **Regenerate Credentials** button visibility depends on Runner type and replica configuration:
307+
308+
#### View Mode Requirement
309+
310+
- The **Regenerate Credentials** button is only visible in view mode (not shown during edit mode to maintain focus on basic information editing)
311+
312+
#### When Replicas Feature is Enabled
313+
314+
- **Ephemeral Runners**: Can regenerate credentials (designed for dynamic environments)
315+
- **Manual Runners**: Cannot regenerate credentials (use "Add Replica" workflow instead)
316+
317+
#### When Replicas Feature is Disabled (Legacy Mode)
318+
319+
- All Runner types can regenerate credentials for backward compatibility
320+
321+
### Security Note
322+
323+
:::warning Important
324+
Regenerating credentials will immediately invalidate the current credentials. Any active Runner using the old credentials will no longer be able to connect to Rundeck until you update the Runner with the new credentials and restart it.
325+
:::
326+
327+
### How to Regenerate Credentials
328+
329+
1. Navigate to the Runner's detail page (click on a Runner name from the table)
330+
2. Ensure you are in **View Mode** (not Edit Mode) - the **Regenerate Credentials** button is only visible in view mode
331+
3. Scroll to the **Regenerate Credentials** section
332+
4. Review the warning message about credential invalidation
333+
5. Click **Regenerate Credentials**
334+
6. Installation instructions will appear with:
335+
- New Runner Token
336+
- New Download Token
337+
- Updated installation commands for your platform
338+
339+
**Note**: The "Download Runner" option has been removed from the actions dropdown. Installation instructions are now displayed directly after clicking **Regenerate Credentials**.
340+
341+
### Installing Regenerated Credentials
342+
343+
After regenerating credentials:
344+
345+
1. Stop the running Runner service on your Runner machine
346+
2. Update the Runner configuration file with the new token:
347+
348+
```bash
349+
RUNDECK_RUNNER_TOKEN=your-new-token-value
350+
```
229351

230-
[//]: # (## Listing Runners)
352+
3. Restart the Runner service
353+
4. Verify the Runner reconnects and shows "Healthy" status
231354

232-
[//]: # ()
233-
[//]: # (![List Runners]&#40;/assets/img/runner-config-list.png&#41;<br>)
355+
For manual Runners with replicas enabled, use the **Add Replica** workflow to create new Runner instances rather than regenerating credentials.
234356

357+
[//]: # "## Listing Runners"
358+
[//]: #
359+
[//]: # "![List Runners](/assets/img/runner-config-list.png)<br>"

0 commit comments

Comments
 (0)