diff --git a/.github/workflows/chrony.yml b/.github/workflows/chrony.yml index 72c3cc8..1a6cde9 100644 --- a/.github/workflows/chrony.yml +++ b/.github/workflows/chrony.yml @@ -2,14 +2,14 @@ name: "ericsysmin.system.chrony" on: push: paths: - - 'roles/chrony/**' - - 'molecule/chrony/**' - - '.github/workflows/chrony.yml' + - "roles/chrony/**" + - "molecule/chrony/**" + - ".github/workflows/chrony.yml" pull_request: paths: - - 'roles/chrony/**' - - 'molecule/chrony/**' - - '.github/workflows/chrony.yml' + - "roles/chrony/**" + - "molecule/chrony/**" + - ".github/workflows/chrony.yml" jobs: molecule: runs-on: ubuntu-latest @@ -20,16 +20,14 @@ jobs: fail-fast: true matrix: molecule_distro: - - { "distro":"centos-7", "command":"/usr/sbin/init" } - - { "distro":"centos-8", "command":"/usr/sbin/init" } - - { "distro":"fedora-32", "command":"/usr/sbin/init" } - - { "distro":"fedora-31", "command":"/usr/sbin/init" } - - { "distro":"fedora-30", "command":"/usr/lib/systemd/systemd" } - - { "distro":"ubuntu-16.04", "command":"/sbin/init" } - - { "distro":"ubuntu-18.04", "command":"/lib/systemd/systemd" } - - { "distro":"ubuntu-20.04", "command":"/lib/systemd/systemd" } - - { "distro":"debian-9", "command":"/lib/systemd/systemd" } - - { "distro":"debian-10", "command":"/lib/systemd/systemd" } + - { "distro": "centos-7", "command": "/usr/sbin/init" } + - { "distro": "centos-8", "command": "/usr/sbin/init" } + - { "distro": "fedora-32", "command": "/usr/sbin/init" } + - { "distro": "fedora-31", "command": "/usr/sbin/init" } + - { "distro": "fedora-30", "command": "/usr/lib/systemd/systemd" } + - { "distro": "ubuntu-18.04", "command": "/lib/systemd/systemd" } + - { "distro": "ubuntu-20.04", "command": "/lib/systemd/systemd" } + - { "distro": "debian-10", "command": "/lib/systemd/systemd" } collection_role: - chrony steps: @@ -42,7 +40,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: 3.12 - + - name: Install dependencies run: | sudo apt install apt-transport-https ca-certificates curl software-properties-common @@ -50,7 +48,7 @@ jobs: sudo sh get-docker.sh python -m pip install --upgrade pip pip install ansible molecule yamllint ansible-lint molecule-plugins[docker] - + - name: Run role tests run: >- molecule --version && diff --git a/.github/workflows/epel.yml b/.github/workflows/epel.yml index 4670774..072047c 100644 --- a/.github/workflows/epel.yml +++ b/.github/workflows/epel.yml @@ -2,14 +2,14 @@ name: "ericsysmin.system.epel" on: push: paths: - - 'roles/epel/**' - - 'molecule/epel/**' - - '.github/workflows/epel.yml' + - "roles/epel/**" + - "molecule/epel/**" + - ".github/workflows/epel.yml" pull_request: paths: - - 'roles/epel/**' - - 'molecule/epel/**' - - '.github/workflows/epel.yml' + - "roles/epel/**" + - "molecule/epel/**" + - ".github/workflows/epel.yml" jobs: molecule: runs-on: ubuntu-latest @@ -20,8 +20,8 @@ jobs: fail-fast: true matrix: molecule_distro: - - { "distro":"centos-7", "command":"/usr/sbin/init" } - - { "distro":"centos-8", "command":"/usr/sbin/init" } + - { "distro": "centos-7", "command": "/usr/sbin/init" } + - { "distro": "centos-8", "command": "/usr/sbin/init" } collection_role: - epel steps: @@ -34,7 +34,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: 3.12 - + - name: Install dependencies run: | sudo apt install apt-transport-https ca-certificates curl software-properties-common diff --git a/.github/workflows/logrotate.yml b/.github/workflows/logrotate.yml index 245daad..aedf335 100644 --- a/.github/workflows/logrotate.yml +++ b/.github/workflows/logrotate.yml @@ -2,14 +2,14 @@ name: "ericsysmin.system.logrotate" on: push: paths: - - 'roles/logrotate/**' - - 'molecule/logrotate/**' - - '.github/workflows/logrotate.yml' + - "roles/logrotate/**" + - "molecule/logrotate/**" + - ".github/workflows/logrotate.yml" pull_request: paths: - - 'roles/logrotate/**' - - 'molecule/logrotate/**' - - '.github/workflows/logrotate.yml' + - "roles/logrotate/**" + - "molecule/logrotate/**" + - ".github/workflows/logrotate.yml" jobs: logrotate: runs-on: ubuntu-latest @@ -20,16 +20,14 @@ jobs: fail-fast: true matrix: molecule_distro: - - { "distro":"centos-7", "command":"/usr/sbin/init" } - - { "distro":"centos-8", "command":"/usr/sbin/init" } - - { "distro":"fedora-32", "command":"/usr/sbin/init" } - - { "distro":"fedora-31", "command":"/usr/sbin/init" } - - { "distro":"fedora-30", "command":"/usr/lib/systemd/systemd" } - - { "distro":"ubuntu-16.04", "command":"/sbin/init" } - - { "distro":"ubuntu-18.04", "command":"/lib/systemd/systemd" } - - { "distro":"ubuntu-20.04", "command":"/lib/systemd/systemd" } - - { "distro":"debian-9", "command":"/lib/systemd/systemd" } - - { "distro":"debian-10", "command":"/lib/systemd/systemd" } + - { "distro": "centos-7", "command": "/usr/sbin/init" } + - { "distro": "centos-8", "command": "/usr/sbin/init" } + - { "distro": "fedora-32", "command": "/usr/sbin/init" } + - { "distro": "fedora-31", "command": "/usr/sbin/init" } + - { "distro": "fedora-30", "command": "/usr/lib/systemd/systemd" } + - { "distro": "ubuntu-18.04", "command": "/lib/systemd/systemd" } + - { "distro": "ubuntu-20.04", "command": "/lib/systemd/systemd" } + - { "distro": "debian-10", "command": "/lib/systemd/systemd" } collection_role: - logrotate steps: @@ -42,7 +40,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: 3.12 - + - name: Install dependencies run: | sudo apt install apt-transport-https ca-certificates curl software-properties-common diff --git a/.github/workflows/ntp.yml b/.github/workflows/ntp.yml index ff2cfb1..9d32486 100644 --- a/.github/workflows/ntp.yml +++ b/.github/workflows/ntp.yml @@ -2,14 +2,14 @@ name: "ericsysmin.system.ntp" on: push: paths: - - 'roles/ntp/**' - - 'molecule/ntp/**' - - '.github/workflows/ntp.yml' + - "roles/ntp/**" + - "molecule/ntp/**" + - ".github/workflows/ntp.yml" pull_request: paths: - - 'roles/ntp/**' - - 'molecule/ntp/**' - - '.github/workflows/ntp.yml' + - "roles/ntp/**" + - "molecule/ntp/**" + - ".github/workflows/ntp.yml" jobs: molecule: runs-on: ubuntu-latest @@ -20,11 +20,9 @@ jobs: fail-fast: true matrix: molecule_distro: - - { "distro":"centos-7", "command":"/usr/sbin/init" } - - { "distro":"ubuntu-16.04", "command":"/sbin/init" } - - { "distro":"ubuntu-18.04", "command":"/lib/systemd/systemd" } - - { "distro":"ubuntu-20.04", "command":"/lib/systemd/systemd" } - - { "distro":"debian-9", "command":"/lib/systemd/systemd" } + - { "distro": "centos-7", "command": "/usr/sbin/init" } + - { "distro": "ubuntu-18.04", "command": "/lib/systemd/systemd" } + - { "distro": "ubuntu-20.04", "command": "/lib/systemd/systemd" } collection_role: - ntp steps: @@ -37,7 +35,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: 3.12 - + - name: Install dependencies run: | sudo apt install apt-transport-https ca-certificates curl software-properties-common diff --git a/.github/workflows/remi_repo.yml b/.github/workflows/remi_repo.yml index 320fa49..bc57cfb 100644 --- a/.github/workflows/remi_repo.yml +++ b/.github/workflows/remi_repo.yml @@ -2,14 +2,14 @@ name: "ericsysmin.system.remi_repo" on: push: paths: - - 'roles/remi_repo/**' - - 'molecule/remi_repo/**' - - '.github/workflows/remi_repo.yml' + - "roles/remi_repo/**" + - "molecule/remi_repo/**" + - ".github/workflows/remi_repo.yml" pull_request: paths: - - 'roles/remi_repo/**' - - 'molecule/remi_repo/**' - - '.github/workflows/remi_repo.yml' + - "roles/remi_repo/**" + - "molecule/remi_repo/**" + - ".github/workflows/remi_repo.yml" jobs: molecule: runs-on: ubuntu-latest @@ -20,11 +20,11 @@ jobs: fail-fast: true matrix: molecule_distro: - - { "distro":"centos-7", "command":"/usr/sbin/init" } - - { "distro":"centos-8", "command":"/usr/sbin/init" } - - { "distro":"fedora-32", "command":"/usr/sbin/init" } - - { "distro":"fedora-31", "command":"/usr/sbin/init" } - - { "distro":"fedora-30", "command":"/usr/lib/systemd/systemd" } + - { "distro": "centos-7", "command": "/usr/sbin/init" } + - { "distro": "centos-8", "command": "/usr/sbin/init" } + - { "distro": "fedora-32", "command": "/usr/sbin/init" } + - { "distro": "fedora-31", "command": "/usr/sbin/init" } + - { "distro": "fedora-30", "command": "/usr/lib/systemd/systemd" } collection_role: - remi_repo steps: @@ -37,7 +37,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: 3.12 - + - name: Install dependencies run: | sudo apt install apt-transport-https ca-certificates curl software-properties-common diff --git a/.github/workflows/selinux.yml b/.github/workflows/selinux.yml index 9cb6240..ae46829 100644 --- a/.github/workflows/selinux.yml +++ b/.github/workflows/selinux.yml @@ -2,14 +2,14 @@ name: "ericsysmin.system.selinux" on: push: paths: - - 'roles/selinux/**' - - 'molecule/selinux/**' - - '.github/workflows/selinux.yml' + - "roles/selinux/**" + - "molecule/selinux/**" + - ".github/workflows/selinux.yml" pull_request: paths: - - 'roles/selinux/**' - - 'molecule/selinux/**' - - '.github/workflows/selinux.yml' + - "roles/selinux/**" + - "molecule/selinux/**" + - ".github/workflows/selinux.yml" jobs: molecule: runs-on: ubuntu-latest @@ -20,8 +20,8 @@ jobs: fail-fast: true matrix: molecule_distro: - - { "distro":"centos-7", "command":"/usr/sbin/init" } - - { "distro":"centos-8", "command":"/usr/sbin/init" } + - { "distro": "centos-7", "command": "/usr/sbin/init" } + - { "distro": "centos-8", "command": "/usr/sbin/init" } collection_role: - selinux steps: @@ -34,7 +34,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: 3.12 - + - name: Install dependencies run: | sudo apt install apt-transport-https ca-certificates curl software-properties-common