diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-08 17:14:04 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-08 17:52:52 +0000 |
commit | f86e57ffc10bc85168eff90269824d1462c22187 (patch) | |
tree | f3ac0460ab1d048542a3c9945753b3cc3add4d27 /roles/vmm/tasks/autoinstall_configuration.yml | |
parent | 5d97ad28f2a16aa60a974437183c3f663269c032 (diff) | |
download | rules-f86e57ffc10bc85168eff90269824d1462c22187.tar.gz |
roles/vmm: Network infos for autoinstall configurations
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 }}" |