use include_tasks instead of include

This commit is contained in:
ace 2022-01-26 17:46:07 +03:00
parent 825374b519
commit 8ba560a810
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0

View File

@ -10,4 +10,4 @@
changed_when: false
- name: Include interfaces configuration tasks
include: "{{ ansible_facts['os_family'] }}/{{ ansible_facts['distribution_major_version'] }}.yaml"
include_tasks: "{{ ansible_facts['os_family'] }}/{{ ansible_facts['distribution_major_version'] }}.yaml"