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:
parent
ca75480ce3
commit
e9f78f93eb
18 changed files with 25 additions and 25 deletions
|
@ -3,6 +3,6 @@
|
|||
tasks:
|
||||
- name: cowsay deinstallieren
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name: cowsay
|
||||
state: absent
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
tasks:
|
||||
- name: telegraf deinstallieren
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name: telegraf
|
||||
state: absent
|
||||
- name: telegraf-repository entfernen
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
tasks:
|
||||
- name: remove Packages
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- hddtemp
|
||||
- ipmitool
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: apcupsd installieren
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- apcupsd
|
||||
- apcupsd-cgi
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- name: install packages
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- php
|
||||
- php-mbstring
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- name: Install rasdaemon
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- rasdaemon
|
||||
- logrotate
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: install fail2ban-packages
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name: fail2ban
|
||||
state: present
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- name: SAMBA installieren
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- samba
|
||||
- cifs-utils
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
- name: postfix + Hilfsprogramme installieren
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- postfix
|
||||
- mailutils
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- name: install restic-packages
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- restic
|
||||
- logrotate
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: Install Required Packages
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- ca-certificates
|
||||
- apt-transport-https
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- name: install tmux packages
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- tmux
|
||||
state: present
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
|
||||
- name: updated installed packages
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
upgrade: dist
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- name: zfs-tools installieren
|
||||
become: yes
|
||||
ansible.builtin.apt:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- zfsutils
|
||||
- zfs-initramfs
|
||||
|
|
Loading…
Reference in a new issue