WIP3
This commit is contained in:
15
roles/linux-system-roles.network/tests/tests_vlan_mtu_nm.yml
Normal file
15
roles/linux-system-roles.network/tests/tests_vlan_mtu_nm.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
# set network provider and gather facts
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Set network provider to 'nm'
|
||||
set_fact:
|
||||
network_provider: nm
|
||||
|
||||
# workaround for: https://github.com/ansible/ansible/issues/27973
|
||||
# There is no way in Ansible to abort a playbook hosts with specific OS
|
||||
# releases Therefore we include the playbook with the tests only if the hosts
|
||||
# would support it.
|
||||
# The test requires NetworkManager, therefore it cannot run on RHEL 6 or CentOS 6.
|
||||
- import_playbook: playbooks/tests_vlan_mtu.yml
|
||||
when: ansible_distribution_major_version != '6'
|
||||
Reference in New Issue
Block a user