From 1bcea4abcf494ca57adc408569a26a6d7fc24611 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Thu, 28 May 2020 15:43:19 +0100 Subject: [PATCH] Use a single vars file for all ubuntu releases This adds support for focal without requiring a second vars file. Change-Id: Id21b3bc6721511d8d4a6b3e16ac465d14ec1a7f6 --- vars/{ubuntu-18.04.yml => ubuntu.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename vars/{ubuntu-18.04.yml => ubuntu.yml} (94%) diff --git a/vars/ubuntu-18.04.yml b/vars/ubuntu.yml similarity index 94% rename from vars/ubuntu-18.04.yml rename to vars/ubuntu.yml index 1d62d99..25b9bb0 100644 --- a/vars/ubuntu-18.04.yml +++ b/vars/ubuntu.yml @@ -21,7 +21,7 @@ lxc_container_default_interface: "/etc/network/interfaces" lxc_container_map: distro: ubuntu arch: "{{ lxc_architecture_mapping.get( hostvars[physical_host]['ansible_architecture'] | lower ) }}" - release: bionic + release: "{{ hostvars[physical_host].ansible_distribution_release }}" lxc_container_default_config_list: - "lxc.start.auto=1"