TP-IaC-Kubernetes/exemples.yaml

20 lines
305 B
YAML

---
- hosts: worker-node
name: "HostPath"
roles:
- role: hostpath
- hosts: all
name: "Install nfs package"
tasks:
- name: install common packages
become: yes
apt:
pkg: nfs-common
update_cache: yes
- hosts: control-plane
name: "NFS"
roles:
- role: nfs