Skip to content

Commit

Permalink
Merge pull request #226 from lablabs/feat/dnf
Browse files Browse the repository at this point in the history
feat: use ansible.builtin.dnf module
  • Loading branch information
MonolithProjects authored Jun 5, 2024
2 parents 89fcf91 + 4a2d2b0 commit d8499fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/keepalived.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
update_cache: true
when: ansible_pkg_mgr == 'apt'

- name: Update dnf/yum cache
ansible.builtin.yum:
- name: Update dnf cache
ansible.builtin.dnf:
update_cache: true
when: ansible_pkg_mgr == 'dnf' or ansible_pkg_mgr == 'yum'
when: ansible_pkg_mgr == 'dnf'

- name: Install packages
ansible.builtin.package:
Expand Down

0 comments on commit d8499fa

Please sign in to comment.