You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/common/modules/proc_overriding-ansible-variables-in-project.adoc
-21Lines changed: 0 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,24 +47,3 @@ If the hashes contain the same key, the value is overwritten by the value of the
47
47
** *Avoid Duplicates* {endash} Ensures that the values in the array or hash are unique.
48
48
. Optional: Expand the *Specify Matchers* area and specify criteria for selecting hosts on which the variable overrides.
49
49
. To save the override settings, click *Submit*.
50
-
51
-
To use the Ansible variable, add the variable as a parameter to your host or host group, or add the variable as a global parameter.
52
-
53
-
.Adding the variable to a host
54
-
. In the {ProjectWebUI}, navigate to *Hosts > All Hosts* and select the host that you want to use.
55
-
. Click the *Ansible* tab, and in the *Variables* area, click the pencil icon to edit the value of the variable.
56
-
. Click the tick icon to accept the value of the changed variable or the cross icon to cancel the change.
57
-
58
-
.Adding the variable to a host group
59
-
. In the {ProjectWebUI}, navigate to *Configure* > *Host Groups*, and select the host group that you want to use.
60
-
. Click the *Parameters* tab, and in the *Host Group Parameters* area, click *Add Parameter*.
61
-
. In the *Name* field, add the Ansible variable name.
62
-
. From the *Type* list, select the type of the variable for validation.
63
-
. In the *Value* field, enter the value for the variable.
64
-
65
-
.Adding the variable as a global parameter
66
-
. In the {ProjectWebUI}, navigate to *Configure* > *Global Parameters*, and click *Create Parameter*.
67
-
. In the *Name* field, add the Ansible variable name.
68
-
. From the *Type* list, select the type of the variable for validation.
69
-
. In the *Value* field, enter the value for the variable.
70
-
. Optional: If you do not want to display the Ansible variable in plain text, select the *Hidden Values* checkbox to display the content of the variable as asterisks in the {ProjectWebUI}.
0 commit comments