diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index e3ff694..38cb9e3 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -13,6 +13,8 @@ jobs: runs-on: ubuntu-20.04 steps: - name: galaxy - uses: buluma/galaxy-action@v10.30.23 + # uses: buluma/galaxy-action@v6.25.22 # TODO: rebuild action + uses: robertdebock/galaxy-action@1.2.1 with: galaxy_api_key: ${{ secrets.galaxy_api_key }} + git_branch: master diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index cceb794..df98cf7 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -6,19 +6,19 @@ name: Ansible Molecule on: - # Schedule updates (once weekly) - schedule: - - cron: '3 2/15 * * 1,0' - workflow_dispatch: push: branches: - master - main - testing - - buluma-suse-1 paths-ignore: - '**/README.md' - '**/CHANGELOG.md' + tags_ignore: + - '*' + pull_request: + schedule: + - cron: '3 2 2 * *' concurrency: group: ${{ github.ref }}-${{ github.workflow }} @@ -53,15 +53,11 @@ jobs: - image: "debian-systemd" tag: "latest" - image: "debian-systemd" - tag: "buster" - - image: "kali" - tag: "latest" + tag: "bullseye" - image: "fedora-systemd" - tag: "35" + tag: "37" - image: "fedora-systemd" tag: "latest" - - image: "fedora-systemd" - tag: "rawhide" - image: "docker-opensuse-systemd" tag: "latest" - image: "docker-ubuntu-systemd" @@ -70,6 +66,8 @@ jobs: tag: "focal" - image: "docker-ubuntu-systemd" tag: "bionic" + - image: "docker-ubuntu-systemd" + tag: "lunar" steps: - name: checkout uses: actions/checkout@v4 diff --git a/.github/workflows/requirements2png.yml b/.github/workflows/requirements2png.yml index 604a171..a510c4d 100644 --- a/.github/workflows/requirements2png.yml +++ b/.github/workflows/requirements2png.yml @@ -4,26 +4,23 @@ # on: - workflow_dispatch: - push: {branches: ["master", "main"]} - - -concurrency: - group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: true - + push: + paths: + - '.github/workflows/requirements2png.yml' name: Ansible Graphviz jobs: build: runs-on: ubuntu-20.04 + permissions: + contents: write steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ${{ github.repository }} - name: create png - uses: buluma/graphviz-action@1.0.0 + uses: buluma/graphviz-action@1.0.0 # TODO: Update action - name: Commit files run: | cd ${{ github.repository }} @@ -34,7 +31,6 @@ jobs: - name: save to png branch uses: ad-m/github-push-action@master with: - github_token: ${{ secrets.GITHUB_TOKEN }} directory: ${{ github.repository }} force: true branch: png diff --git a/.github/workflows/todo.yml b/.github/workflows/todo.yml index c6347d7..7837717 100644 --- a/.github/workflows/todo.yml +++ b/.github/workflows/todo.yml @@ -8,18 +8,13 @@ name: "TODO 2 Issue" on: push: -concurrency: - group: ${{ github.ref }}-${{ github.workflow }} - cancel-in-progress: true - jobs: build: runs-on: "ubuntu-20.04" steps: - - uses: "actions/checkout@v3" + - uses: "actions/checkout@master" - name: "TODO to Issue" - uses: "buluma/todo-to-issue-action@v1.0.1" + uses: "alstr/todo-to-issue-action@v2.3" # TODO: Update buluma/todo-to-issue-action@v1.0.1 @buluma id: "todo" with: - USER_PROJECTS: buluma/Ansible/To do - PROJECTS_SECRET: ${{ secrets.PROJECTS_SECRET }} + TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 29b6ff4..38ec8fe 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Prepare your system to be managed by Ansible. |GitHub|GitLab|Quality|Downloads|Version|Issues|Pull Requests| |------|------|-------|---------|-------|------|-------------| -|[![github](https://github.com/buluma/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/buluma/ansible-role-bootstrap/actions)|[![gitlab](https://gitlab.com/shadowwalker/ansible-role-bootstrap/badges/master/pipeline.svg)](https://gitlab.com/shadowwalker/ansible-role-bootstrap)|[![quality](https://img.shields.io/ansible/quality/)](https://galaxy.ansible.com/buluma/bootstrap)|[![downloads](https://img.shields.io/ansible/role/d/)](https://galaxy.ansible.com/buluma/bootstrap)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-bootstrap.svg)](https://github.com/buluma/ansible-role-bootstrap/releases/)|[![Issues](https://img.shields.io/github/issues/buluma/ansible-role-bootstrap.svg)](https://github.com/buluma/ansible-role-bootstrap/issues/)|[![PullRequests](https://img.shields.io/github/issues-pr-closed-raw/buluma/ansible-role-bootstrap.svg)](https://github.com/buluma/ansible-role-bootstrap/pulls/)| +|[![github](https://github.com/buluma/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/buluma/ansible-role-bootstrap/actions)|[![gitlab](https://gitlab.com/shadowwalker/ansible-role-bootstrap/badges/master/pipeline.svg)](https://gitlab.com/shadowwalker/ansible-role-bootstrap)|[![quality](https://img.shields.io/ansible/quality/4657)](https://galaxy.ansible.com/buluma/bootstrap)|[![downloads](https://img.shields.io/ansible/role/d/4657)](https://galaxy.ansible.com/buluma/bootstrap)|[![Version](https://img.shields.io/github/release/buluma/ansible-role-bootstrap.svg)](https://github.com/buluma/ansible-role-bootstrap/releases/)|[![Issues](https://img.shields.io/github/issues/buluma/ansible-role-bootstrap.svg)](https://github.com/buluma/ansible-role-bootstrap/issues/)|[![PullRequests](https://img.shields.io/github/issues-pr-closed-raw/buluma/ansible-role-bootstrap.svg)](https://github.com/buluma/ansible-role-bootstrap/pulls/)| ## [Example Playbook](#example-playbook) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 73f97c2..e2990fe 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -19,6 +19,7 @@ platforms: command: /sbin/init volumes: - /sys/fs/cgroup:/sys/fs/cgroup:rw + cgroupns_mode: host privileged: yes pre_build_image: yes provisioner: