Skip to content

Commit

Permalink
[ansible] Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Nov 16, 2023
1 parent 0243e4b commit 05f35a3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ansible/roles/ovos_installer/tasks/virtualenv/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
ansible.builtin.command:
cmd: dnf config-manager --enable crb
changed_when: false
when: ansible_distribution != "Fedora"
when:
- ansible_os_family == "RedHat"
- ansible_distribution != "Fedora"

- name: Add EPEL repository
ansible.builtin.dnf:
name: epel-release
when: ansible_distribution != "Fedora"
when:
- ansible_os_family == "RedHat"
- ansible_distribution != "Fedora"

- name: Handle virtualenv package requirements (ovos-core)
ansible.builtin.apt:
Expand Down

0 comments on commit 05f35a3

Please sign in to comment.