From afa8f323d70893332a7f7b1e59799eb8342900cb Mon Sep 17 00:00:00 2001 From: nicoo Date: Sat, 24 Nov 2018 23:16:16 +0100 Subject: [PATCH] ansible: Make vm/install depend on debian-installer --- ansible/roles/vm/install/meta/main.yml | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.7.10.4