anyád
This commit is contained in:
parent
f7500ae05a
commit
a84927483b
@ -1,18 +1,14 @@
|
|||||||
- name: "prepare vms for ultrabirb-cluster"
|
- name: "prepare vms for ultrabirb-cluster"
|
||||||
hosts: all
|
hosts: all
|
||||||
handlers:
|
handlers:
|
||||||
|
- name: "reset connections"
|
||||||
|
meta: reset_connection
|
||||||
|
|
||||||
- name: "netplanapply"
|
- name: "netplanapply"
|
||||||
block:
|
command: netplan apply
|
||||||
- name: "run netplan apply"
|
async: 45
|
||||||
command: netplan apply
|
poll: 0
|
||||||
async: 45
|
notify: "reset connections"
|
||||||
poll: 0
|
|
||||||
|
|
||||||
- name: "reset connections"
|
|
||||||
meta: reset_connection
|
|
||||||
|
|
||||||
- name: clear errors
|
|
||||||
meta: clear_host_errors
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: "do apt stuff"
|
- name: "do apt stuff"
|
||||||
|
@ -7,4 +7,4 @@
|
|||||||
template:
|
template:
|
||||||
src: templates/netplan.yaml
|
src: templates/netplan.yaml
|
||||||
dest: /etc/netplan/00-static.yaml
|
dest: /etc/netplan/00-static.yaml
|
||||||
notify: "netplanapply"
|
notify: netplanapply
|
Loading…
Reference in New Issue
Block a user