Files
toallab-automation/roles/ansible-network.config_manager/includes/init.yaml
Patrick Toal 6e2205a046 Adding Netbox
2019-05-06 00:34:45 -04:00

15 lines
477 B
YAML

---
- 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