Skip to content

Commit c2b1e5b

Browse files
authored
Merge pull request #824 from rajan-mis/scaleapidev
Native Rest api installation
2 parents 8edd48c + cd3f16e commit c2b1e5b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

roles/core_upgrade/tasks/install_repository.yml

+16
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,22 @@
2828
- scale_install_repository_url is defined
2929
- scale_install_repository_url != 'existing'
3030

31+
- name: upgrade | Configure GPFS Scale API YUM repository
32+
yum_repository:
33+
name: spectrum-scale-scaleapi
34+
description: IBM Spectrum Scale Scale API (GPFS)
35+
baseurl: "{{ scale_install_repository_url }}scaleapi_rpms/"
36+
gpgcheck: "{{ scale_install_gpgcheck }}"
37+
repo_gpgcheck: no
38+
sslverify: no
39+
state: present
40+
notify: yum-clean-metadata
41+
when:
42+
- scale_scaleadmd is defined
43+
- ansible_pkg_mgr == 'yum' or ansible_pkg_mgr == 'dnf'
44+
- scale_install_repository_url is defined
45+
- scale_install_repository_url != 'existing'
46+
3147
#
3248
# Configure apt repository
3349
#

0 commit comments

Comments
 (0)