Prepare the host in pre_tasks.

This commit is contained in:
Andreas B. Mundt 2021-11-12 11:07:07 +01:00 committed by Andreas B. Mundt
parent e058def667
commit 426a6e8895

View file

@ -10,7 +10,19 @@
containers: "{{ range(0, 9 + 1) | list }}"
extra_pkgs: [apt-cacher-ng]
pre_tasks:
- name: enable apt-cacher-ng
lineinfile:
path: /etc/apt/apt.conf.d/30proxy
line: 'Acquire::http::Proxy "http://localhost:3142/";'
create: yes
- name: enable and start systemd-networkd on the host
systemd:
name: systemd-networkd
state: started
enabled: yes
roles:
- up2date-debian
- educontainer