Skip to content

Commit

Permalink
Document new UI that allows importing/overriding Ansible variables fr…
Browse files Browse the repository at this point in the history
…om YAML-files in foreman_ansible.
  • Loading branch information
Thorben-D committed Apr 5, 2024
1 parent cdfc2d6 commit 5c9b6b7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guides/common/assembly_getting-started-with-ansible.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ include::modules/proc_importing-ansible-roles-and-variables.adoc[leveloffset=+1]

include::modules/proc_overriding-ansible-variables-in-project.adoc[leveloffset=+1]

include::modules/proc_importing-ansible-variables-from-yaml.adoc[leveloffset=+1]

ifndef::foreman-deb[]
include::modules/proc_adding-rhel-system-roles.adoc[leveloffset=+1]
endif::[]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[id="importing-Ansible-variables-from-yaml-{context}"]
= Importing Ansible variables from YAML files

You can import Ansible variables from a `.yaml` file to {Project} within the {ProjectWebUI}.

.Prerequisites
* You must have at least one Ansible role imported.
For more information, see xref:Importing_Ansible_Roles_and_Variables_{context}[].

.Procedure
. In the {ProjectWebUI}, navigate to *Configure* > *Ansible* > *Variables*.
. Click *Import from YAML-File* in the toolbar.
+
A wizard opens to show you the next steps to import/override Ansible variables.
Ensure variables are unique per role.
. Click *Finish* to import Ansible variables into {Project}

0 comments on commit 5c9b6b7

Please sign in to comment.