Преглед на файлове

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

master
Markus Brechtel преди 5 години
родител
ревизия
b3ddf4d5d1
променени са 2 файла, в които са добавени 34 реда и са изтрити 8 реда
  1. +29
    -1
      tasks/config.yaml
  2. +5
    -7
      tasks/setup.yaml

+ 29
- 1
tasks/config.yaml Целия файл

@@ -14,7 +14,35 @@
- name: lb config
command:
lb config
{{ lookup('template','lb-config-args.j2') }}

{% 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 }}"
{% if debian_nonfree_firmware %}
--firmware-binary true
{% endif %}
{% endif %}
args:
chdir: "{{ live_build_directory }}"



+ 5
- 7
tasks/setup.yaml Целия файл

@@ -1,9 +1,7 @@
---
- name: install apt packages
- name: debian packages
apt:
pkg: "{{ item }}"
state: installed
with_items:
- live-build
- memtest86
- memtest86+
pkg:
- live-build
- memtest86
- memtest86+

Loading…
Отказ
Запис