@@ -3,3 +3,5 @@ debian_mirror: http://deb.debian.org/debian | |||||
debian_live_build_serial_console: false | debian_live_build_serial_console: false | ||||
debian_live_build_bootappend_live: boot=live components quiet {{ debian_live_build_serial_console | ternary('console=ttyS0','') }} hostname={{ debian_live_build_hostname }} | debian_live_build_bootappend_live: boot=live components quiet {{ debian_live_build_serial_console | ternary('console=ttyS0','') }} hostname={{ debian_live_build_hostname }} | ||||
debian_live_build_hostname: "{{ inventory_hostname }}" | debian_live_build_hostname: "{{ inventory_hostname }}" | ||||
debian_live_build_distribution: stretch |
@@ -27,7 +27,6 @@ | |||||
lb clean | lb clean | ||||
args: | args: | ||||
chdir: "{{ debian_live_build_directory }}" | chdir: "{{ debian_live_build_directory }}" | ||||
when: live_build_clean is defined and live_build_clean | |||||
- name: lb config | - name: lb config | ||||
command: | command: | ||||
@@ -1,3 +1,3 @@ | |||||
{% for package in debian_live_build_custom_packages %} | {% for package in debian_live_build_custom_packages %} | ||||
{{package}} | |||||
{{ package }} | |||||
{% endfor %} | {% endfor %} |
@@ -9,3 +9,23 @@ | |||||
{% if debian_live_build_bootappend_live is defined %} | {% if debian_live_build_bootappend_live is defined %} | ||||
--bootappend-live "{{ debian_live_build_bootappend_live }}" | --bootappend-live "{{ debian_live_build_bootappend_live }}" | ||||
{% endif %} | {% endif %} | ||||
{% if debian_live_debian_installer is defined %} | |||||
--debian-installer "{{ debian_live_debian_installer }}" | |||||
{% endif %} | |||||
{% if debian_mirror is defined %} | |||||
--mirror-binary "{{ debian_mirror }}" | |||||
--mirror-binary-updates "{{ debian_mirror }}" | |||||
{% if (debian_backports is defined) and (debian_backports == true) %} | |||||
--mirror-binary-backports "{{ debian_mirror }}" | |||||
{% endif %} | |||||
--mirror-debian-installer "{{ debian_mirror }}" | |||||
{% endif %} | |||||
{% if debian_security_mirror is defined %} | |||||
--mirror-binary-security "{{ debian_security_mirror }}" | |||||
{% endif %} | |||||
{% if (debian_backports is defined) and (debian_backports == true) %} | |||||
--backports true | |||||
{% endif %} | |||||
{% if debian_components is defined %} | |||||
--archive-areas {% debian_components | join(",") %} | |||||
{% endif %} |
@@ -1,12 +1,23 @@ | |||||
debian_live_build_common_packages: | debian_live_build_common_packages: | ||||
- openssh-server | - openssh-server | ||||
- python | - python | ||||
- console-setup | |||||
# hardware utils | # hardware utils | ||||
- pciutils | - pciutils | ||||
- usbutils | - usbutils | ||||
- acpi | - acpi | ||||
# hard disk utils | |||||
- btrfs-tools | |||||
- parted | |||||
- mdadm | |||||
- cryptsetup | |||||
- lvm2 | |||||
# installation utils | |||||
- debootstrap | |||||
# admin tools | # admin tools | ||||
- tmux | - tmux | ||||
- rsync | - rsync | ||||
@@ -20,8 +31,8 @@ debian_live_build_common_packages: | |||||
- whois | - whois | ||||
- nmap | - nmap | ||||
- tcpdump | - tcpdump | ||||
- dnsutils | - dnsutils | ||||
# admin tools | # admin tools | ||||
- tmux | - tmux | ||||
- rsync | - rsync | ||||