From d3e6e60601cd95da5a3d144c4bbf69c87e960b15 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Tue, 19 May 2020 10:38:25 +0200 Subject: [PATCH] Never trusty. --- .github/workflows/molecule.yml | 4 +--- .travis.yml | 3 +-- README.md | 8 ++++++-- meta/main.yml | 4 +++- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 10c6d1e..65a8324 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -52,14 +52,12 @@ jobs: tag: "rawhide" - image: "opensuse" tag: "latest" - - image: "ubuntu" - tag: "latest" - image: "ubuntu" tag: "bionic" - image: "ubuntu" tag: "xenial" - image: "ubuntu" - tag: "trusty" + tag: "latest" steps: - name: checkout uses: actions/checkout@v2 diff --git a/.travis.yml b/.travis.yml index 149ca5d..29b4d7e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,10 +24,9 @@ env: - image="fedora" tag="latest" - image="fedora" tag="rawhide" - image="opensuse" tag="latest" - - image="ubuntu" tag="latest" - image="ubuntu" tag="bionic" - image="ubuntu" tag="xenial" - - image="ubuntu" tag="trusty" + - image="ubuntu" tag="latest" cache: - pip diff --git a/README.md b/README.md index 78c9c8d..94184f6 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Configure grub on your system. |Travis|GitHub|Quality|Downloads| |------|------|-------|---------| -|[![travis](https://travis-ci.com/robertdebock/ansible-role-grub.svg?branch=master)](https://travis-ci.com/robertdebock/ansible-role-grub)|[![github](https://github.com/robertdebock/ansible-role-grub/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-grub/actions)|[![quality](https://img.shields.io/ansible/quality/)](https://galaxy.ansible.com/robertdebock/grub)|[![downloads](https://img.shields.io/ansible/role/d/)](https://galaxy.ansible.com/robertdebock/grub)| +|[![travis](https://travis-ci.com/robertdebock/ansible-role-grub.svg?branch=master)](https://travis-ci.com/robertdebock/ansible-role-grub)|[![github](https://github.com/robertdebock/ansible-role-grub/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-grub/actions)|[![quality](https://img.shields.io/ansible/quality/48762)](https://galaxy.ansible.com/robertdebock/grub)|[![downloads](https://img.shields.io/ansible/role/d/48762)](https://galaxy.ansible.com/robertdebock/grub)| ## Example Playbook @@ -35,6 +35,10 @@ The machine may need to be prepared using `molecule/resources/prepare.yml`: - role: robertdebock.bootstrap tasks: + - name: make /etc/default + file: + path: /etc/default + state: directory - name: place bogus /etc/default/grub copy: content: 'GRUB_CMDLINE_LINUX="a=1"' @@ -105,7 +109,7 @@ This role has been tested on these [container images](https://hub.docker.com/): |el|7, 8| |fedora|all| |opensuse|all| -|ubuntu|all| +|ubuntu|bionic, xenial, focal| The minimum version of Ansible required is 2.8 but tests have been done to: diff --git a/meta/main.yml b/meta/main.yml index 4964ce4..b666361 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -26,7 +26,9 @@ galaxy_info: - all - name: Ubuntu versions: - - all + - bionic + - xenial + - focal galaxy_tags: - grub