Skip to content

Commit

Permalink
provision: update cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-vavra-cz committed Jun 6, 2024
1 parent 4dd4618 commit 5d25dea
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/ansible/roles/packages/tasks/Fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,18 @@
state: present
name: '{{ ipa.client }}'

- name: Clean dnf caches to refresh package info
command: dnf clean all

- name: Check installed packages
ansible.builtin.package_facts:

- name: List available packages
command: dnf list --all
ignore_errors: yes

- name: Install SSSD and its dependencies
package:
dnf:
state: present
name:
- nfs-utils
Expand All @@ -131,7 +141,7 @@
- 'sssd-*'
register: pkg_install

- name: Install SSSD and its dependencies
- name: Check installed packages
ansible.builtin.package_facts:

# ansible dnf5 seems to have a regression with wildcard *
Expand Down

0 comments on commit 5d25dea

Please sign in to comment.