aboutsummaryrefslogtreecommitdiffstats
path: root/roles/vmm/tasks/autoinstall_configuration.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/vmm/tasks/autoinstall_configuration.yml')
-rw-r--r--roles/vmm/tasks/autoinstall_configuration.yml6
1 files changed, 3 insertions, 3 deletions
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:
remember that computers suck.