diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6384cba..783a365 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,10 @@ jobs: with: path: 'graylog2.graylog-ansible-role' - - name: Set up Python 3.9 + - name: Set up Python 3.12 uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.12' - name: Install test dependencies. run: pip3 install yamllint @@ -50,7 +50,7 @@ jobs: - name: Set up Python 3. uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.12' - name: Install test dependencies. run: pip3 install -r requirements.txt diff --git a/molecule/ci/molecule.yml b/molecule/ci/molecule.yml index d2d0e40..5727f6a 100644 --- a/molecule/ci/molecule.yml +++ b/molecule/ci/molecule.yml @@ -1,11 +1,14 @@ --- dependency: name: galaxy + options: + role-file: requirements.yml + ignore-errors: true driver: name: docker platforms: - name: graylog - image: geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible + image: geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2204}-ansible command: '/sbin/init' volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro