Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #887 from jpodivin/docs/runnervars
Browse files Browse the repository at this point in the history
Documenting ansibleEE runner vars
  • Loading branch information
openshift-merge-bot[bot] authored May 20, 2024
2 parents 7fd85d2 + ef26e4a commit b4c15d5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/v1beta1/openstackdataplanenodeset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ type OpenStackDataPlaneNodeSetSpec struct {
Nodes map[string]NodeSection `json:"nodes"`

// Env is a list containing the environment variables to pass to the pod
// Variables modifying behavior of AnsibleEE can be specified here.
// +kubebuilder:validation:Optional
Env []corev1.EnvVar `json:"env,omitempty"`

Expand Down
10 changes: 10 additions & 0 deletions docs/assemblies/ansible.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
= AnsibleEE runner variables

Number of variables can be used to modify behavior of the AnsibleEE runner
executing given job, such as timeouts and caching.
These are expanded in the `env/settings` link:https://github.com/openstack-k8s-operators/edpm-ansible/blob/main/openstack_ansibleee/settings[file].
And further documented in Ansible Runner link:https://ansible.readthedocs.io/projects/runner/en/stable/intro/#env-settings-settings-for-runner-itself[docs].

All of these variables are left set to sensible defaults, nevertheless, some changes may be necessary,
depending on particulars of individual deployments.

= Ansible variables

The list of ansible variables that can be set under `ansibleVars` is extensive.
Expand Down
2 changes: 1 addition & 1 deletion docs/assemblies/custom_resources.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ OpenStackDataPlaneNodeSetSpec defines the desired state of OpenStackDataPlaneNod
| true
| env
| Env is a list containing the environment variables to pass to the pod
| Env is a list containing the environment variables to pass to the pod Variables modifying behavior of AnsibleEE can be specified here.
| []corev1.EnvVar
| false
Expand Down

0 comments on commit b4c15d5

Please sign in to comment.