Skip to content

Commit

Permalink
Updated roles to use dnf ansible module over yum.
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-m-sullivan committed Jun 5, 2024
1 parent 47277eb commit f4412e9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelogs/fragments/api_key.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
minor_changes:
- Added support for providing OpenShift auth via api key for ocp install
- Changed isntances of ansible.builtin.yum module to dnf, this module is backwards comapatible, but the yum module has been removed.
...
2 changes: 1 addition & 1 deletion roles/aap_remove/tasks/ah_remove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
become: true

- name: Remove software
ansible.builtin.yum:
ansible.builtin.dnf:
name:
- postgresql
- postgresql-server
Expand Down
2 changes: 1 addition & 1 deletion roles/aap_remove/tasks/controller_remove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- receptor.service

- name: Remove software
ansible.builtin.yum:
ansible.builtin.dnf:
name:
- postgresql
- postgresql-server
Expand Down
2 changes: 1 addition & 1 deletion roles/aap_setup_prepare/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
check_mode: false # run this command even in check mode

- name: Install absolutely necessary packages
ansible.builtin.yum:
ansible.builtin.dnf:
name: "{{ __aap_setup_prep_required_packages }}"
state: present
become: true
Expand Down

0 comments on commit f4412e9

Please sign in to comment.