This commit is contained in:
Christoph 2021-06-03 01:40:08 +02:00
parent 0688b412eb
commit e2cc27a260
2 changed files with 22 additions and 5 deletions

View File

@ -35,7 +35,7 @@ sshd_max_auth_tries: 3
sshd_max_sessions: 10 sshd_max_sessions: 10
sshd_permit_root_login: !!str "no" sshd_permit_root_login: !!str "prohibit-password"
sshd_authorized_keys_file: ".ssh/authorized_keys .ssh/authorized_keys2" sshd_authorized_keys_file: ".ssh/authorized_keys .ssh/authorized_keys2"
@ -557,10 +557,13 @@ microcode_intel_package:
microcode_amd_package: microcode_amd_package:
- amd64-microcode - amd64-microcode
firmware_packages: firmware_packages_ubuntu:
- firmware-linux - firmware-linux
firmware_non_free_packages: firmware_packages_debian:
- firmware-linux
firmware_non_free_packages_debian:
- firmware-linux-nonfree - firmware-linux-nonfree
apt_install_state: latest apt_install_state: latest

View File

@ -230,9 +230,22 @@
- name: (apt.yml) Install Firmware packages - name: (apt.yml) Install Firmware packages
apt: apt:
name: "{{ firmware_non_free_packages }}" name: "{{ firmware_packages_ubuntu }}"
state: present state: present
default_release: "{{ ansible_distribution_release }}" default_release: "{{ ansible_distribution_release }}"
when:
- ansible_facts['distribution'] == "Ubuntu"
tags:
- apt-initial-install
- apt-firmware
- name: (apt.yml) Install Firmware packages
apt:
name: "{{ firmware_packages_debian }}"
state: present
default_release: "{{ ansible_distribution_release }}"
when:
- ansible_facts['distribution'] == "Debian"
tags: tags:
- apt-initial-install - apt-initial-install
- apt-firmware - apt-firmware
@ -240,10 +253,11 @@
- name: (apt.yml) Install non-free Firmware packages - name: (apt.yml) Install non-free Firmware packages
apt: apt:
name: "{{ firmware_non_free_packages }}" name: "{{ firmware_non_free_packages_debian }}"
state: present state: present
default_release: "{{ ansible_distribution_release }}" default_release: "{{ ansible_distribution_release }}"
when: when:
- ansible_facts['distribution'] == "Debian"
- apt_debian_contrib_nonfree_enable - apt_debian_contrib_nonfree_enable
tags: tags:
- apt-initial-install - apt-initial-install