Commit 8a45586f authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Merge branch 'feat-add-prod-pkgs' into 'main'

Install system packages from production.

Closes devops#131

See merge request rc/packer-openstack-hpc-image!12
parents 0757ffbe ebfa570d
This diff is collapsed.
[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
[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
[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
[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
[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
---
#This file path is relative to the ansible playbook.
pkg_list_file: "cheaha-compute-yum-pkg-list.txt"
---
# tasks file for cheaha.packages
- name: Copy yum repo files into place
ansible.builtin.copy:
src: "{{ item }}"
dest: "/etc/yum.repos.d/{{ item }}"
owner: root
group: root
mode: 0644
loop:
- ceph.repo
- dell-system-update.repo
- elastic.repo
- nux-dextop.repo
- TurboVNC.repo
- name: Install openstack-rocky repo
ansible.builtin.yum:
name: centos-release-openstack-rocky
state: present
- name: Install system packages
ansible.builtin.yum:
name: "{{ lookup('file', '{{ pkg_list_file }}').splitlines() }}"
state: present
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment