Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
7016137fa4 | |||
2383d1536f | |||
f59c9aa8d8 |
5 changed files with 39 additions and 1 deletions
|
@ -10,7 +10,12 @@
|
||||||
# set to "local" or "remote"
|
# set to "local" or "remote"
|
||||||
source: "local"
|
source: "local"
|
||||||
when: ansible_distribution == "Fedora"
|
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
|
- ssh
|
||||||
- shell
|
- shell
|
||||||
- role: git
|
- role: git
|
||||||
|
|
|
@ -7,4 +7,5 @@
|
||||||
- neovim
|
- neovim
|
||||||
- emacs
|
- emacs
|
||||||
- alacritty
|
- alacritty
|
||||||
|
- fzf
|
||||||
state: present
|
state: present
|
||||||
|
|
3
playbooks/roles/opensuse/meta/main.yml
Normal file
3
playbooks/roles/opensuse/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
- opensuse/packages
|
18
playbooks/roles/opensuse/packages/tasks/main.yml
Normal file
18
playbooks/roles/opensuse/packages/tasks/main.yml
Normal 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
|
11
playbooks/roles/opensuse/packages/tasks/shell.yml
Normal file
11
playbooks/roles/opensuse/packages/tasks/shell.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
- name: Install all packages for shell
|
||||||
|
zypper:
|
||||||
|
name:
|
||||||
|
- zsh
|
||||||
|
- tmux
|
||||||
|
- neovim
|
||||||
|
- emacs
|
||||||
|
- alacritty
|
||||||
|
- fzf
|
||||||
|
state: present
|
Loading…
Reference in a new issue