2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-06 23:44:03 +00:00

Merge pull request #1563 from FHenry/dev_replace_include_with_include_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.
This commit is contained in:
Akhil Narang 2024-08-12 15:15:08 +05:30 committed by GitHub
commit 181d265cda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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