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
docs: JK10274.2: Amended section title to include attribute. (#615)
* docs: JK10274.2: Amended section title to include attribute.
* Corrected typo and incorrect product name and removed duplicate info.
* Added attributes.
* Update README.adoc
Co-authored-by: John Byrne <[email protected]>
Copy file name to clipboardExpand all lines: docs/rhoas/iac_tools_rhoas/README.adoc
+8-15Lines changed: 8 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ An Ansible role is a special kind of playbook that is fully self-contained and p
119
119
=== Installing the OpenShift Application Services Ansible collection
120
120
121
121
[role="_abstract"]
122
-
You can use the OpenShift Application Services Ansible (RHOAS) https://galaxy.ansible.com/rhoas/rhoas[Ansible collection] to fully manage your Kafka environment with Ansible. You can create, view, configure, and delete the following {product-long-kafka} resources:
122
+
You can use the {product-long-rhoas} (RHOAS) https://galaxy.ansible.com/rhoas/rhoas[Ansible collection] to fully manage your Kafka environment with Ansible. You can create, view, configure, and delete the following {product-long-kafka} resources:
=== Using the {product-long-rhoas} Ansible collection
181
+
=== Using the OpenShift Application Services Ansible collection
182
182
183
183
[role="_abstract"]
184
-
You can use the OpenShift Application Services (RHOAS) https://galaxy.ansible.com/rhoas/rhoas[Ansible collection] to fully manage your Kafka environment with Ansible. You can create, view, configure, and delete the following {product-long-kafka} resources:
185
-
186
-
* Kafka instance
187
-
* Service accounts
188
-
* Topics
189
-
* ACLS
190
-
191
184
The procedure in this section shows how to create and run an example playbook. The example playbook includes modules for creating a Kafka instance, topic, and service account, and assigning permissions to the service account. You also configure modules to delete the resources that you previously created.
192
185
193
186
.Prerequisites
194
187
* You have a Red Hat account.
195
188
* You have an offline token used to authenticate the Ansible modules with the {product-long-rhoas} API.
196
189
197
190
[NOTE]
198
-
The offline token is a refresh token with no expiry and can be used by non-interactive processes to provide an access token for {product-long-rhoas} to authenticate the user. The token is an OpenShift offline token and you can find it at https://cloud.redhat.com/openshift/token.
191
+
The offline token is a refresh token with no expiry and can be used by non-interactive processes to provide an access token for OpenShift Application Services to authenticate the user. The token is an OpenShift offline token and you can find it at https://cloud.redhat.com/openshift/token.
199
192
200
193
201
194
.Procedure
202
-
. In your IDE, create a new enviornment variables (`.env`) file.
195
+
. In your IDE, create a new environment variables (`.env`) file.
203
196
. In the `.env` file, add the following variables required by the Ansible collection:
204
197
+
205
198
`API_BASE_HOST`:: This is the base URL for the API. For example, `\https://api.openshift.com`.
@@ -438,7 +431,7 @@ You can fully manage your Kafka environment through your Terraform system using
=== Installing the {product-long-rhoas} Terraform provider
434
+
=== Installing the OpenShift Application Services Terraform provider
442
435
443
436
.Prerequisites
444
437
* You have a Red Hat account.
@@ -488,18 +481,18 @@ $ terraform init
488
481
When the Terraform provider has been initialized, you see a confirmation message.
489
482
490
483
[id="proc-using-terraform_{context}"]
491
-
=== Using the {product-long-rhoas} (RHOAS) Terraform provider
484
+
=== Using the OpenShift Application Services Terraform provider
492
485
493
486
Resources are the most important element in the Terraform language. Each resource block in a Terraform provider describes one or more infrastructure objects. For {product-long-kafka}, such infrastructure objects might include Kafka instances, service accounts, Access Control Lists (ACLs), and topics. The procedure that follows shows what resources you can add to your Terraform configuration file to create a Kafka instance and its associated resources such as service accounts and topics.
494
487
495
488
.Prerequisites
496
489
497
490
* You have a Red Hat account.
498
-
* You have an offline token that authenticates the Terraform resources with the OpenShift Application Services API.
491
+
* You have an offline token that authenticates the Terraform resources with the {product-long-rhoas} API.
499
492
500
493
[NOTE]
501
494
====
502
-
The offline token is a refresh token with no expiry and can be used by non-interactive processes to provide an access token for {product-long-rhoas} to authenticate the user. The token is an OpenShift offline token and you can find it at https://cloud.redhat.com/openshift/token. Because the offline token is a sensitive value that varies between environments it is best specified as an `OFFLINE_TOKEN` environment variable when running `terraform apply` in a terminal. To set this environment variable, enter the following command in a terminal window, replacing _<offline_token>_ with the value of the offline token:
495
+
The offline token is a refresh token with no expiry and can be used by non-interactive processes to provide an access token for OpenShift Application Services to authenticate the user. The token is an OpenShift offline token and you can find it at https://cloud.redhat.com/openshift/token. Because the offline token is a sensitive value that varies between environments it is best specified as an `OFFLINE_TOKEN` environment variable when running `terraform apply` in a terminal. To set this environment variable, enter the following command in a terminal window, replacing _<offline_token>_ with the value of the offline token:
0 commit comments