Skip to content

Commit 769217a

Browse files
Rework assigning Ansible roles to a host
1 parent 8280b39 commit 769217a

File tree

5 files changed

+25
-28
lines changed

5 files changed

+25
-28
lines changed

guides/common/assembly_using-ansible-roles.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
include::modules/con_using-ansible-roles-to-automate-repetitive-tasks-on-clients.adoc[]
44

5-
include::modules/proc_assigning-ansible-roles-to-an-existing-host.adoc[leveloffset=+1]
5+
include::modules/proc_assigning-ansible-roles-to-a-host.adoc[leveloffset=+1]
66

77
include::modules/proc_removing-ansible-roles-from-a-host.adoc[leveloffset=+1]
88

guides/common/modules/con_converting-a-host-to-rhel.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ For more information, see {ManagingConfigurationsAnsibleDocURL}Importing_Ansible
5252
. Configure Ansible variables for generation of conversion data.
5353
For more information, see xref:ansible-variables-for-conversion_{context}[].
5454
. Assign the `{ansible-namespace}.convert2rhel` role to the host that represents {ProjectServer}.
55-
For more information, see {ManagingConfigurationsAnsibleDocURL}Assigning_Ansible_Roles_to_an_Existing_Host_ansible[Assigning Ansible Roles to an Existing Host] in _{ManagingConfigurationsAnsibleDocTitle}_.
55+
For more information, see {ManagingConfigurationsAnsibleDocURL}assigning-ansible-roles-to-a-host[Assigning Ansible roles to host] in _{ManagingConfigurationsAnsibleDocTitle}_.
5656
. Run the Ansible role on {ProjectServer}.
5757
For more information, see {ManagingConfigurationsAnsibleDocURL}running-ansible-roles-on-a-host_ansible[Running Ansible Roles on a Host] in _{ManagingConfigurationsAnsibleDocTitle}_.
5858
+

guides/common/modules/proc_adding-rhel-system-roles.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You can view and make any modifications that you want to the files before you im
4747
. From the list of Ansible roles, select the checkbox of the roles you want to import, and then click *Update*.
4848

4949
You can now assign Ansible roles to hosts or host groups.
50-
For more information, see xref:Assigning_Ansible_Roles_to_an_Existing_Host_{context}[].
50+
For more information, see xref:assigning-ansible-roles-to-a-host[].
5151

5252
You can also add the modules contained in these roles to your Ansible Playbooks by adding them to Ansible Job Templates.
5353
You must include the `hosts:all` line in the job template.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
:_mod-docs-content-type: PROCEDURE
2+
3+
[id="assigning-ansible-roles-to-a-host"]
4+
= Assigning Ansible roles to a host
5+
6+
You can configure hosts registered to {Project} with Ansible roles.
7+
8+
.Prerequisites
9+
* Ensure that you have imported Ansible roles.
10+
For more information, see xref:Importing_Ansible_Roles_and_Variables_{context}[].
11+
12+
.Procedure
13+
. In the {ProjectWebUI}, navigate to *Hosts* > *All Hosts*.
14+
. Select your host.
15+
. On the *Ansible* tab, select the *Roles* tab.
16+
. Click *Assign roles directly to the host*.
17+
. In the *Edit Ansible Roles* window, assign one or more Ansible roles to your host.
18+
. Click *Confirm* to submit your change.
19+
20+
.Next steps
21+
* Run all Ansible roles assigned to your host.
22+
For more information, see xref:running-ansible-roles-on-a-host_{context}[].

guides/common/modules/proc_assigning-ansible-roles-to-an-existing-host.adoc

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)