Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from oravirt:master #5

Merged
merged 2 commits into from
Sep 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---

use_default_rules: true

skip_list:
- name[casing]
- name[play]
- key-order[task]
- jinja[spacing]
- yaml[comments-indentation]

exclude_paths:
- .github
- dbhome-conversion
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
- uses: actions/checkout@v2

- name: Lint roles
# Use custom action repo due to open PRs 43 and 48
uses: ansible-community/ansible-lint-action@v6.5.2
uses: ansible-community/ansible-lint-action@v6.6.1
with:
targets: |
inventory/*
Expand Down
3 changes: 3 additions & 0 deletions changelogs/fragments/277-ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- "ansible-lint: Move to v6.6.1 (#277)"
6 changes: 5 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
FROM docker.io/library/python:3.10-slim-buster

ARG ansible_version
ARG ansible_lint_version

ENV ansible_version=5.8.0
ENV ansible_lint_version=6.6.1

ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
Expand All @@ -27,7 +31,7 @@ RUN apt-get update -y &&\

RUN python3 -m pip install --upgrade pip

RUN pip3 install ansible===${ansible_version} && \
RUN pip3 install ansible===${ansible_version} ansible-lint===${ansible_lint_version} && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/ && \
Expand Down
1 change: 1 addition & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
context: .
dockerfile: Dockerfile
args:
ansible_lint_version: 6.6.1
ansible_version: 5.8.0
# ansible_version: 2.9.26
# container_name: ansible-oracle-2.9.26
Expand Down