2024-02-10 13:50:42 +00:00
|
|
|
- hosts: localhost
|
2024-02-10 13:33:27 +00:00
|
|
|
tasks:
|
2024-02-10 15:40:51 +00:00
|
|
|
|
2024-02-10 13:50:42 +00:00
|
|
|
- name: Install packages
|
2024-02-10 13:33:27 +00:00
|
|
|
apt:
|
|
|
|
name:
|
2024-02-10 13:50:42 +00:00
|
|
|
- geany
|
|
|
|
state: latest
|
2024-02-10 15:40:51 +00:00
|
|
|
|
2024-02-10 13:50:42 +00:00
|
|
|
- name: Enable home directory creation for new users
|
2024-02-10 14:12:03 +00:00
|
|
|
command: pam-auth-update --enable mkhomedir
|
|
|
|
|
|
|
|
- name: TeXlive
|
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- texlive-luatex
|
|
|
|
- texlive-latex-recommended
|
|
|
|
- texlive-latex-extra
|
|
|
|
- texlive-extra-utils
|
|
|
|
- texlive-publishers
|
|
|
|
- texlive-lang-english
|
|
|
|
- texlive-lang-german
|
2024-02-10 15:40:51 +00:00
|
|
|
- texlive-pictures
|
|
|
|
|
|
|
|
- name: Add jammy-proposed
|
|
|
|
apt_repository:
|
|
|
|
repo: deb http://de.archive.ubuntu.com/ubuntu jammy-proposed universe
|
|
|
|
state: present
|
|
|
|
filename: jammy-proposed
|
|
|
|
|
|
|
|
- name: Avoid normal upgrades from jammy-proposed
|
|
|
|
copy:
|
|
|
|
dest: "/etc/apt/preferences.d/proposed-updates"
|
|
|
|
content: |
|
|
|
|
# Configure apt to allow selective installs of packages from proposed
|
|
|
|
Package: *
|
|
|
|
Pin: release a=jammy-proposed
|
|
|
|
Pin-Priority: 400
|
|
|
|
|
|
|
|
- name: Install Bacula File Daemon
|
|
|
|
apt:
|
|
|
|
name: bacula-fd
|
|
|
|
default_release: jammy-proposed
|
2024-02-10 16:08:08 +00:00
|
|
|
- name: Install script for bacula-fd configuration
|
|
|
|
copy:
|
|
|
|
src: bacula-conf.py
|
|
|
|
dest: /usr/local/bin/bacula-conf.py
|
|
|
|
mode: 0700
|
|
|
|
- name: run configuration for bacula-fd
|
|
|
|
command: /usr/local/bin/bacula-conf.py
|
|
|
|
- name: Restart service bacula-fd
|
|
|
|
service:
|
|
|
|
name: bacula-fd
|
|
|
|
state: restarted
|