community.general.packaging.* is deprecated

This commit is contained in:
Hoang Nguyen 2022-11-26 23:09:24 +07:00
parent 330418490d
commit 6e8d994bc3
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
17 changed files with 25 additions and 25 deletions

View File

@ -1,6 +1,6 @@
---
- name: acpid | Install acpid and acpi-utils
community.general.packaging.os.apk:
community.general.apk:
name: acpid, acpi-utils
state: present

View File

@ -1,6 +1,6 @@
---
- name: apparmor | Install apparmor and default profiles
community.general.packaging.os.apk:
community.general.apk:
name: apparmor, apparmor-profiles
state: present

View File

@ -1,6 +1,6 @@
---
- name: cronie | Install cronie package
community.general.packaging.os.apk:
community.general.apk:
name: cronie
state: present

View File

@ -1,6 +1,6 @@
---
- name: fcron | Install fcron package
community.general.packaging.os.apk:
community.general.apk:
name: fcron, fcron-pam
state: present

View File

@ -26,7 +26,7 @@
when: rootfs == 'btrfs'
- name: cron | Install logrotate and cpulimit
community.general.packaging.os.apk:
community.general.apk:
name: logrotate, cpulimit
state: present

View File

@ -3,7 +3,7 @@
- name: devd | Specific tasks for non-udev device manager
block:
- name: devd | Install libudev-zero
community.general.packaging.os.apk:
community.general.apk:
name: libudev-zero
state: present
@ -26,7 +26,7 @@
- name: devd | Specific tasks for busybox's mdev
block:
- name: mdev | Install libudev-zero-helper
community.general.packaging.os.apk:
community.general.apk:
name: libudev-zero-helper
state: present

View File

@ -1,6 +1,6 @@
---
- name: dns | Install openresolv and {{ dns_resolver }}
community.general.packaging.os.apk:
community.general.apk:
name: openresolv, {{ dns_resolver }}
state: present

View File

@ -1,6 +1,6 @@
---
- name: unbound | Install dns-root-hints
community.general.packaging.os.apk:
community.general.apk:
name: dns-root-hints
state: present

View File

@ -8,13 +8,13 @@
mode: 0644
- name: essential | Update repository cache and the system
community.general.packaging.os.apk:
community.general.apk:
available: true
upgrade: true
update_cache: true
- name: essential | Install common dependencies
community.general.packaging.os.apk:
community.general.apk:
name: zstd, dbus, terminus-font, shadow-login
state: present

View File

@ -1,6 +1,6 @@
---
- name: libvirt | Install libvirt and qemu
community.general.packaging.os.apk:
community.general.apk:
name: libvirt-daemon, qemu-img, qemu-system-x86_64, qemu-modules
state: present

View File

@ -1,6 +1,6 @@
---
- name: networking | Install iwd package
community.general.packaging.os.apk:
community.general.apk:
name: iwd
state: present
when: not iwd_without_dbus
@ -9,7 +9,7 @@
# - iw dev <interface> scan | grep SSID
# - printf <passphrase> | iwd_passphrase <ssid> > /var/lib/iwd/<ssid>.psk
- name: networking | Install eiwd and iw packages
community.general.packaging.os.apk:
community.general.apk:
name: eiwd, iw
state: present
when: iwd_without_dbus

View File

@ -1,6 +1,6 @@
---
- name: nftables | Install nftables
community.general.packaging.os.apk:
community.general.apk:
name: nftables
state: present

View File

@ -1,7 +1,7 @@
---
- block:
- name: seat | Install elogind and polkit-elogind
community.general.packaging.os.apk:
community.general.apk:
name: elogind, polkit-elogind
state: present
@ -17,7 +17,7 @@
- block:
- name: seat | Install pam-rundir
community.general.packaging.os.apk:
community.general.apk:
name: pam-rundir
state: present
@ -33,7 +33,7 @@
state: after
- name: seat | Install polkit
community.general.packaging.os.apk:
community.general.apk:
name: polkit
state: present
when: use_polkit
@ -41,7 +41,7 @@
- block:
- name: seat | Install seatd
community.general.packaging.os.apk:
community.general.apk:
name: seatd
state: present

View File

@ -1,12 +1,12 @@
---
- name: tlp | Install tlp package
community.general.packaging.os.apk:
community.general.apk:
name: tlp
state: present
# I have a ThinkPad laptop :)
- name: tlp | Install acpi_call kernel module
community.general.packaging.os.apk:
community.general.apk:
name: acpi_call-src
state: present
when: ansible_hostname == 'alpine-tp'

View File

@ -1,6 +1,6 @@
---
- name: usbguard | Install usbguard
community.general.packaging.os.apk:
community.general.apk:
name: usbguard
state: present

View File

@ -1,11 +1,11 @@
---
- name: user | Install doas
community.general.packaging.os.apk:
community.general.apk:
name: doas
state: present
- name: user | Install {{ usershell }}
community.general.packaging.os.apk:
community.general.apk:
name: '{{ usershell }}'
state: present
when: usershell not in ['ash', 'sh']

View File

@ -1,7 +1,7 @@
---
# TODO: work out nftables firewall rules (should be on upstream)
- name: waydroid | Install waydroid
community.general.packaging.os.apk:
community.general.apk:
name: waydroid
state: present