diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index f48a5e0..a3f3919 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -21,12 +21,12 @@ jobs: code_quality: name: SonarCloud Code Quality Check - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: 'darkwizard242.crictl' fetch-depth: 0 @@ -45,23 +45,23 @@ jobs: build: name: Build & Test - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: max-parallel: 6 matrix: - IMAGE: [ubuntu-20.04, ubuntu-18.04, rockylinux-8, centos-7, debian-buster, debian-stretch] + IMAGE: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04, rockylinux-8, centos-7, debian-bullseye, debian-buster, debian-stretch] steps: - name: Checkout source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: 'darkwizard242.crictl' - - name: Set up Python 3.10.0 - uses: actions/setup-python@v2 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 with: - python-version: 3.10.0 + python-version: '3.10' - name: Update repo cache, install python3-setuptools and required pip modules run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b23d2c8..acffd1a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,19 +10,19 @@ jobs: release: name: Release - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: 'darkwizard242.awless' - - name: Set up Python 3.10.0 - uses: actions/setup-python@v2 + - name: Set up Python 3.10 + uses: actions/setup-python@v3 with: - python-version: 3.10.0 + python-version: '3.10' - name: Update repo cache, install python3-setuptools and required pip modules run: | diff --git a/LICENSE b/LICENSE index 535f35c..aa772c0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Ali Muhammad +Copyright (c) 2023 Ali Muhammad Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/meta/main.yml b/meta/main.yml index d8549ad..40dd410 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -10,16 +10,18 @@ galaxy_info: platforms: - name: Ubuntu versions: - - bionic + - jammy - focal + - bionic - name: Debian versions: - - stretch + - bullseye - buster + - stretch - name: EL versions: - - 7 - 8 + - 7 galaxy_tags: - crictl diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index b5f4ba7..95faf10 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -8,8 +8,8 @@ lint: | ansible-lint flake8 platforms: - - name: ${DISTRO:-ubuntu-20.04} - image: "darkwizard242/ansible:${DISTRO:-ubuntu-20.04}" + - name: ${DISTRO:-ubuntu-22.04} + image: "darkwizard242/ansible:${DISTRO:-ubuntu-22.04}" volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro pre_build_image: true diff --git a/tasks/install_debian.yml b/tasks/install_debian.yml index 83547c5..b634e63 100644 --- a/tasks/install_debian.yml +++ b/tasks/install_debian.yml @@ -2,7 +2,7 @@ # tasks file for crictl | Debian/Ubuntu Family - name: Debian/Ubuntu Family | Downloading and extracting {{ crictl_app }} {{ crictl_version }} - unarchive: + ansible.builtin.unarchive: src: "{{ crictl_dl_url }}" dest: "{{ crictl_bin_path }}" owner: "{{ crictl_file_owner }}" diff --git a/tasks/install_el.yml b/tasks/install_el.yml index 6592ae4..8549f64 100644 --- a/tasks/install_el.yml +++ b/tasks/install_el.yml @@ -2,7 +2,7 @@ # tasks file for crictl | EL Family - name: EL Family | Downloading and extracting {{ crictl_app }} {{ crictl_version }} - unarchive: + ansible.builtin.unarchive: src: "{{ crictl_dl_url }}" dest: "{{ crictl_bin_path }}" owner: "{{ crictl_file_owner }}" diff --git a/tasks/main.yml b/tasks/main.yml index c1fb709..e234581 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,9 +2,9 @@ # tasks file for crictl - name: Import install_debian.yml if OS family is Debian - import_tasks: install_debian.yml + ansible.builtin.import_tasks: install_debian.yml when: ansible_os_family == "Debian" - name: Import install_el.yml if OS family is EL - import_tasks: install_el.yml + ansible.builtin.import_tasks: install_el.yml when: ansible_os_family == "RedHat"