From 55b4d36e2bff2f0662794251a912005ea950cfec Mon Sep 17 00:00:00 2001 From: Eesaan Atluri <atlurie@uab.edu> Date: Tue, 4 Oct 2022 00:34:08 -0500 Subject: [PATCH] Add yum repo files for pkg installs. --- ansible/files/TurboVNC.repo | 7 +++++++ ansible/files/ceph.repo | 24 ++++++++++++++++++++++++ ansible/files/dell-system-update.repo | 20 ++++++++++++++++++++ ansible/files/elastic.repo | 8 ++++++++ ansible/files/nux-dextop.repo | 15 +++++++++++++++ ansible/roles/cheaha.node/tasks/main.yml | 12 ++++++++++-- 6 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 ansible/files/TurboVNC.repo create mode 100644 ansible/files/ceph.repo create mode 100644 ansible/files/dell-system-update.repo create mode 100644 ansible/files/elastic.repo create mode 100644 ansible/files/nux-dextop.repo diff --git a/ansible/files/TurboVNC.repo b/ansible/files/TurboVNC.repo new file mode 100644 index 0000000..88c27d6 --- /dev/null +++ b/ansible/files/TurboVNC.repo @@ -0,0 +1,7 @@ +[TurboVNC] +name=TurboVNC official RPMs +baseurl=https://sourceforge.net/projects/turbovnc/files +gpgcheck=1 +gpgkey=https://sourceforge.net/projects/turbovnc/files/VGL-GPG-KEY + https://sourceforge.net/projects/turbovnc/files/VGL-GPG-KEY-1024 +enabled=1 diff --git a/ansible/files/ceph.repo b/ansible/files/ceph.repo new file mode 100644 index 0000000..16ae320 --- /dev/null +++ b/ansible/files/ceph.repo @@ -0,0 +1,24 @@ +[Ceph] +priority=1 +name=Ceph $basearch +baseurl=https://download.ceph.com/rpm-octopus/el7/$basearch +enabled=1 +gpgcheck=1 +gpgkey=https://download.ceph.com/keys/release.asc + +[Ceph-noarch] +priority=1 +name=Ceph noarch +baseurl=https://download.ceph.com/rpm-octopus/el7/noarch +enabled=1 +gpgcheck=1 +gpgkey=https://download.ceph.com/keys/release.asc + +[Ceph-source] +priority=1 +name=Ceph SRPMS +baseurl=https://download.ceph.com/rpm-octopus/el7/SRPMS +enabled=1 +gpgcheck=1 +gpgkey=https://download.ceph.com/keys/release.asc + diff --git a/ansible/files/dell-system-update.repo b/ansible/files/dell-system-update.repo new file mode 100644 index 0000000..4cb3ca6 --- /dev/null +++ b/ansible/files/dell-system-update.repo @@ -0,0 +1,20 @@ +[dell-system-update_independent] +name=dell-system-update_independent +baseurl=https://linux.dell.com/repo/hardware/dsu/os_independent/ +gpgcheck=1 +gpgkey=https://linux.dell.com/repo/pgp_pubkeys/0x756ba70b1019ced6.asc + https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc + https://linux.dell.com/repo/pgp_pubkeys/0xca77951d23b66a9d.asc + https://linux.dell.com/repo/pgp_pubkeys/0x3CA66B4946770C59.asc +enabled=1 +exclude=dell-system-update*.i386 + +[dell-system-update_dependent] +name=dell-system-update_dependent +mirrorlist=https://linux.dell.com/repo/hardware/dsu/mirrors.cgi?osname=el$releasever&basearch=$basearch&native=1 +gpgcheck=1 +gpgkey=https://linux.dell.com/repo/pgp_pubkeys/0x756ba70b1019ced6.asc + https://linux.dell.com/repo/pgp_pubkeys/0x1285491434D8786F.asc + https://linux.dell.com/repo/pgp_pubkeys/0xca77951d23b66a9d.asc + https://linux.dell.com/repo/pgp_pubkeys/0x3CA66B4946770C59.asc +enabled=1 diff --git a/ansible/files/elastic.repo b/ansible/files/elastic.repo new file mode 100644 index 0000000..15c6bcc --- /dev/null +++ b/ansible/files/elastic.repo @@ -0,0 +1,8 @@ +[elastic-7.x] +name=Elastic repository for 7.x packages +baseurl=https://artifacts.elastic.co/packages/7.x/yum +gpgcheck=1 +gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch +enabled=1 +autorefresh=1 +type=rpm-md diff --git a/ansible/files/nux-dextop.repo b/ansible/files/nux-dextop.repo new file mode 100644 index 0000000..dd4a382 --- /dev/null +++ b/ansible/files/nux-dextop.repo @@ -0,0 +1,15 @@ +[nux-dextop] +name=Nux.Ro RPMs for general desktop use +baseurl=http://li.nux.ro/download/nux/dextop/el7/$basearch/ http://mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/$basearch/ +enabled=1 +gpgcheck=1 +gpgkey=http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro +protect=0 + +[nux-dextop-testing] +name=Nux.Ro RPMs for general desktop use - testing +baseurl=http://li.nux.ro/download/nux/dextop-testing/el7/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro +protect=0 diff --git a/ansible/roles/cheaha.node/tasks/main.yml b/ansible/roles/cheaha.node/tasks/main.yml index bd4c72b..9cb3e1b 100644 --- a/ansible/roles/cheaha.node/tasks/main.yml +++ b/ansible/roles/cheaha.node/tasks/main.yml @@ -22,11 +22,18 @@ state: disabled - name: Copy cm.repo into place (consider making this a template) ansible.builtin.copy: - src: cm.repo - dest: /etc/yum.repos.d/cm.repo + src: "{{ item }}" + dest: "/etc/yum.repos.d/{{ item }}" owner: root group: root mode: 0644 + loop: + - cm.repo + - ceph.repo + - dell-system-update.repo + - elastic.repo + - nux-dextop.repo + - TurboVNC.repo - name: Copy CM repo GPG key ansible.builtin.copy: src: RPM-GPG-KEY-cm @@ -57,6 +64,7 @@ - nss-pam-ldapd - ruby - python3 + - centos-release-openstack-rocky state: present - name: Install system packages ansible.builtin.yum: -- GitLab