Import Ansible playbook for bootstrap k8s cluster

This commit is contained in:
D4rk4 2020-07-31 03:39:43 +02:00
parent 5068274017
commit a6706498b6
17 changed files with 230 additions and 3 deletions

View file

@ -0,0 +1,14 @@
---
- name: Install keepalived
apt:
pkg:
- keepalived
state: latest
- name: Configure keepalived
template: src=keepalived.conf.j2 dest=/etc/keepalived/keepalived.conf
tags: keepalived
notify: restart keepalived
- name: Start keepalived
service: name=keepalived state=started