network/defaults/main.yml
Sam Doran 9c54c68858 Restructure role
Change default variables to include lookup table.
Change tasks to set variables based on distribution version.
2016-12-05 16:07:19 -05:00

9 lines
194 B
YAML

network_provider: "{{ network_providers[ansible_os_family][ansible_distribution_major_version] }}"
network:
connections: []
network_providers:
RedHat:
"6": "initscripts"
"7": "nm"