irantu (#133)
vars alacritty laptop alacritty rolle doku dotfiles Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#133 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
5f43631f65
commit
f7e320d763
6 changed files with 49 additions and 14 deletions
|
@ -13,9 +13,12 @@
|
||||||
local_path: "/home/mg/.config/i3/config"
|
local_path: "/home/mg/.config/i3/config"
|
||||||
- repo_path: "{{ dotfiles_repo_path}}/.bash_aliases"
|
- repo_path: "{{ dotfiles_repo_path}}/.bash_aliases"
|
||||||
local_path: "/home/mg/.bash_aliases"
|
local_path: "/home/mg/.bash_aliases"
|
||||||
|
- repo_path: "{{ dotfiles_repo_path}}/alacritty/alacritty.yml"
|
||||||
|
local_path: "/home/mg/.config/alacritty/alacritty.yml"
|
||||||
dotfiles_dirs:
|
dotfiles_dirs:
|
||||||
- path: /home/mg/.config/i3
|
- path: /home/mg/.config/i3
|
||||||
- path: /home/mg/.config/polybar
|
- path: /home/mg/.config/polybar
|
||||||
|
- path: /home/mg/.config/alacritty
|
||||||
dotfiles_owner: mg
|
dotfiles_owner: mg
|
||||||
### mgrote.apt_install_packages
|
### mgrote.apt_install_packages
|
||||||
programs_extra:
|
programs_extra:
|
||||||
|
@ -28,3 +31,11 @@
|
||||||
- nextcloud-desktop
|
- nextcloud-desktop
|
||||||
- gnome-tweaks
|
- gnome-tweaks
|
||||||
- powertop
|
- powertop
|
||||||
|
### mgrote.apt_manage_sources
|
||||||
|
manage_sources_apt_proxy_url: ""
|
||||||
|
### mgrote.ntp_chrony_server
|
||||||
|
ntp_chrony_timezone: "Europe/Berlin" # Zeitzone in der sich der Computer befindet
|
||||||
|
ntp_chrony_servers: # welche Server sollen befragt werden
|
||||||
|
- address: pool.ntp.org
|
||||||
|
options: iburst #optionaler parameter
|
||||||
|
ntp_chrony_logging: false # logging an/aus
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
roles:
|
roles:
|
||||||
- { role: mgrote.i3, tags: "i3", become: true }
|
- { role: mgrote.i3, tags: "i3", become: true }
|
||||||
- { role: mgrote.polybar, tags: "polybar", become: true }
|
- { role: mgrote.polybar, tags: "polybar", become: true }
|
||||||
- { role: mgrote.remove_snapd, become: true, tags: "snapd" }
|
|
||||||
- { role: mgrote.deactivate_caps, tags: "caps", become: true }
|
- { role: mgrote.deactivate_caps, tags: "caps", become: true }
|
||||||
|
- { role: mgrote.alacritty, tags: "alacritty", become: true }
|
||||||
|
|
8
roles/mgrote.alacritty/README.md
Normal file
8
roles/mgrote.alacritty/README.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
## mgrote.alacritty
|
||||||
|
### Beschreibung
|
||||||
|
Installiert alacritty.
|
||||||
|
|
||||||
|
|
||||||
|
### Funktioniert auf
|
||||||
|
- [x] Ubuntu (>=18.04)
|
||||||
|
- [x]Linux Mint
|
13
roles/mgrote.alacritty/tasks/main.yml
Normal file
13
roles/mgrote.alacritty/tasks/main.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
- name: add ppa
|
||||||
|
ansible.builtin.apt_repository:
|
||||||
|
repo: ppa:system76/pop
|
||||||
|
state: present
|
||||||
|
filename: alacritty
|
||||||
|
|
||||||
|
- name: install packages
|
||||||
|
become: yes
|
||||||
|
ansible.builtin.package:
|
||||||
|
name:
|
||||||
|
- alacritty
|
||||||
|
state: present
|
11
roles/mgrote.dotfiles/README.md
Normal file
11
roles/mgrote.dotfiles/README.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
## mgrote.dotfiles
|
||||||
|
|
||||||
|
### Beschreibung
|
||||||
|
Klont das dotfile-repo und erstellt notwendige Ordner.
|
||||||
|
|
||||||
|
### Funktioniert auf
|
||||||
|
- [x] Ubuntu (>=18.04)
|
||||||
|
- [x] Linux Mint
|
||||||
|
|
||||||
|
### Variablen + Defaults
|
||||||
|
see [defaults](./defaults/main.yml)
|
|
@ -1,18 +1,10 @@
|
||||||
---
|
---
|
||||||
dotfiles_repo_url: https://git.mgrote.net/mg/dotfiles
|
dotfiles_repo_url: https://git.mgrote.net/mg/dotfiles # url zum repo
|
||||||
dotfiles_repo_path: /home/mg/dotfiles
|
dotfiles_repo_path: /home/mg/dotfiles # wo soll das repo lokal gespeichert werden
|
||||||
dotfiles_files:
|
dotfiles_files: # welche dateien sollen wohin verlinkt werden (ln -s)
|
||||||
- repo_path: "{{ dotfiles_repo_path}}/.vimrc"
|
- repo_path: "{{ dotfiles_repo_path}}/.vimrc"
|
||||||
local_path: "/home/mg/.vimrc"
|
local_path: "/home/mg/.vimrc"
|
||||||
- repo_path: "{{ dotfiles_repo_path}}/.tmux.conf"
|
dotfiles_dirs: # welche ordner sollen erstellt werden
|
||||||
local_path: "/home/mg/.tmux.conf"
|
|
||||||
- repo_path: "{{ dotfiles_repo_path}}/.gitconfig"
|
|
||||||
local_path: "/home/mg/.gitconfig"
|
|
||||||
- repo_path: "{{ dotfiles_repo_path}}/i3/config"
|
|
||||||
local_path: "/home/mg/.config/i3/config"
|
|
||||||
- repo_path: "{{ dotfiles_repo_path}}/.bash_aliases"
|
|
||||||
local_path: "/home/mg/.bash_aliases"
|
|
||||||
dotfiles_dirs:
|
|
||||||
- path: /home/mg/.config/i3
|
- path: /home/mg/.config/i3
|
||||||
- path: /home/mg/.config/polybar
|
- path: /home/mg/.config/polybar
|
||||||
dotfiles_owner: mg
|
dotfiles_owner: mg # chown
|
||||||
|
|
Loading…
Reference in a new issue