Skip to content

Commit 14b4a66

Browse files
Reword procedure to schedule recurring Ansible jobs
* Adjusted unused anchors
1 parent ff2788d commit 14b4a66

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
:_mod-docs-content-type: PROCEDURE
22

3-
[id="Scheduling_a_Recurring_Ansible_Job_for_a_Host_Group_{context}"]
3+
[id="scheduling-a-recurring-ansible-job-for-a-host-group"]
44
= Scheduling a recurring Ansible job for a host group
55

66
You can schedule a recurring job to run Ansible roles on host groups.
77

8+
.Prerequisite
9+
* Ensure that you have assigned at least one Ansible role to your host group.
10+
* Ensure that you have assigned at least one host assigned to your host group.
11+
812
.Procedure
9-
. In the {ProjectWebUI}, navigate to *Configure* > *Host groups*.
13+
. In the {ProjectWebUI}, navigate to *Configure* > *Host Groups*.
1014
. In the *Actions* column, select *Configure Ansible Job* for the host group you want to schedule an Ansible roles run for.
1115
. Click *Schedule recurring job*.
12-
. Define the repetition frequency, start time, and date of the first run in the *Create New Recurring Ansible Run* window.
16+
. In the *Repeat* list, select the interval.
17+
. In the *Start time* field, enter the time of the recurring job.
18+
. In the *Start date* field, enter the start date of the recurring job.
1319
. Click *Submit*.

guides/common/modules/proc_scheduling-a-recurring-ansible-job-for-a-host.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:_mod-docs-content-type: PROCEDURE
22

3-
[id="scheduling-a-recurring-ansible-job-for-a-host_{context}"]
3+
[id="scheduling-a-recurring-ansible-job-for-a-host"]
44
= Scheduling a recurring Ansible job for a host
55

66
You can schedule a recurring job to run Ansible roles on hosts.
@@ -9,9 +9,11 @@ You can schedule a recurring job to run Ansible roles on hosts.
99
* Ensure you have the `view_foreman_tasks`, `view_job_invocations`, and `view_recurring_logics` permissions.
1010

1111
.Procedure
12-
. In the {ProjectWebUI}, navigate to *Hosts > All Hosts* and select the target host on which you want to execute a remote job.
12+
. In the {ProjectWebUI}, navigate to *Hosts* > *All Hosts*.
13+
. Select your host.
1314
. On the *Ansible* tab, select *Jobs*.
1415
. Click *Schedule recurring job*.
15-
. Define the repetition frequency, start time, and date of the first run in the *Create New Recurring Ansible Run* window.
16+
. In the *Repeat* list, select the interval.
17+
. In the *Start time* field, enter the time of the recurring job.
18+
. In the *Start date* field, enter the start date of the recurring job.
1619
. Click *Submit*.
17-
. Optional: View the scheduled Ansible job in host overview or by navigating to *Ansible* > *Jobs*.

0 commit comments

Comments
 (0)