Skip to content

Commit e80335c

Browse files
committed
Replace include with include_tasks due to deprecation warning
1 parent 95c5ae1 commit e80335c

File tree

6 files changed

+20
-10
lines changed

6 files changed

+20
-10
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
minor_changes:
3+
- "Replace include with include_tasks due to deprecation warning (#301)"

roles/orahost/tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,8 @@
483483
when: ansible_os_family == 'Suse'
484484
tags: seclimit
485485

486-
- include: "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml" # noqa name[missing] fqcn[action-core] deprecated-module
486+
- name: Execute Distribution tasks
487+
ansible.builtin.include_tasks:: "{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
487488
tags: tphnuma
488489
# when: ansible_os_family == 'RedHat'
489490

roles/orahost_ssh/tasks/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
changed_when: false
5757
tags: sshkeys,known_hosts
5858

59-
- include: known-hosts.yml # noqa name[missing] fqcn[action-core] deprecated-module
59+
- name: Deploy known_hosts
60+
ansible.builtin.include_tasks:: known-hosts.yml
6061
with_items:
6162
- "{{ oracle_user }}"
6263
- "{% if role_separation %}{{ grid_user }}{% else %}[]{% endif %}"

roles/orahost_storage/tasks/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
- asm_diskgroups is defined
1616
tags: asmstorage,partition
1717

18-
- include: dm-multipath-kpartx.yml # noqa name[missing] fqcn[action-core] deprecated-module
18+
- name: Partition disks for multipath
19+
ansible.builtin.include_tasks:: dm-multipath-kpartx.yml
1920
when: multipath == 'dm-multipath' and partition_devices and asm_diskgroups is defined
2021

21-
- include: "{{ device_persistence }}.yml" # noqa name[missing] fqcn[action-core] deprecated-module
22+
- name: Configure disks for device persistency
23+
ansible.builtin.include_tasks: "{{ device_persistence }}.yml"
2224
when:
2325
- device_persistence in ('asmlib', 'udev')
2426

roles/oraswdb_manage_patches/tasks/db-home-patch.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@
1010
msg: "Managing patches for {{ oracle_home_db }}"
1111
when: apply_patches_db
1212

13-
- include: transfer-files.yml # noqa name[missing] fqcn[action-core] deprecated-module
13+
- name: Transfer files
14+
ansible.builtin.include_tasks: transfer-files.yml
1415
when: oracle_sw_copy
1516

16-
- include: unpack-files.yml # noqa name[missing] fqcn[action-core] deprecated-module
17+
- name: Unpack uploaded files
18+
ansible.builtin.include_tasks: unpack-files.yml
1719
when: oracle_sw_unpack and apply_patches_db
1820

19-
- include: opatch-upgrade.yml # noqa name[missing] fqcn[action-core] deprecated-module
21+
- name: Upgrade OPatch
22+
ansible.builtin.include_tasks: opatch-upgrade.yml
2023
when: apply_patches_db
2124

2225
- name: db_opatch | Configure ocm.rsp (1)

roles/oraswgi_manage_patches/tasks/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
- directories
2121

2222
- name: include transfer-files.yml
23-
include: transfer-files.yml # noqa fqcn[action-core] deprecated-module
23+
ansible.builtin.include_tasks: transfer-files.yml
2424
when: oracle_sw_copy
2525

2626
- name: include unpack-files.yml
27-
include: unpack-files.yml # noqa fqcn[action-core] fqcn[action-core] deprecated-module
27+
ansible.builtin.include_tasks: unpack-files.yml
2828
when: oracle_sw_unpack and apply_patches_gi
2929

3030
- name: include opatch-upgrade.yml
31-
include: opatch-upgrade.yml # noqa fqcn[action-core] fqcn[action-core] deprecated-module
31+
ansible.builtin.include_tasks: opatch-upgrade.yml
3232
when: apply_patches_gi
3333

3434
- name: gi_opatch | Check current opatch version

0 commit comments

Comments
 (0)