Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document running Ansible roles in diff mode #3613

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions guides/common/assembly_using-ansible-roles.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
16 changes: 16 additions & 0 deletions guides/common/modules/proc_running-ansible-roles-in-diff-mode.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[id="running-ansible-roles-in-diff-mode"]
= 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*.