diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 9ef114e..3b0bb26 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -58,12 +58,12 @@ jobs: tag: "buster" - image: "docker-molecule-images" tag: "bullseye" + - image: "docker-molecule-images" + tag: "38" - image: "docker-molecule-images" tag: "39" - image: "docker-molecule-images" tag: "40" - - image: "docker-molecule-images" - tag: "rawhide" - image: "docker-molecule-images" tag: "opensuse" - image: "docker-molecule-images" @@ -72,8 +72,6 @@ jobs: tag: "focal" - image: "docker-molecule-images" tag: "jammy" - - image: "docker-molecule-images" - tag: "lunar" - image: "docker-molecule-images" tag: "noble" steps: @@ -86,8 +84,6 @@ jobs: with: image: ${{ matrix.config.image }} tag: ${{ matrix.config.tag }} - - name: Running Role Test - run: ansible-galaxy role import --api-key ${{ secrets.galaxy_api_key }} buluma ${{ github.event.repository.name }} dependabot: needs: diff --git a/meta/exception.yml b/meta/exception.yml deleted file mode 100644 index c0802a1..0000000 --- a/meta/exception.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -exceptions: - - variation: Archlinux & Ansible 2.7 - reason: New-style module did not handle its own exit - - variation: amazonlinux - reason: "Dependency (reboot) does not work on amazonlinux." diff --git a/meta/preferences.yml b/meta/preferences.yml deleted file mode 100644 index d629b44..0000000 --- a/meta/preferences.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -tox_parallel: true -enterprise_linux: enterpriselinux diff --git a/tasks/main.yml b/tasks/main.yml index 0ab2b99..176d17e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,20 +20,15 @@ - name: Configure selinux when: - ansible_selinux.status is defined - # - ansible_connection not in [ "container", "docker", "community.docker.docker" ] + - ansible_connection not in [ "container", "docker", "community.docker.docker" ] block: - name: Manage selinux ansible.posix.selinux: state: "{{ selinux_state }}" policy: "{{ selinux_policy }}" - register: selinux_status notify: - Reboot - - name: Print the selinux status - ansible.builtin.debug: - msg: selinux_status - - name: Manage selinux booleans ansible.posix.seboolean: name: "{{ item.name }}"