Browse Source

rename tasks and restructure packages

master
parent
commit
a6512fbd96
2 changed files with 66 additions and 18 deletions
  1. +4
    -4
      tasks/debian_packages.yaml
  2. +62
    -14
      vars/main.yaml

+ 4
- 4
tasks/debian_packages.yaml View File

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


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


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


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


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

+ 62
- 14
vars/main.yaml View File

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

# apt tools
- aptitude
debian_base_packages:


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


# editors # editors
- nano - nano
- vim


# network tools # network tools
- iputils-ping - 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 - whois
- nmap - nmap
- tcpdump - tcpdump
- dnsutils
- bind9-dnsutils
- mtr - mtr
- oping - oping

# network config
- resolvconf
- ipcalc
- ipv6calc


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


# system
- console-setup
- dbus

# security tools # security tools
- openssh-client - openssh-client
- ssh-agent-filter - ssh-agent-filter
- gnupg - gnupg
- gnupg-agent - gnupg-agent
- agent-transfer - 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