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

22 lines
632 B
YAML
Raw Normal View History

2020-08-26 10:10:36 +00:00
- name: setup repos for fai
copy:
dest: /etc/fai/apt/sources.list
2020-10-14 22:20:05 +00:00
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
2020-08-26 10:10:36 +00:00
owner: root
group: root
2020-10-14 22:20:05 +00:00
register: fai_apt_mirrors
2020-08-26 10:10:36 +00:00
- name: set loguser
copy:
dest: /etc/fai/fai.conf
2020-10-14 22:20:05 +00:00
mode: u=rw,g=r,o=r
2020-08-26 10:10:36 +00:00
owner: root
group: root
content: |
LOGUSER=root