Skip to content

Commit

Permalink
Merge pull request #1563 from FHenry/dev_replace_include_with_include…
Browse files Browse the repository at this point in the history
…_tasks

fix: ERROR! [DEPRECATED] ansible.builtin.include has been removed. Use include_tasks or import_tasks instead. This feature was removed from ansible-core in a release after 2023-05-16. Please update your playbooks.
  • Loading branch information
akhilnarang authored Aug 12, 2024
2 parents 07b1462 + caa5fa0 commit 181d265
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bench/playbooks/roles/mariadb/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
- include: centos.yml
- include_tasks: centos.yml
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version|int >= 6

- include: ubuntu-trusty.yml
- include_tasks: ubuntu-trusty.yml
when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '14.04'

- include: ubuntu-xenial_bionic.yml
- include_tasks: ubuntu-xenial_bionic.yml
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int >= 16

- name: Add configuration
Expand Down

0 comments on commit 181d265

Please sign in to comment.