---
- name: set role basic facts
  set_fact:
    ansible_network_config_manager_path: "{{ role_path }}"
    ansible_network_config_manager_version: "2.6.2"

- name: display the role version to stdout
  debug:
    msg: "ansible_network.config_manager version is {{ ansible_network_config_manager_version }}"

- name: validate ansible_network_provider is defined
  fail:
    msg: "missing required setting: ansible_network_provider"
  when: ansible_network_provider is undefined
