Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CentOS based distros #585

Merged
merged 24 commits into from
Mar 15, 2024
Merged

Support CentOS based distros #585

merged 24 commits into from
Mar 15, 2024

Conversation

lindenb1
Copy link
Contributor

@lindenb1 lindenb1 commented Feb 5, 2024

Package Comparisson

Ubuntu CentOS
ca-certificates ca-certificates
clevis clevis
clevis-dracut clevis-dracut
clevis-initramfs UNKNOWN/UNAVAILABLE
clevis-luks clevis-luks
git git
docker-compose docker-compose-plugin
docker-compose-plugin docker-compose-plugin
ufw (Not part of rocky defualt image, needs to be installed) ufw
ipmitool ipmitool
kubectl kubectl (https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.28/rpm/repodata/repomd.xml.key)
lynis lynis
amd64-microcode linux-firmware
intel-microcode linux-firmware
update-motd UNKNOWN/UNAVAILABLE
netplan.io netplan.io
ethtool ethtool
jq jq
rsyslog rsyslog
podman podman
openresolv UNKNOWN/UNAVAILABLE
resolvconf UNKNOWN/UNAVAILABLE
runc runc
sosreport sos -> also uses different plugins!

Kubectl Repo Setup

sudo cat < /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.28/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.28/rpm/repodata/repomd.xml.key
EOF

Trivy Repo Setup

sudo tee /etc/yum.repos.d/trivy.repo <<EOL
[trivy]
name=Trivy Repository
baseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://aquasecurity.github.io/trivy-repo/rpm/public.key
EOL

Implementation Check

cf. osism/issues#844

  • ansible-collection-commons-molecule-certificates
  • ansible-collection-commons-molecule-cleanup
  • ansible-collection-commons-molecule-configfs
  • ansible-collection-commons-molecule-configuration
  • ansible-collection-commons-molecule-docker_compose
  • ansible-collection-commons-molecule-docker_login
  • ansible-collection-commons-molecule-facts
  • ansible-collection-commons-molecule-firewall
  • ansible-collection-commons-molecule-hostname
  • ansible-collection-commons-molecule-hosts
  • ansible-collection-commons-molecule-ipmitool
  • ansible-collection-commons-molecule-kernel_modules
  • ansible-collection-commons-molecule-known_hosts
  • ansible-collection-commons-molecule-kompose
  • ansible-collection-commons-molecule-kubectl
  • ansible-collection-commons-molecule-limits
  • ansible-collection-commons-molecule-lynis
  • ansible-collection-commons-molecule-microcode
  • ansible-collection-commons-molecule-motd
  • ansible-collections-commons-molecule-network
  • ansible-collection-commons-molecule-operator
  • ansible-collection-commons-molecule-packages
  • ansible-collection-commons-molecule-podman
  • ansible-collection-commons-molecule-proxy
  • ansible-collection-commons-molecule-repository
  • ansible-collection-commons-molecule-resolvconf
  • ansible-collection-commons-molecule-runc
  • ansible-collection-commons-molecule-services
  • ansible-collection-commons-molecule-sosreport
  • ansible-collection-commons-molecule-sshconfig
  • ansible-collection-commons-molecule-state
  • ansible-collection-commons-molecule-sysctl
  • ansible-collection-commons-molecule-systohc
  • ansible-collection-commons-molecule-timezone
  • ansible-collection-commons-molecule-trivy
  • ansible-collection-commons-molecule-user 🆕

@lindenb1 lindenb1 changed the title Empty Commit Support CentOS based distro's Feb 6, 2024
@sbstnnmnn sbstnnmnn self-assigned this Feb 6, 2024
@sbstnnmnn sbstnnmnn force-pushed the support_centos_based_distro branch 26 times, most recently from a14c9e5 to b2dc170 Compare February 12, 2024 15:18
@sbstnnmnn sbstnnmnn changed the title Support CentOS based distro's Support CentOS based distros Feb 12, 2024
@sbstnnmnn sbstnnmnn force-pushed the support_centos_based_distro branch 11 times, most recently from 5cae1cd to f26dce8 Compare March 5, 2024 12:32
Signed-off-by: Sebastian Neumann <neumann@b1-systems.de>
@sbstnnmnn sbstnnmnn force-pushed the support_centos_based_distro branch from f26dce8 to fc82f21 Compare March 5, 2024 12:54
@sbstnnmnn sbstnnmnn requested a review from gndrmnn March 5, 2024 13:54
Signed-off-by: Sebastian Neumann <neumann@b1-systems.de>
molecule/delegated/tests/certificates/redhat.py Outdated Show resolved Hide resolved
molecule/delegated/tests/kubectl/redhat.py Outdated Show resolved Hide resolved
molecule/delegated/tests/motd/debian.py Outdated Show resolved Hide resolved
molecule/delegated/tests/repository/redhat.py Outdated Show resolved Hide resolved
molecule/delegated/tests/resolvconf/debian.py Show resolved Hide resolved
roles/configuration/tasks/git.yml Show resolved Hide resolved
roles/lynis/tasks/install-Debian.yml Show resolved Hide resolved
roles/sosreport/defaults/main.yml Outdated Show resolved Hide resolved
roles/sosreport/defaults/main.yml Outdated Show resolved Hide resolved
roles/timezone/tasks/main.yml Outdated Show resolved Hide resolved
Signed-off-by: Sebastian Neumann <neumann@b1-systems.de>
@sbstnnmnn sbstnnmnn force-pushed the support_centos_based_distro branch 5 times, most recently from 1e174ee to 1f1eb0d Compare March 6, 2024 11:41
@sbstnnmnn sbstnnmnn force-pushed the support_centos_based_distro branch from 1f1eb0d to 3b5b96d Compare March 6, 2024 13:22
@sbstnnmnn sbstnnmnn marked this pull request as ready for review March 6, 2024 13:29
Signed-off-by: Sebastian Neumann <neumann@b1-systems.de>
@sbstnnmnn sbstnnmnn force-pushed the support_centos_based_distro branch from 3b5b96d to c686409 Compare March 6, 2024 13:54
@sbstnnmnn sbstnnmnn requested a review from berendt March 6, 2024 14:41
@berendt berendt merged commit 9534aff into main Mar 15, 2024
2 checks passed
@berendt berendt deleted the support_centos_based_distro branch March 15, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants