diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff01204..bc7291a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,20 +26,22 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out the codebase. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Prepare the job environment. uses: ./.github/workflows/prepare-action - name: Lint code. - run: pipenv run molecule lint + run: | + pipenv run yamllint --strict --format colored . && + pipenv run ansible-lint -v --force-color --offline --exclude .pipenv/ . molecule/ license_compliance: name: Check license compliance with reuse. runs-on: ubuntu-22.04 steps: - name: Check out the codebase. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Prepare the job environment. uses: ./.github/workflows/prepare-action @@ -63,7 +65,7 @@ jobs: steps: - name: Check out the codebase. - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Prepare the job environment. uses: ./.github/workflows/prepare-action @@ -94,7 +96,7 @@ jobs: needs: [lint, license_compliance, test] steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: galaxy uses: robertdebock/galaxy-action@1.2.1 with: diff --git a/.github/workflows/prepare-action/action.yml b/.github/workflows/prepare-action/action.yml index 6864b9c..8394f84 100644 --- a/.github/workflows/prepare-action/action.yml +++ b/.github/workflows/prepare-action/action.yml @@ -9,7 +9,7 @@ description: Install the necessary dependencies for jobs. runs: using: composite steps: - - name: Install pipenv + - name: Install pipenv. run: pipx install pipenv shell: bash @@ -17,7 +17,7 @@ runs: uses: actions/setup-python@v4 id: setup-python with: - python-version: '3.9' + python-version: '3.11' cache: 'pipenv' - name: Install dependencies via pipenv. diff --git a/Pipfile b/Pipfile index 06bc62b..c9a1b2c 100644 --- a/Pipfile +++ b/Pipfile @@ -10,13 +10,13 @@ verify_ssl = true [dev-packages] yamllint = "~=1.32.0" -ansible-lint = "~=6.10.2" -molecule = {extras = ["podman"], version = "~=4.0.4"} -molecule-podman = "~=2.0.3" -reuse = "~=1.1.0" +ansible-lint = "~=6.20.0" +molecule = "~=6.0.2" +molecule-plugins = {extras = ["podman"], version = "~=23.5.0"} +reuse = "~=2.1.0" [packages] -ansible = "~=7.4.0" +ansible = "~=8.4.0" [requires] -python_version = "3.9" +python_version = "3.11" diff --git a/Pipfile.lock b/Pipfile.lock index fd4f862..9cdecd6 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,11 +1,11 @@ { "_meta": { "hash": { - "sha256": "accff063834ca8a3d39fcafd8992ea6e4dc57aaade6082f271f2cae4e3e0287b" + "sha256": "2961d1b6de9c4bf4a3c0efefa7bccba4b2c79a106e6fff3bc7b466da64db6c9e" }, "pipfile-spec": 6, "requires": { - "python_version": "3.9" + "python_version": "3.11" }, "sources": [ { @@ -18,20 +18,19 @@ "default": { "ansible": { "hashes": [ - "sha256:0964d6ec7b363d2d559f245c39b01798c720a85b207672ec2c9d83cf61564b90", - "sha256:c9b5cae2ff8168b3dc859fff12275338cd7c84ef37f62889076f82846bb4beb5" + "sha256:d601d89a4306934e7c0aae05195fd72c0719287fde165982d0ebac282b4280f1", + "sha256:f33c492690592fad12684e9897f6de2da15c9f6e1ecb79137703a06470af2ce6" ], "index": "pypi", - "markers": "python_version >= '3.9'", - "version": "==7.4.0" + "version": "==8.4.0" }, "ansible-core": { "hashes": [ - "sha256:2c5d26d0f8d152020dd92d98f595f63c248a1997b8d74c5c3fb0d2408ec5a487", - "sha256:97ab6c2d62940a7a02c4f2505aad5c5e30bb486e8122899c5c147b16e98ef51e" + "sha256:5c57089405406f3004e948127b518b65509e280d524f61f91cc6360303fc388b", + "sha256:c1a8aaede985f79e5932ba2163639379f7d8025bfd9b28378db1649a4ef541ed" ], "markers": "python_version >= '3.9'", - "version": "==2.14.10" + "version": "==2.15.4" }, "cffi": { "hashes": [ @@ -278,10 +277,10 @@ }, "resolvelib": { "hashes": [ - "sha256:c6ea56732e9fb6fca1b2acc2ccc68a0b6b8c566d8f3e78e0443310ede61dbd37", - "sha256:d9b7907f055c3b3a2cfc56c914ffd940122915826ff5fb5b1de0c99778f4de98" + "sha256:04ce76cbd63fded2078ce224785da6ecd42b9564b1390793f64ddecbe997b309", + "sha256:d2da45d1a8dfee81bdd591647783e340ef3bcb104b54c383f70d422ef5cc7dbf" ], - "version": "==0.8.1" + "version": "==1.0.1" } }, "develop": { @@ -295,28 +294,19 @@ }, "ansible-core": { "hashes": [ - "sha256:2c5d26d0f8d152020dd92d98f595f63c248a1997b8d74c5c3fb0d2408ec5a487", - "sha256:97ab6c2d62940a7a02c4f2505aad5c5e30bb486e8122899c5c147b16e98ef51e" + "sha256:5c57089405406f3004e948127b518b65509e280d524f61f91cc6360303fc388b", + "sha256:c1a8aaede985f79e5932ba2163639379f7d8025bfd9b28378db1649a4ef541ed" ], "markers": "python_version >= '3.9'", - "version": "==2.14.10" + "version": "==2.15.4" }, "ansible-lint": { "hashes": [ - "sha256:9cba1b5fabb2f418d861f90f192c11bd84c5755cf092d9a136eb261ed1bbe94c", - "sha256:e228449ac2f10d1c16df35c4769282b529ac1fe2b50767333fad1c85a62df671" + "sha256:b984c31a6b693c04dc36a392fe3e05dad1415849957ba242cd6ea626ffda7034", + "sha256:ec13bf2eb65477f464ab8ebc6223552abfe68cb3f6583dc911d84600fd191adb" ], "index": "pypi", - "markers": "python_version >= '3.8'", - "version": "==6.10.2" - }, - "arrow": { - "hashes": [ - "sha256:3934b30ca1b9f292376d9db15b19446088d12ec58629bc3f0da28fd55fb633a1", - "sha256:5a49ab92e3b7b71d96cd6bfcc4df14efefc9dfa96ea19045815914a6ab6b1fe2" - ], - "markers": "python_version >= '3.6'", - "version": "==1.2.3" + "version": "==6.20.0" }, "attrs": { "hashes": [ @@ -557,14 +547,6 @@ ], "version": "==0.9.2" }, - "cookiecutter": { - "hashes": [ - "sha256:42aa1d27368f58be600d13e56d5d2177684f8f69a40d9cbad84851ba44f842de", - "sha256:a583118324edb95e01da3c8468209c2d5562e4553009866b1d891c50e72b2373" - ], - "markers": "python_version >= '3.7'", - "version": "==2.3.1" - }, "cryptography": { "hashes": [ "sha256:004b6ccc95943f6a9ad3142cfabcc769d7ee38a3f60fb0dddbfb431f818c3a67", @@ -594,14 +576,6 @@ "markers": "python_version >= '3.7'", "version": "==41.0.4" }, - "distro": { - "hashes": [ - "sha256:02e111d1dc6a50abb8eed6bf31c3e48ed8b0830d1ea2a1b78c61765c2513fdd8", - "sha256:99522ca3e365cac527b44bde033f64c6945d90eb9f769703caaec52b09bbd3ff" - ], - "markers": "python_version >= '3.6'", - "version": "==1.8.0" - }, "enrich": { "hashes": [ "sha256:0a2ab0d2931dff8947012602d1234d2a3ee002d9a355b5d70be6bf5466008893", @@ -626,14 +600,6 @@ "markers": "python_version >= '3.5'", "version": "==3.4" }, - "importlib-resources": { - "hashes": [ - "sha256:2238159eb743bd85304a16e0536048b3e991c531d1cd51c4a834d1ccf2829057", - "sha256:4df460394562b4581bb4e4087ad9447bd433148fba44241754ec3152499f1d1b" - ], - "markers": "python_version < '3.10'", - "version": "==5.0.7" - }, "jinja2": { "hashes": [ "sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852", @@ -749,24 +715,23 @@ "version": "==0.1.2" }, "molecule": { - "extras": [ - "podman" - ], "hashes": [ - "sha256:437a0829c3273f542e0db09516ae743607e6a2eda4d8cbdfb407edda3e0facb2", - "sha256:aab00c1ba62a42d77edd1a51528dfbb46abca70df7c7147fda0925ee4fe7deda" + "sha256:b919353f799746de60b16a27575627783e39c268fdf2f2aa0372f0162c7b5478", + "sha256:f4e941017587d6aadf4c75ec55338d16c17ad6119a2f8306cfe7b9e05d49db11" ], - "markers": "python_version >= '3.8'", - "version": "==4.0.4" + "index": "pypi", + "version": "==6.0.2" }, - "molecule-podman": { + "molecule-plugins": { + "extras": [ + "podman" + ], "hashes": [ - "sha256:85d928ab36ab0a2fae57e03eb549dd523c9be36b4b904d050748c27ca72ac07f", - "sha256:cea2eacac54f129824530d35469ddd7bff109a94ebcd8408828af8c0dabf5c7a" + "sha256:893dba8d077adb30fcd50a5d082300404ced3bb745451bc0927d4a1ada131d31", + "sha256:f13ea047b8650c892604b81b76382bc80bb4ae25ea50b23f30e81fd9d5802aff" ], "index": "pypi", - "markers": "python_version >= '3.8'", - "version": "==2.0.3" + "version": "==23.5.0" }, "mypy-extensions": { "hashes": [ @@ -823,14 +788,6 @@ "markers": "python_version >= '3.7'", "version": "==2.16.1" }, - "python-dateutil": { - "hashes": [ - "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86", - "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==2.8.2" - }, "python-debian": { "hashes": [ "sha256:880f3bc52e31599f2a9b432bd7691844286825087fccdcf2f6ffd5cd79a26f9f", @@ -840,14 +797,6 @@ "markers": "python_version >= '3.5'", "version": "==0.1.49" }, - "python-slugify": { - "hashes": [ - "sha256:70ca6ea68fe63ecc8fa4fcf00ae651fc8a5d02d93dcd12ae6d4fc7ca46c4d395", - "sha256:ce0d46ddb668b3be82f4ed5e503dbc33dd815d83e2eb6824211310d3fb172a27" - ], - "markers": "python_version >= '3.7'", - "version": "==8.0.1" - }, "pyyaml": { "hashes": [ "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5", @@ -922,19 +871,18 @@ }, "resolvelib": { "hashes": [ - "sha256:c6ea56732e9fb6fca1b2acc2ccc68a0b6b8c566d8f3e78e0443310ede61dbd37", - "sha256:d9b7907f055c3b3a2cfc56c914ffd940122915826ff5fb5b1de0c99778f4de98" + "sha256:04ce76cbd63fded2078ce224785da6ecd42b9564b1390793f64ddecbe997b309", + "sha256:d2da45d1a8dfee81bdd591647783e340ef3bcb104b54c383f70d422ef5cc7dbf" ], - "version": "==0.8.1" + "version": "==1.0.1" }, "reuse": { "hashes": [ - "sha256:7a054f6e372ad02d0b1b07368030fc38746b50ed45f5422a81994e7a88b52f1f", - "sha256:b0f3fb9091ff513af04b555d14a4c529ab05f6a575ab192dd9b68244f1e0721d" + "sha256:4211e91caa4c9e433802618a89a2d49a67e2bf76a8029d6708090892f0cdebec", + "sha256:b214e756582766c9a8c84e195707a4ee86f58640bc2b0c5eac85279f5fd7d9de" ], "index": "pypi", - "markers": "python_full_version >= '3.6.2' and python_full_version < '4.0.0'", - "version": "==1.1.0" + "version": "==2.1.0" }, "rich": { "hashes": [ @@ -1098,30 +1046,6 @@ "markers": "python_version < '3.12' and platform_python_implementation == 'CPython'", "version": "==0.2.7" }, - "selinux": { - "hashes": [ - "sha256:2a88b337ac46ad0f06f557b2806c3df62421972f766673dd8bf26732fb75a9ea", - "sha256:ecf7add45c939e9dda682c390a2cd0a845c94a4793a2cce9e8870d4ee9501f99" - ], - "markers": "sys_platform == 'linux'", - "version": "==0.3.0" - }, - "setuptools": { - "hashes": [ - "sha256:4ac1475276d2f1c48684874089fefcd83bd7162ddaafb81fac866ba0db282a87", - "sha256:b454a35605876da60632df1a60f736524eb73cc47bbc9f3f1ef1b644de74fd2a" - ], - "markers": "python_version >= '3.8'", - "version": "==68.2.2" - }, - "six": { - "hashes": [ - "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", - "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254" - ], - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'", - "version": "==1.16.0" - }, "subprocess-tee": { "hashes": [ "sha256:b3c124993f8b88d1eb1c2fde0bc2069787eac720ba88771cba17e8c93324825d", @@ -1130,13 +1054,6 @@ "markers": "python_version >= '3.8'", "version": "==0.4.1" }, - "text-unidecode": { - "hashes": [ - "sha256:1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8", - "sha256:bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93" - ], - "version": "==1.3" - }, "tomli": { "hashes": [ "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc", @@ -1150,7 +1067,7 @@ "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0", "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef" ], - "markers": "python_version < '3.10'", + "markers": "python_version < '3.11'", "version": "==4.8.0" }, "urllib3": { @@ -1175,7 +1092,6 @@ "sha256:d97a66e48da820829d96077d76b8dfbe6c6140f106e558dae87e81ac4e6b30b7" ], "index": "pypi", - "markers": "python_version >= '3.7'", "version": "==1.32.0" } }