Skip to content

Commit 580d09b

Browse files
authored
Merge branch 'develop' into dependabot/pip/ansible-gte-2.10-and-lt-6
2 parents f778059 + 3147194 commit 580d09b

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

.ansible-lint

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ exclude_paths:
1313
- .cache
1414
# Seems wise to ignore this too
1515
- .github
16-
# ansible-lint doesn't like the role name in this playbook, but it's
17-
# what molecule requires
18-
- molecule/default/converge.yml
19-
# These two are Molecule configuration files, not Ansible playbooks
20-
- molecule/default/molecule-no-systemd.yml
21-
- molecule/default/molecule-with-systemd.yml
16+
kinds:
17+
# This will force our systemd specific molecule configurations to be treated
18+
# as plain yaml files by ansible-lint. This mirrors the default kind
19+
# configuration in ansible-lint for molecule configurations:
20+
# yaml: "**/molecule/*/{base,molecule}.{yaml,yml}"
21+
- yaml: "**/molecule/*/molecule-{no,with}-systemd.yml"
2222
use_default_rules: true

.pre-commit-config.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ default_language_version:
55

66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.0.1
8+
rev: v4.1.0
99
hooks:
1010
- id: check-case-conflict
1111
- id: check-executables-have-shebangs
@@ -31,13 +31,13 @@ repos:
3131

3232
# Text file hooks
3333
- repo: https://github.com/igorshubovych/markdownlint-cli
34-
rev: v0.29.0
34+
rev: v0.30.0
3535
hooks:
3636
- id: markdownlint
3737
args:
3838
- --config=.mdl_config.yaml
3939
- repo: https://github.com/pre-commit/mirrors-prettier
40-
rev: v2.4.1
40+
rev: v2.5.1
4141
hooks:
4242
- id: prettier
4343
- repo: https://github.com/adrienverge/yamllint
@@ -49,7 +49,7 @@ repos:
4949

5050
# pre-commit hooks
5151
- repo: https://github.com/pre-commit/pre-commit
52-
rev: v2.15.0
52+
rev: v2.16.0
5353
hooks:
5454
- id: validate_manifest
5555

@@ -75,15 +75,15 @@ repos:
7575

7676
# Python hooks
7777
- repo: https://github.com/PyCQA/bandit
78-
rev: 1.7.0
78+
rev: 1.7.1
7979
hooks:
8080
- id: bandit
8181
# Bandit complains about the use of assert() in tests
8282
exclude: molecule/default/tests
8383
args:
8484
- --config=.bandit.yml
8585
- repo: https://github.com/psf/black
86-
rev: 21.9b0
86+
rev: 21.12b0
8787
hooks:
8888
- id: black
8989
- repo: https://gitlab.com/pycqa/flake8
@@ -93,28 +93,28 @@ repos:
9393
additional_dependencies:
9494
- flake8-docstrings
9595
- repo: https://github.com/PyCQA/isort
96-
rev: 5.9.3
96+
rev: 5.10.1
9797
hooks:
9898
- id: isort
9999
- repo: https://github.com/pre-commit/mirrors-mypy
100-
rev: v0.910-1
100+
rev: v0.931
101101
hooks:
102102
- id: mypy
103103
- repo: https://github.com/asottile/pyupgrade
104-
rev: v2.29.0
104+
rev: v2.31.0
105105
hooks:
106106
- id: pyupgrade
107107

108108
# Ansible hooks
109109
- repo: https://github.com/ansible-community/ansible-lint
110-
rev: v5.2.1
110+
rev: v5.3.2
111111
hooks:
112112
- id: ansible-lint
113113
# files: molecule/default/playbook.yml
114114

115115
# Terraform hooks
116116
- repo: https://github.com/antonbabenko/pre-commit-terraform
117-
rev: v1.52.0
117+
rev: v1.62.3
118118
hooks:
119119
- id: terraform_fmt
120120
- id: terraform_validate

molecule/default/molecule-with-systemd.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,70 +15,70 @@ lint: |
1515
ansible-lint
1616
flake8
1717
platforms:
18-
- name: amazonlinux2_systemd
18+
- name: amazonlinux2-systemd
1919
image: geerlingguy/docker-amazonlinux2-ansible:latest
2020
privileged: yes
2121
volumes:
2222
- /sys/fs/cgroup:/sys/fs/cgroup:ro
2323
command: /lib/systemd/systemd
2424
pre_build_image: yes
25-
- name: debian9_systemd
25+
- name: debian9-systemd
2626
image: geerlingguy/docker-debian9-ansible:latest
2727
privileged: yes
2828
volumes:
2929
- /sys/fs/cgroup:/sys/fs/cgroup:ro
3030
command: /lib/systemd/systemd
3131
pre_build_image: yes
32-
- name: debian10_systemd
32+
- name: debian10-systemd
3333
image: geerlingguy/docker-debian10-ansible:latest
3434
privileged: yes
3535
volumes:
3636
- /sys/fs/cgroup:/sys/fs/cgroup:ro
3737
command: /lib/systemd/systemd
3838
pre_build_image: yes
39-
- name: debian11_systemd
39+
- name: debian11-systemd
4040
image: geerlingguy/docker-debian11-ansible:latest
4141
privileged: yes
4242
volumes:
4343
- /sys/fs/cgroup:/sys/fs/cgroup:ro
4444
command: /lib/systemd/systemd
4545
pre_build_image: yes
46-
- name: kali_systemd
46+
- name: kali-systemd
4747
image: cisagov/docker-kali-ansible:latest
4848
privileged: yes
4949
volumes:
5050
- /sys/fs/cgroup:/sys/fs/cgroup:ro
5151
command: /lib/systemd/systemd
5252
pre_build_image: yes
53-
- name: fedora32_systemd
53+
- name: fedora32-systemd
5454
image: geerlingguy/docker-fedora32-ansible:latest
5555
privileged: yes
5656
volumes:
5757
- /sys/fs/cgroup:/sys/fs/cgroup:ro
5858
command: /lib/systemd/systemd
5959
pre_build_image: yes
60-
- name: fedora33_systemd
60+
- name: fedora33-systemd
6161
image: geerlingguy/docker-fedora33-ansible:latest
6262
privileged: yes
6363
volumes:
6464
- /sys/fs/cgroup:/sys/fs/cgroup:ro
6565
command: /lib/systemd/systemd
6666
pre_build_image: yes
67-
- name: fedora34_systemd
67+
- name: fedora34-systemd
6868
image: geerlingguy/docker-fedora34-ansible:latest
6969
privileged: yes
7070
volumes:
7171
- /sys/fs/cgroup:/sys/fs/cgroup:ro
7272
command: /lib/systemd/systemd
7373
pre_build_image: yes
74-
- name: ubuntu_18_systemd
74+
- name: ubuntu-18-systemd
7575
image: geerlingguy/docker-ubuntu1804-ansible:latest
7676
privileged: yes
7777
volumes:
7878
- /sys/fs/cgroup:/sys/fs/cgroup:ro
7979
command: /lib/systemd/systemd
8080
pre_build_image: yes
81-
- name: ubuntu_20_systemd
81+
- name: ubuntu-20-systemd
8282
image: geerlingguy/docker-ubuntu2004-ansible:latest
8383
privileged: yes
8484
volumes:

0 commit comments

Comments
 (0)