This commit is contained in:
2024-07-03 15:48:10 +00:00
parent 9a4bbb05a8
commit 6413ee32c2
25 changed files with 178 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
---
# tasks file for dump_debconf_db
- name: Install debconf-utils
apt:
name: debconf-utils
state: present
- name: Create preseed file
command: echo "#_preseed_V1" > /root/preseed.txt
- name: Append installer's debconf database to the file
command: debconf-get-selections --installer >> /root/preseed.txt
- name: Append debconf database to the file
command: debconf-get-selections >> /root/preseed.txt

View File

@@ -0,0 +1,4 @@
---
# tasks file for dump_debconf_database
- include_tasks: dump_debconf_db.yml
when: ansible_os_family == "Debian"