mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 18:35:13 +00:00
Rather than having to maintain .yamllint.yml with a list of files exempt from yamllint line-length checking, either fix the code to abide by the line length restriction, or put the yamllint exceptions in-line in the code. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
19 lines
675 B
YAML
19 lines
675 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
# This file was generated by ensure_provider_tests.py
|
|
---
|
|
- hosts: all
|
|
# yamllint disable rule:line-length
|
|
name: Run playbook 'playbooks/tests_states.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
|
|
tags:
|
|
- always
|
|
|
|
- name: Import the playbook 'playbooks/tests_states.yml'
|
|
import_playbook: playbooks/tests_states.yml
|
|
when: (ansible_distribution in ['CentOS','RedHat'] and
|
|
ansible_distribution_major_version | int < 9)
|