ansible-install-server/roles/fai/vars/main.yml

16 lines
637 B
YAML

---
# vars file for fai
server_net: "{{ server_ip |regex_replace('.[0-9]+$', '') }}"
fai_download_dir: "/var/www/html/{{ http_mirror_fai_path_prefix }}"
ipxe_download_dir: "/var/www/html/{{ http_mirror_ipxe_path_prefix }}"
fai_squashfs_path: "{{ fai_download_dir }}/{{ fai_squashfs_file }}"
http_mirror: "http://{{ server_name }}"
http_mirror_ipxe_root_url: "{{ http_mirror }}/{{ http_mirror_ipxe_path_prefix }}"
http_mirror_fai_profiles_url: "{{ http_mirror }}/{{ http_mirror_fai_path_prefix }}/{{ fai_profiles_archive }}"
http_mirror_fai_squashfs_url: "{{ http_mirror }}/{{ http_mirror_fai_path_prefix }}/{{ fai_squashfs_file }}"