diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-01-01 20:19:56 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-01-01 20:19:56 +0100 |
commit | d90144d2190009f8bd121cb8f773a9209500f034 (patch) | |
tree | 2d258279d2179afc58fd91c741e0b5fa56246c9f /common | |
parent | Merge branch 'topic/revamp-openwrt-imag-gen' (diff) |
in-place variable cooking
Diffstat (limited to 'common')
-rw-r--r-- | common/iso-install.yml | 2 | ||||
-rw-r--r-- | common/vm-install.yml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/common/iso-install.yml b/common/iso-install.yml index 810761d2..796ae0d9 100644 --- a/common/iso-install.yml +++ b/common/iso-install.yml @@ -20,7 +20,7 @@ {{ iso_install_image_path | realpath }} Please load the image into the machine and boot from it. - {% if install_distro == "debian" and install_cooked.efi is defined and install_cooked.efi %} + {% if install_distro == "debian" and install.efi is defined and install.efi %} Mind that debian mini.iso based installers have a bug that prevents grub from loading the correct config file on EFI systems. In case you only see a grub shell prompt ('grub>') after booting the diff --git a/common/vm-install.yml b/common/vm-install.yml index 6c98ae73..90b08c56 100644 --- a/common/vm-install.yml +++ b/common/vm-install.yml @@ -11,9 +11,9 @@ - name: check if the host system belongs to the kvmhosts group fail: - msg: "the host '{{ vm_host_cooked.name }}' does not belong to the group 'kvmhosts'" + msg: "the host '{{ vm_host.name }}' does not belong to the group 'kvmhosts'" when: - - "'kvmhosts' not in hostvars[vm_host_cooked.name].group_names" + - "'kvmhosts' not in hostvars[vm_host.name].group_names" # TODO: add some more sanity checks |