mirror of
https://gitea.0xace.cc/ansible-galaxy/network.git
synced 2024-11-24 22:36:38 +00:00
fix ansible facts using for os family and major dist version
This commit is contained in:
parent
24d2dfc522
commit
8065c2ae49
13
tasks/main.yaml
Normal file
13
tasks/main.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
- name: Set blank routes symbol
|
||||
command: echo -n
|
||||
register: echo
|
||||
changed_when: false
|
||||
|
||||
- name: Create array for interfaces to reload
|
||||
set_fact:
|
||||
reload_interfaces: []
|
||||
changed_when: false
|
||||
|
||||
- name: Include interfaces configuration tasks
|
||||
include: "{{ ansible_facts['os_family'] }}/{{ ansible_facts['distribution_major_version'] }}.yaml"
|
Loading…
Reference in New Issue
Block a user