Updates and fixes for buster.
This commit is contained in:
parent
f6471d8556
commit
d7a1a146dd
6 changed files with 21 additions and 42 deletions
|
@ -1,36 +1,11 @@
|
|||
- name: add stretch-backports
|
||||
apt_repository:
|
||||
repo: deb http://deb.debian.org/debian/ stretch-backports main
|
||||
state: present
|
||||
|
||||
- name: install di-netboot-assistant from backports
|
||||
- name: install di-netboot-assistant and installer package
|
||||
apt:
|
||||
name:
|
||||
- di-netboot-assistant
|
||||
default_release: stretch-backports
|
||||
update_cache: yes
|
||||
|
||||
- name: add installer package
|
||||
apt:
|
||||
name:
|
||||
- debian-installer-9-netboot-amd64
|
||||
|
||||
- name: bind mount images
|
||||
mount:
|
||||
path: "{{ tftp_root }}/d-i/n-pkg/"
|
||||
src: /usr/lib/debian-installer/
|
||||
fstype: none
|
||||
opts: bind
|
||||
# state: mounted BEGINN WORKAROUND
|
||||
state: present
|
||||
register: fstab
|
||||
|
||||
- file: path="{{ tftp_root }}/d-i/n-pkg/" state=directory recurse=yes
|
||||
|
||||
- name: Reload fstab
|
||||
command: mount -a
|
||||
when: fstab.changed
|
||||
# https://github.com/ansible/ansible/issues/23487 END WORKAROUND
|
||||
- "{{ di_pkg }}"
|
||||
notify:
|
||||
- bind mount images
|
||||
- rebuild di-netboot-assistant menu
|
||||
|
||||
- name: configure dnsmasq
|
||||
template:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue