bugs_laptop (#136)
Merge branch 'master' into bugs_laptop vars polybar tools tmux become true doku xnview package feh vars playbook sources taks linux mint polybar vivaldi alacritty siji ufw apt sources nicht bei irantu ripgrep siji bug Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#136 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
486fbb9731
commit
a0b88b4aee
13 changed files with 98 additions and 22 deletions
|
@ -191,7 +191,7 @@
|
|||
- vim
|
||||
- rsync
|
||||
- at
|
||||
- rg
|
||||
- ripgrep
|
||||
programs_only_physical:
|
||||
- hddtemp
|
||||
- ipmitool
|
||||
|
|
|
@ -32,9 +32,12 @@
|
|||
- gnome-tweaks
|
||||
- powertop
|
||||
- caja
|
||||
- xrandr
|
||||
- x11-xserver-utils # xrandr
|
||||
- arandr
|
||||
- keepassxc
|
||||
- feh # i3 wallpaper
|
||||
- yad # polybar popup-calendar
|
||||
- xdotool # polybar popup-calendar
|
||||
### mgrote.apt_manage_sources
|
||||
manage_sources_apt_proxy_url: ""
|
||||
### mgrote.ntp_chrony_server
|
||||
|
@ -43,3 +46,10 @@
|
|||
- address: pool.ntp.org
|
||||
options: iburst #optionaler parameter
|
||||
ntp_chrony_logging: false # logging an/aus
|
||||
### oefenweb.ufw
|
||||
ufw_rules:
|
||||
- rule: allow
|
||||
to_port: 22
|
||||
protocol: tcp
|
||||
comment: 'ssh'
|
||||
from_ip: 192.168.2.0/24
|
|
@ -6,3 +6,4 @@
|
|||
- { role: mgrote.deactivate_caps, tags: "caps", become: true }
|
||||
- { role: mgrote.alacritty, tags: "alacritty", become: true }
|
||||
- { role: mgrote.vivaldi, tags: "vivaldi", become: true }
|
||||
- { role: mgrote.xnview, tags: "xnview", become: true }
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
- hosts: all
|
||||
roles:
|
||||
- { role: mgrote.apt_manage_sources, tags: "apt_sources" }
|
||||
- { role: mgrote.apt_manage_sources, tags: "apt_sources",
|
||||
when: "not 'laptop' in group_names" }
|
||||
|
|
|
@ -1,13 +1,21 @@
|
|||
---
|
||||
- name: add ppa
|
||||
ansible.builtin.apt_repository:
|
||||
repo: ppa:system76/pop
|
||||
state: present
|
||||
filename: alacritty
|
||||
become: yes
|
||||
ansible.builtin.shell: add-apt-repository ppa:mmstick76/alacritty -y
|
||||
args:
|
||||
creates: "/etc/apt/sources.list.d/mmstick76-alacritty-focal.list"
|
||||
|
||||
# - name: add ppa
|
||||
# ansible.builtin.apt_repository:
|
||||
# repo: ppa:aslatter/ppa
|
||||
# state: present
|
||||
# filename: alacritty
|
||||
# update_cache: yes
|
||||
|
||||
- name: install packages
|
||||
become: yes
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- alacritty
|
||||
- xclip
|
||||
state: present
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
become: yes
|
||||
ansible.builtin.template:
|
||||
src: "mint_sources.list"
|
||||
dest: "/etc/apt/sources.list"
|
||||
dest: "/etc/apt/sources.list.d/official-package-repositories.list"
|
||||
backup: yes
|
||||
register: copy_src
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
polybar_siji_repo: https://github.com/stark/siji
|
||||
polybar_siji_local: /home/mg/siji
|
||||
polybar_siji_fonts_dir: /home/mg/.fonts
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
name:
|
||||
- polybar
|
||||
- lm-sensors
|
||||
- brightnessctl
|
||||
- inotify-tools
|
||||
state: present
|
||||
|
||||
- name: checkout siji font
|
||||
|
@ -14,10 +16,18 @@
|
|||
dest: "{{ polybar_siji_local }}"
|
||||
register: gitcheckout
|
||||
|
||||
- name: create siji dir
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
path:
|
||||
- "{{ polybar_siji_fonts_dir }}"
|
||||
state: directory
|
||||
|
||||
- name: install siji-font
|
||||
become: true
|
||||
ansible.builtin.shell: /home/mg/siji/install.sh -d /home/mg/.fonts
|
||||
ansible.builtin.shell: "{{ polybar_siji_local }}/install.sh -d {{ polybar_siji_fonts_dir }}"
|
||||
args:
|
||||
chdir: "{{ polybar_siji_local }}"
|
||||
creates: /home/mg/.fonts
|
||||
when: gitcheckout.changed
|
||||
|
||||
|
@ -39,4 +49,3 @@
|
|||
ansible.builtin.user:
|
||||
name: polybar
|
||||
group: video
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
cache_valid_time: 360
|
||||
|
||||
- name: Check if "{{ tmux_bashrc_destination }}" exists
|
||||
become: yes
|
||||
stat:
|
||||
path: "{{ tmux_bashrc_destination }}"
|
||||
register: stat_result
|
||||
|
|
|
@ -5,4 +5,4 @@ Installiert vivaldi.
|
|||
|
||||
### Funktioniert auf
|
||||
- [x] Ubuntu (>=18.04)
|
||||
- [x]Linux Mint
|
||||
- [x] Linux Mint
|
||||
|
|
|
@ -1,13 +1,25 @@
|
|||
---
|
||||
- name: add repo
|
||||
ansible.builtin.apt_repository:
|
||||
repo: deb https://repo.vivaldi.com/archive/deb/ stable main
|
||||
state: present
|
||||
filename: vivaldi
|
||||
# - name: add repo
|
||||
# ansible.builtin.apt_repository:
|
||||
# repo: deb https://repo.vivaldi.com/archive/deb/ stable main
|
||||
# state: present
|
||||
# filename: vivaldi
|
||||
|
||||
- name: install packages
|
||||
become: yes
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- vivaldi-stable
|
||||
state: present
|
||||
# - name: add ppa
|
||||
# become: yes
|
||||
# ansible.builtin.shell: add-apt-repository deb https://repo.vivaldi.com/archive/deb/ stable main -y
|
||||
#args:
|
||||
# creates: "/etc/apt/sources.list.d/mmstick76-alacritty-focal.list"
|
||||
|
||||
# - name: install packages
|
||||
# become: yes
|
||||
# ansible.builtin.package:
|
||||
# name:
|
||||
# - vivaldi-stable
|
||||
# state: present
|
||||
|
||||
|
||||
- name: download and install vivaldi
|
||||
become: true
|
||||
apt:
|
||||
deb: https://downloads.vivaldi.com/stable/vivaldi-stable_4.0.2312.33-1_amd64.deb
|
||||
|
|
8
roles/mgrote.xnview/README.md
Normal file
8
roles/mgrote.xnview/README.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
## mgrote.xnview
|
||||
### Beschreibung
|
||||
Installiert xnview.
|
||||
|
||||
|
||||
### Funktioniert auf
|
||||
- [x] Ubuntu (>=18.04)
|
||||
- [x] Linux Mint
|
25
roles/mgrote.xnview/tasks/main.yml
Normal file
25
roles/mgrote.xnview/tasks/main.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
# - name: add repo
|
||||
# ansible.builtin.apt_repository:
|
||||
# repo: deb https://repo.vivaldi.com/archive/deb/ stable main
|
||||
# state: present
|
||||
# filename: vivaldi
|
||||
|
||||
# - name: add ppa
|
||||
# become: yes
|
||||
# ansible.builtin.shell: add-apt-repository deb https://repo.vivaldi.com/archive/deb/ stable main -y
|
||||
#args:
|
||||
# creates: "/etc/apt/sources.list.d/mmstick76-alacritty-focal.list"
|
||||
|
||||
# - name: install packages
|
||||
# become: yes
|
||||
# ansible.builtin.package:
|
||||
# name:
|
||||
# - vivaldi-stable
|
||||
# state: present
|
||||
|
||||
|
||||
- name: download and install xnview
|
||||
become: true
|
||||
apt:
|
||||
deb: https://download.xnview.com/XnViewMP-linux-x64.deb
|
Loading…
Reference in a new issue