Ersetze ansible.builtin.apt module durch ansible.builtin.package (#20)

Bugfix: acng

ansible.builtin.apt --> ansible.builtin.package

Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com>
Reviewed-on: mg/ansible#20
Co-Authored-By: mg <michael.grote@posteo.de>
Co-Committed-By: mg <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2021-01-02 10:30:54 +01:00
parent ca75480ce3
commit e9f78f93eb
18 changed files with 25 additions and 25 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"

View file

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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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'

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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