From 5d97ad28f2a16aa60a974437183c3f663269c032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Wed, 8 Dec 2021 17:07:23 +0000 Subject: roles/vmm: Default path for autoinstall http files --- roles/vmm/tasks/autoinstall_configuration.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/vmm/tasks') diff --git a/roles/vmm/tasks/autoinstall_configuration.yml b/roles/vmm/tasks/autoinstall_configuration.yml index ee1b98b..43c63ff 100644 --- a/roles/vmm/tasks/autoinstall_configuration.yml +++ b/roles/vmm/tasks/autoinstall_configuration.yml @@ -3,7 +3,7 @@ - name: create autoinstall directory file: - path: /var/www/htdocs/autoinstall + path: "{{ vmm_autoinstall_dir }}" owner: www group: www mode: 0700 @@ -12,7 +12,7 @@ - name: generate autoinstall files template: &generation_steps src: autoinstall.conf.j2 - dest: "/var/www/htdocs/autoinstall/{{ item.lladdr }}-install.conf" + dest: "{{ vmm_autoinstall_dir }}/{{ item.lladdr }}-install.conf" owner: www group: www mode: 0640 @@ -22,7 +22,7 @@ - name: generate autoupgrade files template: <<: *generation_steps - dest: "/var/www/htdocs/autoinstall/{{ item.lladdr }}-upgrade.conf" + dest: "{{ vmm_autoinstall_dir }}/{{ item.lladdr }}-upgrade.conf" - name: generate disklabel file template: -- cgit v1.2.3