Skip to content

Commit

Permalink
[ansible] Fix distribution name for Rocky Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Nov 16, 2023
1 parent fb64b56 commit 5735989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/ovos_installer/tasks/docker/setup-RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: Detect RHEL based distribution
ansible.builtin.set_fact:
os_distribution: "{{ 'centos' if (ansible_distribution == 'CentOS|Rocky') else 'fedora' }}"
os_distribution: "{{ 'centos' if (ansible_distribution == 'CentOS' or ansible_distribution == 'Rocky') else 'fedora' }}"

- name: Retrieve docker-ce.repo file
ansible.builtin.get_url:
Expand Down

0 comments on commit 5735989

Please sign in to comment.