--- - name: lb bootstrap (first build stage) command: nice -n {{ live_build_nice_level }} lb bootstrap args: chdir: "{{ live_build_directory }}" register: _lb_bootstrap - name: install ca-certificates in the chroot command: nice -n {{ live_build_nice_level }} chroot "{{ live_build_directory }}/chroot" apt install -f ca-certificates args: chdir: "{{ live_build_directory }}" register: _lb_chroot - name: lb chroot (second build stage) command: nice -n {{ live_build_nice_level }} lb chroot args: chdir: "{{ live_build_directory }}" register: _lb_chroot - name: lb installer (third build stage) command: nice -n {{ live_build_nice_level }} lb installer args: chdir: "{{ live_build_directory }}" register: _lb_installer - name: lb binary (fourth build stage) command: nice -n {{ live_build_nice_level }} lb binary args: chdir: "{{ live_build_directory }}" register: _lb_binary #- name: lb source (fifth build stage) # command: lb source # args: # chdir: "{{ live_source_directory }}" # register: _lb_source #- name: lb build # command: lb build # args: # chdir: "{{ live_build_directory }}" # register: _lb_build # #- name: save build log # copy: # content: "{{ _lb_build.stdout }}" # dest: "{{ live_build_directory }}/build.log"