CI: Remove usage of Ubuntu workarounds

Change-Id: Iae51daa7b64b4498471b1a0d48ee7a4d227794ce
This commit is contained in:
Michal Nasiadka 2024-10-25 11:20:50 +02:00
parent 8f2781f25e
commit 1ed6cbaa51

View File

@ -127,31 +127,3 @@
until: "'synchronized: yes' in timedatectl_status.stdout"
retries: 90
delay: 10
# TODO(mnasiadka): Remove when both podman and cephadm packages get promoted to usual repos
- name: Enable noble-proposed repository on Ubuntu 24.04
apt_repository:
repo: "deb http://archive.ubuntu.com/ubuntu/ noble-proposed restricted main multiverse universe"
state: present
become: true
when:
- container_engine in ['cephadm', 'podman']
- ansible_facts.distribution == "Ubuntu"
- ansible_facts.distribution_release == "noble"
# TODO(mnasiadka): Remove once ceph release is out with patched https://tracker.ceph.com/issues/66389
- name: Handling for cephadm apparmor bug on Ubuntu Noble 24.04
when:
- ansible_facts.distribution == "Ubuntu"
- ansible_facts.distribution_release == "noble"
- scenario == "cephadm"
block:
- name: Install AppArmor on Ubuntu Noble 24.04
apt:
name: apparmor
become: true
- name: Disable MongoDB Compass AppArmor profile
command:
cmd: "apparmor_parser -R /etc/apparmor.d/MongoDB_Compass"
become: true