Skip to content

Commit

Permalink
Fixes ocp-power-automation#220 Updated Docu
Browse files Browse the repository at this point in the history
Fixes ocp-power-automation#220 Updated Docu
  • Loading branch information
torwen1 committed Aug 24, 2021
1 parent 18894cf commit 2ef3ed5
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions docs/var.tfvars-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ release_image_override = ""
```

These variables specify the ansible playbooks that are used for OpenShift install and post-install customizations. If the URL ends with a file name extension .zip, then it is assumed that it points to a HTTP/HTTPS server and curl/unzip will be used to extract the package. URLs without ending with .zip are recognized as GitHub repositories and git clone && git checkout are used.
`Only .zip is supported file format on web servers. The all files must be placed in folders starting with ocp4-playbooks, or ocp4-helpernode! It is allowed to extend the directory name with additional informations: e.g. ocp4-helpernode-<master/version number) Exception is the help_repo, which is expected to be a tar.gz file format (default when downloading from the original source without manipulation afterwards!`
`Only .zip is supported file format on web servers. The all files must be placed in folders starting with ocp4-playbooks, or ocp4-helpernode! It is allowed to extend the directory name with additional informations: e.g. ocp4-helpernode-<master/version number)`
Valid options: Requires a URL pointing to the packages/GitHub project.
```
helpernode_repo = "https://<HTTP SERVER>/ocp4-ansible-modules/ocp4-helpernode-master.zip"
Expand All @@ -192,25 +192,29 @@ install_playbook_repo = "https://<HTTP SERVER>/ocp4-ansible-modules/ocp4-pl
OR
install_playbook_repo = "https://github.com/ocp-power-automation/ocp4-playbooks"
install_playbook_tag = "02a598faa332aa2c3d53e8edd0e840440ff74bd5"
helm_repo = "https://<HTTP SERVER>/python-modules/helm-latest-linux-ppc64le.tar.gz"
```

If you want to provide the ansible playbooks by your local HTTP server, follow these steps:
```
Use your web browser and visit https://github.com/RedHatOfficial/ocp4-helpernode
On the main page of the master brach, click on the green "Code" button with a download symbol in front of it
On the main page select the release brach and click on the green "Code" button with a download symbol in front of it
Click on "Download ZIP"
Upload the file to your local HTTP server and place it in the appropriate directory
Use your web browser and visit https://github.com/ocp-power-automation/ocp4-playbooks
On the main page of the master brach, click on the green "Code" button with a download symbol in front of it
On the main page select the release brach and click on the green "Code" button with a download symbol in front of it
Click on "Download ZIP"
Upload the file to your local HTTP server and place it in the appropriate directory
Upload the file to your local HTTP server and place it in the appropriate directory, like the example below
ls -la /var/www/html/repos/
total 13452
-rw-r--r--. 1 root root 13624204 Jul 8 13:43 ocp4-helpernode-master.tgz
-rw-r--r--. 1 root root 145165 Jul 8 13:44 ocp4-playbooks-master.tgz
-rw-r--r--. 1 root root 13624204 Jul 8 13:43 ocp4-helpernode.zip
-rw-r--r--. 1 root root 145165 Jul 8 13:44 ocp4-playbooks.zip
```

This variable can be used to define a different source for the helm package, like a local web server. By default, the help package will be downloaded from the official internet source.
```
helm_repo = "https://<HTTP SERVER>/python-modules/helm-latest-linux-ppc64le.tar.gz"
```

These variables can be used when debugging ansible playbooks
Expand Down

0 comments on commit 2ef3ed5

Please sign in to comment.