Skip to content

Commit

Permalink
automation: Update requirements (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks authored Dec 14, 2024
1 parent 86b8cf0 commit 4901a51
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 50 deletions.
60 changes: 30 additions & 30 deletions .config/python/dev/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
requests==2.31.0
docker==6.1.3
molecule==6.0.3
requests==2.32.3
docker==7.1.0
molecule==24.12.0
molecule-plugins==23.5.3
ansible-lint==24.2.0
ansible-lint==24.12.2
yamllint==1.35.1
attrs==23.2.0
black==24.3.0
bracex==2.4
cffi==1.16.0
attrs==24.2.0
black==24.10.0
bracex==2.5.post1
cffi==1.17.1
click==8.1.7
cryptography==42.0.4
filelock==3.13.1
flake8==7.0.0
cryptography==44.0.0
filelock==3.16.1
flake8==7.1.1
Jinja2==3.1.4
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
markdown-it-py==3.0.0
MarkupSafe==2.1.5
MarkupSafe==3.0.2
mccabe==0.7.0
mdurl==0.1.2
mypy-extensions==1.0.0
packaging==23.2
packaging==24.2
pathspec==0.12.1
platformdirs==4.2.0
pycodestyle==2.11.1
pycparser==2.21
platformdirs==4.3.6
pycodestyle==2.12.1
pycparser==2.22
pyflakes==3.2.0
Pygments==2.17.2
PyYAML==6.0.1
referencing==0.33.0
Pygments==2.18.0
PyYAML==6.0.2
referencing==0.35.1
resolvelib==1.0.1
rich==13.7.0
rpds-py==0.18.0
rich==13.9.4
rpds-py==0.22.3
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.8
setuptools==69.1.0
subprocess-tee==0.4.1
tomli==2.0.1
typing_extensions==4.9.0
wcmatch==8.5
wheel==0.42.0
ruamel.yaml.clib==0.2.12
setuptools==75.6.0
subprocess-tee==0.4.2
tomli==2.2.1
typing_extensions==4.12.2
wcmatch==10.0
wheel==0.45.1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ _Table of results of daily automated testing of cluster deployment:_
| AlmaLinux 9 | [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vitabaks/autobase/schedule_pg_almalinux9.yml?branch=master)](https://github.com/vitabaks/autobase/actions/workflows/schedule_pg_almalinux9.yml) |

###### Ansible version
Minimum supported Ansible version: 8.0.0 (ansible-core 2.15.0)
Minimum supported Ansible version: 9.0.0 (ansible-core 2.16.0)

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion automation/add_pgnode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

- role: pre-checks
vars:
minimal_ansible_version: 2.11.0
minimal_ansible_version: 2.16.0
timescale_minimal_pg_version: 12 # if enable_timescale is defined
tags: always

Expand Down
2 changes: 1 addition & 1 deletion automation/config_pgcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
roles:
- role: pre-checks
vars:
minimal_ansible_version: 2.15.0
minimal_ansible_version: 2.16.0
timescale_minimal_pg_version: 12 # if enable_timescale is defined
tags:
- always
Expand Down
2 changes: 1 addition & 1 deletion automation/deploy_pgcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

- role: pre-checks
vars:
minimal_ansible_version: 2.15.0
minimal_ansible_version: 2.16.0
timescale_minimal_pg_version: 12 # if enable_timescale is defined
tags: always

Expand Down
8 changes: 4 additions & 4 deletions automation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ansible==9.8.0
boto3==1.34.158
ansible==9.13.0
boto3==1.35.80
dopy==0.3.7
google-auth==2.33.0
hcloud==2.2.0
google-auth==2.37.0
hcloud==2.3.0
10 changes: 5 additions & 5 deletions automation/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
collections:
- name: amazon.aws
version: "==8.1.0"
version: "==9.1.0"
- name: google.cloud
version: "==1.3.0"
version: "==1.4.1"
- name: azure.azcollection
version: "==2.6.0"
version: "==3.1.0"
- name: community.digitalocean
version: "==1.26.0"
version: "==1.27.0"
- name: hetzner.hcloud
version: "==4.1.0"
version: "==4.2.2"
6 changes: 3 additions & 3 deletions automation/roles/ansible-role-firewall/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
retries: 3

- name: Flush iptables the first time playbook runs.
ansible.builtin.command: >
iptables -F
creates=/etc/firewall.bash
ansible.builtin.command:
cmd: iptables -F
creates: /etc/firewall.bash

- name: Copy firewall script into place.
ansible.builtin.template:
Expand Down
2 changes: 1 addition & 1 deletion automation/roles/cloud-resources/tasks/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
region: "{{ server_location }}"
security_groups: "{{ ([] if not cloud_firewall | bool else [patroni_cluster_name + '-security-group']) }}"
vpc_subnet_id: "{{ server_network }}"
network:
network_interfaces:
assign_public_ip: true
delete_on_termination: true
volumes:
Expand Down
6 changes: 3 additions & 3 deletions automation/roles/swap/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
# if the swap does not exist
- block:
- name: Create swap file
ansible.builtin.command: >
dd if=/dev/zero of={{ swap_file_path }} bs=1M count={{ swap_file_size_mb }}
creates='{{ swap_file_path }}'
ansible.builtin.command:
cmd: dd if=/dev/zero of={{ swap_file_path }} bs=1M count={{ swap_file_size_mb }}
creates: "{{ swap_file_path }}"

- name: Set permissions on swap file
ansible.builtin.file:
Expand Down

0 comments on commit 4901a51

Please sign in to comment.