ansible/pb_setup.yaml
Guilherme Bufolo 9b5b5a0158 Further improved setup
Can now install VS Code.
Download tars from github.
Uses a vault for storing sudo passwords.
2025-01-12 13:18:26 +01:00

73 lines
1.9 KiB
YAML

---
- name: Allgemeine Software Installieren
hosts: "{{ variable_host | default('all') }}"
become: yes
vars_files: secrets.yaml
tasks:
- name: Setup apt-transport-https (needed by Microsoft PPA)
apt:
name: apt-transport-https
state: latest
- name: Add Microsoft PPA Key
import_tasks: ./tasks/setup_vscode_ppa.yaml
- name: Add github PPA Key
apt_key:
url: https://cli.github.com/packages/githubcli-archive-keyring.gpg
state: present
- name: Add PPAs
apt_repository:
repo: "{{ item }}"
update_cache: false
state: present
loop:
- ppa:freecad-maintainers/freecad-stable
- ppa:git-core/ppa
- ppa:inkscape.dev/stable
- ppa:libreoffice/ppa
- ppa:mozillateam/ppa
- ppa:neovim-ppa/stable
- ppa:nextcloud-devs/client
- ppa:ubuntu-mozilla-security/ppa
- name: Software installieren (apt)
apt:
name:
- code
- firefox
- freecad
- gh
- gimp
- gimp-help-de
- git
- inkscape
- libreoffice
- neovim
- nextcloud-desktop
- zsh
state: latest
update_cache: true
- name: Software installieren (Flatpak)
community.general.flatpak:
name:
- com.prusa3d.PrusaSlicer
- org.filezillaproject.Filezilla
state: latest
- name: Setup OpenRobertaConnectior
import_tasks: ./tasks/openrobertaconnector.yaml
- name: cups_browserd deaktivieren
import_tasks: ./tasks/disable_browsed.yaml
# done - name: Firefox installieren
# - name: ublock Installieren
# - name: DSGVO deny Installieren
# - name: ecosia
# - name: do not translate
# - name: Fonts installieren
# - name: Links zu Benutzerdaten in Nextcloud installieren
# - name: HobbyEngel und roberta anlegen
# - name: alle User in Dialout hinzufügen
# - name: Hintergrund setzen
# - name: LaserSoftware installieren
# - name: Grafiktreiber installieren