You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.2 KiB

---
- name: Install packages
hosts: localhost
connection: local
become: false
vars:
uid: "{{ lookup('env','USER') }}"
tasks:
- name: Install apt packages
become: true
ansible.builtin.apt:
autoclean: true
autoremove: true
install_recommends: true
pkg:
- ansible
- curl
1 year ago
- dia
- fcitx5
- foot
- git
- grimshot
- inkscape
1 year ago
- libreoffice
- lxpolkit
- mesa-utils
- mesa-utils-bin
- network-manager-gnome
- network-manager-config-connectivity-debian
- nextcloud-desktop
- npm
- pass
- pavucontrol
- pipewire-audio
- pipx
- plocate
1 year ago
- pkexec
- puppet-lint
- python3-yamlfix
- scdaemon
- sway
- sway-backgrounds
- sway-notification-center
- swayidle
- swaylock
1 year ago
- thunar
- thunderbird
1 year ago
- unzip
- waybar
- wdisplays
- wget
- wl-clipboard
- wofi
1 year ago
- xdg-desktop-portal
- xdg-desktop-portal-wlr
- xwayland
- yq
- zsh
state: latest
update_cache: true
- name: Remove apt packages
become: true
ansible.builtin.apt:
autoclean: true
autoremove: true
install_recommends: true
1 year ago
pkg: [nano]
state: absent
update_cache: true
- name: Enable pipewire-audio
ansible.builtin.command:
cmd: systemctl --user enable --now pipewire-pulse
creates: /home/{{ uid }}/.config/systemd/user/default.target.wants/pipewire-pulse.service
- name: Allow nm-applet to set wifi
become: true
ansible.builtin.template:
src: ../templates/org.freedesktop.NetworkManager.policy.j2
dest: /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy
- name: Manage ifupdown in NM
become: true
ansible.builtin.lineinfile:
path: /etc/NetworkManager/NetworkManager.conf
regex: managed=false
line: managed=true