Skip to content

Commit

Permalink
Update ansible dependencies and fix lister's warnings (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks authored Feb 19, 2024
1 parent b786100 commit a2fe5cb
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 62 deletions.
22 changes: 12 additions & 10 deletions .config/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
---
skip_list:
- command-instead-of-module # Using command rather than module where necessary
- command-instead-of-shell # Using command rather than shell where necessary
- experimental # all rules tagged as experimental
- command-instead-of-module
- command-instead-of-shell
- experimental
- ignore-errors
- jinja[invalid] # TODO
- key-order[task] # TODO
- name[casing] # TODO: All names should start with an uppercase letter.
- name[missing] # All tasks should be named.
- name[template] # Rule for checking task and play names
- no-changed-when
- no-handler
- no-relative-paths
- package-latest
- risky-file-permissions # TODO
- role-name
- key-order[task]
- var-naming[no-role-prefix]
- name[missing]
- name[template]
- name[casing] # TODO: All names should start with an uppercase letter.
- risky-file-permissions # TODO: File permissions unset or incorrect.
- role-name # TODO: Avoid using paths when importing roles. Role name XXX does not match ``^*$`` pattern.
- schema[playbook] # TODO: Use FQCN for `become_method`.
- schema[tasks] # TODO: Use FQCN for `become_method`.

exclude_paths:
- ../.venv
Expand Down
78 changes: 35 additions & 43 deletions .config/python/dev/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,49 +1,41 @@
ansible-compat==3.0.1
ansible-lint==6.15.0
arrow==1.2.3
attrs==23.1.0
binaryornot==0.4.4
black==23.3.0
bracex==2.3.post1
certifi==2023.7.22
chardet==5.1.0
charset-normalizer==3.1.0
click==8.1.3
click-help-colors==0.9.1
cookiecutter==2.1.1
distro==1.8.0
docker==6.1.0
enrich==1.2.7
filelock==3.12.0
flake8==6.0.0
idna==3.4
jinja2-time==0.2.0
jsonschema==4.17.3
markdown-it-py==2.2.0
docker==6.1.3
molecule==6.0.3
molecule-plugins==23.5.3
ansible-lint==24.2.0
yamllint==1.35.1
attrs==23.2.0
black==24.2.0
bracex==2.4
cffi==1.16.0
click==8.1.7
cryptography==42.0.3
filelock==3.13.1
flake8==7.0.0
Jinja2==3.1.3
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mccabe==0.7.0
mdurl==0.1.2
molecule==5.0.0
molecule-plugins==23.4.0
mypy-extensions==1.0.0
pathspec==0.11.1
platformdirs==3.5.1
pluggy==1.0.0
pycodestyle==2.10.0
pyflakes==3.0.1
Pygments==2.15.1
pyrsistent==0.19.3
python-dateutil==2.8.2
python-slugify==8.0.1
requests==2.31.0
rich==13.3.5
ruamel.yaml==0.17.40
packaging==23.2
pathspec==0.12.1
platformdirs==4.2.0
pycodestyle==2.11.1
pycparser==2.21
pyflakes==3.2.0
Pygments==2.17.2
PyYAML==6.0.1
referencing==0.33.0
resolvelib==1.0.1
rich==13.7.0
rpds-py==0.18.0
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.8
selinux==0.3.0
six==1.16.0
setuptools==69.1.0
subprocess-tee==0.4.1
text-unidecode==1.3
tomli==2.0.1
urllib3==1.26.18
wcmatch==8.4.1
websocket-client==1.5.2
yamllint==1.31.0
typing_extensions==4.9.0
wcmatch==8.5
wheel==0.42.0
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
requires_ansible: '>=2.11.0'
requires_ansible: '>=2.14.0'
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
ansible==8.7.0
ansible-core==2.15.8
cffi==1.15.1
cryptography==42.0.0
ansible==9.2.0
ansible-core==2.16.3
Jinja2==3.1.3
MarkupSafe==2.1.2
packaging==23.1
PyYAML==6.0.1
cryptography==42.0.3
packaging==23.2
resolvelib==1.0.1
MarkupSafe==2.1.5
cffi==1.16.0
pycparser==2.21
PyYAML==6.0
resolvelib==0.8.1
1 change: 1 addition & 0 deletions roles/patroni/config/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
# pending_restart
- block:
- name: "Check if there are any changed parameters that require a restart"
become: true
become_user: postgres
community.postgresql.postgresql_query:
login_host: "127.0.0.1"
Expand Down

0 comments on commit a2fe5cb

Please sign in to comment.