From: nicoo Date: Sat, 24 Nov 2018 22:16:16 +0000 (+0100) Subject: ansible: Make vm/install depend on debian-installer X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=afa8f323d70893332a7f7b1e59799eb8342900cb;p=noc.git ansible: Make vm/install depend on debian-installer --- diff --git a/ansible/roles/vm/install/meta/main.yml b/ansible/roles/vm/install/meta/main.yml index 9d10818..3aaa137 100644 --- a/ansible/roles/vm/install/meta/main.yml +++ b/ansible/roles/vm/install/meta/main.yml @@ -1,5 +1,10 @@ --- dependencies: + - role: debian-installer + distros: + - distro: "{{ install_distro }}" + codename: "{{ install_codename }}" + arch: [ "{{ hostvars[hostname].install_cooked.arch | default('amd64') }}" ] - role: preseed ssh_keys: "{{ hostvars[hostname].ssh_keys }}" install_interface: enp1s1