ultrabirb-cluster/ansible/prepare.yaml

28 lines
626 B
YAML

- name: "prepare vms for ultrabirb-cluster"
hosts: all
handlers:
- name: "netplan apply"
block:
- name: "run netplan apply"
command: netplan apply
async: 45
poll: 0
- name: "reset connections"
meta: reset_connection
- name: clear errors
meta: clear_host_errors
tasks:
- name: "disable cloudinit"
import_tasks: tasks/disable-cloudinit.yaml
- name: "remove snap"
import_tasks: tasks/remove-snap.yaml
- name: "clean motd"
import_tasks: tasks/clean-motd.yaml
- name: "setup static route"
import_tasks: tasks/setup-static-route.yaml