Browse Source

Merge branch 'master' of git.devops.thengo.intranet:ka/ansible-role-live-build

main
parent
commit
92313f1ccc
2 changed files with 14 additions and 4 deletions
  1. +2
    -0
      defaults/main.yml
  2. +12
    -4
      tasks/build.yaml

+ 2
- 0
defaults/main.yml View File

@@ -20,3 +20,5 @@ live_build_directory: /opt/live
live_build_desktop: true live_build_desktop: true


live_build_iso_publisher: custom live_build_iso_publisher: custom

live_build_nice_level: 14

+ 12
- 4
tasks/build.yaml View File

@@ -1,25 +1,33 @@
--- ---


- name: lb bootstrap (first build stage) - name: lb bootstrap (first build stage)
command: lb bootstrap
command:
nice -n {{ live_build_nice_level }}
lb bootstrap
args: args:
chdir: "{{ live_build_directory }}" chdir: "{{ live_build_directory }}"
register: _lb_bootstrap register: _lb_bootstrap


- name: lb chroot (second build stage) - name: lb chroot (second build stage)
command: lb chroot
command:
nice -n {{ live_build_nice_level }}
lb chroot
args: args:
chdir: "{{ live_build_directory }}" chdir: "{{ live_build_directory }}"
register: _lb_chroot register: _lb_chroot


- name: lb installer (third build stage) - name: lb installer (third build stage)
command: lb installer
command:
nice -n {{ live_build_nice_level }}
lb installer
args: args:
chdir: "{{ live_build_directory }}" chdir: "{{ live_build_directory }}"
register: _lb_installer register: _lb_installer


- name: lb binary (fourth build stage) - name: lb binary (fourth build stage)
command: lb binary
command:
nice -n {{ live_build_nice_level }}
lb binary
args: args:
chdir: "{{ live_build_directory }}" chdir: "{{ live_build_directory }}"
register: _lb_binary register: _lb_binary


Loading…
Cancel
Save