network/tests/tests_default_initscripts.yml
Wen Liang 5ff1189409 ansible-lint: Fix name[missing] and name[play] failures
Signed-off-by: Wen Liang <liangwen12year@gmail.com>
2023-04-10 17:49:07 +02:00

15 lines
527 B
YAML

# SPDX-License-Identifier: BSD-3-Clause
---
- hosts: all
name: Run playbook 'tests_default.yml' with initscripts as provider
tasks:
- name: Include the task 'el_repo_setup.yml'
include_tasks: tasks/el_repo_setup.yml
- name: Set network provider to 'initscripts'
set_fact:
network_provider: initscripts
- name: Import the playbook 'tests_default.yml'
import_playbook: tests_default.yml
when: (ansible_distribution in ['CentOS','RedHat'] and
ansible_distribution_major_version | int < 9)