Skip to content

Commit d456106

Browse files
authored
Merge pull request #43020 from emarcusRH/ocprhv-417
update URLs and command for downloading installer Ansible playbooks
2 parents 33b5fab + 2fb639b commit d456106

File tree

1 file changed

+12
-26
lines changed

1 file changed

+12
-26
lines changed

modules/installation-rhv-downloading-ansible-playbooks.adoc

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Download the Ansible playbooks for installing {product-title} version {product-v
1212

1313
* On your installation machine, run the following commands:
1414
+
15-
ifdef::openshift-origin[]
1615
[source,terminal,subs=attributes+]
1716
----
1817
$ mkdir playbooks
@@ -25,35 +24,22 @@ $ cd playbooks
2524
+
2625
[source,terminal,subs=attributes+]
2726
----
28-
$ curl -s -L -X GET https://api.github.com/repos/openshift/installer/contents/upi/ovirt?ref=release-<version> |
29-
grep 'download_url.*\.yml' |
30-
awk '{ print $2 }' | sed -r 's/("|",)//g' |
31-
xargs -n 1 curl -O
27+
$ xargs -n 1 curl -O <<< '
28+
https://raw.githubusercontent.com/openshift/installer/<release-version>/upi/ovirt/bootstrap.yml
29+
https://raw.githubusercontent.com/openshift/installer/<release-version>/upi/ovirt/common-auth.yml
30+
https://raw.githubusercontent.com/openshift/installer/<release-version>/upi/ovirt/create-templates-and-vms.yml
31+
https://raw.githubusercontent.com/openshift/installer/<release-version>/upi/ovirt/inventory.yml
32+
https://raw.githubusercontent.com/openshift/installer/<release-version>/upi/ovirt/<release-version>s.yml
33+
https://raw.githubusercontent.com/openshift/installer/<release-version>/upi/ovirt/retire-bootstrap.yml
34+
https://raw.githubusercontent.com/openshift/installer/<release-version>/upi/ovirt/retire-<release-version>s.yml
35+
https://raw.githubusercontent.com/openshift/installer/<release-version>/upi/ovirt/retire-workers.yml
36+
https://raw.githubusercontent.com/openshift/installer/<release-version>/upi/ovirt/workers.yml'
37+
3238
----
3339
+
3440
where:
3541
+
36-
<version>:: Specifies the minor release version, such as `release-4.8`. See the branch drop-down list in the link:https://github.com/openshift/installer/tree/master/upi/ovirt[`openshift/installer` repository] for the available minor versions.
37-
endif::openshift-origin[]
38-
ifndef::openshift-origin[]
39-
[source,terminal,subs=attributes+]
40-
----
41-
$ mkdir playbooks
42-
----
43-
+
44-
[source,terminal,subs=attributes+]
45-
----
46-
$ cd playbooks
47-
----
48-
+
49-
[source,terminal,subs=attributes+]
50-
----
51-
$ curl -s -L -X GET https://api.github.com/repos/openshift/installer/contents/upi/ovirt?ref=release-{product-version} |
52-
grep 'download_url.*\.yml' |
53-
awk '{ print $2 }' | sed -r 's/("|",)//g' |
54-
xargs -n 1 curl -O
55-
----
56-
endif::openshift-origin[]
42+
<release-version>:: Specifies the minor release version, such as `release-4.11`. See the branch drop-down list in the link:https://github.com/openshift/installer/tree/master/upi/ovirt[`openshift/installer` repository] for the available minor versions.
5743
5844
.Next steps
5945

0 commit comments

Comments
 (0)