|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- ---
-
- - name: remove config directory
- file:
- path: "{{ live_build_directory }}/config"
- state: absent
-
- - name: lb clean
- command:
- lb clean
- args:
- chdir: "{{ live_build_directory }}"
-
- - name: lb config
- command:
- lb config
-
- {% if live_build_distribution is defined %}
- --distribution "{{ live_build_distribution }}"
- {% endif %}
-
- --mirror-bootstrap "{{ debian_mirror }}"
- --mirror-chroot-security "{{ debian_security_mirror }}"
- --mirror-binary "{{ debian_mirror }}"
- --mirror-binary-security "{{ debian_security_mirror }}"
-
- {% if debian_nonfree_firmware %}
- --archive-areas "main contrib non-free"
- --firmware-chroot true
- {% endif %}
-
- {% if live_build_bootappend_live is defined %}
- --bootappend-live "{{ live_build_bootappend_live }}"
- {% endif %}
-
- {% if (debian_backports is defined) and (debian_backports == true) %}
- --backports true
- {% endif %}
-
- {% if debian_live_debian_installer is defined %}
- --debian-installer "{{ debian_live_debian_installer }}"
- --debian-installer-gui "{{ live_build_debian_installer_gui | default(false) }}"
- {% if debian_nonfree_firmware %}
- --firmware-binary true
- {% endif %}
- {% endif %}
- args:
- chdir: "{{ live_build_directory }}"
-
- - name: root user
- import_role:
- name: root_user
- vars:
- root_target_directory: "{{ live_build_directory }}/config/includes.chroot/"
-
- - name: include common packages
- template:
- src: config/package-lists/common.list.chroot.j2
- dest: "{{ live_build_directory }}/config/package-lists/common.list.chroot"
-
- - name: include desktop packages
- template:
- src: config/package-lists/desktop.list.chroot.j2
- dest: "{{ live_build_directory }}/config/package-lists/desktop.list.chroot"
-
- - name: include custom packages
- template:
- src: config/package-lists/custom.list.chroot.j2
- dest: "{{ live_build_directory }}/config/package-lists/custom.list.chroot"
- when: live_build_custom_packages is defined
-
- - name: debian-installer installer includes directory
- file:
- path: "{{ live_build_directory }}/config/includes.installer"
- state: directory
-
- - name: debian-installer preseed
- template:
- src: config/includes.installer/preseed.cfg.j2
- dest: "{{ live_build_directory }}/config/includes.installer/preseed.cfg"
|