Skip to content

Commit c8c3496

Browse files
committed
Fix deprecations
1 parent d7ee3a9 commit c8c3496

3 files changed

Lines changed: 2 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ jobs:
4444
fail-fast: false
4545
matrix:
4646
include:
47-
- distro: debian11
48-
- distro: debian12
4947
- distro: ubuntu1804
5048
ansible-version: '>=9, <10'
5149
- distro: ubuntu2004

Vagrantfile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,6 @@ boxes = [
3232
:cpu => "50",
3333
:ram => "512"
3434
},
35-
{
36-
:name => "debian-11",
37-
:box => "bento/debian-11",
38-
:ip => '10.0.0.19',
39-
:cpu => "50",
40-
:ram => "256"
41-
},
42-
{
43-
:name => "debian-12",
44-
:box => "bento/debian-12",
45-
:ip => '10.0.0.20',
46-
:cpu => "50",
47-
:ram => "384"
48-
},
4935
]
5036

5137
Vagrant.configure("2") do |config|

tests/tasks/pre.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
- name: percona server | percona-release
1212
ansible.builtin.apt:
13-
deb: "https://repo.percona.com/apt/percona-release_latest.{{ ansible_distribution_release }}_all.deb"
13+
deb: "https://repo.percona.com/apt/percona-release_latest.{{ ansible_facts['distribution_release'] }}_all.deb"
1414

1515
- name: percona server | add repo
1616
ansible.builtin.shell: >
@@ -50,7 +50,7 @@
5050
- percona-server-client
5151
- percona-server-server
5252
- libperconaserverclient21
53-
- "python{{ ansible_python_version is version('3', '>=') | ternary('3', '') }}-mysqldb"
53+
- "python{{ ansible_facts['python_version'] is version('3', '>=') | ternary('3', '') }}-mysqldb"
5454
state: "{{ apt_install_state | default('latest') }}"
5555

5656
- name: php | install

0 commit comments

Comments
 (0)