mirror of
https://github.com/morten-olsen/configs.git
synced 2026-02-08 00:46:24 +01:00
Add arch support
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
install_with_root: true
|
||||
terminal_casks: []
|
||||
pkgs: []
|
||||
terminal_pkgs: []
|
||||
terminal_aur: []
|
||||
contexts: {}
|
||||
|
||||
@@ -2,3 +2,5 @@
|
||||
dependencies:
|
||||
- role: base_info
|
||||
- role: base_system
|
||||
collections:
|
||||
- kewlfft.aur
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
- name: Setup directories
|
||||
tags:
|
||||
- config
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
mode: "{{ item.mode }}"
|
||||
path: "{{ home }}/{{ item.path }}"
|
||||
@@ -14,6 +15,7 @@
|
||||
when: item.state == 'directory'
|
||||
|
||||
- name: Copy config
|
||||
become: true
|
||||
tags:
|
||||
- config
|
||||
ansible.builtin.copy:
|
||||
|
||||
@@ -27,3 +27,12 @@
|
||||
community.general.homebrew_cask:
|
||||
name: "{{ terminal_casks }}"
|
||||
state: installed
|
||||
|
||||
- name: "Install aur"
|
||||
tags:
|
||||
- install
|
||||
when: terminal_aur
|
||||
become: yes
|
||||
become_user: aur_builder
|
||||
aur:
|
||||
name: "{{ terminal_aur }}"
|
||||
|
||||
15
playbooks/roles/base_terminal/vars/Archlinux.yml
Normal file
15
playbooks/roles/base_terminal/vars/Archlinux.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
terminal_pkgs:
|
||||
- bat
|
||||
- eza
|
||||
- direnv
|
||||
- fzf
|
||||
- gnupg
|
||||
- jq
|
||||
- ripgrep
|
||||
- neovim
|
||||
- tmux
|
||||
- zoxide
|
||||
- sshpass
|
||||
terminal_aur:
|
||||
- gh
|
||||
Reference in New Issue
Block a user