63 lines
1.3 KiB
YAML
63 lines
1.3 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
|
|
- neovim
|
|
state: latest
|
|
|
|
- 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 rust_apps repo
|
|
become: yes
|
|
become_method: sudo
|
|
command: zypper ar https://download.opensuse.org/repositories/home:/luke_nukem:/rust_apps/openSUSE_Tumbleweed/home:luke_nukem:rust_apps.repo
|
|
args:
|
|
creates: /etc/zypp/repos.d/home_luke_nukem_rust_apps.repo
|
|
|
|
- name: Install skim
|
|
become: yes
|
|
become_method: sudo
|
|
zypper:
|
|
name: skim
|
|
state: latest
|
|
|
|
- name: Put sk-tmux in ~/bin directory¬
|
|
get_url:
|
|
url: https://raw.githubusercontent.com/lotabout/skim/v0.6.8/bin/sk-tmux
|
|
dest: ~/bin/sk-tmux
|
|
checksum: sha256:1dd67ed20f78c50bc7f9518a5908badd582117eaa67fa30c43e83dcc0b55afdb
|