Skip to content

Commit

Permalink
Add support for Ubuntu (#41)
Browse files Browse the repository at this point in the history
* Add support for Ubuntu

Fixes #40

* Change ansible_distribution to ansible_os_family to include more distros

---------

Co-authored-by: Sebastian <[email protected]>
  • Loading branch information
idolize and sebdanielsson authored Oct 7, 2023
1 parent b587098 commit d79750b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/install.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
- name: Install | Apt
when: ansible_distribution == 'Debian'
when: ansible_os_family == 'Debian'
ansible.builtin.include_tasks: apt/install.yml

- name: Install | Dnf
when: ansible_distribution == 'RedHat'
when: ansible_os_family == 'RedHat'
ansible.builtin.include_tasks: dnf/install.yml

- name: Install | Pacman
when: ansible_distribution == 'Archlinux'
when: ansible_os_family == 'Archlinux'
ansible.builtin.include_tasks: pacman/install.yml

0 comments on commit d79750b

Please sign in to comment.