Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tasks/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@
with_items: "{{ install_ppa|default([]) }}"
when: install_ppa is defined and install_ppa|length > 0

# hetzner only seems to require /tmp/hwc, but can't create it itself, for the following pkgs install
# otherwise all sorts of apt installs fail, eg mktemp: failed to create file via template ‘/tmp/hwc/tmp.XXXXXXXXXX’: No such file or directory
- name: create {{ _bootstrap_target }}/tmp/hwc
file:
path: "{{ _bootstrap_target }}/tmp/hwc"
state: directory

- name: install packages
command: "chroot {{ _bootstrap_target }} eatmydata apt-get -y install {{ _install|join(' ') }}"

Expand Down