Skip to content

Commit

Permalink
Upgraded minimum Ansible Core version to 2.16
Browse files Browse the repository at this point in the history
2.15 is EOL.
  • Loading branch information
freemanjp committed Nov 20, 2024
1 parent 213ff30 commit 3aeff1f
Show file tree
Hide file tree
Showing 15 changed files with 2,213 additions and 2,070 deletions.
49 changes: 23 additions & 26 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,33 @@
extends: default

rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments: disable
comments-indentation: disable
comments:
# https://github.com/prettier/prettier/issues/6780
min-spaces-from-content: 1
# https://github.com/adrienverge/yamllint/issues/384
comments-indentation: false
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation: disable
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
# 160 chars was the default used by old E204 rule, but
# you can easily change it or disable in your .yamllint file.
line-length:
max: 160
# We are adding an extra space inside braces as that's how prettier does it
# and we are trying not to fight other linters.
braces:
min-spaces-inside: 0 # yamllint defaults to 0
max-spaces-inside: 1 # yamllint defaults to 0
# key-duplicates:
# forbid-duplicated-merge-keys: true # not enabled by default
octal-values:
forbid-implicit-octal: true # yamllint defaults to false
forbid-explicit-octal: true # yamllint defaults to false
# quoted-strings:
# quote-type: double
# required: only-when-needed
truthy:
allowed-values: ['true', 'false', 'on']

ignore: |
.tox/
.venv/
venv
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Role to install the [Apache Maven](https://maven.apache.org) build tool.
Requirements
------------

* Ansible Core >= 2.12
* Ansible Core >= 2.16

* Linux Distribution

Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ galaxy_info:
description: Role for installing Apache Maven.
company: GantSign Ltd.
license: MIT
min_ansible_version: '2.12'
min_ansible_version: '2.16'
platforms:
- name: EL
versions:
Expand Down
2 changes: 1 addition & 1 deletion requirements/ansible-max.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ansible-core==2.14.18
ansible-core==2.16.13
-r molecule.in
1,019 changes: 511 additions & 508 deletions requirements/ansible-max.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion requirements/ansible-min.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ansible-core==2.14.18
ansible-core==2.16.13
-r molecule.in
1,019 changes: 511 additions & 508 deletions requirements/ansible-min.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion requirements/dev.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-r ansible-max.in
-r lint.in
-r tox.in
pip-tools==6.13.0
pip-tools==7.4.1
Loading

0 comments on commit 3aeff1f

Please sign in to comment.