This commit is contained in:
Michael Grote 2021-01-02 14:27:00 +01:00
commit 5d99442b2a
18 changed files with 25 additions and 25 deletions

View file

@ -3,6 +3,6 @@
tasks:
- name: cowsay deinstallieren
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name: cowsay
state: absent

View file

@ -3,7 +3,7 @@
tasks:
- name: telegraf deinstallieren
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name: telegraf
state: absent
- name: telegraf-repository entfernen

View file

@ -5,7 +5,7 @@
tasks:
- name: remove Packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name:
- hddtemp
- ipmitool

View file

@ -1,10 +1,10 @@
- name: apt-cacher-ng installieren
- name: install apt-cacher-ng packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name: apt-cacher-ng
state: present
- name: acng.conf kopieren
- name: templating acng.conf
become: yes
ansible.builtin.template:
src: "acng.conf"

View file

@ -1,5 +1,5 @@
- name: apcupsd installieren
ansible.builtin.apt:
ansible.builtin.package:
name:
- apcupsd
- apcupsd-cgi

View file

@ -1,6 +1,6 @@
- name: install packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name:
- php
- php-mbstring

View file

@ -1,6 +1,6 @@
- name: Install rasdaemon
become: true
ansible.builtin.apt:
ansible.builtin.package:
name:
- rasdaemon
- logrotate

View file

@ -1,7 +1,7 @@
---
- name: install fail2ban-packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name: fail2ban
state: present

View file

@ -1,6 +1,6 @@
- name: SAMBA installieren
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name:
- samba
- cifs-utils

View file

@ -1,32 +1,32 @@
- name: apt update
become: yes
ansible.builtin.apt:
ansible.builtin.package:
update_cache: yes
cache_valid_time: 300
- name: install common-packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name: "{{ programs_common }}"
state: present
- name: install extra-packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name: "{{ programs_extra }}"
state: present
when: programs_extra is defined
- name: install vm-packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name: "{{ programs_only_vms }}"
state: present
when: ansible_virtualization_role == 'guest'
- name: install physical-packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name: "{{ programs_only_physical }}"
state: present
when: ansible_virtualization_role != 'guest'

View file

@ -1,6 +1,6 @@
- name: install fortune
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name:
- fortune
state: present
@ -8,7 +8,7 @@
- name: install packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name:
- update-motd
state: present

View file

@ -2,7 +2,7 @@
- name: postfix + Hilfsprogramme installieren
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name:
- postfix
- mailutils

View file

@ -1,6 +1,6 @@
- name: install restic-packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name:
- restic
- logrotate

View file

@ -1,7 +1,7 @@
---
- name: Install Required Packages
become: true
ansible.builtin.apt:
ansible.builtin.package:
name:
- ca-certificates
- apt-transport-https

View file

@ -1,7 +1,7 @@
#Blockdevice/Festplatten muessen haendisch in "templates" eingetragen werden
- name: smartmontools installieren
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name: smartmontools
state: present

View file

@ -1,6 +1,6 @@
- name: install tmux packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name:
- tmux
state: present

View file

@ -6,5 +6,5 @@
- name: updated installed packages
become: yes
ansible.builtin.apt:
ansible.builtin.package:
upgrade: dist

View file

@ -1,6 +1,6 @@
- name: zfs-tools installieren
become: yes
ansible.builtin.apt:
ansible.builtin.package:
name:
- zfsutils
- zfs-initramfs