diff --git a/host_vars/irantu.grote.lan.yml b/host_vars/irantu.grote.lan.yml index 72caf605..a0bb5da5 100644 --- a/host_vars/irantu.grote.lan.yml +++ b/host_vars/irantu.grote.lan.yml @@ -13,9 +13,12 @@ local_path: "/home/mg/.config/i3/config" - repo_path: "{{ dotfiles_repo_path}}/.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: - path: /home/mg/.config/i3 - path: /home/mg/.config/polybar + - path: /home/mg/.config/alacritty dotfiles_owner: mg ### mgrote.apt_install_packages programs_extra: @@ -28,3 +31,11 @@ - nextcloud-desktop - gnome-tweaks - 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 diff --git a/playbooks/3_service/laptop.yml b/playbooks/3_service/laptop.yml index c04475f3..67302906 100644 --- a/playbooks/3_service/laptop.yml +++ b/playbooks/3_service/laptop.yml @@ -3,5 +3,5 @@ roles: - { role: mgrote.i3, tags: "i3", 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.alacritty, tags: "alacritty", become: true } diff --git a/roles/mgrote.alacritty/README.md b/roles/mgrote.alacritty/README.md new file mode 100644 index 00000000..f9b2a14c --- /dev/null +++ b/roles/mgrote.alacritty/README.md @@ -0,0 +1,8 @@ +## mgrote.alacritty +### Beschreibung +Installiert alacritty. + + +### Funktioniert auf +- [x] Ubuntu (>=18.04) +- [x]Linux Mint diff --git a/roles/mgrote.alacritty/tasks/main.yml b/roles/mgrote.alacritty/tasks/main.yml new file mode 100644 index 00000000..c78538e1 --- /dev/null +++ b/roles/mgrote.alacritty/tasks/main.yml @@ -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 diff --git a/roles/mgrote.dotfiles/README.md b/roles/mgrote.dotfiles/README.md new file mode 100644 index 00000000..365bad76 --- /dev/null +++ b/roles/mgrote.dotfiles/README.md @@ -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) diff --git a/roles/mgrote.dotfiles/defaults/main.yml b/roles/mgrote.dotfiles/defaults/main.yml index d613b7a0..ee4ae3c8 100644 --- a/roles/mgrote.dotfiles/defaults/main.yml +++ b/roles/mgrote.dotfiles/defaults/main.yml @@ -1,18 +1,10 @@ --- - dotfiles_repo_url: https://git.mgrote.net/mg/dotfiles - dotfiles_repo_path: /home/mg/dotfiles - dotfiles_files: + dotfiles_repo_url: https://git.mgrote.net/mg/dotfiles # url zum repo + dotfiles_repo_path: /home/mg/dotfiles # wo soll das repo lokal gespeichert werden + dotfiles_files: # welche dateien sollen wohin verlinkt werden (ln -s) - repo_path: "{{ dotfiles_repo_path}}/.vimrc" local_path: "/home/mg/.vimrc" - - repo_path: "{{ dotfiles_repo_path}}/.tmux.conf" - 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: + dotfiles_dirs: # welche ordner sollen erstellt werden - path: /home/mg/.config/i3 - path: /home/mg/.config/polybar - dotfiles_owner: mg + dotfiles_owner: mg # chown