Make all templates local, ensure ssh keys for amd64 builds are generated on first boot

This commit is contained in:
Ana Custura 2026-03-24 11:25:10 +00:00
parent 0fa18af48e
commit c22e6ed557
14 changed files with 459 additions and 59 deletions

View file

@ -57,15 +57,15 @@
dest: "/usr/local/bin/set_hostapd_iface.py"
mode: '0744'
- name: Copy hostapd set_hostapd_iface service file
- name: Template hostapd set_hostapd_iface service file
ansible.builtin.template:
src: "set-hostapd-iface.service.j2"
dest: "/lib/systemd/system/set-hostapd-iface.service"
mode: '0644'
- name: Download hostapd raspapd systemd service file
ansible.builtin.get_url:
url: "{{ config_base_url }}/raspapd.service"
- name: Template hostapd raspapd systemd service file
ansible.builtin.template:
src: "templates/raspapd.service.j2"
dest: "/lib/systemd/system/raspapd.service"
owner: root
group: root