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 8, 2024
1 parent 67df692 commit beaad55
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-files.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_Files_{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 and override Ansible variables.
Ensure that variables are unique per Ansible role.
. Click *Finish* to import Ansible variables into {Project}.

0 comments on commit beaad55

Please sign in to comment.