summaryrefslogtreecommitdiffstats
path: root/roles/ands_idm/tasks/find_ands_connection.yml
blob: f4cf9b68d83dd84bc31fa3de5445f5027654539f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- name: "Detect ands network interface"
  include_tasks: "find_interface_by_net.yml"
  vars:
    var: "ands_network_interface"
    net: "{{ ands_network }}"
  when: 
    - ands_network_interface is not defined
    - ands_network is defined


- name: "Detect ands network connection"
  include_tasks: "find_connection_by_if.yml"
  vars:
    var: "ands_network_connection"
    iface: "{{ ands_network_interface }}"
  when: 
    - ands_network_connection is not defined
    - ands_network_interface is defined