Sign inSign up

haxorof/ansible-lint

By haxorof

•Updated 3 days ago

Ansible-lint

Image
Integration & delivery
1

100K+

haxorof/ansible-lint repository overview

⁠Ansible-lint

Docker Pulls CI

"ansible-lint checks playbooks for practices and behaviour that could potentially be improved" ansible-lint⁠

⁠Simple Tags

  • v26-almalinux
  • v26-alpine
  • v25-almalinux
  • v25-alpine
  • v24-almalinux
  • v24-alpine

⁠Shared Tags

  • v26, latest-alpine, latest
    • v26-alpine
  • v25
    • v25-alpine
  • v24
    • v24-alpine
  • latest-almalinux
    • v26-almalinux

⁠How to use this image

docker run -it --rm -v ${PWD}:/mnt:ro haxorof/ansible-lint

⁠Bash aliases

To make it easier to use this container you could setup bash aliases by creating ~/.bash_aliases with the following contents:

alias ansible-lint='docker run -it --rm -v ${PWD}:/mnt:ro haxorof/ansible-lint'

⁠Use in Github Actions

name: Linting
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Ansible Linting
        run: docker run --rm -v ${GITHUB_WORKSPACE}:/mnt haxorof/ansible-lint -v --force-color .

Tag summary

Content type

Image

Digest

sha256:42d812343…

Size

46.2 MB

Last updated

3 days ago

docker pull haxorof/ansible-lint