--- - 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 {{ lookup('template','lb-config-args.j2') }} 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: common.list.chroot.j2 dest: "{{ live_build_directory }}/config/package-lists/common.list.chroot" - name: include desktop packages template: src: desktop.list.chroot.j2 dest: "{{ live_build_directory }}/config/package-lists/desktop.list.chroot" - name: include custom packages template: src: 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: preseed.cfg.j2 dest: "{{ live_build_directory }}/config/includes.installer/preseed.cfg"