Remove COPR clean-up tasks

Change-Id: I12716f90baba344bc763c18bbdd2e4d2990cad19
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
This commit is contained in:
Dmitriy Rabotyagov
2025-06-07 10:05:29 +02:00
parent 3ce3c83d2b
commit cb12b817fd

View File

@@ -18,18 +18,6 @@
name: createrepo
state: present
- name: Drop COPR yum repo for lxc
ansible.builtin.yum_repository:
name: thm-lxc3.0
state: absent
register: repo_removed
- name: Clean yum metadata # noqa: no-handler
ansible.builtin.command: yum clean metadata
changed_when: false
when:
- repo_removed is changed
- name: If a keyfile is provided, copy gpg keyfiles to the key location
ansible.builtin.copy:
src: "{{ item.keyfile }}"