瀏覽代碼

rename tasks and restructure packages

master
父節點
當前提交
a6512fbd96
共有 2 個文件被更改,包括 66 次插入18 次删除
  1. +4
    -4
      tasks/debian_packages.yaml
  2. +62
    -14
      vars/main.yaml

+ 4
- 4
tasks/debian_packages.yaml 查看文件

@@ -1,20 +1,20 @@
---

- name: base packages
- name: debian base packages
apt:
pkg: "{{ debian_base_packages }}"
when: debian_base_packages is defined

- name: boot packages
- name: debian boot packages
apt:
pkg: "{{ debian_boot_packages }}"
when: debian_boot_packages is defined

- name: common packages
- name: debian common packages
apt:
pkg: "{{ debian_common_packages }}"

- name: custom packages
- name: debian custom packages
apt:
pkg: "{{ debian_custom_packages }}"
when: debian_custom_packages is defined

+ 62
- 14
vars/main.yaml 查看文件

@@ -1,31 +1,62 @@
debian_common_packages:

# apt tools
- aptitude
debian_base_packages:

# admin tools
- lsof
- less
- psmisc
- lshw
- ipcalc
- ipv6calc

# editors
- nano
- vim

# network tools
- iputils-ping

# network config
- resolvconf

# compression
- unzip
- p7zip
- zip
- unzip

# file sync tools
- rsync
- zsync

# shells
- fish

# ansible requirements
- python3
- python3-apt

# system
- console-setup
- dbus

debian_common_packages:

# apt tools
- aptitude

# editors
- nano
- micro
- vim
- joe

# network tools
- whois
- nmap
- tcpdump
- dnsutils
- bind9-dnsutils
- mtr
- oping

# network config
- resolvconf
- ipcalc
- ipv6calc

# documentation
- man-db
@@ -62,13 +93,30 @@ debian_common_packages:
- python3-setuptools
- golang

# system
- console-setup
- dbus

# security tools
- openssh-client
- ssh-agent-filter
- gnupg
- gnupg-agent
- agent-transfer

# installation utils
- debootstrap

debian_hardware_packages:

# hardware utils
- pciutils
- usbutils
- acpi
- lshw

# hard disk utils
- parted
- mdadm
- cryptsetup
- lvm2

# filesystem tools
- btrfs-progs
- dosfstools