26 lines
536 B
YAML
Executable File
26 lines
536 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
# vim:ft=ansible:
|
|
---
|
|
# k8s
|
|
- hosts: pik8s
|
|
gather_facts: no
|
|
tasks:
|
|
- name: install nfs-common
|
|
apt: name=nfs-common
|
|
tags: [ k8s, packages, apt ]
|
|
roles:
|
|
- role: k8s
|
|
tags: [ k8s, skip-pull ]
|
|
- role: motd
|
|
vars:
|
|
motd_watch_services_extra:
|
|
- docker
|
|
- kubelet
|
|
tags: [ k8s, motd ]
|
|
- hosts: pik8s_masters
|
|
gather_facts: no
|
|
tasks:
|
|
- name: install openshift
|
|
pip: name=openshift state=latest
|
|
tags: [ k8s, packages, pip ]
|