ansible-install-server/roles/fai/tasks/fai-configure.yml

22 lines
632 B
YAML

- name: setup repos for fai
copy:
dest: /etc/fai/apt/sources.list
content: |
deb http://localhost:3142/deb.debian.org/debian buster main contrib non-free
deb http://localhost:3142/security.debian.org/debian-security buster/updates main
deb http://localhost:3142/deb.debian.org/debian/ buster-updates main
deb http://localhost:3142/fai-project.org/download buster koeln
mode: u=rw,g=r,o=r
owner: root
group: root
register: fai_apt_mirrors
- name: set loguser
copy:
dest: /etc/fai/fai.conf
mode: u=rw,g=r,o=r
owner: root
group: root
content: |
LOGUSER=root