forked from clay584/cleur_genie_demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2.yml
35 lines (31 loc) · 705 Bytes
/
2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
- hosts: all
gather_facts: false
connection: local
collections:
- clay584.genie
tasks:
- name: Learn Genie - OSPF
learn_genie:
host: "{{ ansible_host }}"
port: 8181
protocol: ssh
username: "{{ username }}"
password: "{{ password }}"
os: "{{ os }}"
feature: ospf
register: genie_ospf1
- name: PAUSE - Change OSPF router-id
pause:
minutes: 2
- name: Learn Genie - OSPF Again
learn_genie:
host: "{{ ansible_host }}"
port: 8181
protocol: ssh
username: "{{ username }}"
password: "{{ password }}"
os: "{{ os }}"
feature: ospf
compare_to: "{{ genie_ospf1 }}"
diff: true