Skip to content

Commit

Permalink
Upgraded minimum Ansible Core version to 2.16 (#408)
Browse files Browse the repository at this point in the history
2.15 is EOL.
  • Loading branch information
freemanjp authored Nov 16, 2024
1 parent 13fcc5b commit 775f90d
Show file tree
Hide file tree
Showing 15 changed files with 2,039 additions and 2,003 deletions.
48 changes: 22 additions & 26 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,29 @@
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']

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install particular plugins take a look at our companion role:
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 @@ -5,7 +5,7 @@ galaxy_info:
description: Role for installing the IntelliJ IDEA IDE.
company: GantSign Ltd.
license: MIT
min_ansible_version: '2.12'
min_ansible_version: '2.16'
platforms:
- name: Ubuntu
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.15.10
ansible-core==2.16.13
-r molecule.in
964 changes: 488 additions & 476 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.12.10
ansible-core==2.16.13
-r molecule.in
965 changes: 491 additions & 474 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
122 changes: 60 additions & 62 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
#
# This file is autogenerated by pip-compile with Python 3.9
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --resolver=backtracking dev.in
# pip-compile dev.in
#
ansible-compat==4.1.11
ansible-compat==24.10.0
# via
# ansible-lint
# molecule
ansible-core==2.15.10
ansible-core==2.16.13
# via
# -r ansible-max.in
# ansible-compat
# ansible-lint
# molecule
ansible-lint==6.22.2
ansible-lint==24.10.0
# via -r lint.in
attrs==23.2.0
attrs==24.2.0
# via
# jsonschema
# referencing
black==24.3.0
black==24.10.0
# via ansible-lint
bracex==2.4
bracex==2.5.post1
# via wcmatch
build==1.2.1
build==1.2.2.post1
# via pip-tools
cachetools==5.3.3
cachetools==5.5.0
# via tox
certifi==2024.2.2
certifi==2024.8.30
# via requests
cffi==1.16.0
cffi==1.17.1
# via cryptography
chardet==5.2.0
# via tox
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
click==8.1.7
# via
Expand All @@ -46,68 +46,65 @@ click-help-colors==0.9.4
# via molecule
colorama==0.4.6
# via tox
cryptography==42.0.5
cryptography==43.0.3
# via ansible-core
distlib==0.3.8
distlib==0.3.9
# via virtualenv
distro==1.9.0
# via selinux
docker==7.0.0
docker==7.1.0
# via molecule-plugins
enrich==1.2.7
# via molecule
exceptiongroup==1.2.0
exceptiongroup==1.2.2
# via pytest
filelock==3.13.3
filelock==3.16.1
# via
# ansible-lint
# tox
# virtualenv
flake8==4.0.1
flake8==7.1.1
# via -r lint.in
idna==3.6
idna==3.10
# via requests
importlib-metadata==7.1.0
# via build
importlib-resources==5.0.7
# via ansible-core
importlib-metadata==8.5.0
# via ansible-lint
iniconfig==2.0.0
# via pytest
jinja2==3.1.3
jinja2==3.1.4
# via
# ansible-core
# molecule
jsonschema==4.21.1
jsonschema==4.23.0
# via
# ansible-compat
# ansible-lint
# molecule
jsonschema-specifications==2023.12.1
jsonschema-specifications==2024.10.1
# via jsonschema
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.5
markupsafe==3.0.2
# via jinja2
mccabe==0.6.1
mccabe==0.7.0
# via flake8
mdurl==0.1.2
# via markdown-it-py
molecule==6.0.3
molecule==24.9.0
# via
# -r molecule.in
# molecule-plugins
molecule-plugins[docker]==23.5.3
# via -r molecule.in
mypy-extensions==1.0.0
# via black
packaging==24.0
packaging==24.2
# via
# ansible-compat
# ansible-core
# ansible-lint
# black
# build
# docker
# molecule
# pyproject-api
# pytest
Expand All @@ -117,103 +114,104 @@ pathspec==0.12.1
# ansible-lint
# black
# yamllint
pip-tools==6.13.0
pip-tools==7.4.1
# via -r dev.in
platformdirs==4.2.0
platformdirs==4.3.6
# via
# black
# tox
# virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via
# molecule
# pytest
# tox
pycodestyle==2.8.0
pycodestyle==2.12.1
# via flake8
pycparser==2.22
# via cffi
pyflakes==2.4.0
pyflakes==3.2.0
# via flake8
pygments==2.17.2
pygments==2.18.0
# via rich
pyproject-api==1.6.1
pyproject-api==1.8.0
# via tox
pyproject-hooks==1.0.0
# via build
pytest==7.4.4
pyproject-hooks==1.2.0
# via
# -r molecule.in
# pytest-testinfra
pytest-testinfra==10.1.0
# build
# pip-tools
pytest==8.3.3
# via pytest-testinfra
pytest-testinfra==10.1.1
# via -r molecule.in
pyyaml==6.0.1
pyyaml==6.0.2
# via
# ansible-compat
# ansible-core
# ansible-lint
# molecule
# yamllint
referencing==0.34.0
referencing==0.35.1
# via
# jsonschema
# jsonschema-specifications
requests==2.31.0
requests==2.32.3
# via
# docker
# molecule-plugins
resolvelib==1.0.1
# via ansible-core
rich==13.7.1
rich==13.9.4
# via
# ansible-lint
# enrich
# molecule
rpds-py==0.18.0
rpds-py==0.21.0
# via
# jsonschema
# referencing
ruamel-yaml==0.18.6
# via ansible-lint
ruamel-yaml-clib==0.2.8
ruamel-yaml-clib==0.2.12
# via ruamel-yaml
selinux==0.3.0
# via molecule-plugins
subprocess-tee==0.4.1
subprocess-tee==0.4.2
# via
# ansible-compat
# ansible-lint
tomli==2.0.1
tomli==2.1.0
# via
# black
# build
# pip-tools
# pyproject-api
# pyproject-hooks
# pytest
# tox
tox==4.5.1
tox==4.23.2
# via -r tox.in
typing-extensions==4.11.0
typing-extensions==4.12.2
# via
# ansible-compat
# black
urllib3==2.2.1
# rich
# tox
urllib3==2.2.3
# via
# docker
# requests
virtualenv==20.25.1
virtualenv==20.27.1
# via tox
wcmatch==8.5.1
wcmatch==10.0
# via
# ansible-lint
# molecule
wheel==0.43.0
wheel==0.45.0
# via pip-tools
yamllint==1.35.1
# via
# -r lint.in
# ansible-lint
zipp==3.18.1
zipp==3.21.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
Expand Down
4 changes: 2 additions & 2 deletions requirements/lint.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ansible-lint==6.22.2
flake8==4.0.1
ansible-lint==24.10.0
flake8==7.1.1
yamllint==1.35.1
Loading

0 comments on commit 775f90d

Please sign in to comment.