From 7fde4d70d6bc15237300222e988f91ed6c0a1cd6 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Fri, 24 Jan 2025 10:25:33 +0000 Subject: [PATCH 1/3] Document running Ansible roles in diff mode Signed-off-by: Ruediger Pluem --- guides/common/assembly_using-ansible-roles.adoc | 2 ++ .../proc_running-ansible-roles-in-diff-mode.adoc | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc diff --git a/guides/common/assembly_using-ansible-roles.adoc b/guides/common/assembly_using-ansible-roles.adoc index d69fe4a9ab2..7dee3ee9681 100644 --- a/guides/common/assembly_using-ansible-roles.adoc +++ b/guides/common/assembly_using-ansible-roles.adoc @@ -13,3 +13,5 @@ include::modules/proc_assigning-ansible-roles-to-a-host-group.adoc[leveloffset=+ include::modules/proc_running-ansible-roles-on-a-host-group.adoc[leveloffset=+1] include::modules/proc_running-ansible-roles-in-check-mode.adoc[leveloffset=+1] + +include::modules/proc_running-ansible-roles-in-diff-mode.adoc[leveloffset=+1] diff --git a/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc b/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc new file mode 100644 index 00000000000..43cd4dcaaf9 --- /dev/null +++ b/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc @@ -0,0 +1,16 @@ +[id="running-ansible-roles-in-diff-mode_{context}"] += Running Ansible roles in diff mode + +You can run Ansible roles in diff mode through the {ProjectWebUI}. + +.Prerequisites +* You must configure your deployment to run Ansible roles. +For more information, see xref:Configuring_Your_{project-context}_to_Run_Ansible_Roles_{context}[]. +* You must have assigned the Ansible roles to the host group. +* You must have at least one host in your host group. + +.Procedure +. In the {ProjectWebUI}, navigate to *Hosts* *>* *All Hosts*. +. Click *Edit* for the host you want to enable diff mode for. +. In the *Parameters* tab, ensure that the host has a parameter named `ansible_roles_diff_mode` with type `boolean` set to `true`. +. Click *Submit*. From c7154507ae87b49d445ede66a0709948f881afb8 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem <53253255+rpluem-vf@users.noreply.github.com> Date: Mon, 27 Jan 2025 12:08:32 +0100 Subject: [PATCH 2/3] Update guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc Co-authored-by: Maximilian Kolb --- .../common/modules/proc_running-ansible-roles-in-diff-mode.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc b/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc index 43cd4dcaaf9..878cbcc0206 100644 --- a/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc +++ b/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc @@ -1,4 +1,4 @@ -[id="running-ansible-roles-in-diff-mode_{context}"] +[id="running-ansible-roles-in-diff-mode"] = Running Ansible roles in diff mode You can run Ansible roles in diff mode through the {ProjectWebUI}. From 318432db4f01b6c3396c97314d2e2b78f54a3f8f Mon Sep 17 00:00:00 2001 From: Ruediger Pluem <53253255+rpluem-vf@users.noreply.github.com> Date: Mon, 27 Jan 2025 12:08:39 +0100 Subject: [PATCH 3/3] Update guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc Co-authored-by: Maximilian Kolb --- .../common/modules/proc_running-ansible-roles-in-diff-mode.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc b/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc index 878cbcc0206..5e0f20a49c9 100644 --- a/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc +++ b/guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc @@ -10,7 +10,7 @@ For more information, see xref:Configuring_Your_{project-context}_to_Run_Ansible * You must have at least one host in your host group. .Procedure -. In the {ProjectWebUI}, navigate to *Hosts* *>* *All Hosts*. +. In the {ProjectWebUI}, navigate to *Hosts* > *All Hosts*. . Click *Edit* for the host you want to enable diff mode for. . In the *Parameters* tab, ensure that the host has a parameter named `ansible_roles_diff_mode` with type `boolean` set to `true`. . Click *Submit*.