openSUSE support #41

Closed
mfocko wants to merge 3 commits from suse into main
5 changed files with 39 additions and 1 deletions

View file

@ -10,7 +10,12 @@
# set to "local" or "remote"
source: "local"
when: ansible_distribution == "Fedora"
- flatpaks
- role: opensuse
become: yes
become_method: sudo
when: ansible_distribution in ("openSUSE Leap", "openSUSE Tumbleweed")
- role: flatpaks
when: ansible_distribution not in ("openSUSE Leap", "openSUSE Tumbleweed")
- ssh
- shell
- role: git

View file

@ -7,4 +7,5 @@
- neovim
- emacs
- alacritty
- fzf
state: present

View file

@ -0,0 +1,3 @@
---
dependencies:
- opensuse/packages

View file

@ -0,0 +1,18 @@
---
- name: Upgrade all packages
zypper:
name: "*"
state: latest
- name: Install playerctl and flameshot
zypper:
name:
- playerctl
- flameshot
- name: Install non-default flatpak
zypper:
name:
- flatpak
- include: shell.yml

View file

@ -0,0 +1,11 @@
---
- name: Install all packages for shell
zypper:
name:
- zsh
- tmux
- neovim
- emacs
- alacritty
- fzf
state: present