From c6b2d3f6d968f5a758837333f2330001f65f8882 Mon Sep 17 00:00:00 2001 From: DaniGordillo Date: Mon, 3 Jun 2024 15:54:03 +0200 Subject: [PATCH] [PC-1775] Support Ubuntu 22.04 --- meta/main.yml | 1 + molecule/default/molecule.yml | 2 ++ tasks/main.yml | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/main.yml b/meta/main.yml index 7f72b61..28231eb 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -51,6 +51,7 @@ galaxy_info: - 14.04 - 16.04 - 18.04 + - 20.04 galaxy_tags: [] # List tags for your role here, one per line. A tag is a keyword that describes diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 890a21c..3979870 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -14,6 +14,8 @@ platforms: box: ubuntu/xenial64 - name: ubuntu-18.04 box: ubuntu/bionic64 + - name: ubuntu-20.04 + box: ubuntu/focal64 provisioner: name: ansible lint: diff --git a/tasks/main.yml b/tasks/main.yml index 1380c82..d3befe8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -6,7 +6,7 @@ - name: Test ansible_distribution_release assert: - that: ansible_distribution_release in ['trusty', 'xenial', 'bionic'] + that: ansible_distribution_release in ['trusty', 'xenial', 'bionic', 'focal'] - name: Update package index apt: