diff options
Diffstat (limited to 'roles/vmm/tasks/autoinstall_configuration.yml')
-rw-r--r-- | roles/vmm/tasks/autoinstall_configuration.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/roles/vmm/tasks/autoinstall_configuration.yml b/roles/vmm/tasks/autoinstall_configuration.yml index 43c63ff..5d12ee9 100644 --- a/roles/vmm/tasks/autoinstall_configuration.yml +++ b/roles/vmm/tasks/autoinstall_configuration.yml @@ -9,7 +9,7 @@ mode: 0700 state: directory -- name: generate autoinstall files +- name: generate autoinstall configurations template: &generation_steps src: autoinstall.conf.j2 dest: "{{ vmm_autoinstall_dir }}/{{ item.lladdr }}-install.conf" @@ -19,12 +19,14 @@ when: item.image == "openbsd" loop: "{{ vmm_vms }}" -- name: generate autoupgrade files +- name: generate autoupgrade configurations template: <<: *generation_steps dest: "{{ vmm_autoinstall_dir }}/{{ item.lladdr }}-upgrade.conf" + when: item.image == "openbsd" + loop: "{{ vmm_vms }}" -- name: generate disklabel file +- name: generate disklabel configurations template: <<: *generation_steps src: disklabel.j2 @@ -47,5 +49,6 @@ owner: 0 group: 0 state: hard + force: true when: item.image == "openbsd" loop: "{{ vmm_vms }}" |