diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-08 17:07:23 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-08 17:52:52 +0000 |
commit | 5d97ad28f2a16aa60a974437183c3f663269c032 (patch) | |
tree | 4f8fd0c2b6544a09a2858b1d705f7251a6c08b8e /roles/vmm/tasks | |
parent | 9b412021df062a0e1fafadc7301aacea44c9f75d (diff) | |
download | rules-5d97ad28f2a16aa60a974437183c3f663269c032.tar.gz |
roles/vmm: Default path for autoinstall http files
Diffstat (limited to 'roles/vmm/tasks')
-rw-r--r-- | roles/vmm/tasks/autoinstall_configuration.yml | 6 |
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: |