67 lines
1.1 KiB
YAML
67 lines
1.1 KiB
YAML
---
|
|
- name: Update Packages
|
|
become: yes
|
|
become_method: sudo
|
|
zypper:
|
|
name: "*"
|
|
state: latest
|
|
|
|
- name: Install basics
|
|
become: yes
|
|
become_method: sudo
|
|
zypper:
|
|
name:
|
|
- zsh
|
|
- git
|
|
- cmake
|
|
- tmux
|
|
- gpg
|
|
- fzf
|
|
- rsync
|
|
- zip
|
|
state: latest
|
|
|
|
- include_tasks: neovim-nightly.yml
|
|
|
|
- name: Install devel_*
|
|
when:
|
|
- dev_machine == true
|
|
become: yes
|
|
become_method: sudo
|
|
zypper:
|
|
name:
|
|
- "devel_basis"
|
|
- "devel_C_C++"
|
|
state: latest
|
|
type: pattern
|
|
|
|
- name: Install other devel packages
|
|
when:
|
|
- dev_machine == true
|
|
become: yes
|
|
become_method: sudo
|
|
zypper:
|
|
name:
|
|
- clang
|
|
- libopenssl-devel
|
|
state: latest
|
|
|
|
- name: Add utilities repo
|
|
become: yes
|
|
become_method: sudo
|
|
community.general.zypper_repository:
|
|
name: utilities
|
|
repo: 'https://download.opensuse.org/repositories/utilities/openSUSE_Factory/'
|
|
state: present
|
|
auto_import_keys: true
|
|
|
|
- name: Install skim
|
|
become: yes
|
|
become_method: sudo
|
|
when:
|
|
- rust_extras == false
|
|
zypper:
|
|
name:
|
|
- skim
|
|
state: latest
|
|
|