Merge branch 'master' of https://git.mgrote.net/mg/ansible
This commit is contained in:
commit
5d99442b2a
18 changed files with 25 additions and 25 deletions
|
@ -3,6 +3,6 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: cowsay deinstallieren
|
- name: cowsay deinstallieren
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name: cowsay
|
name: cowsay
|
||||||
state: absent
|
state: absent
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: telegraf deinstallieren
|
- name: telegraf deinstallieren
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name: telegraf
|
name: telegraf
|
||||||
state: absent
|
state: absent
|
||||||
- name: telegraf-repository entfernen
|
- name: telegraf-repository entfernen
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: remove Packages
|
- name: remove Packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- hddtemp
|
- hddtemp
|
||||||
- ipmitool
|
- ipmitool
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
- name: apt-cacher-ng installieren
|
- name: install apt-cacher-ng packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name: apt-cacher-ng
|
name: apt-cacher-ng
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: acng.conf kopieren
|
- name: templating acng.conf
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "acng.conf"
|
src: "acng.conf"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
- name: apcupsd installieren
|
- name: apcupsd installieren
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- apcupsd
|
- apcupsd
|
||||||
- apcupsd-cgi
|
- apcupsd-cgi
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: install packages
|
- name: install packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- php
|
- php
|
||||||
- php-mbstring
|
- php-mbstring
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Install rasdaemon
|
- name: Install rasdaemon
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- rasdaemon
|
- rasdaemon
|
||||||
- logrotate
|
- logrotate
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: install fail2ban-packages
|
- name: install fail2ban-packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name: fail2ban
|
name: fail2ban
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: SAMBA installieren
|
- name: SAMBA installieren
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- samba
|
- samba
|
||||||
- cifs-utils
|
- cifs-utils
|
||||||
|
|
|
@ -1,32 +1,32 @@
|
||||||
- name: apt update
|
- name: apt update
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
cache_valid_time: 300
|
cache_valid_time: 300
|
||||||
|
|
||||||
- name: install common-packages
|
- name: install common-packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name: "{{ programs_common }}"
|
name: "{{ programs_common }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: install extra-packages
|
- name: install extra-packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name: "{{ programs_extra }}"
|
name: "{{ programs_extra }}"
|
||||||
state: present
|
state: present
|
||||||
when: programs_extra is defined
|
when: programs_extra is defined
|
||||||
|
|
||||||
- name: install vm-packages
|
- name: install vm-packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name: "{{ programs_only_vms }}"
|
name: "{{ programs_only_vms }}"
|
||||||
state: present
|
state: present
|
||||||
when: ansible_virtualization_role == 'guest'
|
when: ansible_virtualization_role == 'guest'
|
||||||
|
|
||||||
- name: install physical-packages
|
- name: install physical-packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name: "{{ programs_only_physical }}"
|
name: "{{ programs_only_physical }}"
|
||||||
state: present
|
state: present
|
||||||
when: ansible_virtualization_role != 'guest'
|
when: ansible_virtualization_role != 'guest'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: install fortune
|
- name: install fortune
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- fortune
|
- fortune
|
||||||
state: present
|
state: present
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
- name: install packages
|
- name: install packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- update-motd
|
- update-motd
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
- name: postfix + Hilfsprogramme installieren
|
- name: postfix + Hilfsprogramme installieren
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- postfix
|
- postfix
|
||||||
- mailutils
|
- mailutils
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: install restic-packages
|
- name: install restic-packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- restic
|
- restic
|
||||||
- logrotate
|
- logrotate
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Install Required Packages
|
- name: Install Required Packages
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#Blockdevice/Festplatten muessen haendisch in "templates" eingetragen werden
|
#Blockdevice/Festplatten muessen haendisch in "templates" eingetragen werden
|
||||||
- name: smartmontools installieren
|
- name: smartmontools installieren
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name: smartmontools
|
name: smartmontools
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: install tmux packages
|
- name: install tmux packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- tmux
|
- tmux
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -6,5 +6,5 @@
|
||||||
|
|
||||||
- name: updated installed packages
|
- name: updated installed packages
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
upgrade: dist
|
upgrade: dist
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: zfs-tools installieren
|
- name: zfs-tools installieren
|
||||||
become: yes
|
become: yes
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- zfsutils
|
- zfsutils
|
||||||
- zfs-initramfs
|
- zfs-initramfs
|
||||||
|
|
Loading…
Reference in a new issue