diff --git a/.config/python/dev/requirements.txt b/.config/python/dev/requirements.txt index 66994e4a6..9e81e9f13 100644 --- a/.config/python/dev/requirements.txt +++ b/.config/python/dev/requirements.txt @@ -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 diff --git a/README.md b/README.md index 28cc23836..af4d729b3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/automation/add_pgnode.yml b/automation/add_pgnode.yml index 15d301160..08127325c 100644 --- a/automation/add_pgnode.yml +++ b/automation/add_pgnode.yml @@ -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 diff --git a/automation/config_pgcluster.yml b/automation/config_pgcluster.yml index 106b0713f..10f39d2b7 100644 --- a/automation/config_pgcluster.yml +++ b/automation/config_pgcluster.yml @@ -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 diff --git a/automation/deploy_pgcluster.yml b/automation/deploy_pgcluster.yml index ebe7f530e..0968f1fa6 100644 --- a/automation/deploy_pgcluster.yml +++ b/automation/deploy_pgcluster.yml @@ -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 diff --git a/automation/requirements.txt b/automation/requirements.txt index a5d641bae..8daa2caff 100644 --- a/automation/requirements.txt +++ b/automation/requirements.txt @@ -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 diff --git a/automation/requirements.yml b/automation/requirements.yml index 18f8c6e74..4f39f7091 100644 --- a/automation/requirements.yml +++ b/automation/requirements.yml @@ -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" diff --git a/automation/roles/ansible-role-firewall/tasks/main.yml b/automation/roles/ansible-role-firewall/tasks/main.yml index f12619dd9..2c6b44769 100644 --- a/automation/roles/ansible-role-firewall/tasks/main.yml +++ b/automation/roles/ansible-role-firewall/tasks/main.yml @@ -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: diff --git a/automation/roles/cloud-resources/tasks/aws.yml b/automation/roles/cloud-resources/tasks/aws.yml index a71810094..d8b334107 100644 --- a/automation/roles/cloud-resources/tasks/aws.yml +++ b/automation/roles/cloud-resources/tasks/aws.yml @@ -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: diff --git a/automation/roles/swap/tasks/main.yml b/automation/roles/swap/tasks/main.yml index ef5a387ee..6787d57c3 100644 --- a/automation/roles/swap/tasks/main.yml +++ b/automation/roles/swap/tasks/main.yml @@ -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: