Skip to content

Commit

Permalink
Upgraded minimum Ansible Core version to 2.16 (#378)
Browse files Browse the repository at this point in the history
2.15 is EOL.
  • Loading branch information
freemanjp authored Nov 18, 2024
1 parent f4228c7 commit 0a4188a
Show file tree
Hide file tree
Showing 15 changed files with 2,227 additions and 2,020 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 Java JDK.
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 the Java JDK.
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,016 changes: 517 additions & 499 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,016 changes: 517 additions & 499 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 0a4188a

Please sign in to comment.